@pnpm/engine.runtime.commands 1000.0.0-0 → 1100.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ export async function envList(opts, params) {
8
8
  async function listRemoteVersions(opts, versionSpec) {
9
9
  const fetch = createFetchFromRegistry(opts);
10
10
  const { releaseChannel, versionSpecifier } = versionSpec ? parseNodeSpecifier(versionSpec) : { releaseChannel: 'release', versionSpecifier: '' };
11
- const nodeMirrorBaseUrl = getNodeMirror(opts.rawConfig, releaseChannel);
11
+ const nodeMirrorBaseUrl = getNodeMirror(opts.nodeDownloadMirrors, releaseChannel);
12
12
  return resolveNodeVersions(fetch, versionSpecifier, nodeMirrorBaseUrl);
13
13
  }
14
14
  //# sourceMappingURL=envList.js.map
package/lib/env/node.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Config } from '@pnpm/config.reader';
2
- export type NvmNodeCommandOptions = Pick<Config, 'bin' | 'global' | 'fetchRetries' | 'fetchRetryFactor' | 'fetchRetryMaxtimeout' | 'fetchRetryMintimeout' | 'fetchTimeout' | 'userAgent' | 'ca' | 'cert' | 'httpProxy' | 'httpsProxy' | 'key' | 'localAddress' | 'noProxy' | 'rawConfig' | 'strictSsl' | 'storeDir' | 'pnpmHomeDir'> & Partial<Pick<Config, 'cacheDir' | 'configDir' | 'cliOptions' | 'sslConfigs' | 'registries' | 'rawLocalConfig' | 'lockfileDir' | 'nodeLinker' | 'modulesDir' | 'symlink' | 'frozenLockfile' | 'preferFrozenLockfile' | 'sideEffectsCache' | 'sideEffectsCacheReadonly' | 'supportedArchitectures'>> & {
1
+ import type { Config, ConfigContext } from '@pnpm/config.reader';
2
+ export type NvmNodeCommandOptions = Pick<Config, 'bin' | 'global' | 'fetchRetries' | 'fetchRetryFactor' | 'fetchRetryMaxtimeout' | 'fetchRetryMintimeout' | 'fetchTimeout' | 'userAgent' | 'ca' | 'cert' | 'httpProxy' | 'httpsProxy' | 'key' | 'localAddress' | 'noProxy' | 'nodeDownloadMirrors' | 'configByUri' | 'strictSsl' | 'storeDir' | 'pnpmHomeDir'> & Partial<Pick<Config, 'cacheDir' | 'configDir' | 'registries' | 'lockfileDir' | 'nodeLinker' | 'modulesDir' | 'symlink' | 'frozenLockfile' | 'preferFrozenLockfile' | 'sideEffectsCache' | 'sideEffectsCacheReadonly' | 'supportedArchitectures'>> & Partial<Pick<ConfigContext, 'cliOptions'>> & {
3
3
  remote?: boolean;
4
4
  };
package/lib/env/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import path from 'node:path';
2
2
  export function getNodeExecPathInBinDir(pnpmHomeDir) {
3
- return path.resolve(pnpmHomeDir, process.platform === 'win32' ? 'node.exe' : 'node');
3
+ return path.resolve(pnpmHomeDir, 'bin', process.platform === 'win32' ? 'node.exe' : 'node');
4
4
  }
5
5
  export function getNodeExecPathInNodeDir(nodeDir) {
6
6
  return path.join(nodeDir, process.platform === 'win32' ? 'node.exe' : 'bin/node');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/engine.runtime.commands",
3
- "version": "1000.0.0-0",
3
+ "version": "1100.0.0",
4
4
  "description": "pnpm commands for managing runtimes",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -26,21 +26,21 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "render-help": "^2.0.0",
29
- "@pnpm/cli.utils": "1001.2.8",
30
- "@pnpm/error": "1000.0.5",
31
- "@pnpm/network.fetch": "1000.2.6",
32
- "@pnpm/exec.pnpm-cli-runner": "1000.0.1",
33
- "@pnpm/config.reader": "1004.4.2",
34
- "@pnpm/engine.runtime.node-resolver": "1001.0.5"
29
+ "@pnpm/cli.utils": "1100.0.0",
30
+ "@pnpm/engine.runtime.node-resolver": "1100.0.0",
31
+ "@pnpm/config.reader": "1100.0.0",
32
+ "@pnpm/error": "1100.0.0",
33
+ "@pnpm/exec.pnpm-cli-runner": "1100.0.0",
34
+ "@pnpm/network.fetch": "1100.0.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@pnpm/logger": ">=1001.0.0 <1002.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@jest/globals": "30.0.5",
40
+ "@jest/globals": "30.3.0",
41
41
  "cross-env": "^10.1.0",
42
- "@pnpm/engine.runtime.commands": "1000.0.0-0",
43
- "@pnpm/logger": "1001.0.1"
42
+ "@pnpm/engine.runtime.commands": "1100.0.0",
43
+ "@pnpm/logger": "1100.0.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=22.13"
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "scripts": {
52
52
  "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
53
- "_test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest",
54
- "compile": "tsgo --build && pnpm run lint --fix",
55
- "test": "pnpm run compile && pnpm run _test"
53
+ "compile": "tsgo --build && pn lint --fix",
54
+ "test": "pn compile && pn .test",
55
+ ".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
56
56
  }
57
57
  }