@pnpm/plugin-commands-installation 14.2.6 → 14.2.7

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/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<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
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>> & {
6
6
  access: (string | null)[];
7
7
  'allow-same-version': BooleanConstructor;
8
8
  'always-auth': BooleanConstructor;
@@ -122,33 +122,33 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"optional" | "key"
122
122
  versions: BooleanConstructor;
123
123
  viewer: StringConstructor;
124
124
  _exit: BooleanConstructor;
125
- }, "optional" | "offline" | "global" | "production" | "force" | "registry" | "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">;
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">;
126
126
  export declare function cliOptionsTypes(): {
127
127
  recursive: BooleanConstructor;
128
128
  save: BooleanConstructor;
129
129
  workspace: BooleanConstructor;
130
+ registry: any;
130
131
  optional: any;
131
- offline: any;
132
+ force: any;
132
133
  global: any;
133
134
  production: any;
134
- force: any;
135
- registry: any;
135
+ offline: any;
136
136
  only: any;
137
- 'engine-strict': any;
137
+ proxy: any;
138
+ 'ignore-scripts': any;
139
+ 'save-prod': any;
140
+ 'save-dev': any;
141
+ 'save-optional': any;
138
142
  'fetch-retries': any;
139
143
  'fetch-retry-factor': any;
140
- 'fetch-retry-maxtimeout': any;
141
144
  'fetch-retry-mintimeout': any;
142
- 'https-proxy': any;
143
- 'ignore-scripts': any;
144
- 'prefer-offline': any;
145
- proxy: any;
145
+ 'fetch-retry-maxtimeout': any;
146
146
  'save-exact': any;
147
147
  'save-prefix': any;
148
+ 'engine-strict': any;
148
149
  'unsafe-perm': any;
149
- 'save-prod': any;
150
- 'save-dev': any;
151
- 'save-optional': any;
150
+ 'prefer-offline': any;
151
+ 'https-proxy': 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(): Omit<Pick<Partial<Record<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
5
+ export declare function rcOptionsTypes(): Omit<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
6
  access: (string | null)[];
7
7
  'allow-same-version': BooleanConstructor;
8
8
  'always-auth': BooleanConstructor;
@@ -122,27 +122,27 @@ export declare function rcOptionsTypes(): Omit<Pick<Partial<Record<"optional" |
122
122
  versions: BooleanConstructor;
123
123
  viewer: StringConstructor;
124
124
  _exit: BooleanConstructor;
125
- }, "optional" | "offline" | "global" | "production" | "registry" | "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">;
125
+ }, "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">, "frozen-lockfile">;
126
126
  export declare function cliOptionsTypes(): {
127
127
  check: BooleanConstructor;
128
+ registry: any;
129
+ dev: any;
128
130
  optional: any;
129
- offline: any;
130
131
  global: any;
131
132
  production: any;
132
- registry: any;
133
+ offline: any;
133
134
  only: any;
134
- dev: any;
135
- 'engine-strict': any;
135
+ proxy: any;
136
+ 'ignore-scripts': any;
136
137
  'fetch-retries': any;
137
138
  'fetch-retry-factor': any;
138
- 'fetch-retry-maxtimeout': any;
139
139
  'fetch-retry-mintimeout': any;
140
- 'https-proxy': any;
141
- 'ignore-scripts': any;
142
- 'prefer-offline': any;
143
- proxy: any;
140
+ 'fetch-retry-maxtimeout': any;
144
141
  'scripts-prepend-node-path': any;
142
+ 'engine-strict': any;
145
143
  'unsafe-perm': any;
144
+ 'prefer-offline': any;
145
+ 'https-proxy': any;
146
146
  };
147
147
  export declare const commandNames: string[];
148
148
  export declare function help(): string;
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;
9
11
  optional: any;
10
- offline: any;
11
12
  global: any;
12
13
  production: any;
13
- registry: any;
14
+ offline: any;
14
15
  only: any;
15
- dev: any;
16
- 'engine-strict': any;
16
+ proxy: any;
17
+ 'ignore-scripts': any;
17
18
  'fetch-retries': any;
