pxnpm 4.1.12 → 4.1.14

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/dist/pnpm.cjs CHANGED
@@ -13500,7 +13500,7 @@ var require_lib7 = __commonJS({
13500
13500
  exports2.LOCKFILE_VERSION_V6 = "6.0";
13501
13501
  exports2.ENGINE_NAME = `${process.platform}-${process.arch}-node-${process.version.split(".")[0]}`;
13502
13502
  exports2.LAYOUT_VERSION = 5;
13503
- exports2.WORKSPACE_MANIFEST_FILENAME = "pnpm-workspace.yaml";
13503
+ exports2.WORKSPACE_MANIFEST_FILENAME = "pxnpm-workspace.yaml";
13504
13504
  }
13505
13505
  });
13506
13506
 
@@ -15077,7 +15077,7 @@ var require_util = __commonJS({
15077
15077
  }
15078
15078
  try {
15079
15079
  const files = fs.readdirSync(name2);
15080
- if (files.includes("node_modules") || files.includes("package.json") || files.includes("package.json5") || files.includes("package.yaml") || files.includes("pnpm-workspace.yaml")) {
15080
+ if (files.includes("node_modules") || files.includes("package.json") || files.includes("package.json5") || files.includes("package.yaml") || files.includes("pxnpm-workspace.yaml")) {
15081
15081
  return name2;
15082
15082
  }
15083
15083
  const dirname = path2.dirname(name2);
@@ -26480,7 +26480,7 @@ var require_dirs = __commonJS({
26480
26480
  if (opts.env.LOCALAPPDATA) {
26481
26481
  return path_1.default.join(opts.env.LOCALAPPDATA, "pnpm-cache");
26482
26482
  }
26483
- return path_1.default.join(os_1.default.homedir(), ".pnpm-cache");
26483
+ return path_1.default.join(os_1.default.homedir(), ".pxnpm-cache");
26484
26484
  }
26485
26485
  exports2.getCacheDir = getCacheDir;
26486
26486
  function getStateDir(opts) {
@@ -26493,7 +26493,7 @@ var require_dirs = __commonJS({
26493
26493
  if (opts.env.LOCALAPPDATA) {
26494
26494
  return path_1.default.join(opts.env.LOCALAPPDATA, "pnpm-state");
26495
26495
  }
26496
- return path_1.default.join(os_1.default.homedir(), ".pnpm-state");
26496
+ return path_1.default.join(os_1.default.homedir(), ".pxnpm-state");
26497
26497
  }
26498
26498
  exports2.getStateDir = getStateDir;
26499
26499
  function getDataDir(opts) {
@@ -28169,7 +28169,7 @@ var require_lib21 = __commonJS({
28169
28169
  pnpmConfig.rootProjectManifestDir = pnpmConfig.lockfileDir ?? pnpmConfig.workspaceDir ?? pnpmConfig.dir;
28170
28170
  pnpmConfig.rootProjectManifest = await (0, read_project_manifest_1.safeReadProjectManifestOnly)(pnpmConfig.rootProjectManifestDir) ?? void 0;
28171
28171
  if (pnpmConfig.rootProjectManifest?.workspaces?.length && !pnpmConfig.workspaceDir) {
28172
- warnings.push('The "workspaces" field in package.json is not supported by pnpm. Create a "pnpm-workspace.yaml" file instead.');
28172
+ warnings.push('The "workspaces" field in package.json is not supported by pnpm. Create a "pxnpm-workspace.yaml" file instead.');
28173
28173
  }
28174
28174
  pnpmConfig.failedToLoadBuiltInConfig = failedToLoadBuiltInConfig;
28175
28175
  return { config: pnpmConfig, warnings };
@@ -76207,7 +76207,7 @@ var require_lib48 = __commonJS({
76207
76207
  exports2.LOCKFILE_VERSION_V6 = "6.0";
76208
76208
  exports2.ENGINE_NAME = `${process.platform}-${process.arch}-node-${process.version.split(".")[0]}`;
76209
76209
  exports2.LAYOUT_VERSION = 5;
76210
- exports2.WORKSPACE_MANIFEST_FILENAME = "pnpm-workspace.yaml";
76210
+ exports2.WORKSPACE_MANIFEST_FILENAME = "pxnpm-workspace.yaml";
76211
76211
  }
76212
76212
  });
76213
76213
 
@@ -102667,7 +102667,7 @@ var require_lib61 = __commonJS({
102667
102667
  exports2.LOCKFILE_VERSION_V6 = "6.0";
102668
102668
  exports2.ENGINE_NAME = `${process.platform}-${process.arch}-node-${process.version.split(".")[0]}`;
102669
102669
  exports2.LAYOUT_VERSION = 5;
102670
- exports2.WORKSPACE_MANIFEST_FILENAME = "pnpm-workspace.yaml";
102670
+ exports2.WORKSPACE_MANIFEST_FILENAME = "pxnpm-workspace.yaml";
102671
102671
  }
102672
102672
  });
102673
102673
 
@@ -112101,7 +112101,7 @@ var require_lib76 = __commonJS({
112101
112101
  if (dirsAreEqual(pkgRoot, mountpoint)) {
112102
112102
  return storeInHomeDir;
112103
112103
  }
112104
- return path_1.default.join(mountpoint, ".pnpm-store", STORE_VERSION);
112104
+ return path_1.default.join(mountpoint, ".pxnpm-store", STORE_VERSION);
112105
112105
  } catch (err) {
112106
112106
  return storeInHomeDir;
112107
112107
  } finally {
@@ -188371,12 +188371,12 @@ var require_lib151 = __commonJS({
188371
188371
  var error_1 = require_lib8();
188372
188372
  var find_up_1 = __importDefault3(require_find_up());
188373
188373
  var WORKSPACE_DIR_ENV_VAR = "NPM_CONFIG_WORKSPACE_DIR";
188374
- var WORKSPACE_MANIFEST_FILENAME = "pnpm-workspace.yaml";
188374
+ var WORKSPACE_MANIFEST_FILENAME = "pxnpm-workspace.yaml";
188375
188375
  async function findWorkspaceDir(cwd) {
188376
188376
  const workspaceManifestDirEnvVar = process.env[WORKSPACE_DIR_ENV_VAR] ?? process.env[WORKSPACE_DIR_ENV_VAR.toLowerCase()];
188377
- const workspaceManifestLocation = workspaceManifestDirEnvVar ? path_1.default.join(workspaceManifestDirEnvVar, "pnpm-workspace.yaml") : await (0, find_up_1.default)([WORKSPACE_MANIFEST_FILENAME, "pnpm-workspace.yml"], { cwd: await getRealPath(cwd) });
188377
+ const workspaceManifestLocation = workspaceManifestDirEnvVar ? path_1.default.join(workspaceManifestDirEnvVar, "pxnpm-workspace.yaml") : await (0, find_up_1.default)([WORKSPACE_MANIFEST_FILENAME, "pnpm-workspace.yml"], { cwd: await getRealPath(cwd) });
188378
188378
  if (workspaceManifestLocation?.endsWith(".yml")) {
188379
- throw new error_1.PnpmError("BAD_WORKSPACE_MANIFEST_NAME", `The workspace manifest file should be named "pnpm-workspace.yaml". File found: ${workspaceManifestLocation}`);
188379
+ throw new error_1.PnpmError("BAD_WORKSPACE_MANIFEST_NAME", `The workspace manifest file should be named "pxnpm-workspace.yaml". File found: ${workspaceManifestLocation}`);
188380
188380
  }
188381
188381
  return workspaceManifestLocation && path_1.default.dirname(workspaceManifestLocation);
188382
188382
  }
@@ -216307,7 +216307,7 @@ var require_recursive5 = __commonJS({
216307
216307
  exports2.commandNames = ["recursive", "multi", "m"];
216308
216308
  function help() {
216309
216309
  return (0, render_help_1.default)({
216310
- description: "Concurrently performs some actions in all subdirectories with a `package.json` (excluding node_modules). A `pnpm-workspace.yaml` file may be used to control what directories are searched for packages.",
216310
+ description: "Concurrently performs some actions in all subdirectories with a `package.json` (excluding node_modules). A `pxnpm-workspace.yaml` file may be used to control what directories are searched for packages.",
216311
216311
  descriptionLists: [
216312
216312
  {
216313
216313
  title: "Commands",
package/dist/pnpmrc CHANGED
@@ -7,5 +7,3 @@ strict-peer-dependencies=true
7
7
  ignore-workspace-root-check=true
8
8
  virtual-store-dir=node_modules/.pxnpm
9
9
  preinstall=PUPPETEER_SKIP_DOWNLOAD=true
10
- store-dir=${USERPROFILE:-${HOME}}/.pxnpm/store
11
- cache-dir=${USERPROFILE:-${HOME}}/.pxnpm/cache
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pxnpm",
3
3
  "description": "Fast, disk space efficient package manager",
4
- "version": "4.1.12",
4
+ "version": "4.1.14",
5
5
  "bin": {
6
6
  "pxnpm": "bin/pxnpm.cjs",
7
7
  "pxnpx": "bin/pxnpx.cjs",