@backstage/repo-tools 0.17.1-next.1 → 0.17.1-next.2

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
@@ -1,5 +1,18 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.17.1-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 482ceed: Migrated from `assertError` to `toError` for error handling.
8
+ - Updated dependencies
9
+ - @backstage/errors@1.3.0-next.0
10
+ - @backstage/cli-common@0.2.1-next.1
11
+ - @backstage/cli-node@0.3.1-next.1
12
+ - @backstage/config-loader@1.10.10-next.1
13
+ - @backstage/backend-plugin-api@1.9.0-next.2
14
+ - @backstage/catalog-model@1.7.8-next.0
15
+
3
16
  ## 0.17.1-next.1
4
17
 
5
18
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var errors = require('@backstage/errors');
4
- var errors$1 = require('../lib/errors.cjs.js');
3
+ var errors$1 = require('@backstage/errors');
4
+ var errors = require('../lib/errors.cjs.js');
5
5
 
6
6
  function registerPackageCommand(program) {
7
7
  const command = program.command("package [command]").description("Various tools for working with specific packages.");
@@ -149,8 +149,7 @@ function lazy(moduleLoader, exportName) {
149
149
  await actionFunc(...args);
150
150
  process.exit(0);
151
151
  } catch (error) {
152
- errors.assertError(error);
153
- errors$1.exitWithError(error);
152
+ errors.exitWithError(errors$1.toError(error));
154
153
  }
155
154
  };
156
155
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.17.1-next.1";
3
+ var version = "0.17.1-next.2";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=package.json.cjs.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/repo-tools",
3
- "version": "0.17.1-next.1",
3
+ "version": "0.17.1-next.2",
4
4
  "description": "CLI for Backstage repo tooling ",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -43,12 +43,12 @@
43
43
  "dependencies": {
44
44
  "@apidevtools/swagger-parser": "^10.1.0",
45
45
  "@apisyouwonthate/style-guide": "^1.4.0",
46
- "@backstage/backend-plugin-api": "1.9.0-next.1",
47
- "@backstage/catalog-model": "1.7.7",
48
- "@backstage/cli-common": "0.2.1-next.0",
49
- "@backstage/cli-node": "0.3.1-next.0",
50
- "@backstage/config-loader": "1.10.10-next.0",
51
- "@backstage/errors": "1.2.7",
46
+ "@backstage/backend-plugin-api": "1.9.0-next.2",
47
+ "@backstage/catalog-model": "1.7.8-next.0",
48
+ "@backstage/cli-common": "0.2.1-next.1",
49
+ "@backstage/cli-node": "0.3.1-next.1",
50
+ "@backstage/config-loader": "1.10.10-next.1",
51
+ "@backstage/errors": "1.3.0-next.0",
52
52
  "@electric-sql/pglite": "^0.3.0",
53
53
  "@manypkg/get-packages": "^1.1.3",
54
54
  "@microsoft/api-documenter": "^7.28.1",
@@ -87,8 +87,8 @@
87
87
  "zod": "^3.25.76 || ^4.0.0"
88
88
  },
89
89
  "devDependencies": {
90
- "@backstage/backend-test-utils": "1.11.2-next.1",
91
- "@backstage/cli": "0.36.1-next.1",
90
+ "@backstage/backend-test-utils": "1.11.2-next.2",
91
+ "@backstage/cli": "0.36.1-next.2",
92
92
  "@backstage/types": "1.2.2",
93
93
  "@types/is-glob": "^4.0.2",
94
94
  "@types/node": "^22.13.14",