mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
chore: release @next/rspack-core 1.0.3 (#94116)
This commit is contained in:
@@ -30,7 +30,7 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
uses: rspack-contrib/rspack-toolchain/.github/workflows/build.yml@f69dc04fcae6b38d97b87acef448ed7a285b01cc
|
||||
uses: rstackjs/rspack-toolchain/.github/workflows/build.yml@c0b7f47d0d657adbc4fddb3b3f2b607019004491
|
||||
with:
|
||||
package-json-path: rspack/crates/binding/package.json
|
||||
napi-build-command: pnpm build --release
|
||||
@@ -89,12 +89,12 @@ jobs:
|
||||
|
||||
- name: Get NAPI info
|
||||
id: napi-info
|
||||
uses: rspack-contrib/rspack-toolchain/get-napi-info@f69dc04fcae6b38d97b87acef448ed7a285b01cc
|
||||
uses: rstackjs/rspack-toolchain/get-napi-info@c0b7f47d0d657adbc4fddb3b3f2b607019004491
|
||||
with:
|
||||
package-json-path: rspack/crates/binding/package.json
|
||||
|
||||
- name: Download rspack binding
|
||||
uses: rspack-contrib/rspack-toolchain/download-rspack-binding@f69dc04fcae6b38d97b87acef448ed7a285b01cc
|
||||
uses: rstackjs/rspack-toolchain/download-rspack-binding@c0b7f47d0d657adbc4fddb3b3f2b607019004491
|
||||
with:
|
||||
path: ${{ steps.napi-info.outputs.binding-directory }}/artifacts
|
||||
|
||||
@@ -118,6 +118,7 @@ jobs:
|
||||
run: |
|
||||
npm config set access public
|
||||
npm config set provenance true
|
||||
npm config set tag "${{ inputs.npm-tag }}"
|
||||
pnpm napi pre-publish --no-gh-release -t npm ${{ inputs.dry-run && '--dry-run' || '' }}
|
||||
working-directory: ${{ steps.napi-info.outputs.binding-directory }}
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# Keep this override scoped to the Rspack workspace. The repository root
|
||||
# config uses rust-lld for macOS, which Turbopack also depends on, so avoid
|
||||
# changing the root linker behavior for a Rspack-only release build issue.
|
||||
#
|
||||
# Rspack 0.100.4 pulls in build scripts that still emit a standalone `-Wl`
|
||||
# cdylib link arg on macOS. That flag is meant for clang/cc drivers and is not
|
||||
# accepted by direct rust-lld. Point Rspack macOS builds at a tiny rust-lld
|
||||
# wrapper that drops only that unsupported forwarding marker while preserving
|
||||
# the root config's rust-lld/ICF behavior.
|
||||
[target.'cfg(target_os = "macos")']
|
||||
linker = "scripts/rust-lld"
|
||||
Generated
+1562
-1425
File diff suppressed because it is too large
Load Diff
@@ -7,33 +7,33 @@ edition = "2024"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
rspack_binding_builder = { version = "=0.6.7" }
|
||||
rspack_binding_builder_macros = { version = "=0.6.7" }
|
||||
rspack_binding_builder = { version = "=0.100.4" }
|
||||
rspack_binding_builder_macros = { version = "=0.100.4" }
|
||||
|
||||
rspack_core = { version = "=0.6.7" }
|
||||
rspack_error = { version = "=0.6.7" }
|
||||
rspack_hook = { version = "=0.6.7" }
|
||||
rspack_plugin_externals = { version = "=0.6.7" }
|
||||
rspack_sources = { version = "=0.4.17" }
|
||||
rspack_core = { version = "=0.100.4" }
|
||||
rspack_error = { version = "=0.100.4" }
|
||||
rspack_hook = { version = "=0.100.4" }
|
||||
rspack_plugin_externals = { version = "=0.100.4" }
|
||||
rspack_sources = { version = "=0.4.23" }
|
||||
|
||||
regex = { version = "1.11.1" }
|
||||
rspack_regex = { version = "=0.6.7" }
|
||||
rspack_regex = { version = "=0.100.4" }
|
||||
rustc-hash = { version = "2.1.1" }
|
||||
|
||||
napi = { version = "=3.2.2" }
|
||||
napi-derive = { version = "=3.2.2" }
|
||||
napi = { version = "=3.8.6" }
|
||||
napi-derive = { version = "=3.5.5" }
|
||||
|
||||
anyhow = { version = "1.0.95" }
|
||||
serde_json = { version = "1.0.134" }
|
||||
anyhow = { version = "1.0.102" }
|
||||
serde_json = { version = "1.0.149" }
|
||||
next-taskless = { version = "0.0.1", path = "../../../crates/next-taskless" }
|
||||
|
||||
# Enable SWC plugin feature for targets that support it
|
||||
# Skip: wasm32-wasip1-threads, i686-pc-windows-msvc, aarch64-pc-windows-msvc, armv7-linux-androideabi, armv7-unknown-linux-gnueabihf
|
||||
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm", all(target_os = "windows", target_arch = "x86"), all(target_os = "windows", target_arch = "aarch64"))))'.dependencies]
|
||||
rspack_binding_builder = { version = "=0.6.7", features = ["plugin"] }
|
||||
rspack_binding_builder = { version = "=0.100.4", features = ["plugin"] }
|
||||
|
||||
[build-dependencies]
|
||||
rspack_binding_build = { version = "=0.6.7" }
|
||||
rspack_binding_build = { version = "=0.100.4" }
|
||||
|
||||
# Workaround for `cross` builds to resolve parent workspace dependencies.
|
||||
# When cross-compiling, the build runs in an isolated container and can't find
|
||||
@@ -43,4 +43,3 @@ rspack_binding_build = { version = "=0.6.7" }
|
||||
# See: https://github.com/cross-rs/cross/issues/1181
|
||||
[package.metadata.cross.build.env]
|
||||
volumes = ["NEXT-TASKLESS_DEP=../../.."]
|
||||
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
fn main() {
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
rspack_binding_build::setup();
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
println!("cargo:rerun-if-env-changed=DEBUG_GENERATED_CODE");
|
||||
println!("cargo:rerun-if-env-changed=TYPE_DEF_TMP_PATH");
|
||||
println!("cargo:rerun-if-env-changed=CARGO_CFG_NAPI_RS_CLI_VERSION");
|
||||
|
||||
// napi-build emits an extra standalone "-Wl" flag on macOS, which
|
||||
// breaks when this workspace uses rust-lld as the linker.
|
||||
println!("cargo:rustc-cdylib-link-arg=-undefined");
|
||||
println!("cargo:rustc-cdylib-link-arg=dynamic_lookup");
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -19,3 +19,4 @@ export interface NapiNextExternalsPluginOptions {
|
||||
}
|
||||
|
||||
export declare function registerNextExternalsPlugin(): void
|
||||
export declare function registerForceCompleteRuntimePlugin(): void
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@next/rspack-binding",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"homepage": "https://nextjs.org",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vercel/next.js/issues"
|
||||
@@ -27,7 +27,7 @@
|
||||
"build:debug": "napi build --platform"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "3.0.1",
|
||||
"@napi-rs/cli": "3.1.5",
|
||||
"@types/node": "^24.0.12",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
|
||||
Generated
+180
-163
@@ -9,8 +9,8 @@ importers:
|
||||
.:
|
||||
devDependencies:
|
||||
'@napi-rs/cli':
|
||||
specifier: 3.0.1
|
||||
version: 3.0.1(@emnapi/[email protected])(@types/[email protected])
|
||||
specifier: 3.1.5
|
||||
version: 3.1.5(@emnapi/[email protected])(@types/[email protected])
|
||||
'@types/node':
|
||||
specifier: ^24.0.12
|
||||
version: 24.3.0
|
||||
@@ -159,8 +159,8 @@ packages:
|
||||
'@types/node':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/cli@3.0.1':
|
||||
resolution: {integrity: sha512-rO2aDZRzqs0bCPUpfaExKjK0L999FvT3iQK3f1NfnKa1njlaHqO7XK/mUzxn9pnrTglfyFixU4+S3SzzTaaKNA==}
|
||||
'@napi-rs/cli@3.1.5':
|
||||
resolution: {integrity: sha512-Wn6ZPw27qJiEWglGjkaAa70AHuLtyPya6FvjINYJ5U20uvbRhoB0Ta2+bFTAFfUb9R+wvuFvog9JQdy65OmFAQ==}
|
||||
engines: {node: '>= 16'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
@@ -172,26 +172,38 @@ packages:
|
||||
emnapi:
|
||||
optional: true
|
||||
|
||||
'@napi-rs/cross-toolchain@0.0.19':
|
||||
resolution: {integrity: sha512-StHXqYANdTaMFqJJ3JXHqKQMylOzOJPcrOCd9Nt2NIGfvfaXK3SzpmNfkJimkOAYfTsfpfuRERsML0bUZCpHBQ==}
|
||||
'@napi-rs/cross-toolchain@1.0.3':
|
||||
resolution: {integrity: sha512-ENPfLe4937bsKVTDA6zdABx4pq9w0tHqRrJHyaGxgaPq03a2Bd1unD5XSKjXJjebsABJ+MjAv1A2OvCgK9yehg==}
|
||||
peerDependencies:
|
||||
'@napi-rs/cross-toolchain-arm64-target-aarch64': ^0.0.19
|
||||
'@napi-rs/cross-toolchain-arm64-target-armv7': ^0.0.19
|
||||
'@napi-rs/cross-toolchain-arm64-target-x86_64': ^0.0.19
|
||||
'@napi-rs/cross-toolchain-x64-target-aarch64': ^0.0.19
|
||||
'@napi-rs/cross-toolchain-x64-target-armv7': ^0.0.19
|
||||
'@napi-rs/cross-toolchain-x64-target-x86_64': ^0.0.19
|
||||
'@napi-rs/cross-toolchain-arm64-target-aarch64': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-arm64-target-armv7': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-arm64-target-ppc64le': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-arm64-target-s390x': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-arm64-target-x86_64': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-x64-target-aarch64': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-x64-target-armv7': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-x64-target-ppc64le': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-x64-target-s390x': ^1.0.3
|
||||
'@napi-rs/cross-toolchain-x64-target-x86_64': ^1.0.3
|
||||
peerDependenciesMeta:
|
||||
'@napi-rs/cross-toolchain-arm64-target-aarch64':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-arm64-target-armv7':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-arm64-target-ppc64le':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-arm64-target-s390x':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-arm64-target-x86_64':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-x64-target-aarch64':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-x64-target-armv7':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-x64-target-ppc64le':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-x64-target-s390x':
|
||||
optional: true
|
||||
'@napi-rs/cross-toolchain-x64-target-x86_64':
|
||||
optional: true
|
||||
|
||||
@@ -236,42 +248,49 @@ packages:
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-yWjcPDgJ2nIL3KNvi4536dlT/CcCWO0DUyEOlBs/SacG7BeD6IjGh6yYzd3/X1Y3JItCbZoDoLUH8iB1lTXo3w==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-0XRhKuIU/9ZjT4WDIG/qnX7Xz7mSQHYZo9Gb3MP2gcvBgr6BA4zywQ9k3gmQaPn9ECE+CZg2V7DV7kT+x2pUMQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-QrqDIPEUUB23GCpyQj/QFyMlr8SGxxyExeZz9OWFnHfb70kXdTLWrHS/hEI1Ru+lSbQ/6xRqeoGyQ4Aqdg+/RA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-k8RVM5aMhW86E9H0QXdquwojew4H3SwPxbRVbl49/COJQWCUjGi79X6mYruMnMPEznZinUiT1jgKbFo2A00NdA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-6rMtBgnIq2Wcl1rQdZsnM+rtCcVCbws1nF8S2NzaUsVaZv8bjrPiAa0lwg4Eqnn1d9lgwqT+cZgm5m+//K08Kw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-eiadGBKi7Vd0bCArBUOO/qqRYPHt/VQVvGyYvDFt6C2ZSIjlD+HuOl+2oS1sjf4CFjK4eDIog6EdXnL0NE6iyQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-+VyHHlr68dvey6fXc2hehw9gHVFIW3TtGF1XkcbAu65qVXsA9D/T+uuoRVqhE+JCyFHFrO0ixRbZDRK1XJt1sA==}
|
||||
@@ -300,190 +319,197 @@ packages:
|
||||
resolution: {integrity: sha512-zS5LuN1OBPAyZpda2ZZgYOEDC+xecUdAGnrvbYzjnLXkrq/OBC3B9qcRvlxbDR3k5H/gVfvef1/jyUqPknqjbg==}
|
||||
engines: {node: '>= 10'}
|
||||
|
||||
'@napi-rs/tar-android-arm-eabi@0.1.5':
|
||||
resolution: {integrity: sha512-FM2qNG3ELeYibnZC8dfsCV4i/pql1nlLKVINfRC7TSwqFfgj5gbezZ0rT8gRPHbLyslVt6m4MPZfRE8Uj/MuCA==}
|
||||
'@napi-rs/tar-android-arm-eabi@1.1.0':
|
||||
resolution: {integrity: sha512-h2Ryndraj/YiKgMV/r5by1cDusluYIRT0CaE0/PekQ4u+Wpy2iUVqvzVU98ZPnhXaNeYxEvVJHNGafpOfaD0TA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
|
||||
'@napi-rs/tar-android-arm64@0.1.5':
|
||||
resolution: {integrity: sha512-OpP0QyD+K0a68nqyko793lLWiC2BN1wWF/Doatus1OCKxgj61vtrUPVO2cQGQS5i07I/+YGRF8lD0tQDrk4JDQ==}
|
||||
'@napi-rs/tar-android-arm64@1.1.0':
|
||||
resolution: {integrity: sha512-DJFyQHr1ZxNZorm/gzc1qBNLF/FcKzcH0V0Vwan5P+o0aE2keQIGEjJ09FudkF9v6uOuJjHCVDdK6S6uHtShAw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
|
||||
'@napi-rs/tar-darwin-arm64@0.1.5':
|
||||
resolution: {integrity: sha512-sfyM/9gxFabdMTFt4quvLJuKbXS6StGIUf7Cp3l8aV2WqCURJevdpN6wW8XtGBo/iSnAP52ERwMRdyIavPYruw==}
|
||||
'@napi-rs/tar-darwin-arm64@1.1.0':
|
||||
resolution: {integrity: sha512-Zz2sXRzjIX4e532zD6xm2SjXEym6MkvfCvL2RMpG2+UwNVDVscHNcz3d47Pf3sysP2e2af7fBB3TIoK2f6trPw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@napi-rs/tar-darwin-x64@0.1.5':
|
||||
resolution: {integrity: sha512-NtY8bADKE/3ODBM3hW/RgPeeERJpI6/jgipT3eLJ/CQWY1VJ6t9GHR7anJKhx1oxVdmSfqfCGMolM8WPV9x9bw==}
|
||||
'@napi-rs/tar-darwin-x64@1.1.0':
|
||||
resolution: {integrity: sha512-EI+CptIMNweT0ms9S3mkP/q+J6FNZ1Q6pvpJOEcWglRfyfQpLqjlC0O+dptruTPE8VamKYuqdjxfqD8hifZDOA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@napi-rs/tar-freebsd-x64@0.1.5':
|
||||
resolution: {integrity: sha512-azl0nWrDJAGg25cGVKEY7UtU5ABGz4sQASKvemDLwGbzMDtkJgCoPb+OunI1pezijRAyhiuZEQ4jK8S1qNAWCg==}
|
||||
'@napi-rs/tar-freebsd-x64@1.1.0':
|
||||
resolution: {integrity: sha512-J0PIqX+pl6lBIAckL/c87gpodLbjZB1OtIK+RDscKC9NLdpVv6VGOxzUV/fYev/hctcE8EfkLbgFOfpmVQPg2g==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
|
||||
'@napi-rs/tar-linux-arm-gnueabihf@0.1.5':
|
||||
resolution: {integrity: sha512-OjGdKjaW7b0m96rAvsLthMBhwYSSgpTM/WkHqRJo91HCYQ6tHXDBnq4VIQx2FpwT1PoetvRsbSgy0tOc95iYjA==}
|
||||
'@napi-rs/tar-linux-arm-gnueabihf@1.1.0':
|
||||
resolution: {integrity: sha512-SLgIQo3f3EjkZ82ZwvrEgFvMdDAhsxCYjyoSuWfHCz0U16qx3SuGCp8+FYOPYCECHN3ZlGjXnoAIt9ERd0dEUg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
|
||||
'@napi-rs/tar-linux-arm64-gnu@0.1.5':
|
||||
resolution: {integrity: sha512-o3b2VE5c7+NFb6XRcXrdXgur1yhpx+XNItFoeJUMBE8z0AGAISf2DJSbcJawmefUvrGtr+iLr61hsr6f2hw+5Q==}
|
||||
'@napi-rs/tar-linux-arm64-gnu@1.1.0':
|
||||
resolution: {integrity: sha512-d014cdle52EGaH6GpYTQOP9Py7glMO1zz/+ynJPjjzYFSxvdYx0byrjumZk2UQdIyGZiJO2MEFpCkEEKFSgPYA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/tar-linux-arm64-musl@0.1.5':
|
||||
resolution: {integrity: sha512-5xTxsoPVqovnZ197CqTc+q3psRM4i+ErdiyfDgkG4nP045jh50gp22WKZuE24dc7/iS+IyUrM3+PRbmj2mzR8g==}
|
||||
'@napi-rs/tar-linux-arm64-musl@1.1.0':
|
||||
resolution: {integrity: sha512-L/y1/26q9L/uBqiW/JdOb/Dc94egFvNALUZV2WCGKQXc6UByPBMgdiEyW2dtoYxYYYYc+AKD+jr+wQPcvX2vrQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@napi-rs/tar-linux-ppc64-gnu@0.1.5':
|
||||
resolution: {integrity: sha512-7FF1u8EkDpCEPCgU0/kvuzsO+opB7eIbsGfKRIbOqrDT7c1DYxDetNTtukPvNoT2kvwfxxThgTfcPADPxdOE/w==}
|
||||
'@napi-rs/tar-linux-ppc64-gnu@1.1.0':
|
||||
resolution: {integrity: sha512-EPE1K/80RQvPbLRJDJs1QmCIcH+7WRi0F73+oTe1582y9RtfGRuzAkzeBuAGRXAQEjRQw/RjtNqr6UTJ+8UuWQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/tar-linux-s390x-gnu@0.1.5':
|
||||
resolution: {integrity: sha512-uyIZ7OLCLHtVBpogoJUD0GSAF1IUa3d5c5AVUemTLIwYkVgzdEB+khh3i2+/oKObf79ZKfQ8mYxOryHqfx+ulw==}
|
||||
'@napi-rs/tar-linux-s390x-gnu@1.1.0':
|
||||
resolution: {integrity: sha512-B2jhWiB1ffw1nQBqLUP1h4+J1ovAxBOoe5N2IqDMOc63fsPZKNqF1PvO/dIem8z7LL4U4bsfmhy3gBfu547oNQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/tar-linux-x64-gnu@0.1.5':
|
||||
resolution: {integrity: sha512-y8pFyVTU6lSYiW2lse6i1Ns9yt9mBkAqPbcJnIjqC7ZqRd61T6g3XZDSrKmsM6ycTfsAqoE5WyyFxBjQN29AOA==}
|
||||
'@napi-rs/tar-linux-x64-gnu@1.1.0':
|
||||
resolution: {integrity: sha512-tbZDHnb9617lTnsDMGo/eAMZxnsQFnaRe+MszRqHguKfMwkisc9CCJnks/r1o84u5fECI+J/HOrKXgczq/3Oww==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/tar-linux-x64-musl@0.1.5':
|
||||
resolution: {integrity: sha512-8phLYc0QX+tqvp34PQHUulZUi4sy/fdg1KgFHiyYExTRRleBB01vM7KSn7Bk9dwH7lannO5D7j4O8OY46Xcr/A==}
|
||||
'@napi-rs/tar-linux-x64-musl@1.1.0':
|
||||
resolution: {integrity: sha512-dV6cODlzbO8u6Anmv2N/ilQHq/AWz0xyltuXoLU3yUyXbZcnWYZuB2rL8OBGPmqNcD+x9NdScBNXh7vWN0naSQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@napi-rs/tar-wasm32-wasi@0.1.5':
|
||||
resolution: {integrity: sha512-OpVWC/bwY0zb6nbQDg6koxeZGb441gXwPkaYVjaK4O0TJjNpRKbokLAMlGFtcc/sVSPjghFL0+enfnLDt/P7og==}
|
||||
'@napi-rs/tar-wasm32-wasi@1.1.0':
|
||||
resolution: {integrity: sha512-jIa9nb2HzOrfH0F8QQ9g3WE4aMH5vSI5/1NYVNm9ysCmNjCCtMXCAhlI3WKCdm/DwHf0zLqdrrtDFXODcNaqMw==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
cpu: [wasm32]
|
||||
|
||||
'@napi-rs/tar-win32-arm64-msvc@0.1.5':
|
||||
resolution: {integrity: sha512-FXwQA2Ib55q98szshvDsitgo2iLW2lTD1Q53e8dPMGobPa2yL5e8IjJDCcMI7XJwBZPl9YjJk7nAb8y20DXF+Q==}
|
||||
'@napi-rs/tar-win32-arm64-msvc@1.1.0':
|
||||
resolution: {integrity: sha512-vfpG71OB0ijtjemp3WTdmBKJm9R70KM8vsSExMsIQtV0lVzP07oM1CW6JbNRPXNLhRoue9ofYLiUDk8bE0Hckg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@napi-rs/tar-win32-ia32-msvc@0.1.5':
|
||||
resolution: {integrity: sha512-XEt58yFslNkwf2yJ+uX5nDNmPAk15Metkx2hVPeH29mOpuG2H8nuS8/42hZ+dQfZf3xABRjyurVMMH9JcgLZIQ==}
|
||||
'@napi-rs/tar-win32-ia32-msvc@1.1.0':
|
||||
resolution: {integrity: sha512-hGPyPW60YSpOSgzfy68DLBHgi6HxkAM+L59ZZZPMQ0TOXjQg+p2EW87+TjZfJOkSpbYiEkULwa/f4a2hcVjsqQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@napi-rs/tar-win32-x64-msvc@0.1.5':
|
||||
resolution: {integrity: sha512-9Rq0Ob4S5NGFwNL3kGQkgrYlObqQgw19QMSZdVuhzZ9sSxn9OSF5cWgZ/n1oMEPWK+u6n9GSN2XbPn4DI7pm7Q==}
|
||||
'@napi-rs/tar-win32-x64-msvc@1.1.0':
|
||||
resolution: {integrity: sha512-L6Ed1DxXK9YSCMyvpR8MiNAyKNkQLjsHsHK9E0qnHa8NzLFqzDKhvs5LfnWxM2kJ+F7m/e5n9zPm24kHb3LsVw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@napi-rs/tar@0.1.5':
|
||||
resolution: {integrity: sha512-skgWKcpjtUqJUk1jwhVl8vXYCXQlFC532KiryU3hQBr6ZIJk0E0qD9FG99hUqtPko8mIMS5HDPO+uSnvHfgRVg==}
|
||||
'@napi-rs/tar@1.1.0':
|
||||
resolution: {integrity: sha512-7cmzIu+Vbupriudo7UudoMRH2OA3cTw67vva8MxeoAe5S7vPFI7z0vp0pMXiA25S8IUJefImQ90FeJjl8fjEaQ==}
|
||||
engines: {node: '>= 10'}
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==}
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
resolution: {integrity: sha512-rZxtMsLwjdXkMUGC3WwsPwLNVqVqnTJT6MNIB6e+5fhMcSCPP0AOsNWuMQ5mdCq6HNjs/ZeWAEchpqeprqBD2Q==}
|
||||
|
||||
'@napi-rs/wasm-tools-android-arm-eabi@0.0.3':
|
||||
resolution: {integrity: sha512-T2tme8w5jZ/ZCjJurqNtKCxYtGoDjW9v2rn1bfI60ewCfkYXNpxrTURdkOib85sz+BcwmOfXn0enbg5W9KohoQ==}
|
||||
'@napi-rs/wasm-tools-android-arm-eabi@1.0.1':
|
||||
resolution: {integrity: sha512-lr07E/l571Gft5v4aA1dI8koJEmF1F0UigBbsqg9OWNzg80H3lDPO+auv85y3T/NHE3GirDk7x/D3sLO57vayw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
|
||||
'@napi-rs/wasm-tools-android-arm64@0.0.3':
|
||||
resolution: {integrity: sha512-siHTjrxxBrvsVty5X2jI5waAyzJpr756GqGVUqxqS2eoTuqYRfgaFNvX8asp9LAagFtOojfD0fZfuvxK7dc4Rw==}
|
||||
'@napi-rs/wasm-tools-android-arm64@1.0.1':
|
||||
resolution: {integrity: sha512-WDR7S+aRLV6LtBJAg5fmjKkTZIdrEnnQxgdsb7Cf8pYiMWBHLU+LC49OUVppQ2YSPY0+GeYm9yuZWW3kLjJ7Bg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
|
||||
'@napi-rs/wasm-tools-darwin-arm64@0.0.3':
|
||||
resolution: {integrity: sha512-0MqsSOYJ4jXcLv/nAInS8nwU+/hL0rSEJo7JXKj3dhkT9UNSj4zfidcOaIb05O9VskJBPmV040+edtWPHXNt2Q==}
|
||||
'@napi-rs/wasm-tools-darwin-arm64@1.0.1':
|
||||
resolution: {integrity: sha512-qWTI+EEkiN0oIn/N2gQo7+TVYil+AJ20jjuzD2vATS6uIjVz+Updeqmszi7zq7rdFTLp6Ea3/z4kDKIfZwmR9g==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@napi-rs/wasm-tools-darwin-x64@0.0.3':
|
||||
resolution: {integrity: sha512-yXAK2mrlBMZZYK/59JRHZu/c683HFpr5ork1cn++fy8gqUBRLbjuq47VDjA7oyLW5SmWqNDhmhjFTDGvfIvcUg==}
|
||||
'@napi-rs/wasm-tools-darwin-x64@1.0.1':
|
||||
resolution: {integrity: sha512-bA6hubqtHROR5UI3tToAF/c6TDmaAgF0SWgo4rADHtQ4wdn0JeogvOk50gs2TYVhKPE2ZD2+qqt7oBKB+sxW3A==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@napi-rs/wasm-tools-freebsd-x64@0.0.3':
|
||||
resolution: {integrity: sha512-K1rne814utBd9Zo9LCggQ5h0TSnzGPzA+sG78Qr7KfFz8XQxEGDRH5wpzXyF1KaKav2RmO6wGMXlasDgIcq7GA==}
|
||||
'@napi-rs/wasm-tools-freebsd-x64@1.0.1':
|
||||
resolution: {integrity: sha512-90+KLBkD9hZEjPQW1MDfwSt5J1L46EUKacpCZWyRuL6iIEO5CgWU0V/JnEgFsDOGyyYtiTvHc5bUdUTWd4I9Vg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
|
||||
'@napi-rs/wasm-tools-linux-arm64-gnu@0.0.3':
|
||||
resolution: {integrity: sha512-Yu3gtpvGc2+hcay3SU5MK7EMrGPBq/V4i8mpw/MEYUCzOb7Vd9aL8CryElzlk0SIbktG08VYMdhFFFoJAjlYtg==}
|
||||
'@napi-rs/wasm-tools-linux-arm64-gnu@1.0.1':
|
||||
resolution: {integrity: sha512-rG0QlS65x9K/u3HrKafDf8cFKj5wV2JHGfl8abWgKew0GVPyp6vfsDweOwHbWAjcHtp2LHi6JHoW80/MTHm52Q==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/wasm-tools-linux-arm64-musl@0.0.3':
|
||||
resolution: {integrity: sha512-XN+sPgEwFw3P47wDvtcQyOoZNghIL8gaiRjEGzprB+kE9N21GkuMbk3kdjiBBJkjqKF25f4fbOvNAY0jQEAO3A==}
|
||||
'@napi-rs/wasm-tools-linux-arm64-musl@1.0.1':
|
||||
resolution: {integrity: sha512-jAasbIvjZXCgX0TCuEFQr+4D6Lla/3AAVx2LmDuMjgG4xoIXzjKWl7c4chuaD+TI+prWT0X6LJcdzFT+ROKGHQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@napi-rs/wasm-tools-linux-x64-gnu@0.0.3':
|
||||
resolution: {integrity: sha512-mfMvMEqn33YtEjIyLPguZ6yDsNtF5zV7mqc99620YDyj2SLa0aI35TNTc7Dm+/hlgqHRKhdudsWGfYc4dBND2Q==}
|
||||
'@napi-rs/wasm-tools-linux-x64-gnu@1.0.1':
|
||||
resolution: {integrity: sha512-Plgk5rPqqK2nocBGajkMVbGm010Z7dnUgq0wtnYRZbzWWxwWcXfZMPa8EYxrK4eE8SzpI7VlZP1tdVsdjgGwMw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@napi-rs/wasm-tools-linux-x64-musl@0.0.3':
|
||||
resolution: {integrity: sha512-KXMsXWGELoN5xgPCoRHbgt5TScSx8BK2GcCHKJ9OPZ2HMfsXbLgS/SNi6vz1CbLMZMLPBY2G6HAk0gzLGyS0mQ==}
|
||||
'@napi-rs/wasm-tools-linux-x64-musl@1.0.1':
|
||||
resolution: {integrity: sha512-GW7AzGuWxtQkyHknHWYFdR0CHmW6is8rG2Rf4V6GNmMpmwtXt/ItWYWtBe4zqJWycMNazpfZKSw/BpT7/MVCXQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@napi-rs/wasm-tools-wasm32-wasi@0.0.3':
|
||||
resolution: {integrity: sha512-v3iMHnAfMteogpbqHTFeLXPeAzL5AhpDJLvZvLXbuRiMsMRL0dn8CbcEnYja2P/Ui6Xlyky6PcaUsepOUTNb7A==}
|
||||
'@napi-rs/wasm-tools-wasm32-wasi@1.0.1':
|
||||
resolution: {integrity: sha512-/nQVSTrqSsn7YdAc2R7Ips/tnw5SPUcl3D7QrXCNGPqjbatIspnaexvaOYNyKMU6xPu+pc0BTnKVmqhlJJCPLA==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
cpu: [wasm32]
|
||||
|
||||
'@napi-rs/wasm-tools-win32-arm64-msvc@0.0.3':
|
||||
resolution: {integrity: sha512-HWrg9cW+u+rQKL9XCQILaGGs6mDYdwX9nwcTIvJAjrpGWu8Dp4wz6i66w6YKHqVng1suGYjjr+LH4/1e0tDaAg==}
|
||||
'@napi-rs/wasm-tools-win32-arm64-msvc@1.0.1':
|
||||
resolution: {integrity: sha512-PFi7oJIBu5w7Qzh3dwFea3sHRO3pojMsaEnUIy22QvsW+UJfNQwJCryVrpoUt8m4QyZXI+saEq/0r4GwdoHYFQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@napi-rs/wasm-tools-win32-ia32-msvc@0.0.3':
|
||||
resolution: {integrity: sha512-h99hAWvQKhcloyPfPi0IjrvKRToTE9Z4UVXoXZhcjpCGmr3o1qW+1FAupRy/TcVdMjUJNLE/aenml3UPqzQEQw==}
|
||||
'@napi-rs/wasm-tools-win32-ia32-msvc@1.0.1':
|
||||
resolution: {integrity: sha512-gXkuYzxQsgkj05Zaq+KQTkHIN83dFAwMcTKa2aQcpYPRImFm2AQzEyLtpXmyCWzJ0F9ZYAOmbSyrNew8/us6bw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@napi-rs/wasm-tools-win32-x64-msvc@0.0.3':
|
||||
resolution: {integrity: sha512-7/6IpzMi9VGYxLcc9SJyu9ZIdbDwyyb09glVF/2SFEgke9F5H46XzRrAdSoRnjfcq/tdLyHKJbnpCIB257qVYg==}
|
||||
'@napi-rs/wasm-tools-win32-x64-msvc@1.0.1':
|
||||
resolution: {integrity: sha512-rEAf05nol3e3eei2sRButmgXP+6ATgm0/38MKhz9Isne82T4rPIMYsCIFj0kOisaGeVwoi2fnm7O9oWp5YVnYQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@napi-rs/wasm-tools@0.0.3':
|
||||
resolution: {integrity: sha512-p7NT5wnOIwmP0f3KbXlMabeld5dPFsADpHMWJaBodTSmnPE8P4msguxKJLKWquqAS1FY2dsjBZ62K0/hfiqAUg==}
|
||||
'@napi-rs/wasm-tools@1.0.1':
|
||||
resolution: {integrity: sha512-enkZYyuCdo+9jneCPE/0fjIta4wWnvVN9hBo2HuiMpRF0q3lzv1J6b/cl7i0mxZUKhBrV3aCKDBQnCOhwKbPmQ==}
|
||||
engines: {node: '>= 10'}
|
||||
|
||||
'@octokit/[email protected]':
|
||||
@@ -596,6 +622,9 @@ packages:
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ==}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==}
|
||||
|
||||
@@ -619,9 +648,6 @@ packages:
|
||||
resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
||||
|
||||
@@ -686,9 +712,6 @@ packages:
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-pjaKtLJejlWm6+okPV2X1A6nIsRDD4qeK97eCh8DP8KXi3Nzn/HY01vpHhZHlhDri12eZqipjm8HhdTVw+ATxw==}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
|
||||
engines: {node: '>=8'}
|
||||
@@ -842,37 +865,40 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/node': 24.3.0
|
||||
|
||||
'@napi-rs/cli@3.0.1(@emnapi/[email protected])(@types/[email protected])':
|
||||
'@napi-rs/cli@3.1.5(@emnapi/[email protected])(@types/[email protected])':
|
||||
dependencies:
|
||||
'@inquirer/prompts': 7.8.4(@types/[email protected])
|
||||
'@napi-rs/cross-toolchain': 0.0.19
|
||||
'@napi-rs/wasm-tools': 0.0.3
|
||||
'@napi-rs/cross-toolchain': 1.0.3
|
||||
'@napi-rs/wasm-tools': 1.0.1
|
||||
'@octokit/rest': 22.0.0
|
||||
clipanion: 4.0.0-rc.4([email protected])
|
||||
colorette: 2.0.20
|
||||
debug: 4.4.1
|
||||
es-toolkit: 1.46.1
|
||||
find-up: 7.0.0
|
||||
js-yaml: 4.1.0
|
||||
lodash-es: 4.17.21
|
||||
semver: 7.7.2
|
||||
typanion: 3.14.0
|
||||
wasm-sjlj: 1.0.6
|
||||
optionalDependencies:
|
||||
'@emnapi/runtime': 1.4.5
|
||||
transitivePeerDependencies:
|
||||
- '@napi-rs/cross-toolchain-arm64-target-aarch64'
|
||||
- '@napi-rs/cross-toolchain-arm64-target-armv7'
|
||||
- '@napi-rs/cross-toolchain-arm64-target-ppc64le'
|
||||
- '@napi-rs/cross-toolchain-arm64-target-s390x'
|
||||
- '@napi-rs/cross-toolchain-arm64-target-x86_64'
|
||||
- '@napi-rs/cross-toolchain-x64-target-aarch64'
|
||||
- '@napi-rs/cross-toolchain-x64-target-armv7'
|
||||
- '@napi-rs/cross-toolchain-x64-target-ppc64le'
|
||||
- '@napi-rs/cross-toolchain-x64-target-s390x'
|
||||
- '@napi-rs/cross-toolchain-x64-target-x86_64'
|
||||
- '@types/node'
|
||||
- supports-color
|
||||
|
||||
'@napi-rs/cross-toolchain@0.0.19':
|
||||
'@napi-rs/cross-toolchain@1.0.3':
|
||||
dependencies:
|
||||
'@napi-rs/lzma': 1.4.5
|
||||
'@napi-rs/tar': 0.1.5
|
||||
'@napi-rs/tar': 1.1.0
|
||||
debug: 4.4.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@@ -950,81 +976,74 @@ snapshots:
|
||||
'@napi-rs/lzma-win32-ia32-msvc': 1.4.5
|
||||
'@napi-rs/lzma-win32-x64-msvc': 1.4.5
|
||||
|
||||
'@napi-rs/tar-android-arm-eabi@0.1.5':
|
||||
'@napi-rs/tar-android-arm-eabi@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-android-arm64@0.1.5':
|
||||
'@napi-rs/tar-android-arm64@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-darwin-arm64@0.1.5':
|
||||
'@napi-rs/tar-darwin-arm64@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-darwin-x64@0.1.5':
|
||||
'@napi-rs/tar-darwin-x64@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-freebsd-x64@0.1.5':
|
||||
'@napi-rs/tar-freebsd-x64@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-arm-gnueabihf@0.1.5':
|
||||
'@napi-rs/tar-linux-arm-gnueabihf@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-arm64-gnu@0.1.5':
|
||||
'@napi-rs/tar-linux-arm64-gnu@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-arm64-musl@0.1.5':
|
||||
'@napi-rs/tar-linux-arm64-musl@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-ppc64-gnu@0.1.5':
|
||||
'@napi-rs/tar-linux-ppc64-gnu@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-s390x-gnu@0.1.5':
|
||||
'@napi-rs/tar-linux-s390x-gnu@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-x64-gnu@0.1.5':
|
||||
'@napi-rs/tar-linux-x64-gnu@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-linux-x64-musl@0.1.5':
|
||||
'@napi-rs/tar-linux-x64-musl@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-wasm32-wasi@0.1.5':
|
||||
'@napi-rs/tar-wasm32-wasi@1.1.0':
|
||||
dependencies:
|
||||
'@napi-rs/wasm-runtime': 0.2.12
|
||||
'@napi-rs/wasm-runtime': 1.0.3
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-win32-arm64-msvc@0.1.5':
|
||||
'@napi-rs/tar-win32-arm64-msvc@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-win32-ia32-msvc@0.1.5':
|
||||
'@napi-rs/tar-win32-ia32-msvc@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar-win32-x64-msvc@0.1.5':
|
||||
'@napi-rs/tar-win32-x64-msvc@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/tar@0.1.5':
|
||||
'@napi-rs/tar@1.1.0':
|
||||
optionalDependencies:
|
||||
'@napi-rs/tar-android-arm-eabi': 0.1.5
|
||||
'@napi-rs/tar-android-arm64': 0.1.5
|
||||
'@napi-rs/tar-darwin-arm64': 0.1.5
|
||||
'@napi-rs/tar-darwin-x64': 0.1.5
|
||||
'@napi-rs/tar-freebsd-x64': 0.1.5
|
||||
'@napi-rs/tar-linux-arm-gnueabihf': 0.1.5
|
||||
'@napi-rs/tar-linux-arm64-gnu': 0.1.5
|
||||
'@napi-rs/tar-linux-arm64-musl': 0.1.5
|
||||
'@napi-rs/tar-linux-ppc64-gnu': 0.1.5
|
||||
'@napi-rs/tar-linux-s390x-gnu': 0.1.5
|
||||
'@napi-rs/tar-linux-x64-gnu': 0.1.5
|
||||
'@napi-rs/tar-linux-x64-musl': 0.1.5
|
||||
'@napi-rs/tar-wasm32-wasi': 0.1.5
|
||||
'@napi-rs/tar-win32-arm64-msvc': 0.1.5
|
||||
'@napi-rs/tar-win32-ia32-msvc': 0.1.5
|
||||
'@napi-rs/tar-win32-x64-msvc': 0.1.5
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
dependencies:
|
||||
'@emnapi/core': 1.4.5
|
||||
'@emnapi/runtime': 1.4.5
|
||||
'@tybys/wasm-util': 0.10.0
|
||||
optional: true
|
||||
'@napi-rs/tar-android-arm-eabi': 1.1.0
|
||||
'@napi-rs/tar-android-arm64': 1.1.0
|
||||
'@napi-rs/tar-darwin-arm64': 1.1.0
|
||||
'@napi-rs/tar-darwin-x64': 1.1.0
|
||||
'@napi-rs/tar-freebsd-x64': 1.1.0
|
||||
'@napi-rs/tar-linux-arm-gnueabihf': 1.1.0
|
||||
'@napi-rs/tar-linux-arm64-gnu': 1.1.0
|
||||
'@napi-rs/tar-linux-arm64-musl': 1.1.0
|
||||
'@napi-rs/tar-linux-ppc64-gnu': 1.1.0
|
||||
'@napi-rs/tar-linux-s390x-gnu': 1.1.0
|
||||
'@napi-rs/tar-linux-x64-gnu': 1.1.0
|
||||
'@napi-rs/tar-linux-x64-musl': 1.1.0
|
||||
'@napi-rs/tar-wasm32-wasi': 1.1.0
|
||||
'@napi-rs/tar-win32-arm64-msvc': 1.1.0
|
||||
'@napi-rs/tar-win32-ia32-msvc': 1.1.0
|
||||
'@napi-rs/tar-win32-x64-msvc': 1.1.0
|
||||
|
||||
'@napi-rs/[email protected]':
|
||||
dependencies:
|
||||
@@ -1033,62 +1052,62 @@ snapshots:
|
||||
'@tybys/wasm-util': 0.10.0
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-android-arm-eabi@0.0.3':
|
||||
'@napi-rs/wasm-tools-android-arm-eabi@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-android-arm64@0.0.3':
|
||||
'@napi-rs/wasm-tools-android-arm64@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-darwin-arm64@0.0.3':
|
||||
'@napi-rs/wasm-tools-darwin-arm64@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-darwin-x64@0.0.3':
|
||||
'@napi-rs/wasm-tools-darwin-x64@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-freebsd-x64@0.0.3':
|
||||
'@napi-rs/wasm-tools-freebsd-x64@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-linux-arm64-gnu@0.0.3':
|
||||
'@napi-rs/wasm-tools-linux-arm64-gnu@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-linux-arm64-musl@0.0.3':
|
||||
'@napi-rs/wasm-tools-linux-arm64-musl@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-linux-x64-gnu@0.0.3':
|
||||
'@napi-rs/wasm-tools-linux-x64-gnu@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-linux-x64-musl@0.0.3':
|
||||
'@napi-rs/wasm-tools-linux-x64-musl@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-wasm32-wasi@0.0.3':
|
||||
'@napi-rs/wasm-tools-wasm32-wasi@1.0.1':
|
||||
dependencies:
|
||||
'@napi-rs/wasm-runtime': 0.2.12
|
||||
'@napi-rs/wasm-runtime': 1.0.3
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-win32-arm64-msvc@0.0.3':
|
||||
'@napi-rs/wasm-tools-win32-arm64-msvc@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-win32-ia32-msvc@0.0.3':
|
||||
'@napi-rs/wasm-tools-win32-ia32-msvc@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools-win32-x64-msvc@0.0.3':
|
||||
'@napi-rs/wasm-tools-win32-x64-msvc@1.0.1':
|
||||
optional: true
|
||||
|
||||
'@napi-rs/wasm-tools@0.0.3':
|
||||
'@napi-rs/wasm-tools@1.0.1':
|
||||
optionalDependencies:
|
||||
'@napi-rs/wasm-tools-android-arm-eabi': 0.0.3
|
||||
'@napi-rs/wasm-tools-android-arm64': 0.0.3
|
||||
'@napi-rs/wasm-tools-darwin-arm64': 0.0.3
|
||||
'@napi-rs/wasm-tools-darwin-x64': 0.0.3
|
||||
'@napi-rs/wasm-tools-freebsd-x64': 0.0.3
|
||||
'@napi-rs/wasm-tools-linux-arm64-gnu': 0.0.3
|
||||
'@napi-rs/wasm-tools-linux-arm64-musl': 0.0.3
|
||||
'@napi-rs/wasm-tools-linux-x64-gnu': 0.0.3
|
||||
'@napi-rs/wasm-tools-linux-x64-musl': 0.0.3
|
||||
'@napi-rs/wasm-tools-wasm32-wasi': 0.0.3
|
||||
'@napi-rs/wasm-tools-win32-arm64-msvc': 0.0.3
|
||||
'@napi-rs/wasm-tools-win32-ia32-msvc': 0.0.3
|
||||
'@napi-rs/wasm-tools-win32-x64-msvc': 0.0.3
|
||||
'@napi-rs/wasm-tools-android-arm-eabi': 1.0.1
|
||||
'@napi-rs/wasm-tools-android-arm64': 1.0.1
|
||||
'@napi-rs/wasm-tools-darwin-arm64': 1.0.1
|
||||
'@napi-rs/wasm-tools-darwin-x64': 1.0.1
|
||||
'@napi-rs/wasm-tools-freebsd-x64': 1.0.1
|
||||
'@napi-rs/wasm-tools-linux-arm64-gnu': 1.0.1
|
||||
'@napi-rs/wasm-tools-linux-arm64-musl': 1.0.1
|
||||
'@napi-rs/wasm-tools-linux-x64-gnu': 1.0.1
|
||||
'@napi-rs/wasm-tools-linux-x64-musl': 1.0.1
|
||||
'@napi-rs/wasm-tools-wasm32-wasi': 1.0.1
|
||||
'@napi-rs/wasm-tools-win32-arm64-msvc': 1.0.1
|
||||
'@napi-rs/wasm-tools-win32-ia32-msvc': 1.0.1
|
||||
'@napi-rs/wasm-tools-win32-x64-msvc': 1.0.1
|
||||
|
||||
'@octokit/[email protected]': {}
|
||||
|
||||
@@ -1197,6 +1216,8 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
@@ -1219,8 +1240,6 @@ snapshots:
|
||||
dependencies:
|
||||
p-locate: 6.0.0
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
@@ -1266,8 +1285,6 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
ansi-styles: 4.3.0
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
use rspack_core::{
|
||||
ApplyContext, ChunkUkey, Compilation, CompilationAdditionalTreeRuntimeRequirements, Plugin,
|
||||
RuntimeGlobals, RuntimeModule,
|
||||
};
|
||||
use rspack_error::Result;
|
||||
use rspack_hook::{plugin, plugin_hook};
|
||||
|
||||
#[derive(Debug)]
|
||||
#[plugin]
|
||||
pub struct ForceCompleteRuntimePlugin;
|
||||
|
||||
impl ForceCompleteRuntimePlugin {
|
||||
pub fn new() -> Self {
|
||||
Self::new_inner()
|
||||
}
|
||||
}
|
||||
|
||||
#[plugin_hook(
|
||||
CompilationAdditionalTreeRuntimeRequirements for ForceCompleteRuntimePlugin,
|
||||
tracing = false
|
||||
)]
|
||||
async fn additional_tree_runtime_requirements(
|
||||
&self,
|
||||
_compilation: &Compilation,
|
||||
_chunk_ukey: &ChunkUkey,
|
||||
runtime_requirements: &mut RuntimeGlobals,
|
||||
_runtime_modules: &mut Vec<Box<dyn RuntimeModule>>,
|
||||
) -> Result<()> {
|
||||
runtime_requirements.insert(RuntimeGlobals::COMPAT_GET_DEFAULT_EXPORT);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
impl Plugin for ForceCompleteRuntimePlugin {
|
||||
fn name(&self) -> &'static str {
|
||||
"ForceCompleteRuntimePlugin"
|
||||
}
|
||||
|
||||
fn apply(&self, ctx: &mut ApplyContext<'_>) -> Result<()> {
|
||||
ctx.compilation_hooks
|
||||
.additional_tree_runtime_requirements
|
||||
.tap(additional_tree_runtime_requirements::new(self));
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
#![feature(impl_trait_in_bindings)]
|
||||
|
||||
mod config_shared;
|
||||
mod force_complete_runtime_plugin;
|
||||
mod handle_externals;
|
||||
mod next_externals_plugin;
|
||||
|
||||
@@ -13,6 +14,7 @@ use rustc_hash::FxHashMap;
|
||||
|
||||
use crate::{
|
||||
config_shared::{EsmExternalsConfig, ExperimentalConfig, NextConfigComplete},
|
||||
force_complete_runtime_plugin::ForceCompleteRuntimePlugin,
|
||||
next_externals_plugin::{NextExternalsPlugin, NextExternalsPluginOptions},
|
||||
};
|
||||
|
||||
@@ -107,3 +109,10 @@ register_plugin!("NextExternalsPlugin", |env: Env, object: Unknown<'_>| {
|
||||
unsafe { FromNapiValue::from_napi_value(env.raw(), object.raw())? };
|
||||
Ok(Box::new(NextExternalsPlugin::new(napi_options.into())) as BoxPlugin)
|
||||
});
|
||||
|
||||
register_plugin!(
|
||||
"ForceCompleteRuntimePlugin",
|
||||
|_env: Env, _object: Unknown<'_>| {
|
||||
Ok(Box::new(ForceCompleteRuntimePlugin::new()) as BoxPlugin)
|
||||
}
|
||||
);
|
||||
|
||||
Vendored
+6
@@ -9,8 +9,14 @@ declare class NextExternalsPlugin {
|
||||
constructor(options: NapiNextExternalsPluginOptions)
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
declare class ForceCompleteRuntimePlugin {
|
||||
constructor()
|
||||
}
|
||||
|
||||
declare const core: typeof RspackCore & {
|
||||
NextExternalsPlugin: typeof NextExternalsPlugin
|
||||
ForceCompleteRuntimePlugin: typeof ForceCompleteRuntimePlugin
|
||||
}
|
||||
|
||||
export = core
|
||||
|
||||
+13
-1
@@ -4,8 +4,9 @@ process.env.RSPACK_BINDING = require('node:path').dirname(
|
||||
|
||||
const binding = require('@next/rspack-binding')
|
||||
|
||||
// Register the plugin `NextExternalsPlugin` exported by `crates/binding/src/lib.rs`.
|
||||
// Register the plugins exported by `crates/binding/src/lib.rs`.
|
||||
binding.registerNextExternalsPlugin()
|
||||
binding.registerForceCompleteRuntimePlugin()
|
||||
|
||||
const core = require('@rspack/core')
|
||||
|
||||
@@ -16,8 +17,19 @@ const NextExternalsPlugin = core.experiments.createNativePlugin(
|
||||
}
|
||||
)
|
||||
|
||||
const ForceCompleteRuntimePlugin = core.experiments.createNativePlugin(
|
||||
'ForceCompleteRuntimePlugin',
|
||||
function () {
|
||||
return {}
|
||||
}
|
||||
)
|
||||
|
||||
Object.defineProperty(core, 'NextExternalsPlugin', {
|
||||
value: NextExternalsPlugin,
|
||||
})
|
||||
|
||||
Object.defineProperty(core, 'ForceCompleteRuntimePlugin', {
|
||||
value: ForceCompleteRuntimePlugin,
|
||||
})
|
||||
|
||||
module.exports = core
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@next/rspack-core",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"homepage": "https://nextjs.org",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vercel/next.js/issues"
|
||||
@@ -28,7 +28,7 @@
|
||||
"change-npm-name": "node ./change-npm-name.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rspack/core": "1.6.7",
|
||||
"@rspack/core": "2.0.4",
|
||||
"@next/rspack-binding": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+264
-328
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,5 @@
|
||||
[toolchain]
|
||||
profile = "default"
|
||||
channel = "nightly-2025-11-13"
|
||||
components = ["rust-src"]
|
||||
# Use nightly for better access to the latest Rust features.
|
||||
channel = "nightly-2026-04-16"
|
||||
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
filtered_args=()
|
||||
for arg in "$@"; do
|
||||
# napi-build emits `-Wl -undefined dynamic_lookup` on macOS. When rustc calls
|
||||
# rust-lld directly, `-Wl` is not a real linker flag; the following Darwin
|
||||
# args are already valid for rust-lld and must be preserved.
|
||||
if [[ "$arg" == "-Wl" ]]; then
|
||||
continue
|
||||
fi
|
||||
filtered_args+=("$arg")
|
||||
done
|
||||
|
||||
sysroot="$(rustc --print sysroot)"
|
||||
host="$(rustc -vV | sed -n 's/^host: //p')"
|
||||
rust_lld="$sysroot/lib/rustlib/$host/bin/rust-lld"
|
||||
|
||||
exec "$rust_lld" "${filtered_args[@]}"
|
||||
Reference in New Issue
Block a user