chore(deps): track the published sibling versions - #3
Conversation
magic ^0.0.6, magic_starter ^0.0.1-alpha.17, magic_devtools ^0.0.2, fluttersdk_dusk ^0.0.9, fluttersdk_artisan ^0.0.9. These are required, not cosmetic. Under pub's 0.0.z caret semantics ^0.0.5 means >=0.0.5 <0.0.6, so the previous constraints EXCLUDED the releases just published and a fork would have resolved framework versions predating the APIs this app calls.
|
Fork verified against pub.dev, and it isolates the one remaining blocker exactly. Built a fresh clone from tracked files only, with no With the constraints in this PR, resolution fails on exactly one package, and Nothing else is contested. With magic_devtools temporarily downgraded to and the build's remaining errors all trace to a single cause, the published 0.0.1 Not one error mentions Independently confirmed with a scratch package depending only on hosted So the fork is one publish away. Also confirms the |
There was a problem hiding this comment.
Pull request overview
Updates this app’s hosted (pub.dev) dependency constraints to track newly released sibling package versions, ensuring external forks resolve to versions that include APIs the app now uses.
Changes:
- Bumped
magicandmagic_starterto newer published release-train versions. - Bumped dev tooling dependencies (
magic_devtools,fluttersdk_dusk,fluttersdk_artisan) to newer versions.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Advances every sibling caret to what is now on pub.dev.
Required rather than cosmetic: under 0.0.z caret semantics
^0.0.5means>=0.0.5 <0.0.6, so the previous constraints EXCLUDED the versions just released. A fork resolving from pub.dev would have pulled framework versions that predateMagicStarter.bootstrap()andSessionScopeSync, which this app calls in its service provider.Verified in two directions. In-workspace with the local path overrides: analyze clean, 7 tests. And against pub.dev directly, via a scratch package depending only on hosted
magic ^0.0.6andmagic_starter ^0.0.1-alpha.17, which resolves both fromhostedand analyzes clean while touchingbootstrap(),SessionScopeSync.attach/detach,PlanUpgradeRequirement,UpgradePrompt,MSUpgradeNudgeand both middlewares. So the published packages genuinely carry the release-train work.magic_devtools: ^0.0.2points at a version that is tagged and merged but NOT yet on pub.dev: its publish fails with "publishing from github is not enabled", a one-time pub.dev admin setting on that package. Until that is enabled a fork cannot resolve, which the fork probe in this PR's discussion isolates precisely.