@storm-software/pnpm-tools 0.6.156 → 0.7.1

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,42 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pnpm Tools
4
4
 
5
+ ## [0.7.0](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.0) (04/01/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerated `README.md` files ([9611f84ed](https://github.com/storm-software/storm-ops/commit/9611f84ed))
10
+
11
+ ### Features
12
+
13
+ - **pnpm-tools:** Added `nx`, `internal`, and `pnpm-plugin` flags to CLI ([d7c05d042](https://github.com/storm-software/storm-ops/commit/d7c05d042))
14
+
15
+ ### Updated Dependencies
16
+
17
+ - Updated **package-constants** to **v0.1.7**
18
+ - Updated **testing-tools** to **v1.119.147**
19
+ - Updated **config-tools** to **v1.189.72**
20
+ - Updated **npm-tools** to **v0.6.110**
21
+ - Updated **config** to **v1.137.26**
22
+
23
+ ## [0.6.156](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.156) (04/01/2026)
24
+
25
+ ### Miscellaneous
26
+
27
+ - **monorepo:** Regenerate `README.md` files ([020581272](https://github.com/storm-software/storm-ops/commit/020581272))
28
+
29
+ ### Bug Fixes
30
+
31
+ - **pnpm-tools:** Ensure `packages` argument is marked as optional ([96b223829](https://github.com/storm-software/storm-ops/commit/96b223829))
32
+
33
+ ### Updated Dependencies
34
+
35
+ - Updated **package-constants** to **v0.1.6**
36
+ - Updated **testing-tools** to **v1.119.146**
37
+ - Updated **config-tools** to **v1.189.71**
38
+ - Updated **npm-tools** to **v0.6.109**
39
+ - Updated **config** to **v1.137.25**
40
+
5
41
  ## [0.6.155](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.155) (04/01/2026)
6
42
 
7
43
  ### 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.154-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.156-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.155",
2184
+ version: "0.7.0",
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: {
@@ -2480,7 +2480,7 @@ function createProgram(config) {
2480
2480
  "-i, --install",
2481
2481
  "Whether to install the package after updating the version.",
2482
2482
  false
2483
- ).option("--all", "Whether to update all Storm Software packages.", false).option(
2483
+ ).option(
2484
2484
  "-p, --prefix <string>",
2485
2485
  `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
2486
2486
  - 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.
@@ -2489,7 +2489,15 @@ function createProgram(config) {
2489
2489
  - 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.
2490
2490
  - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`,
2491
2491
  "^"
2492
- ).action(updateAction);
2492
+ ).option(
2493
+ "--internal",
2494
+ "Whether to update all Storm Software packages.",
2495
+ false
2496
+ ).option("--nx", "Whether to update Nx packages.", false).option(
2497
+ "--pnpm-plugin",
2498
+ "Whether to upgrade the Storm Software pnpm plugin.",
2499
+ false
2500
+ ).option("--all", "Whether to update all packages.", false).action(updateAction);
2493
2501
  return program;
2494
2502
  } catch (error) {
2495
2503
  writeFatal(
@@ -2503,8 +2511,16 @@ ${error?.message}`,
2503
2511
  }
2504
2512
  async function updateAction(packages, options) {
2505
2513
  try {
2506
- const { tag, install = false, all = false, prefix = "^" } = options || {};
2507
- const pkgs = (packages && Array.isArray(packages) ? packages : []).concat(all ? [...INTERNAL_PACKAGES] : []).filter(Boolean).map((pkg) => pkg.trim().replaceAll("*", ""));
2514
+ const {
2515
+ tag,
2516
+ install = false,
2517
+ all = false,
2518
+ internal = all,
2519
+ nx = all,
2520
+ pnpmPlugin = all,
2521
+ prefix = "^"
2522
+ } = options || {};
2523
+ const pkgs = (packages && Array.isArray(packages) ? packages : []).concat(internal ? [...INTERNAL_PACKAGES] : []).filter(Boolean).map((pkg) => pkg.trim().replaceAll("*", ""));
2508
2524
  writeInfo(
2509
2525
  `${brandIcon(_config)} Preparing to update the package version for ${pkgs.join(", ")}.`,
2510
2526
  _config
@@ -2548,6 +2564,33 @@ async function updateAction(packages, options) {
2548
2564
  }
2549
2565
  }
2550
2566
  }
2567
+ if (nx) {
2568
+ writeDebug(
2569
+ "Running `nx migrate latest` to update Nx packages to their latest versions",
2570
+ _config
2571
+ );
2572
+ const proc = await runAsync(_config, "pnpm nx migrate latest");
2573
+ proc.stdout?.on("data", (data) => {
2574
+ console.log(data.toString());
2575
+ });
2576
+ packagesFound = true;
2577
+ packagesUpdated = true;
2578
+ }
2579
+ if (pnpmPlugin) {
2580
+ writeDebug(
2581
+ "Running `pnpm add --config pnpm-plugin-storm-software` to update the Storm Software pnpm plugin to its latest version",
2582
+ _config
2583
+ );
2584
+ const proc = await runAsync(
2585
+ _config,
2586
+ "pnpm add --config pnpm-plugin-storm-software"
2587
+ );
2588
+ proc.stdout?.on("data", (data) => {
2589
+ console.log(data.toString());
2590
+ });
2591
+ packagesFound = true;
2592
+ packagesUpdated = true;
2593
+ }
2551
2594
  if (!packagesFound) {
2552
2595
  writeWarning(
2553
2596
  `No packages were updated since no matching packages were found in the catalog.`,
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.155",
2162
+ version: "0.7.0",
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: {
@@ -2458,7 +2458,7 @@ function createProgram(config) {
2458
2458
  "-i, --install",
2459
2459
  "Whether to install the package after updating the version.",
2460
2460
  false
2461
- ).option("--all", "Whether to update all Storm Software packages.", false).option(
2461
+ ).option(
2462
2462
  "-p, --prefix <string>",
2463
2463
  `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
2464
2464
  - 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.
@@ -2467,7 +2467,15 @@ function createProgram(config) {
2467
2467
  - 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.
2468
2468
  - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`,
2469
2469
  "^"
2470
- ).action(updateAction);
2470
+ ).option(
2471
+ "--internal",
2472
+ "Whether to update all Storm Software packages.",
2473
+ false
2474
+ ).option("--nx", "Whether to update Nx packages.", false).option(
2475
+ "--pnpm-plugin",
2476
+ "Whether to upgrade the Storm Software pnpm plugin.",
2477
+ false
2478
+ ).option("--all", "Whether to update all packages.", false).action(updateAction);
2471
2479
  return program;
2472
2480
  } catch (error) {
2473
2481
  writeFatal(
@@ -2481,8 +2489,16 @@ ${error?.message}`,
2481
2489
  }
2482
2490
  async function updateAction(packages, options) {
2483
2491
  try {
2484
- const { tag, install = false, all = false, prefix = "^" } = options || {};
2485
- const pkgs = (packages && Array.isArray(packages) ? packages : []).concat(all ? [...INTERNAL_PACKAGES] : []).filter(Boolean).map((pkg) => pkg.trim().replaceAll("*", ""));
2492
+ const {
2493
+ tag,
2494
+ install = false,
2495
+ all = false,
2496
+ internal = all,
2497
+ nx = all,
2498
+ pnpmPlugin = all,
2499
+ prefix = "^"
2500
+ } = options || {};
2501
+ const pkgs = (packages && Array.isArray(packages) ? packages : []).concat(internal ? [...INTERNAL_PACKAGES] : []).filter(Boolean).map((pkg) => pkg.trim().replaceAll("*", ""));
2486
2502
  writeInfo(
2487
2503
  `${brandIcon(_config)} Preparing to update the package version for ${pkgs.join(", ")}.`,
2488
2504
  _config
@@ -2526,6 +2542,33 @@ async function updateAction(packages, options) {
2526
2542
  }
2527
2543
  }
2528
2544
  }
2545
+ if (nx) {
2546
+ writeDebug(
2547
+ "Running `nx migrate latest` to update Nx packages to their latest versions",
2548
+ _config
2549
+ );
2550
+ const proc = await runAsync(_config, "pnpm nx migrate latest");
2551
+ proc.stdout?.on("data", (data) => {
2552
+ console.log(data.toString());
2553
+ });
2554
+ packagesFound = true;
2555
+ packagesUpdated = true;
2556
+ }
2557
+ if (pnpmPlugin) {
2558
+ writeDebug(
2559
+ "Running `pnpm add --config pnpm-plugin-storm-software` to update the Storm Software pnpm plugin to its latest version",
2560
+ _config
2561
+ );
2562
+ const proc = await runAsync(
2563
+ _config,
2564
+ "pnpm add --config pnpm-plugin-storm-software"
2565
+ );
2566
+ proc.stdout?.on("data", (data) => {
2567
+ console.log(data.toString());
2568
+ });
2569
+ packagesFound = true;
2570
+ packagesUpdated = true;
2571
+ }
2529
2572
  if (!packagesFound) {
2530
2573
  writeWarning(
2531
2574
  `No packages were updated since no matching packages were found in the catalog.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/pnpm-tools",
3
- "version": "0.6.156",
3
+ "version": "0.7.1",
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.25",
77
- "@storm-software/config-tools": "^1.189.71",
78
- "@storm-software/npm-tools": "^0.6.109",
79
- "@storm-software/package-constants": "^0.1.6",
76
+ "@storm-software/config": "^1.137.27",
77
+ "@storm-software/config-tools": "^1.189.73",
78
+ "@storm-software/npm-tools": "^0.6.111",
79
+ "@storm-software/package-constants": "^0.1.8",
80
80
  "commander": "^12.1.0",
81
81
  "defu": "6.1.4",
82
82
  "prettier": "^3.8.1",
@@ -86,9 +86,9 @@
86
86
  },
87
87
  "devDependencies": {
88
88
  "@pnpm/types": "^1001.3.0",
89
- "@types/node": "^25.5.0",
89
+ "@types/node": "^25.5.2",
90
90
  "tsup": "8.4.0"
91
91
  },
92
92
  "publishConfig": { "access": "public" },
93
- "gitHead": "a02c04dad2468834aa8f3f328aea7370f14bfa02"
93
+ "gitHead": "9cdb2da81cf91e859866411bf558483f8fe65571"
94
94
  }