@storm-software/pnpm-tools 0.7.9 → 0.7.10

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,12 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pnpm Tools
4
4
 
5
+ ## [0.7.9](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.9) (04/28/2026)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **pnpm-tools:** Resolve issue with invalid `chalk` imports ([6eac3ea57](https://github.com/storm-software/storm-ops/commit/6eac3ea57))
10
+
5
11
  ## [0.7.8](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.8) (04/28/2026)
6
12
 
7
13
  ### Miscellaneous
package/bin/pnpm.cjs CHANGED
@@ -2171,7 +2171,7 @@ var import_commander = require("commander");
2171
2171
  // package.json
2172
2172
  var package_default = {
2173
2173
  name: "@storm-software/pnpm-tools",
2174
- version: "0.7.8",
2174
+ version: "0.7.9",
2175
2175
  private: false,
2176
2176
  description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2177
2177
  repository: {
@@ -2509,7 +2509,6 @@ async function updateAction(packages, options) {
2509
2509
  prefix = "^"
2510
2510
  } = options || {};
2511
2511
  let packagesFound = false;
2512
- let packagesUpdated = false;
2513
2512
  let pkgs = packages && Array.isArray(packages) ? packages : [];
2514
2513
  if (internal) {
2515
2514
  pkgs.push(...INTERNAL_PACKAGES);
@@ -2558,7 +2557,6 @@ async function updateAction(packages, options) {
2558
2557
  });
2559
2558
  if (result.updated && result.catalog[matchedPackage]) {
2560
2559
  catalog[matchedPackage] = result.catalog[matchedPackage];
2561
- packagesUpdated = true;
2562
2560
  }
2563
2561
  })
2564
2562
  );
@@ -2572,7 +2570,7 @@ async function updateAction(packages, options) {
2572
2570
  previous: originalCatalog[packageName] || "unknown",
2573
2571
  current: catalog[packageName] || "unknown"
2574
2572
  }));
