@pnpm/plugin-commands-init 3.0.36 → 4.0.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.
Files changed (2) hide show
  1. package/lib/utils.d.ts +1 -3
  2. package/package.json +10 -10
package/lib/utils.d.ts CHANGED
@@ -6,8 +6,6 @@ export interface Person {
6
6
  mail?: string;
7
7
  }
8
8
  export declare function personToString(person: Person): string;
9
- export declare function workWithInitModule(localConfig: Record<string, string>): {
10
- [x: string]: string;
11
- };
9
+ export declare function workWithInitModule(localConfig: Record<string, string>): Record<string, string>;
12
10
  export declare function workWithInitConfig(localConfig: Record<string, string>): Record<string, string>;
13
11
  export declare function parseRawConfig(rawConfig: Record<string, string>): Promise<Record<string, string>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/plugin-commands-init",
3
- "version": "3.0.36",
3
+ "version": "4.0.0",
4
4
  "description": "Create a package.json file",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -9,11 +9,11 @@
9
9
  "!*.map"
10
10
  ],
11
11
  "engines": {
12
- "node": ">=16.14"
12
+ "node": ">=18.12"
13
13
  },
14
14
  "repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-init",
15
15
  "keywords": [
16
- "pnpm8",
16
+ "pnpm9",
17
17
  "pnpm",
18
18
  "init"
19
19
  ],
@@ -24,17 +24,17 @@
24
24
  "homepage": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-init#readme",
25
25
  "devDependencies": {
26
26
  "load-json-file": "^6.2.0",
27
- "@pnpm/plugin-commands-init": "3.0.36",
28
- "@pnpm/test-fixtures": "0.1.20",
29
- "@pnpm/prepare": "0.0.90"
27
+ "@pnpm/plugin-commands-init": "4.0.0",
28
+ "@pnpm/prepare": "0.0.90",
29
+ "@pnpm/test-fixtures": "0.1.20"
30
30
  },
31
31
  "dependencies": {
32
32
  "camelcase-keys": "^6.2.2",
33
33
  "render-help": "^1.0.3",
34
- "@pnpm/cli-utils": "2.1.11",
35
- "@pnpm/error": "5.0.3",
36
- "@pnpm/write-project-manifest": "5.0.6",
37
- "@pnpm/config": "20.4.3"
34
+ "@pnpm/cli-utils": "3.0.0",
35
+ "@pnpm/config": "21.0.0",
36
+ "@pnpm/error": "6.0.0",
37
+ "@pnpm/write-project-manifest": "6.0.0"
38
38
  },
39
39
  "funding": "https://opencollective.com/pnpm",
40
40
  "exports": {