@pnpm/plugin-commands-installation 14.0.15 → 14.1.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/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
3
  Copyright (c) 2015-2016 Rico Sta. Cruz and other contributors
4
- Copyright (c) 2016-2023 Zoltan Kochan and other contributors
4
+ Copyright (c) 2016-2024 Zoltan Kochan and other contributors
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
package/lib/add.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /// <reference types="node" />
3
3
  /// <reference types="node" />
4
4
  import { type InstallCommandOptions } from './install';
5
- export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
5
+ export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
6
6
  access: (string | null)[];
7
7
  'allow-same-version': BooleanConstructor;
8
8
  'always-auth': BooleanConstructor;
@@ -11,7 +11,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
11
11
  'auth-type': string[];
12
12
  'bin-links': BooleanConstructor;
13
13
  browser: (StringConstructor | null)[];
14
- ca: (StringConstructor | ArrayConstructor | null)[];
14
+ ca: (ArrayConstructor | StringConstructor | null)[];
15
15
  cafile: import("path").PlatformPath;
16
16
  cache: import("path").PlatformPath;
17
17
  'cache-lock-stale': NumberConstructor;
@@ -20,7 +20,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
20
20
  'cache-max': NumberConstructor;
21
21
  'cache-min': NumberConstructor;
22
22
  cert: (StringConstructor | null)[];
23
- cidr: (StringConstructor | ArrayConstructor | null)[];
23
+ cidr: (ArrayConstructor | StringConstructor | null)[];
24
24
  color: (string | BooleanConstructor)[];
25
25
  depth: NumberConstructor;
26
26
  description: BooleanConstructor;
@@ -39,7 +39,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
39
39
  global: BooleanConstructor;
40
40
  globalconfig: import("path").PlatformPath;
41
41
  'global-style': BooleanConstructor;
42
- group: (StringConstructor | NumberConstructor)[];
42
+ group: (NumberConstructor | StringConstructor)[];
43
43
  'https-proxy': (typeof import("url") | null)[];
44
44
  'user-agent': StringConstructor;
45
45
  'ham-it-up': BooleanConstructor;
@@ -67,7 +67,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
67
67
  'metrics-registry': (StringConstructor | null)[];
68
68
  'node-options': (StringConstructor | null)[];
69
69
  'node-version': ((() => void) | null)[];
70
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
70
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
71
71
  offline: BooleanConstructor;
72
72
  'onload-script': (StringConstructor | null)[];
73
73
  only: (string | null)[];
@@ -114,7 +114,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
114
114
  unicode: BooleanConstructor;
115
115
  'unsafe-perm': BooleanConstructor;
116
116
  usage: BooleanConstructor;
117
- user: (StringConstructor | NumberConstructor)[];
117
+ user: (NumberConstructor | StringConstructor)[];
118
118
  userconfig: import("path").PlatformPath;
119
119
  umask: () => void;
120
120
  version: BooleanConstructor;
@@ -122,33 +122,33 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
122
122
  versions: BooleanConstructor;
123
123
  viewer: StringConstructor;
124
124
  _exit: BooleanConstructor;
125
- }, "registry" | "optional" | "force" | "global" | "production" | "offline" | "only" | "proxy" | "ignore-scripts" | "save-prod" | "save-dev" | "save-optional" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "engine-strict" | "unsafe-perm" | "prefer-offline" | "https-proxy">;
125
+ }, "global" | "production" | "force" | "offline" | "registry" | "optional" | "only" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "unsafe-perm" | "save-prod" | "save-dev" | "save-optional">;
126
126
  export declare function cliOptionsTypes(): {
127
127
  recursive: BooleanConstructor;
128
128
  save: BooleanConstructor;
129
129
  workspace: BooleanConstructor;
130
- registry: any;
131
- optional: any;
132
- force: any;
133
130
  global: any;
134
131
  production: any;
132
+ force: any;
135
133
  offline: any;
134
+ registry: any;
135
+ optional: any;
136
136
  only: any;
137
- proxy: any;
138
- 'ignore-scripts': any;
139
- 'save-prod': any;
140
- 'save-dev': any;
141
- 'save-optional': any;
137
+ 'engine-strict': any;
142
138
  'fetch-retries': any;
143
139
  'fetch-retry-factor': any;
144
- 'fetch-retry-mintimeout': any;
145
140
  'fetch-retry-maxtimeout': any;
141
+ 'fetch-retry-mintimeout': any;
142
+ 'https-proxy': any;
143
+ 'ignore-scripts': any;
144
+ 'prefer-offline': any;
145
+ proxy: any;
146
146
  'save-exact': any;
147
147
  'save-prefix': any;
148
- 'engine-strict': any;
149
148
  'unsafe-perm': any;
150
- 'prefer-offline': any;
151
- 'https-proxy': any;
149
+ 'save-prod': any;
150
+ 'save-dev': any;
151
+ 'save-optional': any;
152
152
  };
153
153
  export declare const commandNames: string[];
154
154
  export declare function help(): string;
package/lib/dedupe.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /// <reference types="node" />
3
3
  /// <reference types="node" />
4
4
  import { type InstallCommandOptions } from './install';
