chore(scoped_deps): document pub.dev handoff and stop publishing the vendored copy (#3866)

This commit is contained in:
Eric Seidel
2026-07-28 10:49:56 -07:00
committed by GitHub
parent 023c9ad3a0
commit 81b6c2550e
4 changed files with 27 additions and 17 deletions
@@ -1,15 +0,0 @@
name: Publish scoped_deps
on:
push:
tags:
- "scoped_deps-v[0-9]+.[0-9]+.[0-9]+*"
jobs:
publish:
uses: ./.github/workflows/publish_dart_package.yaml
with:
working_directory: packages/scoped_deps
tag_prefix: scoped_deps-v
permissions:
id-token: write
+1 -1
View File
@@ -1,7 +1,7 @@
# Release Notes
<!--
cspell:words pubspec erickzanardo xcframeworks cupertino codesign codecov rkishan appbundle proto tlsv kingdomseed Peetee Aditya serde bipatch GLES
cspell:words pubspec erickzanardo xcframeworks cupertino codesign codecov rkishan appbundle proto tlsv kingdomseed Peetee Aditya serde bipatch GLES lipo
-->
## 1.6.115 (July 28, 2026)
+23
View File
@@ -1,7 +1,30 @@
<!-- cspell:words Angelov mrgnhnt -->
# Scoped Deps
A simple dependency injection library built on Zones.
## Status: vendored, no longer published by Shorebird
Felix Angelov wrote this package in 2023 (originally `package:scoped`) so that
our packages could share one dependency-injection mechanism. We published it to
pub.dev in 2024 in case it was useful to others, then never needed to change it
again.
In 2026, Morgan Hunt ([`mrgnhnt96/scoped_deps`][mrgnhnt_repo]) approached us
about taking over the pub.dev package and continuing to improve it, and we
accepted. **[`scoped_deps` on pub.dev][pub_package] is now his**, and its
versions have diverged from this directory.
Shorebird packages keep using this vendored copy, resolved through the Dart
workspace rather than from pub.dev. The code hasn't meaningfully changed in two
years, so there's nothing to gain from moving right now. At some point we should
look at where the pub.dev package has evolved to and consider deleting this copy
in favor of it.
[mrgnhnt_repo]: https://github.com/mrgnhnt96/scoped_deps
[pub_package]: https://pub.dev/packages/scoped_deps
## Quick Start
```dart
+3 -1
View File
@@ -1,9 +1,11 @@
# cspell:words mrgnhnt
name: scoped_deps
description: A simple Dart library for managing scoped dependencies built on top of Zones from dart:async.
version: 0.1.0+2
homepage: https://shorebird.dev
repository: https://github.com/shorebirdtech/shorebird/tree/main/packages/scoped_deps
resolution: workspace
# pub.dev/packages/scoped_deps is now owned by mrgnhnt96; see README.md.
publish_to: none
environment:
sdk: ">=3.9.0 <4.0.0"