@backstage/repo-tools 0.1.3-next.1 → 0.1.4-next.0

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,24 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.1.4-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 9129ca8cabb: Log API report instructions when api-report is missing.
8
+ - Updated dependencies
9
+ - @backstage/cli-common@0.1.12
10
+ - @backstage/errors@1.1.5
11
+
12
+ ## 0.1.3
13
+
14
+ ### Patch Changes
15
+
16
+ - 32a4a05838c: Tweaked type dependency check to trim wildcard type imports.
17
+ - 6ba8faf22ac: The API report generation process is now able to detect and generate reports for additional entry points declared in the package `"exports"` field.
18
+ - Updated dependencies
19
+ - @backstage/errors@1.1.5
20
+ - @backstage/cli-common@0.1.12
21
+
3
22
  ## 0.1.3-next.1
4
23
 
5
24
  ### Patch Changes
@@ -380,6 +380,9 @@ async function runApiExtraction({
380
380
  showVerboseMessages: false,
381
381
  showDiagnostics: false,
382
382
  messageCallback(message) {
383
+ if (message.text.includes("The API report file is missing")) {
384
+ shouldLogInstructions = true;
385
+ }
383
386
  if (message.text.includes(
384
387
  "You have changed the public API signature for this project."
385
388
  )) {
@@ -394,7 +397,7 @@ async function runApiExtraction({
394
397
  },
395
398
  compilerState
396
399
  });
397
- if (validateReleaseTags && !usesExperimentalTypeBuild) {
400
+ if (validateReleaseTags && !usesExperimentalTypeBuild && fs__default["default"].pathExistsSync(extractorConfig.reportFilePath)) {
398
401
  if (["index", "alpha", "beta"].includes(name)) {
399
402
  const report = await fs__default["default"].readFile(
400
403
  extractorConfig.reportFilePath,
@@ -1190,4 +1193,4 @@ function parseArrayOption(value) {
1190
1193
  }
1191
1194
 
1192
1195
  exports.buildApiReports = buildApiReports;
1193
- //# sourceMappingURL=api-reports-a4583315.cjs.js.map
1196
+ //# sourceMappingURL=api-reports-3369eaf5.cjs.js.map
package/dist/index.cjs.js CHANGED
@@ -53,7 +53,7 @@ function registerCommands(program) {
53
53
  "Turn on release tag validation for the public, beta, and alpha APIs"
54
54
  ).description("Generate an API report for selected packages").action(
55
55
  lazy(
56
- () => Promise.resolve().then(function () { return require('./cjs/index/api-reports-a4583315.cjs.js'); }).then((m) => m.buildApiReports)
56
+ () => Promise.resolve().then(function () { return require('./cjs/index/api-reports-3369eaf5.cjs.js'); }).then((m) => m.buildApiReports)
57
57
  )
58
58
  );
59
59
  program.command("type-deps").description("Find inconsistencies in types of all packages and plugins").action(lazy(() => Promise.resolve().then(function () { return require('./cjs/index/type-deps-db1fb735.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.3-next.1",
4
+ "version": "0.1.4-next.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,8 +30,8 @@
30
30
  "backstage-repo-tools": "bin/backstage-repo-tools"
31
31
  },
32
32
  "dependencies": {
33
- "@backstage/cli-common": "^0.1.12-next.0",
34
- "@backstage/errors": "^1.1.5-next.0",
33
+ "@backstage/cli-common": "^0.1.12",
34
+ "@backstage/errors": "^1.1.5",
35
35
  "@manypkg/get-packages": "^1.1.3",
36
36
  "@microsoft/api-documenter": "^7.19.27",
37
37
  "@microsoft/api-extractor": "^7.33.7",
@@ -44,7 +44,7 @@
44
44
  "ts-node": "^10.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@backstage/cli": "^0.22.4-next.1",
47
+ "@backstage/cli": "^0.22.6-next.0",
48
48
  "@backstage/types": "^1.0.2",
49
49
  "@types/is-glob": "^4.0.2",
50
50
  "@types/mock-fs": "^4.13.0",