@obusk/pnpm-plugin-defaults 0.6.4 → 12.10.0
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/README.md +3 -0
- package/package.json +5 -6
- package/pnpmfile.cjs +9 -1
package/README.md
CHANGED
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
- Sets [blockExoticSubdeps](https://pnpm.io/settings#blockexoticsubdeps) to `true`.
|
|
20
20
|
- Sets [strictDepBuilds](https://pnpm.io/settings#strictdepbuilds) to `true`.
|
|
21
21
|
- Sets [dedupePeers](https://pnpm.io/settings#dedupepeers) to `true`.
|
|
22
|
+
- Sets [autoDedupe](https://pnpm.io/settings#autodedupe) to `true`.
|
|
23
|
+
- Sets [saveTypes](https://pnpm.io/settings#savetypes) to `true`.
|
|
24
|
+
- Sets [lockfile.includeResolutionSettings](https://pnpm.io/settings/store#lockfileincluderesolutionsettings) to `true`.
|
|
22
25
|
- Sets [updateConfig.githubActions](https://pnpm.io/settings#updateconfiggithubactions) to `true`.
|
|
23
26
|
|
|
24
27
|
You can extend or override these settings in your own `.pnpmfile.cjs`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obusk/pnpm-plugin-defaults",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.10.0",
|
|
4
4
|
"description": "oBusk defaults for pnpm",
|
|
5
5
|
"files": [
|
|
6
6
|
"pnpmfile.cjs"
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"devEngines": {
|
|
14
14
|
"runtime": {
|
|
15
15
|
"name": "node",
|
|
16
|
-
"version": "^24.
|
|
16
|
+
"version": "^24.22.0",
|
|
17
17
|
"onFail": "download"
|
|
18
18
|
},
|
|
19
19
|
"packageManager": {
|
|
20
20
|
"name": "pnpm",
|
|
21
|
-
"version": "
|
|
21
|
+
"version": "12.14.0",
|
|
22
22
|
"onFail": "download"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -32,10 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"esbuild": "^0.28.2",
|
|
35
|
-
"shx": "^0.4.0"
|
|
36
|
-
"node": "runtime:^24.19.0"
|
|
35
|
+
"shx": "^0.4.0"
|
|
37
36
|
},
|
|
38
37
|
"scripts": {
|
|
39
|
-
"test": "shx rm -rf test/node_modules && pnpm -C=test --no-lockfile install"
|
|
38
|
+
"test": "shx rm -rf test/node_modules test/pnpm-lock.yaml && pnpm -C=test --no-lockfile install && pnpm -C=test install && node test/check-lockfile.cjs"
|
|
40
39
|
}
|
|
41
40
|
}
|
package/pnpmfile.cjs
CHANGED
|
@@ -14,8 +14,16 @@ module.exports = {
|
|
|
14
14
|
verifyDepsBeforeRun: "install",
|
|
15
15
|
blockExoticSubdeps: true,
|
|
16
16
|
strictDepBuilds: true,
|
|
17
|
-
dedupePeers: true
|
|
17
|
+
dedupePeers: true,
|
|
18
|
+
autoDedupe: true,
|
|
19
|
+
saveTypes: true
|
|
18
20
|
});
|
|
21
|
+
if (config.lockfile == null || config.lockfile === true) {
|
|
22
|
+
config.lockfile = {};
|
|
23
|
+
}
|
|
24
|
+
if (typeof config.lockfile === "object" && config.lockfile.includeResolutionSettings !== false) {
|
|
25
|
+
config.lockfile.includeResolutionSettings = true;
|
|
26
|
+
}
|
|
19
27
|
if (config.updateConfig == null) {
|
|
20
28
|
config.updateConfig = {};
|
|
21
29
|
}
|