2575
- if (packagesUpdated) {
2573
+ if (changed.length > 0) {
2576
2574
  writeDebug(
2577
2575
  "Finalizing changes to the pnpm workspace's catalog dependencies",
2578
2576
  _config
@@ -2595,7 +2593,6 @@ async function updateAction(packages, options) {
2595
2593
  console.log(data.toString());
2596
2594
  });
2597
2595
  packagesFound = true;
2598
- packagesUpdated = true;
2599
2596
  }
2600
2597
  if (pnpmPlugin) {
2601
2598
  writeDebug(
@@ -2610,7 +2607,6 @@ async function updateAction(packages, options) {
2610
2607
  console.log(data.toString());
2611
2608
  });
2612
2609
  packagesFound = true;
2613
- packagesUpdated = true;
2614
2610
  }
2615
2611
  if (!packagesFound) {
2616
2612
  writeWarning(
@@ -2619,20 +2615,25 @@ async function updateAction(packages, options) {
2619
2615
  );
2620
2616
  return;
2621
2617
  }
2622
- if (install && packagesUpdated) {
2623
- writeDebug(
2624
- "Running `pnpm install --no-frozen-lockfile` to update local dependency versions",
2625
- _config
2626
- );
2627
- const proc = await runAsync(_config, "pnpm install --no-frozen-lockfile");
2628
- proc.stdout?.on("data", (data) => {
2629
- console.log(data.toString());
2630
- });
2618
+ if (changed.length > 0) {
2619
+ if (install) {
2620
+ writeDebug(
2621
+ "Running `pnpm install --no-frozen-lockfile` to update local dependency versions",
2622
+ _config
2623
+ );
2624
+ const proc = await runAsync(
2625
+ _config,
2626
+ "pnpm install --no-frozen-lockfile"
2627
+ );
2628
+ proc.stdout?.on("data", (data) => {
2629
+ console.log(data.toString());
2630
+ });
2631
+ }
2631
2632
  writeSuccess(
2632
- `${brandIcon(_config)} Successfully updated the version for the following package(s):
2633
+ `${brandIcon(_config)} Successfully updated${install ? " and installed" : ""} the following package(s):
2633
2634
  ${changed.map(
2634
- (pkg) => `- ${import_chalk3.default.bold(pkg.packageName)}: ${import_chalk3.default.bold(import_chalk3.default.red(pkg.previous))} -> ${import_chalk3.default.bold(
2635
- import_chalk3.default.green(pkg.current)
2635
+ (pkg) => `- ${import_chalk3.default.bold(pkg.packageName)}: ${import_chalk3.default.bold(import_chalk3.default.red(`v${pkg.previous}`))} -> ${import_chalk3.default.bold(
2636
+ import_chalk3.default.green(`v${pkg.current}`)
2636
2637
  )}`
2637
2638
  ).join("\n")}`,
2638
2639
  _config
package/bin/pnpm.js CHANGED
@@ -2149,7 +2149,7 @@ import { Command } from "commander";
2149
2149
  // package.json
2150
2150
  var package_default = {
2151
2151
  name: "@storm-software/pnpm-tools",
2152
- version: "0.7.8",
2152
+ version: "0.7.9",
2153
2153
  private: false,
2154
2154
  description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2155
2155
  repository: {
@@ -2487,7 +2487,6 @@ async function updateAction(packages, options) {
2487
2487
  prefix = "^"
2488
2488
  } = options || {};
2489
2489
  let packagesFound = false;
2490
- let packagesUpdated = false;
2491
2490
  let pkgs = packages && Array.isArray(packages) ? packages : [];
2492
2491
  if (internal) {
2493
2492
  pkgs.push(...INTERNAL_PACKAGES);
@@ -2536,7 +2535,6 @@ async function updateAction(packages, options) {
2536
2535
  });
2537
2536
  if (result.updated && result.catalog[matchedPackage]) {
2538
2537
  catalog[matchedPackage] = result.catalog[matchedPackage];
2539
- packagesUpdated = true;
2540
2538
  }
2541
2539
  })
2542
2540
  );
@@ -2550,7 +2548,7 @@ async function updateAction(packages, options) {
2550
2548
  previous: originalCatalog[packageName] || "unknown",
2551
2549
  current: catalog[packageName] || "unknown"
2552
2550
  }));
2553
- if (packagesUpdated) {
2551
+ if (changed.length > 0) {
2554
2552
  writeDebug(
2555
2553
  "Finalizing changes to the pnpm workspace's catalog dependencies",
2556
2554
  _config
@@ -2573,7 +2571,6 @@ async function updateAction(packages, options) {
2573
2571
  console.log(data.toString());
2574
2572
  });
2575
2573
  packagesFound = true;
2576
- packagesUpdated = true;
2577
2574
  }
2578
2575
  if (pnpmPlugin) {
2579
2576
  writeDebug(
@@ -2588,7 +2585,6 @@ async function updateAction(packages, options) {
2588
2585
  console.log(data.toString());
2589
2586
  });
2590
2587
  packagesFound = true;
2591
- packagesUpdated = true;
2592
2588
  }
2593
2589
  if (!packagesFound) {
2594
2590
  writeWarning(
@@ -2597,20 +2593,25 @@ async function updateAction(packages, options) {
2597
2593
  );
2598
2594
  return;
2599
2595
  }
2600
- if (install && packagesUpdated) {
2601
- writeDebug(
2602
- "Running `pnpm install --no-frozen-lockfile` to update local dependency versions",
2603
- _config
2604
- );
2605
- const proc = await runAsync(_config, "pnpm install --no-frozen-lockfile");
2606
- proc.stdout?.on("data", (data) => {
2607
- console.log(data.toString());
2608
- });
2596
+ if (changed.length > 0) {
2597
+ if (install) {
2598
+ writeDebug(
2599
+ "Running `pnpm install --no-frozen-lockfile` to update local dependency versions",
2600
+ _config
2601
+ );
2602
+ const proc = await runAsync(
2603
+ _config,
2604
+ "pnpm install --no-frozen-lockfile"
2605
+ );
2606
+ proc.stdout?.on("data", (data) => {
2607
+ console.log(data.toString());
2608
+ });
2609
+ }
2609
2610
  writeSuccess(
2610
- `${brandIcon(_config)} Successfully updated the version for the following package(s):
2611
+ `${brandIcon(_config)} Successfully updated${install ? " and installed" : ""} the following package(s):
2611
2612
  ${changed.map(
2612
- (pkg) => `- ${chalk2.bold(pkg.packageName)}: ${chalk2.bold(chalk2.red(pkg.previous))} -> ${chalk2.bold(
2613
- chalk2.green(pkg.current)
2613
+ (pkg) => `- ${chalk2.bold(pkg.packageName)}: ${chalk2.bold(chalk2.red(`v${pkg.previous}`))} -> ${chalk2.bold(
2614
+ chalk2.green(`v${pkg.current}`)
2614
2615
  )}`
2615
2616
  ).join("\n")}`,
2616
2617
  _config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/pnpm-tools",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
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": {
@@ -91,5 +91,5 @@
91
91
  "tsup": "8.4.0"
92
92
  },
93
93
  "publishConfig": { "access": "public" },
94
- "gitHead": "a1d06d41d54a6cf692278ecc55bd557001204a2b"
94
+ "gitHead": "2c69d9a5c8821c0e47785e71f03b407832f43139"
95
95
  }