18
19
  'fetch-retry-factor': any;
19
- 'fetch-retry-maxtimeout': any;
20
20
  'fetch-retry-mintimeout': any;
21
- 'https-proxy': any;
22
- 'ignore-scripts': any;
23
- 'prefer-offline': any;
24
- proxy: any;
21
+ 'fetch-retry-maxtimeout': any;
25
22
  'scripts-prepend-node-path': any;
23
+ 'engine-strict': any;
26
24
  '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<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
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>> & {
7
7
  access: (string | null)[];
8
8
  'allow-same-version': BooleanConstructor;
9
9
  'always-auth': BooleanConstructor;
@@ -123,30 +123,30 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"optional" | "key"
123
123
  versions: BooleanConstructor;
124
124
  viewer: StringConstructor;
125
125
  _exit: BooleanConstructor;
126
- }, "optional" | "offline" | "global" | "production" | "registry" | "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">;
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">;
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;
132
134
  optional: any;
133
- offline: any;
134
135
  global: any;
135
136
  production: any;
136
- registry: any;
137
+ offline: any;
137
138
  only: any;
138
- dev: any;
139
- 'engine-strict': any;
139
+ proxy: any;
140
+ 'ignore-scripts': any;
140
141
  'fetch-retries': any;
141
142
  'fetch-retry-factor': any;
142
- 'fetch-retry-maxtimeout': any;
143
143
  'fetch-retry-mintimeout': any;
144
- 'https-proxy': any;
145
- 'ignore-scripts': any;
146
- 'prefer-offline': any;
147
- proxy: any;
144
+ 'fetch-retry-maxtimeout': any;
148
145
  'scripts-prepend-node-path': any;
