Repository navigation
Conversation
✅ Deploy Preview for rolldown-rs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…o prevent unnecessary packages in node_modules Co-authored-by: shulaoda <[email protected]>
Copilot
AI
changed the title
[WIP] Remove empty dependency packages from node_modules
fix: drop Feb 28, 2026
@rolldown/binding-wasm32-wasi from published optionalDependencies
This was referenced Jun 15, 2026
felixonmars
added a commit
to felixonmars/archriscv-packages
that referenced
this pull request
Oct 16, 2026
Use the installed pnpm with pmOnFail: ignore. Delegation to the pinned 11.3.0 release fails because its native launcher has no riscv64 binary. Approve @actions/github-script by its Git repository URL. pnpm 12 does not apply name-only approvals to Git dependencies, causing ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED in prepare(). Use upstream's repository selector to cover the locked GitHub tarball. Add the matching Rolldown 1.2.9 WASI binding through a package extension and allow the required lockfile update. Its native riscv64 target remains unmerged. https://archriscv.felixc.at/.status/logs/matrix-authentication-service/matrix-authentication-service-1.27.0-1.log https://github.com/pnpm/pnpm/blob/v12.13.0/pnpm/crates/cli/src/cli_args/pre_command/pin.rs https://github.com/pnpm/pnpm/blob/v12.13.0/.changeset/allow-git-tarball-builds-by-repo-url.md https://github.com/element-hq/matrix-authentication-service/blob/v1.27.0/pnpm-lock.yaml rolldown/rolldown#8500 rolldown/rolldown#10665
felixonmars
added a commit
to felixonmars/archriscv-packages
that referenced
this pull request
Nov 22, 2026
Rolldown 1.2.8 no longer installs its standalone WASI binding by default, so the existing allocator workaround stopped at prepare() because the loader file was absent. Add the matching binding through a pnpm package extension and refresh the allocator patch for the new beforeInit layout. https://archriscv.felixc.at/.status/logs/podman-desktop/podman-desktop-1.30.7-1.log rolldown/rolldown#8500
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.
Installing
rolldownpulls in@emnapi/*,@napi-rs/wasm-runtime, and@tybys/wasm-utilon every platform becausenapi pre-publishadds@rolldown/binding-wasm32-wasitooptionalDependencies, and npm doesn't recognizecpu: ["wasm32"]as a platform constraint — so it installs the package (and its transitive deps) unconditionally.Changes
packages/rolldown/scripts/remove-wasi-dep.cjs— new script that deletes@rolldown/binding-wasm32-wasifromoptionalDependenciesinpackage.jsonpackages/rolldown/package.json— chain the cleanup script afternapi pre-publishinprepublishOnly:The WASI package itself continues to be built and published as a standalone package. The WASI fallback in
binding.cjsstill works for users who install@rolldown/binding-wasm32-wasiexplicitly.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.