@pnpm/installing.commands 1100.10.3 → 1100.10.5
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 +9162 -0
- package/lib/add.js +0 -3
- package/lib/install.js +0 -2
- package/lib/installDeps.d.ts +0 -1
- package/package.json +64 -64
- package/lib/getFetchFullMetadata.d.ts +0 -8
- package/lib/getFetchFullMetadata.js +0 -7
package/lib/add.js
CHANGED
|
@@ -9,7 +9,6 @@ import { parseWantedDependency } from '@pnpm/resolving.parse-wanted-dependency';
|
|
|
9
9
|
import { createStoreController } from '@pnpm/store.connection-manager';
|
|
10
10
|
import { pick } from 'ramda';
|
|
11
11
|
import { renderHelp } from 'render-help';
|
|
12
|
-
import { getFetchFullMetadata } from './getFetchFullMetadata.js';
|
|
13
12
|
import { installDeps } from './installDeps.js';
|
|
14
13
|
import { createGlobalPolicyCallbacks } from './resolutionPolicyManifest.js';
|
|
15
14
|
export const shorthands = {
|
|
@@ -287,7 +286,6 @@ export async function handler(opts, params, commands) {
|
|
|
287
286
|
...opts,
|
|
288
287
|
allowBuilds: mergedAllowBuilds,
|
|
289
288
|
rebuildHandler: commands?.rebuild,
|
|
290
|
-
fetchFullMetadata: getFetchFullMetadata(opts),
|
|
291
289
|
include,
|
|
292
290
|
includeDirect: include,
|
|
293
291
|
// `--dry-run` is an `install`-only preview; never let a config-level
|
|
@@ -299,7 +297,6 @@ export async function handler(opts, params, commands) {
|
|
|
299
297
|
await installDeps({
|
|
300
298
|
...opts,
|
|
301
299
|
rebuildHandler: commands?.rebuild,
|
|
302
|
-
fetchFullMetadata: getFetchFullMetadata(opts),
|
|
303
300
|
include,
|
|
304
301
|
includeDirect: include,
|
|
305
302
|
dryRun: false,
|
package/lib/install.js
CHANGED
|
@@ -7,7 +7,6 @@ import { calcDedupeCheckIssues, countDedupeCheckIssues } from '@pnpm/installing.
|
|
|
7
7
|
import { renderDedupeCheckIssues } from '@pnpm/installing.dedupe.issues-renderer';
|
|
8
8
|
import { pick } from 'ramda';
|
|
9
9
|
import { renderHelp } from 'render-help';
|
|
10
|
-
import { getFetchFullMetadata } from './getFetchFullMetadata.js';
|
|
11
10
|
import { installDeps } from './installDeps.js';
|
|
12
11
|
export function rcOptionsTypes() {
|
|
13
12
|
return pick([
|
|
@@ -318,7 +317,6 @@ export async function handler(opts, _params, commands) {
|
|
|
318
317
|
typeof opts.preferFrozenLockfile === 'undefined'),
|
|
319
318
|
include,
|
|
320
319
|
includeDirect: include,
|
|
321
|
-
fetchFullMetadata: getFetchFullMetadata(opts),
|
|
322
320
|
isInstallCommand: true,
|
|
323
321
|
};
|
|
324
322
|
if (opts.resolutionOnly) {
|
package/lib/installDeps.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export type InstallDepsOptions = Pick<Config, 'autoInstallPeers' | 'bail' | 'bin
|
|
|
36
36
|
dedupe?: boolean;
|
|
37
37
|
workspace?: boolean;
|
|
38
38
|
includeOnlyPackageFiles?: boolean;
|
|
39
|
-
fetchFullMetadata?: boolean;
|
|
40
39
|
pruneLockfileImporters?: boolean;
|
|
41
40
|
rebuildHandler?: CommandHandler;
|
|
42
41
|
pnpmfile: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/installing.commands",
|
|
3
|
-
"version": "1100.10.
|
|
3
|
+
"version": "1100.10.5",
|
|
4
4
|
"description": "Commands for installation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,9 +28,57 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@inquirer/prompts": "^8.4.3",
|
|
31
|
+
"@pnpm/building.after-install": "1102.0.6",
|
|
32
|
+
"@pnpm/building.policy": "1100.0.13",
|
|
33
|
+
"@pnpm/catalogs.config": "1100.0.2",
|
|
34
|
+
"@pnpm/catalogs.types": "1100.0.0",
|
|
35
|
+
"@pnpm/cli.command": "1100.0.1",
|
|
36
|
+
"@pnpm/cli.common-cli-options-help": "1100.0.2",
|
|
37
|
+
"@pnpm/cli.utils": "1101.0.14",
|
|
31
38
|
"@pnpm/colorize-semver-diff": "^2.0.0",
|
|
39
|
+
"@pnpm/config.matcher": "1100.0.1",
|
|
40
|
+
"@pnpm/config.pick-registry-for-package": "1100.0.10",
|
|
41
|
+
"@pnpm/config.reader": "1101.12.0",
|
|
42
|
+
"@pnpm/config.version-policy": "1100.1.7",
|
|
43
|
+
"@pnpm/config.writer": "1100.0.16",
|
|
44
|
+
"@pnpm/constants": "1100.0.0",
|
|
45
|
+
"@pnpm/deps.inspection.outdated": "1100.1.14",
|
|
46
|
+
"@pnpm/deps.path": "1100.0.9",
|
|
47
|
+
"@pnpm/deps.security.signatures": "1101.2.4",
|
|
48
|
+
"@pnpm/deps.status": "1100.1.7",
|
|
49
|
+
"@pnpm/error": "1100.0.1",
|
|
50
|
+
"@pnpm/fs.graceful-fs": "1100.1.0",
|
|
51
|
+
"@pnpm/fs.read-modules-dir": "1100.0.1",
|
|
52
|
+
"@pnpm/global.commands": "1100.0.34",
|
|
53
|
+
"@pnpm/hooks.pnpmfile": "1100.0.19",
|
|
54
|
+
"@pnpm/installing.context": "1100.0.24",
|
|
55
|
+
"@pnpm/installing.dedupe.check": "1100.1.3",
|
|
56
|
+
"@pnpm/installing.dedupe.issues-renderer": "1100.0.1",
|
|
57
|
+
"@pnpm/installing.deps-installer": "1102.3.0",
|
|
58
|
+
"@pnpm/installing.env-installer": "1102.0.6",
|
|
59
|
+
"@pnpm/lockfile.fs": "1100.1.11",
|
|
60
|
+
"@pnpm/lockfile.types": "1100.0.14",
|
|
61
|
+
"@pnpm/network.auth-header": "1101.1.4",
|
|
62
|
+
"@pnpm/network.fetch": "1100.1.5",
|
|
63
|
+
"@pnpm/pkg-manifest.reader": "1100.0.10",
|
|
64
|
+
"@pnpm/pkg-manifest.utils": "1100.2.7",
|
|
65
|
+
"@pnpm/resolving.npm-resolver": "1102.1.3",
|
|
66
|
+
"@pnpm/resolving.parse-wanted-dependency": "1100.0.1",
|
|
67
|
+
"@pnpm/resolving.resolver-base": "1100.5.2",
|
|
32
68
|
"@pnpm/semver-diff": "^2.0.0",
|
|
69
|
+
"@pnpm/store.connection-manager": "1100.3.6",
|
|
70
|
+
"@pnpm/store.controller": "1102.0.5",
|
|
71
|
+
"@pnpm/types": "1101.4.0",
|
|
33
72
|
"@pnpm/util.lex-comparator": "^4.0.1",
|
|
73
|
+
"@pnpm/workspace.project-manifest-reader": "1100.0.15",
|
|
74
|
+
"@pnpm/workspace.project-manifest-writer": "1100.0.9",
|
|
75
|
+
"@pnpm/workspace.projects-filter": "1100.0.27",
|
|
76
|
+
"@pnpm/workspace.projects-graph": "1100.0.23",
|
|
77
|
+
"@pnpm/workspace.projects-reader": "1101.0.14",
|
|
78
|
+
"@pnpm/workspace.projects-sorter": "1100.0.9",
|
|
79
|
+
"@pnpm/workspace.root-finder": "1100.0.3",
|
|
80
|
+
"@pnpm/workspace.state": "1100.0.28",
|
|
81
|
+
"@pnpm/workspace.workspace-manifest-writer": "1100.0.16",
|
|
34
82
|
"@yarnpkg/core": "4.8.0",
|
|
35
83
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
36
84
|
"@zkochan/rimraf": "^4.0.0",
|
|
@@ -46,61 +94,26 @@
|
|
|
46
94
|
"p-limit": "^7.3.0",
|
|
47
95
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
48
96
|
"render-help": "^2.0.0",
|
|
49
|
-
"version-selector-type": "^3.0.0"
|
|
50
|
-
"@pnpm/catalogs.types": "1100.0.0",
|
|
51
|
-
"@pnpm/catalogs.config": "1100.0.2",
|
|
52
|
-
"@pnpm/building.policy": "1100.0.12",
|
|
53
|
-
"@pnpm/building.after-install": "1102.0.4",
|
|
54
|
-
"@pnpm/cli.common-cli-options-help": "1100.0.2",
|
|
55
|
-
"@pnpm/config.matcher": "1100.0.1",
|
|
56
|
-
"@pnpm/config.pick-registry-for-package": "1100.0.9",
|
|
57
|
-
"@pnpm/config.reader": "1101.11.1",
|
|
58
|
-
"@pnpm/config.version-policy": "1100.1.6",
|
|
59
|
-
"@pnpm/config.writer": "1100.0.15",
|
|
60
|
-
"@pnpm/cli.utils": "1101.0.13",
|
|
61
|
-
"@pnpm/constants": "1100.0.0",
|
|
62
|
-
"@pnpm/deps.path": "1100.0.8",
|
|
63
|
-
"@pnpm/deps.security.signatures": "1101.2.3",
|
|
64
|
-
"@pnpm/deps.inspection.outdated": "1100.1.12",
|
|
65
|
-
"@pnpm/fs.graceful-fs": "1100.1.0",
|
|
66
|
-
"@pnpm/fs.read-modules-dir": "1100.0.1",
|
|
67
|
-
"@pnpm/global.commands": "1100.0.32",
|
|
68
|
-
"@pnpm/hooks.pnpmfile": "1100.0.17",
|
|
69
|
-
"@pnpm/installing.context": "1100.0.22",
|
|
70
|
-
"@pnpm/installing.dedupe.check": "1100.1.2",
|
|
71
|
-
"@pnpm/deps.status": "1100.1.5",
|
|
72
|
-
"@pnpm/installing.deps-installer": "1102.2.1",
|
|
73
|
-
"@pnpm/installing.env-installer": "1102.0.4",
|
|
74
|
-
"@pnpm/lockfile.fs": "1100.1.9",
|
|
75
|
-
"@pnpm/installing.dedupe.issues-renderer": "1100.0.1",
|
|
76
|
-
"@pnpm/network.auth-header": "1101.1.3",
|
|
77
|
-
"@pnpm/network.fetch": "1100.1.4",
|
|
78
|
-
"@pnpm/resolving.parse-wanted-dependency": "1100.0.1",
|
|
79
|
-
"@pnpm/pkg-manifest.reader": "1100.0.9",
|
|
80
|
-
"@pnpm/pkg-manifest.utils": "1100.2.6",
|
|
81
|
-
"@pnpm/store.connection-manager": "1100.3.4",
|
|
82
|
-
"@pnpm/store.controller": "1102.0.3",
|
|
83
|
-
"@pnpm/lockfile.types": "1100.0.13",
|
|
84
|
-
"@pnpm/workspace.project-manifest-reader": "1100.0.14",
|
|
85
|
-
"@pnpm/workspace.project-manifest-writer": "1100.0.8",
|
|
86
|
-
"@pnpm/workspace.projects-filter": "1100.0.25",
|
|
87
|
-
"@pnpm/resolving.resolver-base": "1100.5.1",
|
|
88
|
-
"@pnpm/workspace.projects-sorter": "1100.0.8",
|
|
89
|
-
"@pnpm/resolving.npm-resolver": "1102.1.2",
|
|
90
|
-
"@pnpm/workspace.root-finder": "1100.0.3",
|
|
91
|
-
"@pnpm/types": "1101.3.2",
|
|
92
|
-
"@pnpm/workspace.projects-reader": "1101.0.13",
|
|
93
|
-
"@pnpm/workspace.state": "1100.0.26",
|
|
94
|
-
"@pnpm/error": "1100.0.1",
|
|
95
|
-
"@pnpm/workspace.workspace-manifest-writer": "1100.0.15",
|
|
96
|
-
"@pnpm/cli.command": "1100.0.1",
|
|
97
|
-
"@pnpm/workspace.projects-graph": "1100.0.22"
|
|
97
|
+
"version-selector-type": "^3.0.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"@pnpm/logger": "^1100.0.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@jest/globals": "30.4.1",
|
|
104
|
+
"@pnpm/assert-project": "1100.0.19",
|
|
105
|
+
"@pnpm/installing.commands": "1100.10.5",
|
|
106
|
+
"@pnpm/installing.modules-yaml": "1100.0.10",
|
|
107
|
+
"@pnpm/logger": "1100.0.0",
|
|
108
|
+
"@pnpm/prepare": "1100.0.19",
|
|
109
|
+
"@pnpm/store.index": "1100.2.1",
|
|
110
|
+
"@pnpm/test-fixtures": "1100.0.0",
|
|
111
|
+
"@pnpm/test-ipc-server": "1100.0.0",
|
|
112
|
+
"@pnpm/testing.command-defaults": "1100.0.9",
|
|
113
|
+
"@pnpm/testing.mock-agent": "1101.0.5",
|
|
114
|
+
"@pnpm/testing.registry-mock": "1100.0.9",
|
|
115
|
+
"@pnpm/worker": "1100.2.4",
|
|
116
|
+
"@pnpm/workspace.projects-filter": "1100.0.27",
|
|
104
117
|
"@types/js-yaml": "^4.0.9",
|
|
105
118
|
"@types/normalize-path": "^3.0.2",
|
|
106
119
|
"@types/proxyquire": "^1.3.31",
|
|
@@ -116,20 +129,7 @@
|
|
|
116
129
|
"tempy": "3.0.0",
|
|
117
130
|
"write-json-file": "^7.0.0",
|
|
118
131
|
"write-package": "7.2.0",
|
|
119
|
-
"write-yaml-file": "^6.0.0"
|
|
120
|
-
"@pnpm/assert-project": "1100.0.18",
|
|
121
|
-
"@pnpm/logger": "1100.0.0",
|
|
122
|
-
"@pnpm/store.index": "1100.2.1",
|
|
123
|
-
"@pnpm/prepare": "1100.0.18",
|
|
124
|
-
"@pnpm/installing.commands": "1100.10.3",
|
|
125
|
-
"@pnpm/testing.command-defaults": "1100.0.8",
|
|
126
|
-
"@pnpm/test-ipc-server": "1100.0.0",
|
|
127
|
-
"@pnpm/test-fixtures": "1100.0.0",
|
|
128
|
-
"@pnpm/testing.mock-agent": "1101.0.4",
|
|
129
|
-
"@pnpm/worker": "1100.2.3",
|
|
130
|
-
"@pnpm/testing.registry-mock": "1100.0.8",
|
|
131
|
-
"@pnpm/workspace.projects-filter": "1100.0.25",
|
|
132
|
-
"@pnpm/installing.modules-yaml": "1100.0.9"
|
|
132
|
+
"write-yaml-file": "^6.0.0"
|
|
133
133
|
},
|
|
134
134
|
"engines": {
|
|
135
135
|
"node": ">=22.13"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { InstallCommandOptions } from './install.js';
|
|
2
|
-
export type GetFetchFullMetadataOptions = Pick<InstallCommandOptions, 'supportedArchitectures'>;
|
|
3
|
-
/**
|
|
4
|
-
* This function is a workaround for the fact that npm registry's abbreviated metadata currently does not contain `libc`.
|
|
5
|
-
*
|
|
6
|
-
* See <https://github.com/pnpm/pnpm/issues/7362#issuecomment-1971964689>.
|
|
7
|
-
*/
|
|
8
|
-
export declare const getFetchFullMetadata: (opts: GetFetchFullMetadataOptions) => true | undefined;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function is a workaround for the fact that npm registry's abbreviated metadata currently does not contain `libc`.
|
|
3
|
-
*
|
|
4
|
-
* See <https://github.com/pnpm/pnpm/issues/7362#issuecomment-1971964689>.
|
|
5
|
-
*/
|
|
6
|
-
export const getFetchFullMetadata = (opts) => opts.supportedArchitectures?.libc && true;
|
|
7
|
-
//# sourceMappingURL=getFetchFullMetadata.js.map
|