@pnpm/exe 11.0.0-alpha.8 → 11.0.0-alpha.9

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 +16 -12
  2. package/package.json +8 -8
package/dist/pnpm.mjs CHANGED
@@ -1287,7 +1287,7 @@ var init_lib2 = __esm({
1287
1287
  "use strict";
1288
1288
  defaultManifest = {
1289
1289
  name: true ? "pnpm" : "pnpm",
1290
- version: true ? "11.0.0-alpha.8" : "0.0.0"
1290
+ version: true ? "11.0.0-alpha.9" : "0.0.0"
1291
1291
  };
1292
1292
  pkgJson = defaultManifest;
1293
1293
  packageManager = {
@@ -20881,7 +20881,6 @@ var init_configFileKey = __esm({
20881
20881
  "trust-policy",
20882
20882
  "trust-policy-exclude",
20883
20883
  "trust-policy-ignore-after",
20884
- "use-node-version",
20885
20884
  "use-stderr",
20886
20885
  "verify-deps-before-run",
20887
20886
  "verify-store-integrity",
@@ -21741,7 +21740,6 @@ var init_types = __esm({
21741
21740
  "trust-policy-exclude": [String, Array],
21742
21741
  "trust-policy-ignore-after": Number,
21743
21742
  "use-beta-cli": Boolean,
21744
- "use-node-version": String,
21745
21743
  "use-stderr": Boolean,
21746
21744
  "verify-deps-before-run": Boolean,
21747
21745
  "verify-store-integrity": Boolean,
@@ -102266,9 +102264,9 @@ var require_cmd_extension = __commonJS({
102266
102264
  }
102267
102265
  });
102268
102266
 
102269
- // ../node_modules/.pnpm/@zkochan+cmd-shim@7.0.0/node_modules/@zkochan/cmd-shim/index.js
102267
+ // ../node_modules/.pnpm/@zkochan+cmd-shim@8.0.0/node_modules/@zkochan/cmd-shim/index.js
102270
102268
  var require_cmd_shim = __commonJS({
102271
- "../node_modules/.pnpm/@zkochan+cmd-shim@7.0.0/node_modules/@zkochan/cmd-shim/index.js"(exports2, module2) {
102269
+ "../node_modules/.pnpm/@zkochan+cmd-shim@8.0.0/node_modules/@zkochan/cmd-shim/index.js"(exports2, module2) {
102272
102270
  "use strict";
102273
102271
  cmdShim3.ifExists = cmdShimIfExists;
102274
102272
  var util_1 = __require("util");
@@ -102426,8 +102424,11 @@ var require_cmd_shim = __commonJS({
102426
102424
  `;
102427
102425
  }
102428
102426
  if (longProg) {
102427
+ const longProgCmd = `"%~dp0\\${opts2.prog}${CMD_EXTENSION2}"`;
102429
102428
  cmd += `@IF EXIST ${longProg} (\r
102430
102429
  ${longProg} ${args} ${target2} ${progArgs}%*\r
102430
+ ) ELSE IF EXIST ${longProgCmd} (\r
102431
+ ${longProgCmd} ${args} ${target2} ${progArgs}%*\r
102431
102432
  ) ELSE (\r
102432
102433
  @SET PATHEXT=%PATHEXT:;.JS;=;%\r
102433
102434
  ${prog} ${args} ${target2} ${progArgs}%*\r
@@ -102557,6 +102558,7 @@ $env:PATH="$prepend_path$pathsep$env:PATH"
102557
102558
  `;
102558
102559
  }
102559
102560
  if (pwshLongProg) {
102561
+ const pwshLongProgCmd = `"$basedir/${opts2.prog}${CMD_EXTENSION2}"`;
102560
102562
  pwsh += `
102561
102563
  $ret=0
102562
102564
  if (Test-Path ${pwshLongProg}) {
@@ -102567,6 +102569,14 @@ if (Test-Path ${pwshLongProg}) {
102567
102569
  & ${pwshLongProg} ${args} ${shTarget} ${progArgs}$args
102568
102570
  }
102569
102571
  $ret=$LASTEXITCODE
102572
+ } elseif (Test-Path ${pwshLongProgCmd}) {
102573
+ # Support pipeline input
102574
+ if ($MyInvocation.ExpectingInput) {
102575
+ $input | & ${pwshLongProgCmd} ${args} ${shTarget} ${progArgs}$args
102576
+ } else {
102577
+ & ${pwshLongProgCmd} ${args} ${shTarget} ${progArgs}$args
102578
+ }
102579
+ $ret=$LASTEXITCODE
102570
102580
  } else {
102571
102581
  # Support pipeline input
102572
102582
  if ($MyInvocation.ExpectingInput) {
@@ -221097,11 +221107,7 @@ async function handler36(_opts, params) {
221097
221107
  return handler35(_opts, [createPackageName, ...packageArgs]);
221098
221108
  }
221099
221109
  function rcOptionsTypes36() {
221100
- return {
221101
- ...pick_default([
221102
- "use-node-version"
221103
- ], types)
221104
- };
221110
+ return {};
221105
221111
  }
221106
221112
  function cliOptionsTypes35() {
221107
221113
  return {
@@ -221162,9 +221168,7 @@ var init_create = __esm({
221162
221168
  "use strict";
221163
221169
  import_render_help33 = __toESM(require_lib27(), 1);
221164
221170
  init_lib80();
221165
- init_lib19();
221166
221171
  init_lib4();
221167
- init_es();
221168
221172
  init_dlx();
221169
221173
  commandNames36 = ["create"];
221170
221174
  CREATE_PREFIX = "create-";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/exe",
3
- "version": "11.0.0-alpha.8",
3
+ "version": "11.0.0-alpha.9",
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-alpha.8",
28
- "@pnpm/linux-x64": "11.0.0-alpha.8",
29
- "@pnpm/macos-arm64": "11.0.0-alpha.8",
30
- "@pnpm/win-arm64": "11.0.0-alpha.8",
31
- "@pnpm/win-x64": "11.0.0-alpha.8",
32
- "@pnpm/macos-x64": "11.0.0-alpha.8"
27
+ "@pnpm/linux-arm64": "11.0.0-alpha.9",
28
+ "@pnpm/macos-arm64": "11.0.0-alpha.9",
29
+ "@pnpm/macos-x64": "11.0.0-alpha.9",
30
+ "@pnpm/win-arm64": "11.0.0-alpha.9",
31
+ "@pnpm/win-x64": "11.0.0-alpha.9",
32
+ "@pnpm/linux-x64": "11.0.0-alpha.9"
33
33
  },
34
34
  "devDependencies": {
35
35
  "execa": "npm:safe-execa@0.2.0",
36
36
  "tar": "^7.5.7",
37
- "@pnpm/exe": "11.0.0-alpha.8"
37
+ "@pnpm/exe": "11.0.0-alpha.9"
38
38
  },
39
39
  "preferGlobal": true,
40
40
  "publishConfig": {