5
- export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
5
+ export declare function rcOptionsTypes(): Omit<Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
6
6
  access: (string | null)[];
7
7
  'allow-same-version': BooleanConstructor;
8
8
  'always-auth': BooleanConstructor;
@@ -11,7 +11,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
11
11
  'auth-type': string[];
12
12
  'bin-links': BooleanConstructor;
13
13
  browser: (StringConstructor | null)[];
14
- ca: (StringConstructor | ArrayConstructor | null)[];
14
+ ca: (ArrayConstructor | StringConstructor | null)[];
15
15
  cafile: import("path").PlatformPath;
16
16
  cache: import("path").PlatformPath;
17
17
  'cache-lock-stale': NumberConstructor;
@@ -20,7 +20,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
20
20
  'cache-max': NumberConstructor;
21
21
  'cache-min': NumberConstructor;
22
22
  cert: (StringConstructor | null)[];
23
- cidr: (StringConstructor | ArrayConstructor | null)[];
23
+ cidr: (ArrayConstructor | StringConstructor | null)[];
24
24
  color: (string | BooleanConstructor)[];
25
25
  depth: NumberConstructor;
26
26
  description: BooleanConstructor;
@@ -39,7 +39,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
39
39
  global: BooleanConstructor;
40
40
  globalconfig: import("path").PlatformPath;
41
41
  'global-style': BooleanConstructor;
42
- group: (StringConstructor | NumberConstructor)[];
42
+ group: (NumberConstructor | StringConstructor)[];
43
43
  'https-proxy': (typeof import("url") | null)[];
44
44
  'user-agent': StringConstructor;
45
45
  'ham-it-up': BooleanConstructor;
@@ -67,7 +67,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
67
67
  'metrics-registry': (StringConstructor | null)[];
68
68
  'node-options': (StringConstructor | null)[];
69
69
  'node-version': ((() => void) | null)[];
70
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
70
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
71
71
  offline: BooleanConstructor;
72
72
  'onload-script': (StringConstructor | null)[];
73
73
  only: (string | null)[];
@@ -114,7 +114,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
114
114
  unicode: BooleanConstructor;
115
115
  'unsafe-perm': BooleanConstructor;
116
116
  usage: BooleanConstructor;
117
- user: (StringConstructor | NumberConstructor)[];
117
+ user: (NumberConstructor | StringConstructor)[];
118
118
  userconfig: import("path").PlatformPath;
119
119
  umask: () => void;
120
120
  version: BooleanConstructor;
@@ -122,10 +122,27 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
122
122
  versions: BooleanConstructor;
123
123
  viewer: StringConstructor;
124
124
  _exit: BooleanConstructor;
125
- }, "ignore-scripts">;
125
+ }, "global" | "production" | "offline" | "registry" | "optional" | "only" | "dev" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "scripts-prepend-node-path" | "unsafe-perm">, "frozen-lockfile">;
126
126
  export declare function cliOptionsTypes(): {
127
127
  check: BooleanConstructor;
128
+ global: any;
129
+ production: any;
130
+ offline: any;
131
+ registry: any;
132
+ optional: any;
133
+ only: any;
134
+ dev: any;
135
+ 'engine-strict': any;
136
+ 'fetch-retries': any;
137
+ 'fetch-retry-factor': any;
138
+ 'fetch-retry-maxtimeout': any;
139
+ 'fetch-retry-mintimeout': any;
140
+ 'https-proxy': any;
128
141
  'ignore-scripts': any;
142
+ 'prefer-offline': any;
143
+ proxy: any;
144
+ 'scripts-prepend-node-path': any;
145
+ 'unsafe-perm': any;
129
146
  };
130
147
  export declare const commandNames: string[];
131
148
  export declare function help(): string;
package/lib/dedupe.js CHANGED
@@ -8,11 +8,13 @@ const cli_utils_1 = require("@pnpm/cli-utils");
8
8
  const common_cli_options_help_1 = require("@pnpm/common-cli-options-help");
9
9
  const dedupe_check_1 = require("@pnpm/dedupe.check");
10
10
  const render_help_1 = __importDefault(require("render-help"));
11
+ const install_1 = require("./install");
11
12
  const installDeps_1 = require("./installDeps");
12
- const config_1 = require("@pnpm/config");
13
- const pick_1 = __importDefault(require("ramda/src/pick"));
13
+ const omit_1 = __importDefault(require("ramda/src/omit"));
14
+ // In general, the "pnpm dedupe" command should use .npmrc options that "pnpm install" would also accept.
14
15
  function rcOptionsTypes() {
15
- return (0, pick_1.default)(['ignore-scripts'], config_1.types);
16
+ // Some options on pnpm install (like --frozen-lockfile) don't make sense on pnpm dedupe.
17
+ return (0, omit_1.default)(['frozen-lockfile'], (0, install_1.rcOptionsTypes)());
16
18
  }
17
19
  exports.rcOptionsTypes = rcOptionsTypes;
