DashboardfossilizeAlways reset package.json version to la…

Always reset package.json version to latest published npm version before letting Craft manage versioning

Category: preference
Confidence: 1.00
ID: 019e51c6-8045-7e69-8ed7-1afc33f17f45
Project ID: b075a555-f2ea-4652-a165-2e3407d916e7
Cross-project: No
Recalled in other projects: 1
Source session: (none)
Created: 2026-06-10 21:57:12
Updated: 2026-06-10 21:57:12

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 2026-07-03

Content

When setting up or fixing Craft-based publishing, reset package.json version to the latest version actually published on npm (not whatever is in the repo), then let Craft auto-determine the next version. Check npm view <pkg> version for the true latest. If Craft auto-versions to the already-published version (because package.json matches and no new conventional commits detected), re-run the release workflow with an explicit version (e.g. 0.6.0). Sync lockfiles after version change (npm install or pnpm install), then commit and trigger Craft.

Move to: