@storm-software/pnpm-tools 0.6.153 → 0.6.154

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/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pnpm Tools
4
4
 
5
+ ## [0.6.153](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.153) (04/01/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **pnpm-tools:** Resolve issue with invalid `version` import ([21c678e98](https://github.com/storm-software/storm-ops/commit/21c678e98))
10
+
11
+ ### Bug Fixes
12
+
13
+ - **pnpm-tools:** Resolve issue with bundled dependencies ([49d923a2d](https://github.com/storm-software/storm-ops/commit/49d923a2d))
14
+
15
+ ### Updated Dependencies
16
+
17
+ - Updated **package-constants** to **v0.1.3**
18
+ - Updated **testing-tools** to **v1.119.143**
19
+ - Updated **config-tools** to **v1.189.68**
20
+ - Updated **npm-tools** to **v0.6.106**
21
+ - Updated **config** to **v1.137.22**
22
+
5
23
  ## [0.6.152](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.152) (04/01/2026)
6
24
 
7
25
  ### Miscellaneous
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.6.150-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.6.152-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/pnpm.cjs CHANGED
@@ -2181,7 +2181,7 @@ var import_commander = require("commander");
2181
2181
  // package.json
2182
2182
  var package_default = {
2183
2183
  name: "@storm-software/pnpm-tools",
2184
- version: "0.6.152",
2184
+ version: "0.6.153",
2185
2185
  private: false,
2186
2186
  description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2187
2187
  repository: {
@@ -2451,42 +2451,56 @@ async function upgradeCatalog(catalog, packageName, options = {}) {
2451
2451
  // src/cli/index.ts
2452
2452
  var _config = {};
2453
2453
  function createProgram(config) {
2454
- _config = config;
2455
- writeInfo(
2456
- `${brandIcon(_config)} Running the \`storm-pnpm\` command-line application`,
2457
- config
2458
- );
2459
- const root = findWorkspaceRootSafe(_config.workspaceRoot || process.cwd());
2460
- process.env.STORM_WORKSPACE_ROOT ??= root;
2461
- process.env.NX_WORKSPACE_ROOT_PATH ??= root;
2462
- if (root) {
2463
- process.chdir(root);
2464
- }
2465
- const program = new import_commander.Command("storm-pnpm");
2466
- program.version(package_default.version, "-v --version", "display CLI version");
2467
- program.command("update").description("Update pnpm catalog dependency package version.").argument(
2468
- "<packages...>",
2469
- "The package name/pattern to update the version for (e.g., @storm-software/config or @storm-software/ or @storm-software/*).",
2470
- []
2471
- ).option(
2472
- "-t, --tag <string>",
2473
- `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`,
2474
- "latest"
2475
- ).option(
2476
- "-i, --install",
2477
- "Whether to install the package after updating the version.",
2478
- false
2479
- ).option("--all", "Whether to update all Storm Software packages.", false).option(
2480
- "-p, --prefix <string>",
2481
- `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
2454
+ try {
2455
+ _config = config;
2456
+ writeInfo(
2457
+ `${brandIcon(_config)} Running the \`storm-pnpm\` command-line application`,
2458
+ config
2459
+ );
2460
+ const root = findWorkspaceRootSafe(_config.workspaceRoot || process.cwd());
2461
+ process.env.STORM_WORKSPACE_ROOT ??= root;
2462
+ process.env.NX_WORKSPACE_ROOT_PATH ??= root;
2463
+ if (root) {
2464
+ process.chdir(root);
2465
+ }
2466
+ const program = new import_commander.Command("storm-pnpm");
2467
+ program.version(
2468
+ package_default?.version || "1.0.0",
2469
+ "-v --version",
2470
+ "display CLI version"
2471
+ );
2472
+ program.command("update").description("Update pnpm catalog dependency package version.").argument(
2473
+ "<packages...>",
2474
+ "The package name/pattern to update the version for (e.g., @storm-software/config or @storm-software/ or @storm-software/*).",
2475
+ []
2476
+ ).option(
2477
+ "-t, --tag <string>",
2478
+ `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`,
2479
+ "latest"
2480
+ ).option(
2481
+ "-i, --install",
2482
+ "Whether to install the package after updating the version.",
2483
+ false
2484
+ ).option("--all", "Whether to update all Storm Software packages.", false).option(
2485
+ "-p, --prefix <string>",
2486
+ `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
2482
2487
  - Caret (^): The default prefix. It allows updates to the latest minor or patch version while staying within the same major version. Example: \u201C^1.2.3" allows updates to 1.3.0 or 1.2.4, but not 2.0.0.
2483
2488
  - Tilde (~): Allows updates to the latest patch version while staying within the same minor version. Example: \u201C~1.2.3" allows updates to 1.2.4 but not 1.3.0.
2484
2489
  - Exact (no prefix): Locks the dependency to a specific version. No updates are allowed. Example: 1.2.3 will only use 1.2.3.
2485
2490
  - Greater/Less Than (>, <, >=, <=): Specifies a range of acceptable versions. Example: \u201C>=1.2.3 <2.0.0" allows any version from 1.2.3 to 1.9.x.
2486
2491
  - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`,
2487
- "^"
2488
- ).action(updateAction);
2489
- return program;
2492
+ "^"
2493
+ ).action(updateAction);
2494
+ return program;
2495
+ } catch (error) {
2496
+ writeFatal(
2497
+ `A fatal error occurred while running the Storm pnpm CLI program:
2498
+
2499
+ ${error?.message}`,
2500
+ _config
2501
+ );
2502
+ throw new Error(error?.message, { cause: error });
2503
+ }
2490
2504
  }
2491
2505
  async function updateAction(packages = [], {
2492
2506
  tag,
@@ -2579,7 +2593,7 @@ ${JSON.stringify(
2579
2593
  )}`,
2580
2594
  _config
2581
2595
  );
2582
- throw new Error(error.message, { cause: error });
2596
+ throw new Error(error?.message, { cause: error });
2583
2597
  }
2584
2598
  }
2585
2599
 
package/bin/pnpm.js CHANGED
@@ -2159,7 +2159,7 @@ import { Command } from "commander";
2159
2159
  // package.json
2160
2160
  var package_default = {
2161
2161
  name: "@storm-software/pnpm-tools",
2162
- version: "0.6.152",
2162
+ version: "0.6.153",
2163
2163
  private: false,
2164
2164
  description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2165
2165
  repository: {
@@ -2429,42 +2429,56 @@ async function upgradeCatalog(catalog, packageName, options = {}) {
2429
2429
  // src/cli/index.ts
2430
2430
  var _config = {};
2431
2431
  function createProgram(config) {
2432
- _config = config;
2433
- writeInfo(
2434
- `${brandIcon(_config)} Running the \`storm-pnpm\` command-line application`,
2435
- config
2436
- );
2437
- const root = findWorkspaceRootSafe(_config.workspaceRoot || process.cwd());
2438
- process.env.STORM_WORKSPACE_ROOT ??= root;
2439
- process.env.NX_WORKSPACE_ROOT_PATH ??= root;
2440
- if (root) {
2441
- process.chdir(root);
2442
- }
2443
- const program = new Command("storm-pnpm");
2444
- program.version(package_default.version, "-v --version", "display CLI version");
2445
- program.command("update").description("Update pnpm catalog dependency package version.").argument(
2446
- "<packages...>",
2447
- "The package name/pattern to update the version for (e.g., @storm-software/config or @storm-software/ or @storm-software/*).",
2448
- []
2449
- ).option(
2450
- "-t, --tag <string>",
2451
- `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`,
2452
- "latest"
2453
- ).option(
2454
- "-i, --install",
2455
- "Whether to install the package after updating the version.",
2456
- false
2457
- ).option("--all", "Whether to update all Storm Software packages.", false).option(
2458
- "-p, --prefix <string>",
2459
- `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
2432
+ try {
2433
+ _config = config;
2434
+ writeInfo(
2435
+ `${brandIcon(_config)} Running the \`storm-pnpm\` command-line application`,
2436
+ config
2437
+ );
2438
+ const root = findWorkspaceRootSafe(_config.workspaceRoot || process.cwd());
2439
+ process.env.STORM_WORKSPACE_ROOT ??= root;
2440
+ process.env.NX_WORKSPACE_ROOT_PATH ??= root;
2441
+ if (root) {
2442
+ process.chdir(root);
2443
+ }
2444
+ const program = new Command("storm-pnpm");
2445
+ program.version(
2446
+ package_default?.version || "1.0.0",
2447
+ "-v --version",
2448
+ "display CLI version"
2449
+ );
2450
+ program.command("update").description("Update pnpm catalog dependency package version.").argument(
2451
+ "<packages...>",
2452
+ "The package name/pattern to update the version for (e.g., @storm-software/config or @storm-software/ or @storm-software/*).",
2453
+ []
2454
+ ).option(
2455
+ "-t, --tag <string>",
2456
+ `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`,
2457
+ "latest"
2458
+ ).option(
2459
+ "-i, --install",
2460
+ "Whether to install the package after updating the version.",
2461
+ false
2462
+ ).option("--all", "Whether to update all Storm Software packages.", false).option(
2463
+ "-p, --prefix <string>",
2464
+ `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
2460
2465
  - Caret (^): The default prefix. It allows updates to the latest minor or patch version while staying within the same major version. Example: \u201C^1.2.3" allows updates to 1.3.0 or 1.2.4, but not 2.0.0.
2461
2466
  - Tilde (~): Allows updates to the latest patch version while staying within the same minor version. Example: \u201C~1.2.3" allows updates to 1.2.4 but not 1.3.0.
2462
2467
  - Exact (no prefix): Locks the dependency to a specific version. No updates are allowed. Example: 1.2.3 will only use 1.2.3.
2463
2468
  - Greater/Less Than (>, <, >=, <=): Specifies a range of acceptable versions. Example: \u201C>=1.2.3 <2.0.0" allows any version from 1.2.3 to 1.9.x.
2464
2469
  - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`,
2465
- "^"
2466
- ).action(updateAction);
2467
- return program;
2470
+ "^"
2471
+ ).action(updateAction);
2472
+ return program;
2473
+ } catch (error) {
2474
+ writeFatal(
2475
+ `A fatal error occurred while running the Storm pnpm CLI program:
2476
+
2477
+ ${error?.message}`,
2478
+ _config
2479
+ );
2480
+ throw new Error(error?.message, { cause: error });
2481
+ }
2468
2482
  }
2469
2483
  async function updateAction(packages = [], {
2470
2484
  tag,
@@ -2557,7 +2571,7 @@ ${JSON.stringify(
2557
2571
  )}`,
2558
2572
  _config
2559
2573
  );
2560
- throw new Error(error.message, { cause: error });
2574
+ throw new Error(error?.message, { cause: error });
2561
2575
  }
2562
2576
  }
2563
2577
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/pnpm-tools",
3
- "version": "0.6.153",
3
+ "version": "0.6.154",
4
4
  "private": false,
5
5
  "description": "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
6
6
  "repository": {
@@ -73,10 +73,10 @@
73
73
  "storm-pnpm-esm": "./bin/pnpm.js"
74
74
  },
75
75
  "dependencies": {
76
- "@storm-software/config": "^1.137.22",
77
- "@storm-software/config-tools": "^1.189.68",
78
- "@storm-software/npm-tools": "^0.6.106",
79
- "@storm-software/package-constants": "^0.1.3",
76
+ "@storm-software/config": "^1.137.23",
77
+ "@storm-software/config-tools": "^1.189.69",
78
+ "@storm-software/npm-tools": "^0.6.107",
79
+ "@storm-software/package-constants": "^0.1.4",
80
80
  "commander": "^12.1.0",
81
81
  "defu": "6.1.4",
82
82
  "prettier": "^3.8.1",
@@ -90,5 +90,5 @@
90
90
  "tsup": "8.4.0"
91
91
  },
92
92
  "publishConfig": { "access": "public" },
93
- "gitHead": "d654fe249bcca8d4ff06a2f23c26d188151db704"
93
+ "gitHead": "d3b969195de1255aafd247f7521707b02d8e1940"
94
94
  }