18
20
  function cliOptionsTypes() {
@@ -35,10 +37,12 @@ function help() {
35
37
  description: 'Check if running dedupe would result in changes without installing packages or editing the lockfile. Exits with a non-zero status code if changes are possible.',
36
38
  name: '--check',
37
39
  },
38
- {
39
- description: "Don't run lifecycle scripts",
40
- name: '--ignore-scripts',
41
- },
40
+ common_cli_options_help_1.OPTIONS.ignoreScripts,
41
+ common_cli_options_help_1.OPTIONS.offline,
42
+ common_cli_options_help_1.OPTIONS.preferOffline,
43
+ common_cli_options_help_1.OPTIONS.storeDir,
44
+ common_cli_options_help_1.OPTIONS.virtualStoreDir,
45
+ common_cli_options_help_1.OPTIONS.globalDir,
42
46
  ],
43
47
  },
44
48
  ],
@@ -56,7 +60,6 @@ async function handler(opts) {
56
60
  return (0, installDeps_1.installDeps)({
57
61
  ...opts,
58
62
  dedupe: true,
59
- ignoreScripts: opts.ignoreScripts ?? false,
60
63
  include,
61
64
  includeDirect: include,
62
65
  lockfileCheck: opts.check ? dedupe_check_1.dedupeDiffCheck : undefined,
package/lib/dedupe.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"dedupe.js","sourceRoot":"","sources":["../src/dedupe.ts"],"names":[],"mappings":";;;;;;AAAA,+CAAyC;AACzC,2EAAiE;AACjE,qDAAoD;AACpD,8DAAoC;AAEpC,+CAA2C;AAC3C,yCAAgD;AAChD,0DAAiC;AAEjC,SAAgB,cAAc;IAC5B,OAAO,IAAA,cAAI,EAAC,CAAC,gBAAgB,CAAC,EAAE,cAAQ,CAAC,CAAA;AAC3C,CAAC;AAFD,wCAEC;AAED,SAAgB,eAAe;IAC7B,OAAO;QACL,GAAG,cAAc,EAAE;QACnB,KAAK,EAAE,OAAO;KACf,CAAA;AACH,CAAC;AALD,0CAKC;AAEY,QAAA,YAAY,GAAG,CAAC,QAAQ,CAAC,CAAA;AAEtC,SAAgB,IAAI;IAClB,OAAO,IAAA,qBAAU,EAAC;QAChB,WAAW,EAAE,gGAAgG;QAC7G,gBAAgB,EAAE;YAChB;gBACE,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,GAAG,2CAAiB;oBACpB;wBACE,WAAW,EAAE,iKAAiK;wBAC9K,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,WAAW,EAAE,6BAA6B;wBAC1C,IAAI,EAAE,kBAAkB;qBACzB;iBACF;aACF;SACF;QACD,GAAG,EAAE,IAAA,mBAAO,EAAC,QAAQ,CAAC;QACtB,MAAM,EAAE,CAAC,aAAa,CAAC;KACxB,CAAC,CAAA;AACJ,CAAC;AAtBD,oBAsBC;AAMM,KAAK,UAAU,OAAO,CAAE,IAA0B;IACvD,MAAM,OAAO,GAAG;QACd,YAAY,EAAE,IAAI,CAAC,UAAU,KAAK,KAAK;QACvC,eAAe,EAAE,IAAI,CAAC,GAAG,KAAK,KAAK;QACnC,oBAAoB,EAAE,IAAI,CAAC,QAAQ,KAAK,KAAK;KAC9C,CAAA;IACD,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,IAAI;QACP,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,KAAK;QAC1C,OAAO;QACP,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,8BAAe,CAAC,CAAC,CAAC,SAAS;KACxD,EAAE,EAAE,CAAC,CAAA;AACR,CAAC;AAdD,0BAcC"}
1
+ {"version":3,"file":"dedupe.js","sourceRoot":"","sources":["../src/dedupe.ts"],"names":[],"mappings":";;;;;;AAAA,+CAAyC;AACzC,2EAA0E;AAC1E,qDAAoD;AACpD,8DAAoC;AACpC,uCAAsG;AACtG,+CAA2C;AAC3C,0DAAiC;AAEjC,yGAAyG;AACzG,SAAgB,cAAc;IAC5B,yFAAyF;IACzF,OAAO,IAAA,cAAI,EAAC,CAAC,iBAAiB,CAAC,EAAE,IAAA,wBAA4B,GAAE,CAAC,CAAA;AAClE,CAAC;AAHD,wCAGC;AAED,SAAgB,eAAe;IAC7B,OAAO;QACL,GAAG,cAAc,EAAE;QACnB,KAAK,EAAE,OAAO;KACf,CAAA;AACH,CAAC;AALD,0CAKC;AAEY,QAAA,YAAY,GAAG,CAAC,QAAQ,CAAC,CAAA;AAEtC,SAAgB,IAAI;IAClB,OAAO,IAAA,qBAAU,EAAC;QAChB,WAAW,EAAE,gGAAgG;QAC7G,gBAAgB,EAAE;YAChB;gBACE,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,GAAG,2CAAiB;oBACpB;wBACE,WAAW,EAAE,iKAAiK;wBAC9K,IAAI,EAAE,SAAS;qBAChB;oBACD,iCAAO,CAAC,aAAa;oBACrB,iCAAO,CAAC,OAAO;oBACf,iCAAO,CAAC,aAAa;oBACrB,iCAAO,CAAC,QAAQ;oBAChB,iCAAO,CAAC,eAAe;oBACvB,iCAAO,CAAC,SAAS;iBAClB;aACF;SACF;QACD,GAAG,EAAE,IAAA,mBAAO,EAAC,QAAQ,CAAC;QACtB,MAAM,EAAE,CAAC,aAAa,CAAC;KACxB,CAAC,CAAA;AACJ,CAAC;AAxBD,oBAwBC;AAMM,KAAK,UAAU,OAAO,CAAE,IAA0B;IACvD,MAAM,OAAO,GAAG;QACd,YAAY,EAAE,IAAI,CAAC,UAAU,KAAK,KAAK;QACvC,eAAe,EAAE,IAAI,CAAC,GAAG,KAAK,KAAK;QACnC,oBAAoB,EAAE,IAAI,CAAC,QAAQ,KAAK,KAAK;KAC9C,CAAA;IACD,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,IAAI;QACP,MAAM,EAAE,IAAI;QACZ,OAAO;QACP,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,8BAAe,CAAC,CAAC,CAAC,SAAS;KACxD,EAAE,EAAE,CAAC,CAAA;AACR,CAAC;AAbD,0BAaC"}
package/lib/fetch.d.ts CHANGED
@@ -6,24 +6,24 @@ export declare const rcOptionsTypes: () => {
6
6
  'resolution-only': BooleanConstructor;
7
7
  recursive: BooleanConstructor;
8
8
  force: any;
9
- registry: any;
10
- dev: any;
11
- optional: any;
12
9
  global: any;
13
10
  production: any;
14
11
  offline: any;
12
+ registry: any;
13
+ optional: any;
15
14
  only: any;
16
- proxy: any;
17
- 'ignore-scripts': any;
15
+ dev: any;
16
+ 'engine-strict': any;
18
17
  'fetch-retries': any;
19
18
  'fetch-retry-factor': any;
20
- 'fetch-retry-mintimeout': any;
21
19
  'fetch-retry-maxtimeout': any;
20
+ 'fetch-retry-mintimeout': any;
21
+ 'https-proxy': any;
22
+ 'ignore-scripts': any;
23
+ 'prefer-offline': any;
24
+ proxy: any;
22
25
  'scripts-prepend-node-path': any;
23
- 'engine-strict': any;
24
26
  'unsafe-perm': any;
25
- 'prefer-offline': any;
26
- 'https-proxy': any;
27
27
  };
28
28
  export { cliOptionsTypes };
29
29
  export declare const shorthands: {
package/lib/install.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /// <reference types="node" />
4
4
  import { type Config } from '@pnpm/config';
5
5
  import { type CreateStoreControllerOptions } from '@pnpm/store-connection-manager';
6
- export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
6
+ export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
7
7
  access: (string | null)[];
8
8
  'allow-same-version': BooleanConstructor;
9
9
  'always-auth': BooleanConstructor;
@@ -12,7 +12,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
12
12
  'auth-type': string[];
13
13
  'bin-links': BooleanConstructor;
14
14
  browser: (StringConstructor | null)[];
15
- ca: (StringConstructor | ArrayConstructor | null)[];
15
+ ca: (ArrayConstructor | StringConstructor | null)[];
16
16
  cafile: import("path").PlatformPath;
17
17
  cache: import("path").PlatformPath;
18
18
  'cache-lock-stale': NumberConstructor;
@@ -21,7 +21,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
21
21
  'cache-max': NumberConstructor;
22
22
  'cache-min': NumberConstructor;
23
23
  cert: (StringConstructor | null)[];
24
- cidr: (StringConstructor | ArrayConstructor | null)[];
24
+ cidr: (ArrayConstructor | StringConstructor | null)[];
25
25
  color: (string | BooleanConstructor)[];
26
26
  depth: NumberConstructor;
27
27
  description: BooleanConstructor;
@@ -40,7 +40,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
40
40
  global: BooleanConstructor;
41
41
  globalconfig: import("path").PlatformPath;
42
42
  'global-style': BooleanConstructor;
43
- group: (StringConstructor | NumberConstructor)[];
43
+ group: (NumberConstructor | StringConstructor)[];
44
44
  'https-proxy': (typeof import("url") | null)[];
45
45
  'user-agent': StringConstructor;
46
46
  'ham-it-up': BooleanConstructor;
@@ -68,7 +68,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
68
68
  'metrics-registry': (StringConstructor | null)[];
69
69
  'node-options': (StringConstructor | null)[];
70
70
  'node-version': ((() => void) | null)[];
71
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
71
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
72
72
  offline: BooleanConstructor;
73
73
  'onload-script': (StringConstructor | null)[];
74
74
  only: (string | null)[];
@@ -115,7 +115,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
115
115
  unicode: BooleanConstructor;
116
116
  'unsafe-perm': BooleanConstructor;
117
117
  usage: BooleanConstructor;
118
- user: (StringConstructor | NumberConstructor)[];
118
+ user: (NumberConstructor | StringConstructor)[];
119
119
  userconfig: import("path").PlatformPath;
120
120
  umask: () => void;
121
121
  version: BooleanConstructor;
@@ -123,30 +123,30 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
123
123
  versions: BooleanConstructor;
124
124
  viewer: StringConstructor;
125
125
  _exit: BooleanConstructor;
126
- }, "registry" | "dev" | "optional" | "global" | "production" | "offline" | "only" | "proxy" | "ignore-scripts" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "scripts-prepend-node-path" | "engine-strict" | "unsafe-perm" | "prefer-offline" | "https-proxy">;
126
+ }, "global" | "production" | "offline" | "registry" | "optional" | "only" | "dev" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "scripts-prepend-node-path" | "unsafe-perm">;
127
127
  export declare const cliOptionsTypes: () => {
128
128
  'fix-lockfile': BooleanConstructor;
129
129
  'resolution-only': BooleanConstructor;
130
130
  recursive: BooleanConstructor;
131
131
  force: any;
132
- registry: any;
133
- dev: any;
134
- optional: any;
135
132
  global: any;
136
133
  production: any;
137
134
  offline: any;
135
+ registry: any;
136
+ optional: any;
138
137
  only: any;
139
- proxy: any;
140
- 'ignore-scripts': any;
138
+ dev: any;
139
+ 'engine-strict': any;
141
140
  'fetch-retries': any;
142
141
  'fetch-retry-factor': any;
143
- 'fetch-retry-mintimeout': any;
144
142
  'fetch-retry-maxtimeout': any;
143
+ 'fetch-retry-mintimeout': any;
144
+ 'https-proxy': any;
145
+ 'ignore-scripts': any;
146
+ 'prefer-offline': any;
147
+ proxy: any;
145
148
  'scripts-prepend-node-path': any;
146
- 'engine-strict': any;
147
149
  'unsafe-perm': any;
148
- 'prefer-offline': any;
149
- 'https-proxy': any;
150
150
  };
151
151
  export declare const shorthands: {
152
152
  D: string;
package/lib/link.d.ts CHANGED
@@ -6,7 +6,7 @@ import { type Config } from '@pnpm/config';
6
6
  import { type CreateStoreControllerOptions } from '@pnpm/store-connection-manager';
7
7
  type LinkOpts = CreateStoreControllerOptions & Pick<Config, 'bin' | 'cliOptions' | 'engineStrict' | 'saveDev' | 'saveOptional' | 'saveProd' | 'workspaceDir' | 'sharedWorkspaceLockfile'> & Partial<Pick<Config, 'linkWorkspacePackages'>>;
8
8
  export declare const rcOptionsTypes: typeof cliOptionsTypes;
9
- export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
9
+ export declare function cliOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
10
10
  access: (string | null)[];
11
11
  'allow-same-version': BooleanConstructor;
12
12
  'always-auth': BooleanConstructor;
@@ -15,7 +15,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
15
15
  'auth-type': string[];
16
16
  'bin-links': BooleanConstructor;
17
17
  browser: (StringConstructor | null)[];
18
- ca: (StringConstructor | ArrayConstructor | null)[];
18
+ ca: (ArrayConstructor | StringConstructor | null)[];
19
19
  cafile: path.PlatformPath;
20
20
  cache: path.PlatformPath;
21
21
  'cache-lock-stale': NumberConstructor;
@@ -24,7 +24,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
24
24
  'cache-max': NumberConstructor;
25
25
  'cache-min': NumberConstructor;
26
26
  cert: (StringConstructor | null)[];
27
- cidr: (StringConstructor | ArrayConstructor | null)[];
27
+ cidr: (ArrayConstructor | StringConstructor | null)[];
28
28
  color: (string | BooleanConstructor)[];
29
29
  depth: NumberConstructor;
30
30
  description: BooleanConstructor;
@@ -43,7 +43,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
43
43
  global: BooleanConstructor;
44
44
  globalconfig: path.PlatformPath;
45
45
  'global-style': BooleanConstructor;
46
- group: (StringConstructor | NumberConstructor)[];
46
+ group: (NumberConstructor | StringConstructor)[];
47
47
  'https-proxy': (typeof import("url") | null)[];
48
48
  'user-agent': StringConstructor;
49
49
  'ham-it-up': BooleanConstructor;
@@ -71,7 +71,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
71
71
  'metrics-registry': (StringConstructor | null)[];
72
72
  'node-options': (StringConstructor | null)[];
73
73
  'node-version': ((() => void) | null)[];
74
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
74
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
75
75
  offline: BooleanConstructor;
76
76
  'onload-script': (StringConstructor | null)[];
77
77
  only: (string | null)[];
@@ -118,7 +118,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
118
118
  unicode: BooleanConstructor;
119
119
  'unsafe-perm': BooleanConstructor;
120
120
  usage: BooleanConstructor;
121
- user: (StringConstructor | NumberConstructor)[];
121
+ user: (NumberConstructor | StringConstructor)[];
122
122
  userconfig: path.PlatformPath;
123
123
  umask: () => void;
124
124
  version: BooleanConstructor;
@@ -126,7 +126,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
126
126
  versions: BooleanConstructor;
127
127
  viewer: StringConstructor;
128
128
  _exit: BooleanConstructor;
129
- }, "registry" | "global" | "production" | "only" | "save-dev" | "save-optional" | "save-exact" | "save-prefix" | "unsafe-perm">;
129
+ }, "global" | "production" | "registry" | "only" | "save-exact" | "save-prefix" | "unsafe-perm" | "save-dev" | "save-optional">;
130
130
  export declare const commandNames: string[];
