@pnpm/installing.commands 1100.1.12 → 1100.2.1

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.js CHANGED
@@ -161,6 +161,10 @@ For options that may be used with `-r`, see "pnpm help recursive"',
161
161
  OPTIONS.ignoreScripts,
162
162
  OPTIONS.offline,
163
163
  OPTIONS.preferOffline,
164
+ {
165
+ description: 'The registry to use for the installation',
166
+ name: '--registry <url>',
167
+ },
164
168
  OPTIONS.storeDir,
165
169
  OPTIONS.virtualStoreDir,
166
170
  OPTIONS.globalDir,
package/lib/install.js CHANGED
@@ -52,6 +52,7 @@ export function rcOptionsTypes() {
52
52
  'public-hoist-pattern',
53
53
  'registry',
54
54
  'reporter',
55
+ 'runtime',
55
56
  'save-workspace-protocol',
56
57
  'scripts-prepend-node-path',
57
58
  'shamefully-hoist',
@@ -122,6 +123,10 @@ For options that may be used with `-r`, see "pnpm help recursive"',
122
123
  description: '`optionalDependencies` are not installed',
123
124
  name: '--no-optional',
124
125
  },
126
+ {
127
+ description: 'Skip installing runtime entries (e.g. Node.js downloaded via `devEngines.runtime`). The lockfile is left untouched, so frozen installs still validate; only the runtime fetch and bin-linking are skipped. Useful in CI matrices where the runtime is provisioned externally.',
128
+ name: '--no-runtime',
129
+ },
125
130
  {
126
131
  description: `Don't read or generate a \`${WANTED_LOCKFILE}\` file`,
127
132
  name: '--no-lockfile',
@@ -4,7 +4,7 @@ import { type UpdateMatchingFunction } from '@pnpm/installing.deps-installer';
4
4
  import type { LockfileObject } from '@pnpm/lockfile.types';
5
5
  import { type CreateStoreControllerOptions } from '@pnpm/store.connection-manager';
6
6
  import type { IncludedDependencies, PackageVulnerabilityAudit } from '@pnpm/types';
7
- export type InstallDepsOptions = Pick<Config, 'autoInstallPeers' | 'bail' | 'bin' | 'catalogs' | 'catalogMode' | 'cleanupUnusedCatalogs' | 'dedupePeerDependents' | 'dedupePeers' | 'depth' | 'dev' | 'enableGlobalVirtualStore' | 'virtualStoreOnly' | 'engineStrict' | 'excludeLinksFromLockfile' | 'global' | 'globalPnpmfile' | 'ignoreCurrentSpecifiers' | 'ignorePnpmfile' | 'ignoreScripts' | 'optimisticRepeatInstall' | 'linkWorkspacePackages' | 'lockfileDir' | 'lockfileOnly' | 'agent' | 'production' | 'preferWorkspacePackages' | 'registries' | 'runtimeOnFail' | 'save' | 'saveDev' | 'saveExact' | 'saveOptional' | 'savePeer' | 'savePrefix' | 'saveProd' | 'saveWorkspaceProtocol' | 'lockfileIncludeTarballUrl' | 'scriptsPrependNodePath' | 'scriptShell' | 'sideEffectsCache' | 'sideEffectsCacheReadonly' | 'sort' | 'sharedWorkspaceLockfile' | 'shellEmulator' | 'tag' | 'allowBuilds' | 'optional' | 'workspaceConcurrency' | 'workspaceDir' | 'workspacePackagePatterns' | 'extraEnv' | 'ignoreWorkspaceCycles' | 'disallowWorkspaceCycles' | 'configDependencies' | 'packageExtensions' | 'updateConfig'> & Pick<ConfigContext, 'allProjects' | 'allProjectsGraph' | 'cliOptions' | 'hooks' | 'rootProjectManifestDir' | 'rootProjectManifest' | 'selectedProjectsGraph'> & CreateStoreControllerOptions & {
7
+ export type InstallDepsOptions = Pick<Config, 'autoInstallPeers' | 'bail' | 'bin' | 'catalogs' | 'catalogMode' | 'cleanupUnusedCatalogs' | 'dedupePeerDependents' | 'dedupePeers' | 'depth' | 'dev' | 'enableGlobalVirtualStore' | 'virtualStoreOnly' | 'engineStrict' | 'excludeLinksFromLockfile' | 'global' | 'globalPnpmfile' | 'ignoreCurrentSpecifiers' | 'ignorePnpmfile' | 'ignoreScripts' | 'optimisticRepeatInstall' | 'linkWorkspacePackages' | 'lockfileDir' | 'lockfileOnly' | 'agent' | 'production' | 'preferWorkspacePackages' | 'registries' | 'runtime' | 'runtimeOnFail' | 'save' | 'saveDev' | 'saveExact' | 'saveOptional' | 'savePeer' | 'savePrefix' | 'saveProd' | 'saveWorkspaceProtocol' | 'lockfileIncludeTarballUrl' | 'scriptsPrependNodePath' | 'scriptShell' | 'sideEffectsCache' | 'sideEffectsCacheReadonly' | 'sort' | 'sharedWorkspaceLockfile' | 'shellEmulator' | 'tag' | 'allowBuilds' | 'optional' | 'workspaceConcurrency' | 'workspaceDir' | 'workspacePackagePatterns' | 'extraEnv' | 'ignoreWorkspaceCycles' | 'disallowWorkspaceCycles' | 'configDependencies' | 'packageExtensions' | 'updateConfig'> & Pick<ConfigContext, 'allProjects' | 'allProjectsGraph' | 'cliOptions' | 'hooks' | 'rootProjectManifestDir' | 'rootProjectManifest' | 'selectedProjectsGraph'> & CreateStoreControllerOptions & {
8
8
  argv: {
9
9
  original: string[];
10
10
  };
@@ -124,6 +124,7 @@ export async function installDeps(opts, params) {
124
124
  linkWorkspacePackagesDepth: opts.linkWorkspacePackages === 'deep' ? Infinity : opts.linkWorkspacePackages ? 0 : -1,
125
125
  sideEffectsCacheRead: opts.sideEffectsCache ?? opts.sideEffectsCacheReadonly,
126
126
  sideEffectsCacheWrite: opts.sideEffectsCache,
127
+ skipRuntimes: opts.runtime === false,
127
128
  storeController: store.ctrl,
128
129
  storeDir: store.dir,
129
130
  workspacePackages,
@@ -5,7 +5,7 @@ import type { PreferredVersions } from '@pnpm/resolving.resolver-base';
5
5
  import { type CreateStoreControllerOptions } from '@pnpm/store.connection-manager';
6
6
  import type { StoreController } from '@pnpm/store.controller';
7
7
  import type { IncludedDependencies, Project, ProjectManifest, ProjectsGraph } from '@pnpm/types';
8
- export type RecursiveOptions = CreateStoreControllerOptions & Pick<Config, 'bail' | 'configDependencies' | 'dedupePeerDependents' | 'dedupePeers' | 'depth' | 'globalPnpmfile' | 'hoistPattern' | 'ignorePnpmfile' | 'ignoreScripts' | 'linkWorkspacePackages' | 'lockfileDir' | 'lockfileOnly' | 'modulesDir' | 'agent' | 'allowBuilds' | 'registries' | 'save' | 'saveCatalogName' | 'saveDev' | 'saveExact' | 'saveOptional' | 'savePeer' | 'savePrefix' | 'saveProd' | 'saveWorkspaceProtocol' | 'lockfileIncludeTarballUrl' | 'sharedWorkspaceLockfile' | 'tag' | 'cleanupUnusedCatalogs' | 'packageConfigs' | 'updateConfig'> & Pick<ConfigContext, 'hooks' | 'rootProjectManifest' | 'rootProjectManifestDir'> & {
8
+ export type RecursiveOptions = CreateStoreControllerOptions & Pick<Config, 'bail' | 'configDependencies' | 'dedupePeerDependents' | 'dedupePeers' | 'depth' | 'globalPnpmfile' | 'hoistPattern' | 'ignorePnpmfile' | 'ignoreScripts' | 'linkWorkspacePackages' | 'lockfileDir' | 'lockfileOnly' | 'modulesDir' | 'agent' | 'allowBuilds' | 'registries' | 'runtime' | 'save' | 'saveCatalogName' | 'saveDev' | 'saveExact' | 'saveOptional' | 'savePeer' | 'savePrefix' | 'saveProd' | 'saveWorkspaceProtocol' | 'lockfileIncludeTarballUrl' | 'sharedWorkspaceLockfile' | 'tag' | 'cleanupUnusedCatalogs' | 'packageConfigs' | 'updateConfig'> & Pick<ConfigContext, 'hooks' | 'rootProjectManifest' | 'rootProjectManifestDir'> & {
9
9
  rebuildHandler?: CommandHandler;
10
10
  include?: IncludedDependencies;
11
11
  includeDirect?: IncludedDependencies;
package/lib/recursive.js CHANGED
@@ -42,6 +42,7 @@ export async function recursive(allProjects, params, opts, cmdFullName) {
42
42
  (((opts.ignoredPackages == null) || opts.ignoredPackages.size === 0) &&
43
43
  pkgs.length === allProjects.length),
44
44
  saveCatalogName: opts.saveCatalogName,
45
+ skipRuntimes: opts.runtime === false,
45
46
  storeController: store.ctrl,
46
47
  storeDir: store.dir,
47
48
  targetDependenciesField,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/installing.commands",
3
- "version": "1100.1.12",
3
+ "version": "1100.2.1",
4
4
  "description": "Commands for installation",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -32,59 +32,59 @@
32
32
  "@yarnpkg/parsers": "3.0.3",
33
33
  "@zkochan/rimraf": "^4.0.0",
34
34
  "@zkochan/table": "^2.0.1",
35
- "chalk": "^5.6.2",
35
+ "chalk": "^5.6.0",
36
36
  "enquirer": "^2.4.1",
37
37
  "get-npm-tarball-url": "^2.1.0",
38
38
  "is-subdir": "^2.0.0",
39
39
  "load-json-file": "^7.0.1",
40
40
  "normalize-path": "^3.0.0",
41
41
  "p-filter": "^4.1.0",
42
- "p-limit": "^7.3.0",
42
+ "p-limit": "^7.1.0",
43
43
  "ramda": "npm:@pnpm/ramda@0.28.1",
44
44
  "render-help": "^2.0.0",
45
45
  "version-selector-type": "^3.0.0",
46
- "@pnpm/building.after-install": "1101.0.9",
47
46
  "@pnpm/catalogs.types": "1100.0.0",
48
- "@pnpm/cli.command": "1100.0.1",
47
+ "@pnpm/building.after-install": "1101.0.11",
49
48
  "@pnpm/cli.common-cli-options-help": "1100.0.1",
49
+ "@pnpm/cli.utils": "1101.0.3",
50
+ "@pnpm/config.pick-registry-for-package": "1100.0.3",
50
51
  "@pnpm/config.matcher": "1100.0.1",
51
- "@pnpm/cli.utils": "1101.0.2",
52
- "@pnpm/config.pick-registry-for-package": "1100.0.2",
53
- "@pnpm/config.reader": "1101.2.2",
54
- "@pnpm/config.writer": "1100.0.6",
52
+ "@pnpm/config.writer": "1100.0.7",
55
53
  "@pnpm/constants": "1100.0.0",
56
- "@pnpm/deps.inspection.outdated": "1100.0.12",
57
- "@pnpm/deps.status": "1100.0.12",
58
- "@pnpm/deps.path": "1100.0.2",
54
+ "@pnpm/config.reader": "1101.3.0",
55
+ "@pnpm/deps.inspection.outdated": "1100.0.14",
56
+ "@pnpm/deps.path": "1100.0.3",
59
57
  "@pnpm/error": "1100.0.0",
58
+ "@pnpm/deps.status": "1100.0.14",
59
+ "@pnpm/cli.command": "1100.0.1",
60
60
  "@pnpm/fs.graceful-fs": "1100.1.0",
61
61
  "@pnpm/fs.read-modules-dir": "1100.0.1",
62
- "@pnpm/global.commands": "1100.0.14",
63
- "@pnpm/hooks.pnpmfile": "1100.0.6",
64
- "@pnpm/installing.context": "1100.0.8",
65
- "@pnpm/installing.dedupe.check": "1100.0.4",
66
- "@pnpm/installing.deps-installer": "1101.0.9",
67
- "@pnpm/installing.env-installer": "1101.0.7",
68
- "@pnpm/lockfile.types": "1100.0.4",
69
- "@pnpm/pkg-manifest.utils": "1100.1.1",
70
- "@pnpm/pkg-manifest.reader": "1100.0.2",
62
+ "@pnpm/global.commands": "1100.0.16",
63
+ "@pnpm/hooks.pnpmfile": "1100.0.7",
64
+ "@pnpm/installing.context": "1100.0.9",
65
+ "@pnpm/installing.deps-installer": "1101.1.1",
66
+ "@pnpm/installing.env-installer": "1101.0.8",
67
+ "@pnpm/installing.dedupe.check": "1100.0.5",
68
+ "@pnpm/lockfile.types": "1100.0.5",
69
+ "@pnpm/pkg-manifest.reader": "1100.0.3",
70
+ "@pnpm/pkg-manifest.utils": "1100.1.2",
71
71
  "@pnpm/resolving.parse-wanted-dependency": "1100.0.1",
72
- "@pnpm/resolving.resolver-base": "1100.1.2",
73
- "@pnpm/store.connection-manager": "1100.0.13",
74
- "@pnpm/store.controller": "1101.0.4",
75
- "@pnpm/types": "1101.0.0",
76
- "@pnpm/workspace.project-manifest-writer": "1100.0.2",
77
- "@pnpm/workspace.project-manifest-reader": "1100.0.3",
78
- "@pnpm/workspace.projects-filter": "1100.0.9",
79
- "@pnpm/workspace.projects-graph": "1100.0.6",
80
- "@pnpm/workspace.projects-reader": "1101.0.2",
81
- "@pnpm/workspace.projects-sorter": "1100.0.1",
82
- "@pnpm/workspace.state": "1100.0.10",
72
+ "@pnpm/store.connection-manager": "1100.1.1",
73
+ "@pnpm/store.controller": "1101.0.5",
74
+ "@pnpm/types": "1101.1.0",
75
+ "@pnpm/workspace.project-manifest-writer": "1100.0.3",
76
+ "@pnpm/workspace.project-manifest-reader": "1100.0.4",
77
+ "@pnpm/workspace.projects-graph": "1100.0.7",
78
+ "@pnpm/workspace.projects-filter": "1100.0.10",
79
+ "@pnpm/workspace.projects-reader": "1101.0.3",
83
80
  "@pnpm/workspace.root-finder": "1100.0.1",
84
- "@pnpm/workspace.workspace-manifest-writer": "1100.0.6"
81
+ "@pnpm/workspace.workspace-manifest-writer": "1100.0.7",
82
+ "@pnpm/workspace.state": "1100.0.11",
83
+ "@pnpm/workspace.projects-sorter": "1100.0.2",
84
+ "@pnpm/resolving.resolver-base": "1100.1.3"
85
85
  },
86
86
  "peerDependencies": {
87
- "@pnpm/logger": "^1001.0.1"
87
+ "@pnpm/logger": ">=1001.0.0 <1002.0.0"
88
88
  },
89
89
  "devDependencies": {
90
90
  "@jest/globals": "30.3.0",
@@ -94,7 +94,7 @@
94
94
  "@types/ramda": "0.31.1",
95
95
  "@types/yarnpkg__lockfile": "^1.1.9",
96
96
  "@types/zkochan__table": "npm:@types/table@6.0.0",
97
- "ci-info": "^4.4.0",
97
+ "ci-info": "^4.3.0",
98
98
  "delay": "^7.0.0",
99
99
  "jest-diff": "^30.3.0",
100
100
  "path-name": "^1.0.0",
@@ -105,18 +105,18 @@
105
105
  "write-json-file": "^7.0.0",
106
106
  "write-package": "7.2.0",
107
107
  "write-yaml-file": "^6.0.0",
108
- "@pnpm/assert-project": "1100.0.6",
109
- "@pnpm/installing.commands": "1100.1.12",
110
- "@pnpm/installing.modules-yaml": "1100.0.3",
108
+ "@pnpm/installing.commands": "1100.2.1",
109
+ "@pnpm/installing.modules-yaml": "1100.0.4",
110
+ "@pnpm/assert-project": "1100.0.7",
111
111
  "@pnpm/logger": "1100.0.0",
112
- "@pnpm/prepare": "1100.0.6",
113
112
  "@pnpm/store.index": "1100.1.0",
114
- "@pnpm/test-fixtures": "1100.0.0",
115
113
  "@pnpm/test-ipc-server": "1100.0.0",
116
114
  "@pnpm/testing.command-defaults": "1100.0.1",
117
- "@pnpm/testing.mock-agent": "1100.0.2",
118
- "@pnpm/worker": "1100.1.3",
119
- "@pnpm/workspace.projects-filter": "1100.0.9"
115
+ "@pnpm/prepare": "1100.0.7",
116
+ "@pnpm/testing.mock-agent": "1100.0.3",
117
+ "@pnpm/test-fixtures": "1100.0.0",
118
+ "@pnpm/worker": "1100.1.4",
119
+ "@pnpm/workspace.projects-filter": "1100.0.10"
120
120
  },
121
121
  "engines": {
122
122
  "node": ">=22.13"