146
+ 'engine-strict': any;
149
147
  '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<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
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>> & {
10
10
  access: (string | null)[];
11
11
  'allow-same-version': BooleanConstructor;
12
12
  'always-auth': BooleanConstructor;
@@ -126,7 +126,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"optional" | "key
126
126
  versions: BooleanConstructor;
127
127
  viewer: StringConstructor;
128
128
  _exit: BooleanConstructor;
129
- }, "global" | "production" | "registry" | "only" | "save-exact" | "save-prefix" | "unsafe-perm" | "save-dev" | "save-optional">;
129
+ }, "registry" | "global" | "production" | "only" | "save-dev" | "save-optional" | "save-exact" | "save-prefix" | "unsafe-perm">;
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<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
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>> & {
7
7
  access: (string | null)[];
8
8
  'allow-same-version': BooleanConstructor;
9
9
  'always-auth': BooleanConstructor;
@@ -123,7 +123,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"optional" | "key
123
123
  versions: BooleanConstructor;
124
124
  viewer: StringConstructor;
125
125
  _exit: BooleanConstructor;
126
- }, "optional" | "production" | "dev">;
126
+ }, "dev" | "optional" | "production">;
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<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
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>> & {
8
8
  access: (string | null)[];
9
9
  'allow-same-version': BooleanConstructor;
10
10
  'always-auth': 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<"optional" | "key" | "color" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "loglevel" | "only" | "dev" | "cert" | "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" | "user-agent" | "local-address" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "node-version" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
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>> & {
7
7
  access: (string | null)[];
8
8
  'allow-same-version': BooleanConstructor;
9
9
  'always-auth': BooleanConstructor;
@@ -123,35 +123,35 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"optional" | "key"
123
123
  versions: BooleanConstructor;
124
124
  viewer: StringConstructor;
125
125
  _exit: BooleanConstructor;
126
- }, "optional" | "offline" | "global" | "save" | "production" | "force" | "depth" | "registry" | "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">;
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">;
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;
132
134
  optional: any;
133
- offline: any;
135
+ force: any;
134
136
  global: any;
135
137
  save: any;
136
138
  production: any;
137
- force: any;
138
139
  depth: any;
139
- registry: any;
140
+ offline: any;
140
141
  only: any;
141
- dev: any;
142
- 'engine-strict': any;
142
+ proxy: any;
143
+ 'ignore-scripts': any;
143
144
  'fetch-retries': any;
144
145
  'fetch-retry-factor': any;
145
- 'fetch-retry-maxtimeout': any;
146
146
  'fetch-retry-mintimeout': any;
147
- 'https-proxy': any;
148
- 'ignore-scripts': any;
149
- 'prefer-offline': any;
150
- proxy: any;
147
+ 'fetch-retry-maxtimeout': any;
151
148
  'save-exact': any;
152
149
  'save-prefix': any;
153
150
  'scripts-prepend-node-path': any;
151
+ 'engine-strict': any;
154
152
  '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.2.6",
3
+ "version": "14.2.7",
4
4
  "description": "Commands for installation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "write-yaml-file": "^5.0.0",
42
42
  "@pnpm/assert-project": "2.3.47",
43
43
  "@pnpm/modules-yaml": "12.1.7",
44
- "@pnpm/plugin-commands-installation": "14.2.6",
44
+ "@pnpm/plugin-commands-installation": "14.2.7",
45
45
  "@pnpm/prepare": "0.0.90",
46
46
  "@pnpm/test-ipc-server": "0.0.0",
47
47
  "@pnpm/test-fixtures": "0.1.20"
@@ -69,31 +69,31 @@
69
69
  "render-help": "^1.0.3",
70
70
  "version-selector-type": "^3.0.0",
71
71
  "@pnpm/cli-utils": "2.1.11",
72
+ "@pnpm/common-cli-options-help": "1.1.0",
72
73
  "@pnpm/command": "4.0.0",
73
74
  "@pnpm/config": "20.4.3",
74
- "@pnpm/core": "13.5.1",
75
75
  "@pnpm/constants": "7.1.1",
76
+ "@pnpm/core": "13.5.2",
76
77
  "@pnpm/dedupe.check": "1.0.8",
77
- "@pnpm/error": "5.0.3",
78
78
  "@pnpm/filter-workspace-packages": "7.2.13",
79
79
  "@pnpm/find-workspace-dir": "6.0.3",
80
+ "@pnpm/error": "5.0.3",
80
81
  "@pnpm/graceful-fs": "3.2.0",
81
82
  "@pnpm/lockfile-types": "5.1.5",
82
- "@pnpm/matcher": "5.0.0",
83
83
  "@pnpm/manifest-utils": "5.0.8",
84
- "@pnpm/common-cli-options-help": "1.1.0",
84
+ "@pnpm/matcher": "5.0.0",
85
85
  "@pnpm/outdated": "13.0.44",
86
86
  "@pnpm/package-store": "19.0.17",
87
87
  "@pnpm/parse-wanted-dependency": "5.0.0",
88
- "@pnpm/pnpmfile": "5.0.21",
89
88
  "@pnpm/plugin-commands-rebuild": "10.0.21",
90
- "@pnpm/read-project-manifest": "5.0.11",
89
+ "@pnpm/pnpmfile": "5.0.21",
91
90
  "@pnpm/resolver-base": "11.1.0",
91
+ "@pnpm/sort-packages": "5.0.9",
92
+ "@pnpm/read-project-manifest": "5.0.11",
92
93
  "@pnpm/store-connection-manager": "7.0.28",
94
+ "@pnpm/types": "9.4.2",
93
95
  "@pnpm/workspace.find-packages": "1.1.12",
94
- "@pnpm/sort-packages": "5.0.9",
95
- "@pnpm/workspace.pkgs-graph": "2.0.15",
96
- "@pnpm/types": "9.4.2"
96
+ "@pnpm/workspace.pkgs-graph": "2.0.15"
97
97
  },