131
131
  export declare function help(): string;
132
132
  export declare function handler(opts: LinkOpts, params?: string[]): Promise<void>;
package/lib/prune.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /// <reference types="node" />
4
4
  import * as install from './install';
5
5
  export declare const rcOptionsTypes: typeof cliOptionsTypes;
6
- export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
6
+ export declare function cliOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
7
7
  access: (string | null)[];
8
8
  'allow-same-version': BooleanConstructor;
9
9
  'always-auth': BooleanConstructor;
@@ -12,7 +12,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
12
12
  'auth-type': string[];
13
13
  'bin-links': BooleanConstructor;
14
14
  browser: (StringConstructor | null)[];
15
- ca: (StringConstructor | ArrayConstructor | null)[];
15
+ ca: (ArrayConstructor | StringConstructor | null)[];
16
16
  cafile: import("path").PlatformPath;
17
17
  cache: import("path").PlatformPath;
18
18
  'cache-lock-stale': NumberConstructor;
@@ -21,7 +21,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
21
21
  'cache-max': NumberConstructor;
22
22
  'cache-min': NumberConstructor;
23
23
  cert: (StringConstructor | null)[];
24
- cidr: (StringConstructor | ArrayConstructor | null)[];
24
+ cidr: (ArrayConstructor | StringConstructor | null)[];
25
25
  color: (string | BooleanConstructor)[];
