Skip to content

fix: rebuild dashboard before npm publish - #175

Merged
pitimon merged 1 commit into
mainfrom
fix/prepublish-dashboard-build
Aug 7, 2026
Merged

fix: rebuild dashboard before npm publish#175
pitimon merged 1 commit into
mainfrom
fix/prepublish-dashboard-build

Conversation

@pitimon

@pitimon pitimon commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • rebuild dashboard/dist inside prepublishOnly before regenerating the pricing seed
  • prevent manual npm publish from silently packaging stale dashboard assets
  • add regression coverage for lifecycle ordering
  • bump npm, macOS, and Windows versions in lockstep to 0.39.50

Incident

0.39.49 was published manually after the automated job lacked NPM_TOKEN. The manual path packaged a stale dashboard bundle that still embedded 0.39.48; the local LaunchAgents were rolled back to the healthy 0.39.48 baseline.

Verification

  • focused npm publish workflow tests: 13/13 passed
  • npm publish --dry-run: dashboard rebuilt first; 180 files packaged; 22 dashboard JS assets; embedded 0.39.50; did not embed 0.39.49
  • npm run ci:local: passed
  • version lockstep: passed
  • OpenWiki: 0 findings
  • secret scan: 0 findings
  • git diff --check: passed

Fixes #174

@pitimon
pitimon merged commit c911bbd into main Aug 7, 2026
1 check passed
@pitimon
pitimon deleted the fix/prepublish-dashboard-build branch August 7, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: prevent stale dashboard assets in npm releases

1 participant