fix: fwScript prefers npm-bundled scripts over stale deployed copies #361

Merged
jason.woltje merged 1 commits from fix/cli-sync-issues into main 2026-04-03 02:21:59 +00:00
Owner

fwScript() now resolves framework scripts from the @mosaic/mosaic npm package first, falling back to ~/.config/mosaic/ only if not found. npm upgrade immediately takes effect without needing mosaic init.

Bump to 0.0.7.

fwScript() now resolves framework scripts from the @mosaic/mosaic npm package first, falling back to ~/.config/mosaic/ only if not found. npm upgrade immediately takes effect without needing mosaic init. Bump to 0.0.7.
jason.woltje added 1 commit 2026-04-03 02:21:55 +00:00
fix: fwScript prefers npm-bundled scripts over stale deployed copies
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
7e7d326dc6
fwScript() now resolves framework scripts from the @mosaic/mosaic npm
package first, falling back to ~/.config/mosaic/ only if the bundled
copy isn't found. This means `npm i -g @mosaic/cli@latest` immediately
takes effect without needing `mosaic init` to re-deploy scripts.

Bump @mosaic/mosaic and @mosaic/cli to 0.0.7.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit db8023bdbb into main 2026-04-03 02:21:59 +00:00
jason.woltje deleted branch fix/cli-sync-issues 2026-04-03 02:21:59 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#361