Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,12 @@ runs:
${{ inputs.pre }}
rustup target add ${{ inputs.target }}

npm install -g corepack@0.31.0 --force
echo "Corepack version: $(corepack --version)"
corepack enable
# The lts-debian image ships Node 20, whose module loader crashes when
# invoking pnpm 11 through the corepack shim (ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING).
# Install pnpm as a standalone binary instead of relying on the corepack shim.
PNPM_VERSION=$(node -p "require(\"./package.json\").packageManager.replace(\"pnpm@\", \"\")")
npm install -g "@pnpm/exe@$PNPM_VERSION" --force
pnpm --version

RUST_TARGET=${{ inputs.target }} ${{ inputs.plugin == 'false' && 'DISABLE_PLUGIN=1' || '' }} pnpm build:binding:${{ inputs.profile }} --target ${{ inputs.target }}
${{ inputs.post }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
cp napi/{index,browser}.js npm
cp napi/index.d.ts npm
pnpm node scripts/x.mjs prepublish
pnpm node scripts/x.mjs publish --tag ${{inputs.tag}} ${{inputs.dry_run && '--dry-run' || '--no-dry-run'}} ${{inputs.push_tags && '--push-tags' || '--no-push-tags'}}
pnpm --config.verify-deps-before-run=false node scripts/x.mjs publish --tag ${{inputs.tag}} ${{inputs.dry_run && '--dry-run' || '--no-dry-run'}} ${{inputs.push_tags && '--push-tags' || '--no-push-tags'}}
env:
REPOSITORY: ${{ github.repository }}
REF: ${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "rspack_resolver"
readme = "README.md"
repository = "https://github.com/rstackjs/rspack-resolver"
rust-version = "1.70"
version = "0.9.1"
version = "0.9.2"

[lib]
doctest = false
Expand Down
104 changes: 52 additions & 52 deletions napi/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rspack/resolver",
"version": "0.5.1",
"version": "0.5.2",
"description": "Rspack Resolver Node API",
"main": "index.js",
"browser": "browser.js",
Expand Down
30 changes: 30 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading