@backstage/repo-tools 0.1.1 → 0.1.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,23 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - ff63acf30a: Packages without a declared `backstage.role` are now ignored.
8
+ - Updated dependencies
9
+ - @backstage/cli-common@0.1.11
10
+ - @backstage/errors@1.1.4
11
+
12
+ ## 0.1.2-next.0
13
+
14
+ ### Patch Changes
15
+
16
+ - ff63acf30a: Packages without a declared `backstage.role` are now ignored.
17
+ - Updated dependencies
18
+ - @backstage/cli-common@0.1.11
19
+ - @backstage/errors@1.1.4
20
+
3
21
  ## 0.1.1
4
22
 
5
23
  ### Patch Changes
@@ -860,7 +860,7 @@ async function categorizePackageDirs(packageDirs) {
860
860
  });
861
861
  const role = (_a = pkgJson == null ? void 0 : pkgJson.backstage) == null ? void 0 : _a.role;
862
862
  if (!role) {
863
- throw new Error(`No backstage.role in ${dir}/package.json`);
863
+ return;
864
864
  }
865
865
  if (role === "cli") {
866
866
  cliPackageDirs.push(dir);
@@ -1136,4 +1136,4 @@ function parseArrayOption(value) {
1136
1136
  }
1137
1137
 
1138
1138
  exports.buildApiReports = buildApiReports;
1139
- //# sourceMappingURL=api-reports-c87f7f0e.cjs.js.map
1139
+ //# sourceMappingURL=api-reports-a8ff4901.cjs.js.map
package/dist/index.cjs.js CHANGED
@@ -50,7 +50,7 @@ function registerCommands(program) {
50
50
  "select some message code to be omited on the API Extractor (comma separated values i.e ae-cyclic-inherit-doc,ae-missing-getter )"
51
51
  ).description("Generate an API report for selected packages").action(
52
52
  lazy(
53
- () => Promise.resolve().then(function () { return require('./cjs/api-reports-c87f7f0e.cjs.js'); }).then((m) => m.buildApiReports)
53
+ () => Promise.resolve().then(function () { return require('./cjs/api-reports-a8ff4901.cjs.js'); }).then((m) => m.buildApiReports)
54
54
  )
55
55
  );
56
56
  program.command("type-deps").description("Find inconsistencies in types of all packages and plugins").action(lazy(() => Promise.resolve().then(function () { return require('./cjs/type-deps-fba15630.cjs.js'); }).then((m) => m.default)));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/repo-tools",
3
3
  "description": "CLI for Backstage repo tooling ",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -44,7 +44,7 @@
44
44
  "ts-node": "^10.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@backstage/cli": "^0.22.1",
47
+ "@backstage/cli": "^0.22.2",
48
48
  "@types/is-glob": "^4.0.2",
49
49
  "@types/mock-fs": "^4.13.0",
50
50
  "mock-fs": "^5.1.0"