@backstage/repo-tools 0.5.0-next.1 → 0.5.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,45 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - aea8f8d: **BREAKING**: API Reports generated for sub-path exports now place the name as a suffix rather than prefix, for example `api-report-alpha.md` instead of `alpha-api-report.md`. When upgrading to this version you'll need to re-create any such API reports and delete the old ones.
8
+ - 3834067: Adds a new command `schema openapi generate-client` that creates a Typescript client with Backstage flavor, including the discovery API and fetch API. This command doesn't currently generate a complete client and needs to be wrapped or exported manually by a separate Backstage plugin. See `@backstage/catalog-client/src/generated` for example output.
9
+
10
+ ### Patch Changes
11
+
12
+ - f909e9d: Includes templates in @backstage/repo-tools package and use them in the CLI
13
+ - da3c4db: Updates the `schema openapi generate-client` command to export all generated types from the generated directory.
14
+ - 7959f23: The `api-reports` command now checks for api report files that no longer apply.
15
+ If it finds such files, it's treated basically the same as report errors do, and
16
+ the check fails.
17
+
18
+ For example, if you had an `api-report-alpha.md` but then removed the alpha
19
+ export, the reports generator would now report that this file needs to be
20
+ deleted.
21
+
22
+ - f49e237: Fixed a bug where `schema openapi init` created an invalid test command.
23
+ - f91be2c: Updated dependency `@stoplight/types` to `^14.0.0`.
24
+ - 45bfb20: Execute `openapi-generator-cli` from `@backstage/repo-tools` directory to force it to use our openapitools.json config file.
25
+ - Updated dependencies
26
+ - @backstage/backend-common@0.20.0
27
+ - @backstage/cli-node@0.2.1
28
+ - @backstage/catalog-model@1.4.3
29
+ - @backstage/cli-common@0.1.13
30
+ - @backstage/errors@1.2.3
31
+
32
+ ## 0.5.0-next.2
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies
37
+ - @backstage/backend-common@0.20.0-next.3
38
+ - @backstage/catalog-model@1.4.3
39
+ - @backstage/cli-common@0.1.13
40
+ - @backstage/cli-node@0.2.0
41
+ - @backstage/errors@1.2.3
42
+
3
43
  ## 0.5.0-next.1
4
44
 
5
45
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -125,7 +125,7 @@ function lazy(getActionFunc) {
125
125
  };
126
126
  }
127
127
 
128
- var version = "0.5.0-next.1";
128
+ var version = "0.5.0";
129
129
 
130
130
  const main = (argv) => {
131
131
  commander.program.name("backstage-repo-tools").version(version);
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.5.0-next.1",
4
+ "version": "0.5.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,10 +32,10 @@
32
32
  "dependencies": {
33
33
  "@apidevtools/swagger-parser": "^10.1.0",
34
34
  "@apisyouwonthate/style-guide": "^1.4.0",
35
- "@backstage/backend-common": "^0.20.0-next.2",
35
+ "@backstage/backend-common": "^0.20.0",
36
36
  "@backstage/catalog-model": "^1.4.3",
37
37
  "@backstage/cli-common": "^0.1.13",
38
- "@backstage/cli-node": "^0.2.0",
38
+ "@backstage/cli-node": "^0.2.1",
39
39
  "@backstage/errors": "^1.2.3",
40
40
  "@manypkg/get-packages": "^1.1.3",
41
41
  "@microsoft/api-documenter": "^7.22.33",
@@ -63,7 +63,7 @@
63
63
  "yaml-diff-patch": "^2.0.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@backstage/cli": "^0.25.0-next.2",
66
+ "@backstage/cli": "^0.25.0",
67
67
  "@backstage/types": "^1.1.1",
68
68
  "@types/is-glob": "^4.0.2",
69
69
  "@types/mock-fs": "^4.13.0",