@plexus-ms/cli 0.126.0 → 0.127.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.
Files changed (2) hide show
  1. package/dist/plx.js +4 -1
  2. package/package.json +2 -2
package/dist/plx.js CHANGED
@@ -11341,7 +11341,7 @@ async function templateFacet(ctx, cwd) {
11341
11341
 
11342
11342
  // ../lib/dist/standard-index.json
11343
11343
  var standard_index_default = {
11344
- version: "0.126.0",
11344
+ version: "0.127.0",
11345
11345
  citable: [
11346
11346
  "\xA7 1 PLX",
11347
11347
  "\xA7 1.1 PLX",
@@ -12977,6 +12977,9 @@ async function readUmbrella(ctx, dir, only) {
12977
12977
  continue;
12978
12978
  repos2.push(await readRepo2(ctx, dir, entry.name, await ctx.readFile(join9(dir, entry.name, WORKSPACE))));
12979
12979
  }
12980
+ const paths = (only ?? []).filter((name) => name.includes("/"));
12981
+ if (paths.length > 0)
12982
+ throw new UsageError(`--only takes the names of repos directly under the directory, not paths (${paths.join(", ")}); pass the directory that holds the clones as the argument`);
12980
12983
  const missing = (only ?? []).filter((name) => !repos2.some((r) => r.name === name));
12981
12984
  if (missing.length > 0)
12982
12985
  throw new UsageError(`no pnpm workspace in a git repo at ${missing.join(", ")} under ${dir}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexus-ms/cli",
3
- "version": "0.126.0",
3
+ "version": "0.127.0",
4
4
  "description": "plx, the Plexus command-line tool: a single-script adapter over @plexus-ms/lib",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@inquirer/prompts": "^8.8.0",
27
- "@plexus-ms/lib": "0.126.0",
27
+ "@plexus-ms/lib": "0.127.0",
28
28
  "commander": "^15.1.0"
29
29
  },
30
30
  "devDependencies": {