@pnpm/napi 12.0.0-rc.0 → 12.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/index.d.ts +6 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @pnpm/napi
|
|
2
2
|
|
|
3
|
+
## 12.0.0-rc.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added an `allowUnusedPatches` install option. When `true`, a `patchedDependencies` entry that matches no installed package warns instead of failing the install with `ERR_PNPM_UNUSED_PATCH`.
|
|
8
|
+
|
|
3
9
|
## 12.0.0-rc.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/index.d.ts
CHANGED
|
@@ -148,6 +148,12 @@ export interface InstallOptions extends SharedEngineOptions {
|
|
|
148
148
|
packageExtensions?: Record<string, PackageExtension>
|
|
149
149
|
/** Patch paths keyed by package selector. Relative paths resolve from `dir`. */
|
|
150
150
|
patchedDependencies?: Record<string, string>
|
|
151
|
+
/**
|
|
152
|
+
* Warn instead of failing with `ERR_PNPM_UNUSED_PATCH` when a
|
|
153
|
+
* `patchedDependencies` entry matches no installed package. Lets an embedder
|
|
154
|
+
* ship a patch keyed to a version range that only some workspaces resolve.
|
|
155
|
+
*/
|
|
156
|
+
allowUnusedPatches?: boolean
|
|
151
157
|
peersSuffixMaxLength?: number
|
|
152
158
|
dedupePeerDependents?: boolean
|
|
153
159
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/napi",
|
|
3
|
-
"version": "12.0.0-rc.
|
|
3
|
+
"version": "12.0.0-rc.1",
|
|
4
4
|
"description": "Node.js addon bindings for the pnpm v12 Rust engine (pacquet)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@pnpm/napi.win32-x64": "12.0.0-rc.
|
|
31
|
-
"@pnpm/napi.win32-arm64": "12.0.0-rc.
|
|
32
|
-
"@pnpm/napi.darwin-x64": "12.0.0-rc.
|
|
33
|
-
"@pnpm/napi.darwin-arm64": "12.0.0-rc.
|
|
34
|
-
"@pnpm/napi.linux-x64": "12.0.0-rc.
|
|
35
|
-
"@pnpm/napi.linux-arm64": "12.0.0-rc.
|
|
36
|
-
"@pnpm/napi.linux-x64-musl": "12.0.0-rc.
|
|
37
|
-
"@pnpm/napi.linux-arm64-musl": "12.0.0-rc.
|
|
30
|
+
"@pnpm/napi.win32-x64": "12.0.0-rc.1",
|
|
31
|
+
"@pnpm/napi.win32-arm64": "12.0.0-rc.1",
|
|
32
|
+
"@pnpm/napi.darwin-x64": "12.0.0-rc.1",
|
|
33
|
+
"@pnpm/napi.darwin-arm64": "12.0.0-rc.1",
|
|
34
|
+
"@pnpm/napi.linux-x64": "12.0.0-rc.1",
|
|
35
|
+
"@pnpm/napi.linux-arm64": "12.0.0-rc.1",
|
|
36
|
+
"@pnpm/napi.linux-x64-musl": "12.0.0-rc.1",
|
|
37
|
+
"@pnpm/napi.linux-arm64-musl": "12.0.0-rc.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"generate-packages": "node scripts/generate-packages.mjs"
|