@backstage/repo-tools 0.10.0-next.2 → 0.10.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,30 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 30c2be9: Update @microsoft/api-extractor and use their api report resolution.
8
+ Change api report format from `api-report.md` to `report.api.md`
9
+ - 8eb3033: Adds a new command `backstage-repo-tools peer-deps` for validating your usage of peer dependencies in your plugins. It currently supports react related peer dependencies. It also has a `--fix` mode for quickly fixing any issues that it finds.
10
+
11
+ ### Patch Changes
12
+
13
+ - 1f6706f: Properly log instructions when APIs do not match
14
+ - 35e735b: Fix issues with warnings in API reports not being checked or reported.
15
+
16
+ Due to the recent version bump of API Extractor you may now see a lot of `ae-undocumented` warnings,
17
+ these can be ignored using the `-o` option, for example, `backstage-repo-tools api-reports -o ae-undocumented,ae-wrong-input-file-type`.
18
+
19
+ - 248793e: Updated dependency `@useoptic/optic` to `^1.0.0`.
20
+ - Updated dependencies
21
+ - @backstage/cli-node@0.2.9
22
+ - @backstage/backend-plugin-api@1.0.1
23
+ - @backstage/catalog-model@1.7.0
24
+ - @backstage/cli-common@0.1.14
25
+ - @backstage/config-loader@1.9.1
26
+ - @backstage/errors@1.2.4
27
+
3
28
  ## 0.10.0-next.2
4
29
 
5
30
  ### Patch Changes
@@ -250,7 +250,7 @@ async function runApiExtraction({
250
250
  for (const packageEntryPoint of packageEntryPoints) {
251
251
  const suffix = packageEntryPoint.name === "index" ? "" : `-${packageEntryPoint.name}`;
252
252
  const reportFileName = `report${suffix}`;
253
- const reportPath = path.resolve(projectFolder, reportFileName);
253
+ const reportPath = path.resolve(projectFolder, `${reportFileName}.api.md`);
254
254
  const warningCountBefore = await countApiReportWarnings(reportPath);
255
255
  const extractorConfig = apiExtractor.ExtractorConfig.prepare({
256
256
  configObject: {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.10.0-next.2";
3
+ var version = "0.10.0";
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.10.0-next.2",
3
+ "version": "0.10.0",
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.0.1-next.1",
47
- "@backstage/catalog-model": "1.7.0",
48
- "@backstage/cli-common": "0.1.14",
49
- "@backstage/cli-node": "0.2.9-next.0",
50
- "@backstage/config-loader": "1.9.1",
51
- "@backstage/errors": "1.2.4",
46
+ "@backstage/backend-plugin-api": "^1.0.1",
47
+ "@backstage/catalog-model": "^1.7.0",
48
+ "@backstage/cli-common": "^0.1.14",
49
+ "@backstage/cli-node": "^0.2.9",
50
+ "@backstage/config-loader": "^1.9.1",
51
+ "@backstage/errors": "^1.2.4",
52
52
  "@manypkg/get-packages": "^1.1.3",
53
53
  "@microsoft/api-documenter": "^7.25.7",
54
54
  "@microsoft/api-extractor": "^7.47.2",
@@ -77,9 +77,9 @@
77
77
  "yaml-diff-patch": "^2.0.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@backstage/backend-test-utils": "1.0.1-next.2",
81
- "@backstage/cli": "0.28.0-next.2",
82
- "@backstage/types": "1.1.1",
80
+ "@backstage/backend-test-utils": "^1.0.1",
81
+ "@backstage/cli": "^0.28.0",
82
+ "@backstage/types": "^1.1.1",
83
83
  "@types/is-glob": "^4.0.2",
84
84
  "@types/node": "^18.17.8",
85
85
  "@types/prettier": "^2.0.0"
@@ -88,7 +88,7 @@
88
88
  "@microsoft/api-extractor-model": "*",
89
89
  "@microsoft/tsdoc": "*",
90
90
  "@microsoft/tsdoc-config": "*",
91
- "@useoptic/optic": "^0.50.7",
91
+ "@useoptic/optic": "^1.0.0",
92
92
  "prettier": "^2.8.1",
93
93
  "typescript": "> 3.0.0"
94
94
  },