26
26
  depth: NumberConstructor;
27
27
  description: BooleanConstructor;
@@ -40,7 +40,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
40
40
  global: BooleanConstructor;
41
41
  globalconfig: import("path").PlatformPath;
42
42
  'global-style': BooleanConstructor;
43
- group: (StringConstructor | NumberConstructor)[];
43
+ group: (NumberConstructor | StringConstructor)[];
44
44
  'https-proxy': (typeof import("url") | null)[];
45
45
  'user-agent': StringConstructor;
46
46
  'ham-it-up': BooleanConstructor;
@@ -68,7 +68,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
68
68
  'metrics-registry': (StringConstructor | null)[];
69
69
  'node-options': (StringConstructor | null)[];
70
70
  'node-version': ((() => void) | null)[];
71
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
71
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
72
72
  offline: BooleanConstructor;
73
73
  'onload-script': (StringConstructor | null)[];
74
74
  only: (string | null)[];
@@ -115,7 +115,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
115
115
  unicode: BooleanConstructor;
116
116
  'unsafe-perm': BooleanConstructor;
117
117
  usage: BooleanConstructor;
118
- user: (StringConstructor | NumberConstructor)[];
118
+ user: (NumberConstructor | StringConstructor)[];
119
119
  userconfig: import("path").PlatformPath;
