feat: release check for prerelease dependencies #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/10-release-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #10
What
yarn release:check(bin/release-check.ts, logic insrc/release/prerelease.ts):package.jsonwhose version is a prerelease;resolutionsthat are no longer needed;--writeapplies the replacements topackage.jsonand leaves the lockfile toyarn install.Documented in
docs/RELEASE.mdanddocs/RELEASE.fr.md.Today on develop
The command reports 9 entries (6 dependencies, 3 resolutions), none replaceable yet: the Quatrain packages concerned only have beta releases.
Not included
No CI gate. A job running the check on pull requests to
mainwould make the rule binding; it would fail today by design, so it is left for a separate decision.Tests
8 unit tests on the pure logic (range handling, 0.x and tilde ranges, manifest rewrite). The registry call was exercised by hand against the public registry.
🤖 Generated with Claude Code