@backstage/repo-tools 0.16.1 → 0.16.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,14 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.16.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 498f9dd: Fixed help text for `backstage-repo-tools package schema openapi generate` command.
8
+ - Updated dependencies
9
+ - @backstage/backend-plugin-api@1.6.1
10
+ - @backstage/cli-common@0.1.17
11
+
3
12
  ## 0.16.1
4
13
 
5
14
  ### Patch Changes
@@ -14,16 +14,21 @@ function registerPackageCommand(program) {
14
14
  ).action(
15
15
  lazy(() => import('./package/schema/openapi/init.cjs.js'), "singleCommand")
16
16
  );
17
- openApiCommand.command("generate").option(
17
+ openApiCommand.command("generate").description(
18
+ "Command to generate a client and/or a server stub from an OpenAPI spec."
19
+ ).option(
18
20
  "--client-package [package]",
19
21
  "Top-level path to where the client should be generated, ie packages/catalog-client."
20
- ).option("--server").description(
21
- "Command to generate a client and/or a server stub from an OpenAPI spec."
22
- ).option("--client-additional-properties [properties]").description(
22
+ ).option("--server", "Generate server stub").option(
23
+ "--client-additional-properties [properties]",
23
24
  "Additional properties that can be passed to @openapitools/openapi-generator-cli"
24
- ).option("--server-additional-properties [properties]").description(
25
+ ).option(
26
+ "--server-additional-properties [properties]",
25
27
  "Additional properties that can be passed to @openapitools/openapi-generator-cli"
26
- ).option("--watch").description("Watch the OpenAPI spec for changes and regenerate on save.").action(lazy(() => import('./package/schema/openapi/generate/index.cjs.js'), "command"));
28
+ ).option(
29
+ "--watch",
30
+ "Watch the OpenAPI spec for changes and regenerate on save."
31
+ ).action(lazy(() => import('./package/schema/openapi/generate/index.cjs.js'), "command"));
27
32
  openApiCommand.command("fuzz").description(
28
33
  "Fuzz an OpenAPI schema by generating random data and sending it to the server."
29
34
  ).option("--limit <limit>", "Maximum number of requests to send.").option("--workers <workers>", "Number of workers to use", "2").option(
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.16.1";
3
+ var version = "0.16.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.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "CLI for Backstage repo tooling ",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -43,9 +43,9 @@
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.6.0",
46
+ "@backstage/backend-plugin-api": "^1.6.1",
47
47
  "@backstage/catalog-model": "^1.7.6",
48
- "@backstage/cli-common": "^0.1.16",
48
+ "@backstage/cli-common": "^0.1.17",
49
49
  "@backstage/cli-node": "^0.2.16",
50
50
  "@backstage/config-loader": "^1.10.7",
51
51
  "@backstage/errors": "^1.2.7",
@@ -86,8 +86,8 @@
86
86
  "zod": "^3.22.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@backstage/backend-test-utils": "^1.10.2",
90
- "@backstage/cli": "^0.35.0",
89
+ "@backstage/backend-test-utils": "^1.10.3",
90
+ "@backstage/cli": "^0.35.2",
91
91
  "@backstage/types": "^1.2.2",
92
92
  "@types/is-glob": "^4.0.2",
93
93
  "@types/node": "^22.13.14",