@pnpm/exe 11.0.0-beta.1 → 11.0.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/pnpm.mjs +22 -19
  2. package/package.json +8 -8
package/dist/pnpm.mjs CHANGED
@@ -1000,7 +1000,7 @@ var init_lib2 = __esm({
1000
1000
  "use strict";
1001
1001
  defaultManifest = {
1002
1002
  name: true ? "pnpm" : "pnpm",
1003
- version: true ? "11.0.0-beta.1" : "0.0.0"
1003
+ version: true ? "11.0.0-beta.2" : "0.0.0"
1004
1004
  };
1005
1005
  pkgJson = defaultManifest;
1006
1006
  packageManager = {
@@ -28950,18 +28950,18 @@ var init_execa = __esm({
28950
28950
  var require_path_name = __commonJS({
28951
28951
  "../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/path-name/1.0.0/8064eef559e4026b8969ba496c1276b43d2356039af88d81b063131dadece14f/node_modules/path-name/index.js"(exports2, module2) {
28952
28952
  "use strict";
28953
- var PATH5;
28953
+ var PATH6;
28954
28954
  if (process.platform === "win32") {
28955
- PATH5 = "Path";
28955
+ PATH6 = "Path";
28956
28956
  Object.keys(process.env).forEach((e2) => {
28957
28957
  if (e2.match(/^PATH$/i)) {
28958
- PATH5 = e2;
28958
+ PATH6 = e2;
28959
28959
  }
28960
28960
  });
28961
28961
  } else {
28962
- PATH5 = "PATH";
28962
+ PATH6 = "PATH";
28963
28963
  }
28964
- module2.exports = PATH5;
28964
+ module2.exports = PATH6;
28965
28965
  }
28966
28966
  });
28967
28967
 
@@ -74166,12 +74166,12 @@ var require_npm_lifecycle = __commonJS({
74166
74166
  } catch (err) {
74167
74167
  }
74168
74168
  var hookStatCache = /* @__PURE__ */ new Map();
74169
- var PATH5 = "PATH";
74169
+ var PATH6 = "PATH";
74170
74170
  if (process.platform === "win32") {
74171
- PATH5 = "Path";
74171
+ PATH6 = "Path";
74172
74172
  Object.keys(process.env).forEach((e2) => {
74173
74173
  if (e2.match(/^PATH$/i)) {
74174
- PATH5 = e2;
74174
+ PATH6 = e2;
74175
74175
  }
74176
74176
  });
74177
74177
  }
@@ -74237,7 +74237,7 @@ var require_npm_lifecycle = __commonJS({
74237
74237
  });
74238
74238
  }
74239
74239
  function lifecycle_(pkg, stage, wd, opts2, env3, cb) {
74240
- env3[PATH5] = extendPath(wd, env3[PATH5], path199.join(__dirname, "node-gyp-bin"), opts2);
74240
+ env3[PATH6] = extendPath(wd, env3[PATH6], path199.join(__dirname, "node-gyp-bin"), opts2);
74241
74241
  let packageLifecycle = pkg.scripts && Object.prototype.hasOwnProperty.call(pkg.scripts, stage);
74242
74242
  if (opts2.ignoreScripts) {
74243
74243
  opts2.log.info("lifecycle", logid(pkg, stage), "ignored because ignore-scripts is set to true", pkg._id);
@@ -74350,7 +74350,7 @@ var require_npm_lifecycle = __commonJS({
74350
74350
  shFlag = "/d /s /c";
74351
74351
  conf.windowsVerbatimArguments = true;
74352
74352
  }
74353
- opts2.log.verbose("lifecycle", logid(pkg, stage), "PATH:", env3[PATH5]);
74353
+ opts2.log.verbose("lifecycle", logid(pkg, stage), "PATH:", env3[PATH6]);
74354
74354
  opts2.log.verbose("lifecycle", logid(pkg, stage), "CWD:", wd);
74355
74355
  opts2.log.silly("lifecycle", logid(pkg, stage), "Args:", [shFlag, cmd]);
74356
74356
  if (opts2.shellEmulator) {
@@ -74451,7 +74451,7 @@ ${er.message}`;
74451
74451
  if (!env3) {
74452
74452
  env3 = {};
74453
74453
  for (const i3 in process.env) {
74454
- if (!i3.match(/^npm_/) && (!i3.match(/^PATH$/i) || i3 === PATH5)) {
74454
+ if (!i3.match(/^npm_/) && (!i3.match(/^PATH$/i) || i3 === PATH6)) {
74455
74455
  env3[i3] = process.env[i3];
74456
74456
  }
74457
74457
  }
@@ -188779,11 +188779,13 @@ function installCliGlobally(execPath2, pnpmHomeDir) {
188779
188779
  prefix: process.cwd()
188780
188780
  });
188781
188781
  try {
188782
+ const binDir = path158.join(pnpmHomeDir, "bin");
188782
188783
  const { status, error } = spawnSync3(execPath2, ["add", "-g", `file:${execDir}`], {
188783
188784
  stdio: "inherit",
188784
188785
  env: {
188785
188786
  ...process.env,
188786
- PNPM_HOME: pnpmHomeDir
188787
+ PNPM_HOME: pnpmHomeDir,
188788
+ [import_path_name4.default]: `${binDir}${path158.delimiter}${process.env[import_path_name4.default] ?? ""}`
188787
188789
  }
188788
188790
  });
188789
188791
  if (error)
@@ -188873,7 +188875,7 @@ function reportConfigChange(configReport) {
188873
188875
  return `Configuration already up to date in ${configReport.path}`;
188874
188876
  }
188875
188877
  }
188876
- var import_os_env, rcOptionsTypes28, cliOptionsTypes27, shorthands11, commandNames28;
188878
+ var import_os_env, import_path_name4, rcOptionsTypes28, cliOptionsTypes27, shorthands11, commandNames28;
188877
188879
  var init_setup2 = __esm({
188878
188880
  "../engine/pm/commands/lib/setup/setup.js"() {
188879
188881
  "use strict";
@@ -188881,6 +188883,7 @@ var init_setup2 = __esm({
188881
188883
  init_lib27();
188882
188884
  init_lib();
188883
188885
  import_os_env = __toESM(require_dist19(), 1);
188886
+ import_path_name4 = __toESM(require_path_name(), 1);
188884
188887
  init_lib89();
188885
188888
  rcOptionsTypes28 = () => ({});
188886
188889
  cliOptionsTypes27 = () => ({
@@ -189212,16 +189215,16 @@ var init_lib149 = __esm({
189212
189215
  import path160 from "node:path";
189213
189216
  function prependDirsToPath(prependDirs, env3 = process.env) {
189214
189217
  const prepend = prependDirs.join(path160.delimiter);
189215
- const envPath = env3[import_path_name4.default];
189218
+ const envPath = env3[import_path_name5.default];
189216
189219
  if (envPath != null && (envPath === prepend || envPath.startsWith(`${prepend}${path160.delimiter}`))) {
189217
189220
  return {
189218
- name: import_path_name4.default,
189221
+ name: import_path_name5.default,
189219
189222
  value: envPath,
189220
189223
  updated: false
189221
189224
  };
189222
189225
  }
189223
189226
  return {
189224
- name: import_path_name4.default,
189227
+ name: import_path_name5.default,
189225
189228
  value: [
189226
189229
  prepend,
189227
189230
  ...envPath != null ? [envPath] : []
@@ -189229,11 +189232,11 @@ function prependDirsToPath(prependDirs, env3 = process.env) {
189229
189232
  updated: true
189230
189233
  };
189231
189234
  }
189232
- var import_path_name4;
189235
+ var import_path_name5;
189233
189236
  var init_lib150 = __esm({
189234
189237
  "../shell/path/lib/index.js"() {
189235
189238
  "use strict";
189236
- import_path_name4 = __toESM(require_path_name(), 1);
189239
+ import_path_name5 = __toESM(require_path_name(), 1);
189237
189240
  }
189238
189241
  });
189239
189242
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/exe",
3
- "version": "11.0.0-beta.1",
3
+ "version": "11.0.0-beta.2",
4
4
  "description": "Fast, disk space efficient package manager",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -24,17 +24,17 @@
24
24
  "@reflink/reflink": "0.1.19"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@pnpm/linux-arm64": "11.0.0-beta.1",
28
- "@pnpm/linux-x64": "11.0.0-beta.1",
29
- "@pnpm/macos-x64": "11.0.0-beta.1",
30
- "@pnpm/macos-arm64": "11.0.0-beta.1",
31
- "@pnpm/win-arm64": "11.0.0-beta.1",
32
- "@pnpm/win-x64": "11.0.0-beta.1"
27
+ "@pnpm/linux-arm64": "11.0.0-beta.2",
28
+ "@pnpm/linux-x64": "11.0.0-beta.2",
29
+ "@pnpm/macos-arm64": "11.0.0-beta.2",
30
+ "@pnpm/win-x64": "11.0.0-beta.2",
31
+ "@pnpm/win-arm64": "11.0.0-beta.2",
32
+ "@pnpm/macos-x64": "11.0.0-beta.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "execa": "npm:safe-execa@0.3.0",
36
36
  "tar": "^7.5.10",
37
- "@pnpm/exe": "11.0.0-beta.1"
37
+ "@pnpm/exe": "11.0.0-beta.2"
38
38
  },
39
39
  "preferGlobal": true,
40
40
  "publishConfig": {