@storm-software/pnpm-tools 0.7.7 → 0.7.8

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,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pnpm Tools
4
4
 
5
+ ## [0.7.7](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.7) (04/28/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **pnpm-plugin:** Improve `update` CLI tool to process packages in parallel ([74ee5f885](https://github.com/storm-software/storm-ops/commit/74ee5f885))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **package-constants** to **v0.1.14**
14
+ - Updated **testing-tools** to **v1.119.154**
15
+ - Updated **config-tools** to **v1.190.0**
16
+ - Updated **npm-tools** to **v0.6.117**
17
+ - Updated **config** to **v1.137.33**
18
+
5
19
  ## [0.7.6](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.6) (04/26/2026)
6
20
 
7
21
  ### Updated Dependencies
package/bin/pnpm.cjs CHANGED
@@ -2165,12 +2165,13 @@ var INTERNAL_PACKAGES = [
2165
2165
  ];
2166
2166
 
2167
2167
  // src/cli/index.ts
2168
+ var import_chalk3 = require("chalk");
2168
2169
  var import_commander = require("commander");
2169
2170
 
2170
2171
  // package.json
2171
2172
  var package_default = {
2172
2173
  name: "@storm-software/pnpm-tools",
2173
- version: "0.7.6",
2174
+ version: "0.7.7",
2174
2175
  private: false,
2175
2176
  description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2176
2177
  repository: {
@@ -2265,6 +2266,7 @@ var package_default = {
2265
2266
  "@storm-software/config-tools": "workspace:*",
2266
2267
  "@storm-software/npm-tools": "workspace:*",
2267
2268
  "@storm-software/package-constants": "workspace:*",
2269
+ chalk: "catalog:",
2268
2270
  commander: "catalog:",
2269
2271
  defu: "catalog:",
2270
2272
  prettier: "catalog:",
@@ -2480,7 +2482,10 @@ function createProgram(config) {
2480
2482
  ).option("--internal", "Whether to update all Storm Software packages.").option("--nx", "Whether to update Nx packages.").option(
2481
2483
  "--pnpm-plugin",
2482
2484
  "Whether to upgrade the Storm Software pnpm plugin."
2483
- ).option("--all", "Whether to update all packages.").action(updateAction);
2485
+ ).option(
2486
+ "--all",
2487
+ "Whether to update all packages (with the exception of the pnpm plugin)."
2488
+ ).action(updateAction);
2484
2489
  return program;
2485
2490
  } catch (error) {
2486
2491
  writeFatal(
@@ -2500,7 +2505,7 @@ async function updateAction(packages, options) {
2500
2505
  all,
2501
2506
  internal = all,
2502
2507
  nx = all,
2503
- pnpmPlugin = all,
2508
+ pnpmPlugin,
2504
2509
  prefix = "^"
2505
2510
  } = options || {};
2506
2511
  let packagesFound = false;
@@ -2510,8 +2515,9 @@ async function updateAction(packages, options) {
2510
2515
  pkgs.push(...INTERNAL_PACKAGES);
2511
2516
  }
2512
2517
  pkgs = pkgs.filter(Boolean).map((pkg) => pkg.trim().replaceAll("*", ""));
2518
+ let changed = [];
2513
2519
  if (pkgs.length > 0) {
2514
- writeInfo(
2520
+ writeDebug(
2515
2521
  `${brandIcon(_config)} Preparing to update the package version for ${pkgs.join(
2516
2522
  ", "
2517
2523
  )}.`,
@@ -2523,6 +2529,7 @@ async function updateAction(packages, options) {
2523
2529
  "No catalog found in the pnpm-workspace.yaml file of the current workspace."
2524
2530
  );
2525
2531
  }
2532
+ const originalCatalog = { ...catalog };
2526
2533
  await Promise.all(
2527
2534
  pkgs.map(async (pkg) => {
2528
2535
  const matchedPackages = Object.keys(catalog).filter(
@@ -2558,6 +2565,13 @@ async function updateAction(packages, options) {
2558
2565
  }
2559
2566
  })
2560
2567
  );
2568
+ changed = Object.keys(catalog).filter(
2569
+ (packageName) => originalCatalog[packageName] !== catalog[packageName]
2570
+ ).map((packageName) => ({
2571
+ packageName,
2572
+ previous: originalCatalog[packageName] || "unknown",
2573
+ current: catalog[packageName] || "unknown"
2574
+ }));
2561
2575
  if (packagesUpdated) {
2562
2576
  writeDebug(
2563
2577
  "Finalizing changes to the pnpm workspace's catalog dependencies",
@@ -2614,6 +2628,15 @@ async function updateAction(packages, options) {
2614
2628
  proc.stdout?.on("data", (data) => {
2615
2629
  console.log(data.toString());
2616
2630
  });
2631
+ writeSuccess(
2632
+ `${brandIcon(_config)} Successfully updated the version for the following package(s):
2633
+ ${changed.map(
2634
+ (pkg) => `- ${(0, import_chalk3.bold)(pkg.packageName)}: ${(0, import_chalk3.bold)((0, import_chalk3.red)(pkg.previous))} -> ${(0, import_chalk3.bold)(
2635
+ (0, import_chalk3.green)(pkg.current)
2636
+ )}`
2637
+ ).join("\n")}`,
2638
+ _config
2639
+ );
2617
2640
  }
2618
2641
  } catch (error) {
2619
2642
  writeFatal(
package/bin/pnpm.js CHANGED
@@ -2143,12 +2143,13 @@ var INTERNAL_PACKAGES = [
2143
2143
  ];
2144
2144
 
2145
2145
  // src/cli/index.ts
2146
+ import { bold, green, red } from "chalk";
2146
2147
  import { Command } from "commander";
2147
2148
 
2148
2149
  // package.json
2149
2150
  var package_default = {
2150
2151
  name: "@storm-software/pnpm-tools",
2151
- version: "0.7.6",
2152
+ version: "0.7.7",
2152
2153
  private: false,
2153
2154
  description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2154
2155
  repository: {
@@ -2243,6 +2244,7 @@ var package_default = {
2243
2244
  "@storm-software/config-tools": "workspace:*",
2244
2245
  "@storm-software/npm-tools": "workspace:*",
2245
2246
  "@storm-software/package-constants": "workspace:*",
2247
+ chalk: "catalog:",
2246
2248
  commander: "catalog:",
2247
2249
  defu: "catalog:",
2248
2250
  prettier: "catalog:",
@@ -2458,7 +2460,10 @@ function createProgram(config) {
2458
2460
  ).option("--internal", "Whether to update all Storm Software packages.").option("--nx", "Whether to update Nx packages.").option(
2459
2461
  "--pnpm-plugin",
2460
2462
  "Whether to upgrade the Storm Software pnpm plugin."
2461
- ).option("--all", "Whether to update all packages.").action(updateAction);
2463
+ ).option(
2464
+ "--all",
2465
+ "Whether to update all packages (with the exception of the pnpm plugin)."
2466
+ ).action(updateAction);
2462
2467
  return program;
2463
2468
  } catch (error) {
2464
2469
  writeFatal(
@@ -2478,7 +2483,7 @@ async function updateAction(packages, options) {
2478
2483
  all,
2479
2484
  internal = all,
2480
2485
  nx = all,
2481
- pnpmPlugin = all,
2486
+ pnpmPlugin,
2482
2487
  prefix = "^"
2483
2488
  } = options || {};
2484
2489
  let packagesFound = false;
@@ -2488,8 +2493,9 @@ async function updateAction(packages, options) {
2488
2493
  pkgs.push(...INTERNAL_PACKAGES);
2489
2494
  }
2490
2495
  pkgs = pkgs.filter(Boolean).map((pkg) => pkg.trim().replaceAll("*", ""));
2496
+ let changed = [];
2491
2497
  if (pkgs.length > 0) {
2492
- writeInfo(
2498
+ writeDebug(
2493
2499
  `${brandIcon(_config)} Preparing to update the package version for ${pkgs.join(
2494
2500
  ", "
2495
2501
  )}.`,
@@ -2501,6 +2507,7 @@ async function updateAction(packages, options) {
2501
2507
  "No catalog found in the pnpm-workspace.yaml file of the current workspace."
2502
2508
  );
2503
2509
  }
2510
+ const originalCatalog = { ...catalog };
2504
2511
  await Promise.all(
2505
2512
  pkgs.map(async (pkg) => {
2506
2513
  const matchedPackages = Object.keys(catalog).filter(
@@ -2536,6 +2543,13 @@ async function updateAction(packages, options) {
2536
2543
  }
2537
2544
  })
2538
2545
  );
2546
+ changed = Object.keys(catalog).filter(
2547
+ (packageName) => originalCatalog[packageName] !== catalog[packageName]
2548
+ ).map((packageName) => ({
2549
+ packageName,
2550
+ previous: originalCatalog[packageName] || "unknown",
2551
+ current: catalog[packageName] || "unknown"
2552
+ }));
2539
2553
  if (packagesUpdated) {
2540
2554
  writeDebug(
2541
2555
  "Finalizing changes to the pnpm workspace's catalog dependencies",
@@ -2592,6 +2606,15 @@ async function updateAction(packages, options) {
2592
2606
  proc.stdout?.on("data", (data) => {
2593
2607
  console.log(data.toString());
2594
2608
  });
2609
+ writeSuccess(
2610
+ `${brandIcon(_config)} Successfully updated the version for the following package(s):
2611
+ ${changed.map(
2612
+ (pkg) => `- ${bold(pkg.packageName)}: ${bold(red(pkg.previous))} -> ${bold(
2613
+ green(pkg.current)
2614
+ )}`
2615
+ ).join("\n")}`,
2616
+ _config
2617
+ );
2595
2618
  }
2596
2619
  } catch (error) {
2597
2620
  writeFatal(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/pnpm-tools",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
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,11 @@
73
73
  "storm-pnpm-esm": "./bin/pnpm.js"
74
74
  },
75
75
  "dependencies": {
76
- "@storm-software/config": "^1.137.33",
77
- "@storm-software/config-tools": "^1.190.0",
78
- "@storm-software/npm-tools": "^0.6.117",
79
- "@storm-software/package-constants": "^0.1.14",
76
+ "@storm-software/config": "^1.137.34",
77
+ "@storm-software/config-tools": "^1.190.1",
78
+ "@storm-software/npm-tools": "^0.6.118",
79
+ "@storm-software/package-constants": "^0.1.15",
80
+ "chalk": "^4.1.2",
80
81
  "commander": "^12.1.0",
81
82
  "defu": "6.1.4",
82
83
  "prettier": "^3.8.3",
@@ -90,5 +91,5 @@
90
91
  "tsup": "8.4.0"
91
92
  },
92
93
  "publishConfig": { "access": "public" },
93
- "gitHead": "8e54226b1485019afc0373ac57d8e56a394dad04"
94
+ "gitHead": "07683ca13c988d45253edcd947640ab1a7f31e25"
94
95
  }