120
120
  umask: () => void;
121
121
  version: BooleanConstructor;
@@ -123,7 +123,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"key" | "user-age
123
123
  versions: BooleanConstructor;
124
124
  viewer: StringConstructor;
125
125
  _exit: BooleanConstructor;
126
- }, "dev" | "optional" | "production">;
126
+ }, "production" | "optional" | "dev">;
127
127
  export declare const commandNames: string[];
128
128
  export declare function help(): string;
129
129
  export declare function handler(opts: install.InstallCommandOptions): Promise<void>;
package/lib/remove.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  import { type CompletionFunc } from '@pnpm/command';
5
5
  import { type Config } from '@pnpm/config';
6
6
  import { type CreateStoreControllerOptions } from '@pnpm/store-connection-manager';
7
- export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
7
+ export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
8
8
  access: (string | null)[];
9
9
  'allow-same-version': BooleanConstructor;
10
10
  'always-auth': BooleanConstructor;
@@ -13,7 +13,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
13
13
  'auth-type': string[];
14
14
  'bin-links': BooleanConstructor;
15
15
  browser: (StringConstructor | null)[];
16
- ca: (StringConstructor | ArrayConstructor | null)[];
16
+ ca: (ArrayConstructor | StringConstructor | null)[];
17
17
  cafile: import("path").PlatformPath;
18
18
  cache: import("path").PlatformPath;
19
19
  'cache-lock-stale': NumberConstructor;
@@ -22,7 +22,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
22
22
  'cache-max': NumberConstructor;
23
23
  'cache-min': NumberConstructor;
24
24
  cert: (StringConstructor | null)[];
25
- cidr: (StringConstructor | ArrayConstructor | null)[];
25
+ cidr: (ArrayConstructor | StringConstructor | null)[];
26
26
  color: (string | BooleanConstructor)[];
27
27
  depth: NumberConstructor;
28
28
  description: BooleanConstructor;
@@ -41,7 +41,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
41
41
  global: BooleanConstructor;
42
42
  globalconfig: import("path").PlatformPath;
