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

1 Commits

Author SHA1 Message Date
Jarvis
7e7d326dc6 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
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>
2026-04-02 21:20:49 -05:00