init-workspace-cervvaljs 0.3.0 → 0.3.2

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 CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.3.2 2025-12-15
2
+ - use npm to update pnpm
3
+ - overrides @types/node version to 20.14.6
1
4
  ## 0.3.0 2025-10-07
2
5
  - eslint 9
3
6
  - pnpm 10.18.1
package/bin/index.js CHANGED
@@ -101,9 +101,9 @@ function initWorkspace(options) {
101
101
  }
102
102
  }
103
103
  else {
104
- console.info("* update pnpm : pnpm add -g pnpm" + pnpmFixedVersion);
104
+ console.info("* update pnpm : npm add -g pnpm" + pnpmFixedVersion);
105
105
  if (!(options === null || options === void 0 ? void 0 : options.dry)) {
106
- execSyncWithIo("pnpm add -g pnpm" + pnpmFixedVersion);
106
+ execSyncWithIo("npm add -g pnpm" + pnpmFixedVersion);
107
107
  }
108
108
  }
109
109
  console.info("* display pnpm version : pnpm -v");
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "init-workspace-cervvaljs",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Cervval.js Init Workspace Command Line Interface",
5
5
  "author": "Cervval",
6
6
  "license": "CC-BY-NC-ND-4.0",
7
7
  "bin": {
8
8
  "init-workspace-cervvaljs": "./bin/index.js"
9
9
  }
10
- }
10
+ }
@@ -12,6 +12,11 @@
12
12
  "postinstall": "cwt rewrite-tsconfig-references",
13
13
  "lint": "eslint --ext -r .ts"
14
14
  },
15
+ "pnpm": {
16
+ "overrides": {
17
+ "@types/node": "=20.14.6"
18
+ }
19
+ },
15
20
  "devDependencies": {
16
21
  "@cervval.js/builder": "workspace:latest",
17
22
  "@cervval.js/eslint-config-cervvaljs": "workspace:latest",
@@ -32,5 +37,5 @@
32
37
  "eslint-plugin-mocha": "=11.1.0",
33
38
  "eslint-plugin-promise": "=7.2.1"
34
39
  },
35
- "version": "0.3.0"
40
+ "version": "0.3.2"
36
41
  }
@@ -15,6 +15,9 @@ onlyBuiltDependencies:
15
15
  - cwt
16
16
  - ts-patch
17
17
 
18
+ overrides:
19
+ "@types/node": "20.14.6"
20
+
18
21
  # To reduce the risk of installing compromised packages, you can delay the installation of newly published versions.
19
22
  # Delay: duration in minutes
20
23
  # CJS: 1 day