43
43
  'global-style': BooleanConstructor;
44
- group: (StringConstructor | NumberConstructor)[];
44
+ group: (NumberConstructor | StringConstructor)[];
45
45
  'https-proxy': (typeof import("url") | null)[];
46
46
  'user-agent': StringConstructor;
47
47
  'ham-it-up': BooleanConstructor;
@@ -69,7 +69,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
69
69
  'metrics-registry': (StringConstructor | null)[];
70
70
  'node-options': (StringConstructor | null)[];
71
71
  'node-version': ((() => void) | null)[];
72
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
72
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
73
73
  offline: BooleanConstructor;
74
74
  'onload-script': (StringConstructor | null)[];
75
75
  only: (string | null)[];
@@ -116,7 +116,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
116
116
  unicode: BooleanConstructor;
117
117
  'unsafe-perm': BooleanConstructor;
118
118
  usage: BooleanConstructor;
119
- user: (StringConstructor | NumberConstructor)[];
119
+ user: (NumberConstructor | StringConstructor)[];
120
120
  userconfig: import("path").PlatformPath;
121
121
  umask: () => void;
122
122
  version: BooleanConstructor;
@@ -3,7 +3,7 @@
3
3
  /// <reference types="node" />
4
4
  import { type CompletionFunc } from '@pnpm/command';
5
5
  import { type InstallCommandOptions } from '../install';
6
- export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agent" | "ca" | "cert" | "registry" | "dev" | "optional" | "tag" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
6
+ export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
7
7
  access: (string | null)[];
8
8
  'allow-same-version': BooleanConstructor;
9
9
  'always-auth': BooleanConstructor;
@@ -12,7 +12,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
12
12
  'auth-type': string[];
13
13
  'bin-links': BooleanConstructor;
14
14
  browser: (StringConstructor | null)[];
15
- ca: (StringConstructor | ArrayConstructor | null)[];
15
+ ca: (ArrayConstructor | StringConstructor | null)[];
16
16
  cafile: import("path").PlatformPath;
17
17
  cache: import("path").PlatformPath;
18
18
  'cache-lock-stale': NumberConstructor;
@@ -21,7 +21,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
21
21
  'cache-max': NumberConstructor;
22
22
  'cache-min': NumberConstructor;
23
23
  cert: (StringConstructor | null)[];
24
- cidr: (StringConstructor | ArrayConstructor | null)[];
24
+ cidr: (ArrayConstructor | StringConstructor | null)[];
25
25
  color: (string | BooleanConstructor)[];
26
26
  depth: NumberConstructor;
27
27
  description: BooleanConstructor;
@@ -40,7 +40,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
40
40
  global: BooleanConstructor;
41
41
  globalconfig: import("path").PlatformPath;
42
42
  'global-style': BooleanConstructor;
43
- group: (StringConstructor | NumberConstructor)[];
43
+ group: (NumberConstructor | StringConstructor)[];
44
44
  'https-proxy': (typeof import("url") | null)[];
45
45
  'user-agent': StringConstructor;
46
46
  'ham-it-up': BooleanConstructor;
@@ -68,7 +68,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
68
68
  'metrics-registry': (StringConstructor | null)[];
69
69
  'node-options': (StringConstructor | null)[];
70
70
  'node-version': ((() => void) | null)[];
71
- 'no-proxy': (StringConstructor | ArrayConstructor | null)[];
71
+ 'no-proxy': (ArrayConstructor | StringConstructor | null)[];
72
72
  offline: BooleanConstructor;
73
73
  'onload-script': (StringConstructor | null)[];
74
74
  only: (string | null)[];
@@ -115,7 +115,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
115
115
  unicode: BooleanConstructor;
116
116
  'unsafe-perm': BooleanConstructor;
117
117
  usage: BooleanConstructor;
118
- user: (StringConstructor | NumberConstructor)[];
118
+ user: (NumberConstructor | StringConstructor)[];
119
119
  userconfig: import("path").PlatformPath;
120
120
  umask: () => void;
121
121
  version: BooleanConstructor;
@@ -123,35 +123,35 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"key" | "user-agen
123
123
  versions: BooleanConstructor;
124
124
  viewer: StringConstructor;
125
125
  _exit: BooleanConstructor;