98
98
  "peerDependencies": {
99
99
  "@pnpm/logger": "^5.0.0"
@@ -1,3 +0,0 @@
1
- import { type IncludedDependencies, type ProjectManifest } from '@pnpm/types';
2
- export declare function updateToLatestSpecsFromManifest(manifest: ProjectManifest, include: IncludedDependencies): string[];
3
- export declare function createLatestSpecs(specs: string[], manifest: ProjectManifest): string[];
@@ -1,49 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.createLatestSpecs = exports.updateToLatestSpecsFromManifest = void 0;
7
- const manifest_utils_1 = require("@pnpm/manifest-utils");
8
- const version_selector_type_1 = __importDefault(require("version-selector-type"));
9
- function updateToLatestSpecsFromManifest(manifest, include) {
10
- const allDeps = (0, manifest_utils_1.filterDependenciesByType)(manifest, include);
11
- const updateSpecs = [];
12
- for (const [depName, depVersion] of Object.entries(allDeps)) {
13
- if (depVersion.startsWith('npm:')) {
14
- updateSpecs.push(`${depName}@${removeVersionFromSpec(depVersion)}@latest`);
15
- }
16
- else {
17
- const selector = (0, version_selector_type_1.default)(depVersion);
18
- if (selector == null)
19
- continue;
20
- updateSpecs.push(`${depName}@latest`);
21
- }
22
- }
23
- return updateSpecs;
24
- }
25
- exports.updateToLatestSpecsFromManifest = updateToLatestSpecsFromManifest;
26
- function createLatestSpecs(specs, manifest) {
27
- const allDeps = (0, manifest_utils_1.getAllDependenciesFromManifest)(manifest);
28
- return specs
29
- .filter((selector) => selector.includes('@', 1)
30
- ? allDeps[selector.slice(0, selector.indexOf('@', 1))]
31
- : allDeps[selector])
32
- .map((selector) => {
33
- if (selector.includes('@', 1)) {
34
- return selector;
35
- }
36
- if (allDeps[selector].startsWith('npm:')) {
37
- return `${selector}@${removeVersionFromSpec(allDeps[selector])}@latest`;
38
- }
39
- if ((0, version_selector_type_1.default)(allDeps[selector]) == null) {
40
- return selector;
41
- }
42
- return `${selector}@latest`;
43
- });
44
- }
45
- exports.createLatestSpecs = createLatestSpecs;
46
- function removeVersionFromSpec(spec) {
47
- return spec.substring(0, spec.lastIndexOf('@'));
48
- }
49
- //# sourceMappingURL=updateToLatestSpecsFromManifest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateToLatestSpecsFromManifest.js","sourceRoot":"","sources":["../src/updateToLatestSpecsFromManifest.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA+F;AAE/F,kFAAiD;AAEjD,SAAgB,+BAA+B,CAAE,QAAyB,EAAE,OAA6B;IACvG,MAAM,OAAO,GAAG,IAAA,yCAAwB,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC3D,MAAM,WAAW,GAAG,EAAE,CAAA;IACtB,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC3D,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;YACjC,WAAW,CAAC,IAAI,CAAC,GAAG,OAAO,IAAI,qBAAqB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;SAC3E;aAAM;YACL,MAAM,QAAQ,GAAG,IAAA,+BAAa,EAAC,UAAU,CAAC,CAAA;YAC1C,IAAI,QAAQ,IAAI,IAAI;gBAAE,SAAQ;YAC9B,WAAW,CAAC,IAAI,CAAC,GAAG,OAAO,SAAS,CAAC,CAAA;SACtC;KACF;IACD,OAAO,WAAW,CAAA;AACpB,CAAC;AAbD,0EAaC;AAED,SAAgB,iBAAiB,CAAE,KAAe,EAAE,QAAyB;IAC3E,MAAM,OAAO,GAAG,IAAA,+CAA8B,EAAC,QAAQ,CAAC,CAAA;IACxD,OAAO,KAAK;SACT,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC;QAC7C,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CACpB;SACA,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QAChB,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE;YAC7B,OAAO,QAAQ,CAAA;SAChB;QACD,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;YACxC,OAAO,GAAG,QAAQ,IAAI,qBAAqB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAA;SACxE;QACD,IAAI,IAAA,+BAAa,EAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,IAAI,EAAE;YAC5C,OAAO,QAAQ,CAAA;SAChB;QACD,OAAO,GAAG,QAAQ,SAAS,CAAA;IAC7B,CAAC,CAAC,CAAA;AACN,CAAC;AAnBD,8CAmBC;AAED,SAAS,qBAAqB,CAAE,IAAY;IAC1C,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;AACjD,CAAC"}