Repository navigation
release: v1.0.18 and reproducible widget build - #237
Merged
Merged
Conversation
Bump the widget to 1.0.18 and ship the rebuilt assets, including the plugin-v1.js alias. Make widget builds reproducible: pin Node (.node-version) and pnpm (packageManager), build through scripts/build-widget.cjs with a frozen install and no Webpack cache, and add `pnpm check-widget` plus a GitHub workflow that fails when committed assets drift from source. Stop inlining the whole package.json into the bundle; only the version is needed. Remove the stale npm package-lock.json, which was never used by the pnpm-based build. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
happyguy-michael
approved these changes
Oct 28, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
plugin-1.0.18-*,plugin-v1.js)..node-versionand pnpm viapackageManager;pnpm build-widgetnow runsscripts/build-widget.cjs(frozen install, no Webpack cache); newpnpm check-widgetrebuilds into a temp dir and fails on any drift.Verify widget artifactsGitHub workflow runningpnpm check-widgeton PRs and pushes tomain.src/library.tsx: stop inlining fullpackage.jsoninto the bundle (onlyversionneeded). Shrinksplugin-1.0.18.jsby ~2.4 KB.package-lock.json(unused by the pnpm build).Integrator impact
None expected.
plugin-v1.jsis byte-identical toplugin-1.0.18.js.window.JupiterAPI unchanged; all bundled URLs/hosts identical to 1.0.17.@babel/runtime,jayson,ws,tslib,stream-json).Verification
pnpm check-widgetunder Node 24.15.0 / pnpm 11.2.2 reproduces all 11 committed assets byte-for-byte.plugin-1.0.17-app.jsmatches the staged 1.0.18 app bundle except for the version string.After merge
plugin-v1.js.Verify widget artifactsas a required status check onmain.🤖 Generated with Claude Code