126
- }, "registry" | "dev" | "optional" | "force" | "global" | "save" | "production" | "depth" | "offline" | "only" | "proxy" | "ignore-scripts" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "unsafe-perm" | "prefer-offline" | "https-proxy">;
126
+ }, "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "only" | "dev" | "engine-strict" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-maxtimeout" | "fetch-retry-mintimeout" | "https-proxy" | "ignore-scripts" | "prefer-offline" | "proxy" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "unsafe-perm">;
127
127
  export declare function cliOptionsTypes(): {
128
128
  interactive: BooleanConstructor;
129
129
  latest: BooleanConstructor;
130
130
  recursive: BooleanConstructor;
131
131
  workspace: BooleanConstructor;
132
- registry: any;
133
- dev: any;
134
- optional: any;
135
- force: any;
136
132
  global: any;
137
133
  save: any;
138
134
  production: any;
135
+ force: any;
139
136
  depth: any;
140
137
  offline: any;
138
+ registry: any;
139
+ optional: any;
141
140
  only: any;
142
- proxy: any;
143
- 'ignore-scripts': any;
141
+ dev: any;
142
+ 'engine-strict': any;
144
143
  'fetch-retries': any;
145
144
  'fetch-retry-factor': any;
146
- 'fetch-retry-mintimeout': any;
147
145
  'fetch-retry-maxtimeout': any;
146
+ 'fetch-retry-mintimeout': any;
147
+ 'https-proxy': any;
148
+ 'ignore-scripts': any;
149
+ 'prefer-offline': any;
150
+ proxy: any;
148
151
  'save-exact': any;
149
152
  'save-prefix': any;
150
153
  'scripts-prepend-node-path': any;
151
- 'engine-strict': any;
152
154
  'unsafe-perm': any;
153
- 'prefer-offline': any;
154
- 'https-proxy': any;
155
155
  };
156
156
  export declare const shorthands: {
157
157
  D: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/plugin-commands-installation",
3
- "version": "14.0.15",
3
+ "version": "14.1.0",
4
4
  "description": "Commands for installation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -39,11 +39,12 @@
39
39
  "write-json-file": "^4.3.0",
40
40
  "write-pkg": "4.0.0",
41
41
  "write-yaml-file": "^5.0.0",
42
- "@pnpm/assert-project": "2.3.44",
43
- "@pnpm/plugin-commands-installation": "14.0.15",
44
42
  "@pnpm/modules-yaml": "12.1.6",
43
+ "@pnpm/assert-project": "2.3.44",
44
+ "@pnpm/plugin-commands-installation": "14.1.0",
45
+ "@pnpm/test-fixtures": "0.1.17",
45
46
  "@pnpm/prepare": "0.0.87",
46
- "@pnpm/test-fixtures": "0.1.17"
47
+ "@pnpm/test-ipc-server": "0.0.0"
47
48
  },
48
49
  "dependencies": {
49
50
  "@pnpm/colorize-semver-diff": "^1.0.1",
@@ -67,32 +68,32 @@
67
68
  "ramda": "npm:@pnpm/ramda@0.28.1",
68
69
  "render-help": "^1.0.3",
69
70
  "version-selector-type": "^3.0.0",
70
- "@pnpm/cli-utils": "2.1.6",
71
71
  "@pnpm/command": "4.0.0",
72
72
  "@pnpm/common-cli-options-help": "1.1.0",
73
- "@pnpm/core": "13.2.1",
74
- "@pnpm/config": "20.3.0",
75
- "@pnpm/constants": "7.1.1",
76
- "@pnpm/dedupe.check": "1.0.7",
73
+ "@pnpm/core": "13.3.0",
77
74
  "@pnpm/error": "5.0.2",
78
- "@pnpm/find-workspace-dir": "6.0.2",
79
- "@pnpm/filter-workspace-packages": "7.2.8",
80
- "@pnpm/graceful-fs": "3.2.0",
75
+ "@pnpm/filter-workspace-packages": "7.2.9",
81
76
  "@pnpm/lockfile-types": "5.1.5",
77
+ "@pnpm/config": "20.4.0",
78
+ "@pnpm/dedupe.check": "1.0.7",
79
+ "@pnpm/constants": "7.1.1",
80
+ "@pnpm/cli-utils": "2.1.7",
81
+ "@pnpm/graceful-fs": "3.2.0",
82
82
  "@pnpm/manifest-utils": "5.0.7",
83
- "@pnpm/matcher": "5.0.0",
84
- "@pnpm/parse-wanted-dependency": "5.0.0",
85
- "@pnpm/plugin-commands-rebuild": "10.0.12",
86
83
  "@pnpm/outdated": "13.0.38",
87
- "@pnpm/pnpmfile": "5.0.19",
88
84
  "@pnpm/package-store": "19.0.13",
89
- "@pnpm/read-project-manifest": "5.0.10",
85
+ "@pnpm/matcher": "5.0.0",
86
+ "@pnpm/find-workspace-dir": "6.0.2",
87
+ "@pnpm/plugin-commands-rebuild": "10.0.13",
88
+ "@pnpm/parse-wanted-dependency": "5.0.0",
90
89
  "@pnpm/resolver-base": "11.0.2",
91
- "@pnpm/sort-packages": "5.0.9",
90
+ "@pnpm/store-connection-manager": "7.0.22",
92
91
  "@pnpm/types": "9.4.2",
93
- "@pnpm/store-connection-manager": "7.0.21",
94
- "@pnpm/workspace.find-packages": "1.1.7",
95
- "@pnpm/workspace.pkgs-graph": "2.0.13"
92
+ "@pnpm/sort-packages": "5.0.9",
93
+ "@pnpm/workspace.find-packages": "1.1.8",
94
+ "@pnpm/workspace.pkgs-graph": "2.0.13",
95
+ "@pnpm/pnpmfile": "5.0.19",
96
+ "@pnpm/read-project-manifest": "5.0.10"
96
97
  },
97
98
  "peerDependencies": {
98
99
  "@pnpm/logger": "^5.0.0"