@storm-software/bun-tools 0.0.25 → 0.0.26

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,13 @@
2
2
 
3
3
  # Changelog for Storm Ops - Bun Tools
4
4
 
5
+ ## [0.0.26](https://github.com/storm-software/storm-ops/releases/tag/bun-tools%400.0.26) (08/07/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **bun-tools:** Ensure error is thrown during upgrades ([8ea3bec9f](https://github.com/storm-software/storm-ops/commit/8ea3bec9f))
10
+ - **bun-tools:** Improve error handling in CLI ([9a2eb5256](https://github.com/storm-software/storm-ops/commit/9a2eb5256))
11
+
5
12
  ## [0.0.25](https://github.com/storm-software/storm-ops/releases/tag/bun-tools%400.0.25) (08/07/2026)
6
13
 
7
14
  ### Miscellaneous
package/bin/bun.cjs CHANGED
@@ -2207,7 +2207,7 @@ var import_commander = require("commander");
2207
2207
  // package.json
2208
2208
  var package_default = {
2209
2209
  name: "@storm-software/bun-tools",
2210
- version: "0.0.25",
2210
+ version: "0.0.26",
2211
2211
  private: false,
2212
2212
  description: "A set of [Bun](https://bun.sh/) plugins and utilities for managing workspace packages/dependencies.",
2213
2213
  repository: {
@@ -2701,15 +2701,24 @@ async function updateAction(packages, options) {
2701
2701
  packagesFound = true;
2702
2702
  await Promise.all(
2703
2703
  matchedPackages.map(async (matchedPackage) => {
2704
- writeTrace(`- Upgrading ${matchedPackage}...`, _config);
2705
- const result = await upgradeCatalog(catalog, matchedPackage, {
2706
- tag,
2707
- prefix,
2708
- workspaceRoot: _config.workspaceRoot,
2709
- verbose
2710
- });
2711
- if (result.updated && result.catalog[matchedPackage]) {
2712
- catalog[matchedPackage] = result.catalog[matchedPackage];
2704
+ try {
2705
+ writeTrace(`- Upgrading ${matchedPackage}...`, _config);
2706
+ const result = await upgradeCatalog(catalog, matchedPackage, {
2707
+ tag,
2708
+ prefix,
2709
+ workspaceRoot: _config.workspaceRoot,
2710
+ verbose
2711
+ });
2712
+ if (result.updated && result.catalog[matchedPackage]) {
2713
+ catalog[matchedPackage] = result.catalog[matchedPackage];
2714
+ }
2715
+ } catch (error) {
2716
+ writeFatal(
2717
+ `A fatal error occurred while upgrading ${matchedPackage}:
2718
+ ${typeof error === "object" ? JSON.stringify(error, null, 2) : error}`,
2719
+ _config
2720
+ );
2721
+ throw error;
2713
2722
  }
2714
2723
  })
2715
2724
  );
package/bin/bun.js CHANGED
@@ -2185,7 +2185,7 @@ import { Command } from "commander";
2185
2185
  // package.json
2186
2186
  var package_default = {
2187
2187
  name: "@storm-software/bun-tools",
2188
- version: "0.0.25",
2188
+ version: "0.0.26",
2189
2189
  private: false,
2190
2190
  description: "A set of [Bun](https://bun.sh/) plugins and utilities for managing workspace packages/dependencies.",
2191
2191
  repository: {
@@ -2679,15 +2679,24 @@ async function updateAction(packages, options) {
2679
2679
  packagesFound = true;
2680
2680
  await Promise.all(
2681
2681
  matchedPackages.map(async (matchedPackage) => {
2682
- writeTrace(`- Upgrading ${matchedPackage}...`, _config);
2683
- const result = await upgradeCatalog(catalog, matchedPackage, {
2684
- tag,
2685
- prefix,
2686
- workspaceRoot: _config.workspaceRoot,
2687
- verbose
2688
- });
2689
- if (result.updated && result.catalog[matchedPackage]) {
2690
- catalog[matchedPackage] = result.catalog[matchedPackage];
2682
+ try {
2683
+ writeTrace(`- Upgrading ${matchedPackage}...`, _config);
2684
+ const result = await upgradeCatalog(catalog, matchedPackage, {
2685
+ tag,
2686
+ prefix,
2687
+ workspaceRoot: _config.workspaceRoot,
2688
+ verbose
2689
+ });
2690
+ if (result.updated && result.catalog[matchedPackage]) {
2691
+ catalog[matchedPackage] = result.catalog[matchedPackage];
2692
+ }
2693
+ } catch (error) {
2694
+ writeFatal(
2695
+ `A fatal error occurred while upgrading ${matchedPackage}:
2696
+ ${typeof error === "object" ? JSON.stringify(error, null, 2) : error}`,
2697
+ _config
2698
+ );
2699
+ throw error;
2691
2700
  }
2692
2701
  })
2693
2702
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/bun-tools",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "private": false,
5
5
  "description": "A set of [Bun](https://bun.sh/) plugins and utilities for managing workspace packages/dependencies.",
6
6
  "repository": {
@@ -73,10 +73,10 @@
73
73
  "storm-bun-esm": "./bin/bun.js"
74
74
  },
75
75
  "dependencies": {
76
- "@storm-software/config": "1.138.53",
77
- "@storm-software/config-tools": "1.190.116",
78
- "@storm-software/npm-tools": "0.6.234",
79
- "@storm-software/package-constants": "0.1.129",
76
+ "@storm-software/config": "^1.138.53",
77
+ "@storm-software/config-tools": "^1.190.116",
78
+ "@storm-software/npm-tools": "^0.6.234",
79
+ "@storm-software/package-constants": "^0.1.129",
80
80
  "chalk": "^4.1.2",
81
81
  "commander": "^12.1.0",
82
82
  "defu": "^6.1.7",
@@ -87,5 +87,5 @@
87
87
  },
88
88
  "devDependencies": { "@types/node": "^25.9.5", "tsup": "8.4.0" },
89
89
  "publishConfig": { "access": "public" },
90
- "gitHead": "e4c57e343e4956e9814886af3f517a35ea1b19fc"
90
+ "gitHead": "22552db998982c9f7e6a6b38c11d8874ca879e14"
91
91
  }