@obusk/pnpm-plugin-defaults 0.0.2-0 → 0.2.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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @obusk/pnpm-plugin-defaults
2
2
 
3
+ [![NPM Version](https://img.shields.io/npm/v/%40obusk%2Fpnpm-plugin-defaults)](https://www.npmjs.com/package/@obusk/pnpm-plugin-defaults) [![Test](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/test.yml/badge.svg)](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/test.yml) [![Publish Package](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/publish.yml/badge.svg)](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/publish.yml)
4
+
3
5
  > oBusk defaults for pnpm
4
6
 
5
7
  ## What it changes
@@ -11,6 +13,7 @@
11
13
  - Sets [ignorePatchFailures](https://pnpm.io/settings#ignorepatchfailures) to `false`.
12
14
  - Sets [resolutionMode](https://pnpm.io/settings#resolutionmode) to `lowest-direct`.
13
15
  - Sets [verifyDepsBeforeRun](https://pnpm.io/settings#verifydepsbeforerun) to `install`.
16
+ - Sets [blockExoticSubdeps](https://pnpm.io/settings#blockexoticsubdeps) to `true`.
14
17
 
15
18
  You can extend or override these settings in your own `.pnpmfile.cjs`.
16
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obusk/pnpm-plugin-defaults",
3
- "version": "0.0.2-0",
3
+ "version": "0.2.0",
4
4
  "description": "oBusk defaults for pnpm",
5
5
  "files": [
6
6
  "pnpmfile.cjs"
@@ -19,7 +19,7 @@
19
19
  "url": "https://github.com/oBusk/pnpm-plugin-defaults/issues"
20
20
  },
21
21
  "devDependencies": {
22
- "esbuild": "^0.25.8",
22
+ "esbuild": "^0.27.1",
23
23
  "shx": "^0.4.0"
24
24
  },
25
25
  "scripts": {
package/pnpmfile.cjs CHANGED
@@ -8,7 +8,8 @@ module.exports = {
8
8
  trustPolicy: "no-downgrade",
9
9
  ignorePatchFailures: false,
10
10
  resolutionMode: "lowest-direct",
11
- verifyDepsBeforeRun: "install"
11
+ verifyDepsBeforeRun: "install",
12
+ blockExoticSubdeps: true
12
13
  });
13
14
  if (config.hoistPattern?.length === 1 && config.hoistPattern[0] === "*") {
14
15
  config.hoistPattern = [];