@backstage/cli 0.18.0-next.1 → 0.18.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/dist/cjs/{PackageGraph-7e994333.cjs.js → PackageGraph-1d7b086a.cjs.js} +2 -2
  3. package/dist/cjs/{build-358f7340.cjs.js → build-52ba70a2.cjs.js} +9 -9
  4. package/dist/cjs/{buildBackend-40a0db49.cjs.js → buildBackend-55985c84.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-113c2556.cjs.js → buildWorkspace-d663903d.cjs.js} +6 -6
  6. package/dist/cjs/{bump-8012d58d.cjs.js → bump-1a3769e9.cjs.js} +5 -5
  7. package/dist/cjs/{clean-51f7e960.cjs.js → clean-9a8c294a.cjs.js} +2 -2
  8. package/dist/cjs/{config-c574e8ff.cjs.js → config-de1bf46a.cjs.js} +3 -3
  9. package/dist/cjs/{create-cdb38353.cjs.js → create-b0ca2add.cjs.js} +4 -4
  10. package/dist/cjs/{createDistWorkspace-fb33ba17.cjs.js → createDistWorkspace-fc94c796.cjs.js} +5 -5
  11. package/dist/cjs/{createPlugin-68c996ad.cjs.js → createPlugin-4d7e1b01.cjs.js} +4 -4
  12. package/dist/cjs/{diff-fc217aa9.cjs.js → diff-a561bee3.cjs.js} +2 -2
  13. package/dist/cjs/{docs-6c75c5e0.cjs.js → docs-bd70b38e.cjs.js} +4 -4
  14. package/dist/cjs/{fix-ffae9892.cjs.js → fix-47eb8dc4.cjs.js} +3 -3
  15. package/dist/cjs/{index-996aef8d.cjs.js → index-27d57881.cjs.js} +9 -9
  16. package/dist/cjs/{index-85d34e34.cjs.js → index-4f4a8498.cjs.js} +8 -8
  17. package/dist/cjs/{index-a8f4ed57.cjs.js → index-7e13cc9d.cjs.js} +55 -55
  18. package/dist/cjs/{index-9f937162.cjs.js → index-bb24147b.cjs.js} +2 -2
  19. package/dist/cjs/{info-ed12f647.cjs.js → info-29f0ee36.cjs.js} +3 -3
  20. package/dist/cjs/{install-0dfffa1e.cjs.js → install-fea0e3f5.cjs.js} +4 -4
  21. package/dist/cjs/{lint-a9a1f30c.cjs.js → lint-0db8937c.cjs.js} +3 -3
  22. package/dist/cjs/{lint-00f4c9e7.cjs.js → lint-1711bbbb.cjs.js} +2 -2
  23. package/dist/cjs/{lint-2c60616f.cjs.js → lint-81a75364.cjs.js} +3 -3
  24. package/dist/cjs/{list-deprecations-29b99689.cjs.js → list-deprecations-cea8fad3.cjs.js} +3 -3
  25. package/dist/cjs/{pack-9cd16c4d.cjs.js → pack-8ab429c0.cjs.js} +2 -2
  26. package/dist/cjs/{packageLintConfigs-b0372a12.cjs.js → packageLintConfigs-77b71b79.cjs.js} +4 -4
  27. package/dist/cjs/{packageRole-35b363ad.cjs.js → packageRole-d1e7c7d6.cjs.js} +3 -3
  28. package/dist/cjs/{packageRoles-c5b78d5d.cjs.js → packageRoles-a310f84c.cjs.js} +2 -2
  29. package/dist/cjs/{packageScripts-80a80019.cjs.js → packageScripts-6731503e.cjs.js} +4 -4
  30. package/dist/cjs/{packages-e5e2a455.cjs.js → packages-ea5c38ec.cjs.js} +3 -3
  31. package/dist/cjs/{paths-d615bab6.cjs.js → paths-d98c9d0c.cjs.js} +3 -3
  32. package/dist/cjs/{print-240a7bcf.cjs.js → print-4cbe70e7.cjs.js} +4 -4
  33. package/dist/cjs/{run-94261248.cjs.js → run-5e05ba2c.cjs.js} +2 -2
  34. package/dist/cjs/{schema-4e5c9ed3.cjs.js → schema-2c842cbe.cjs.js} +4 -4
  35. package/dist/cjs/{tasks-c599c124.cjs.js → tasks-b054c9ce.cjs.js} +2 -2
  36. package/dist/cjs/{test-873bb0fc.cjs.js → test-b5969f53.cjs.js} +6 -3
  37. package/dist/cjs/{validate-dc3ecade.cjs.js → validate-8a03d402.cjs.js} +4 -4
  38. package/dist/index.cjs.js +1 -1
  39. package/package.json +18 -18
  40. package/templates/default-backend-plugin/package.json.hbs +1 -1
  41. package/templates/default-plugin/package.json.hbs +1 -1
@@ -44,27 +44,27 @@ class NotFoundError extends CustomError {
44
44
 
45
45
  const paths = cliCommon.findPaths(__dirname);
46
46
 
47
- var version$a = "0.14.1-next.1";
47
+ var version$a = "0.14.1";
48
48
 
49
- var version$9 = "0.18.0-next.1";
49
+ var version$9 = "0.18.0";
50
50
  var dependencies = {
51
51
  "@backstage/cli-common": "^0.1.9",
52
52
  "@backstage/config": "^1.0.1",
53
- "@backstage/config-loader": "^1.1.3-next.0",
54
- "@backstage/errors": "^1.1.0-next.0",
55
- "@backstage/release-manifests": "^0.0.4",
53
+ "@backstage/config-loader": "^1.1.3",
54
+ "@backstage/errors": "^1.1.0",
55
+ "@backstage/release-manifests": "^0.0.5",
56
56
  "@backstage/types": "^1.0.0",
57
57
  "@hot-loader/react-dom-v16": "npm:@hot-loader/react-dom@^16.0.2",
58
58
  "@hot-loader/react-dom-v17": "npm:@hot-loader/react-dom@^17.0.2",
59
59
  "@manypkg/get-packages": "^1.1.3",
60
- "@octokit/request": "^5.4.12",
60
+ "@octokit/request": "^6.0.0",
61
61
  "@rollup/plugin-commonjs": "^22.0.0",
62
62
  "@rollup/plugin-json": "^4.1.0",
63
63
  "@rollup/plugin-node-resolve": "^13.0.6",
64
64
  "@rollup/plugin-yaml": "^3.1.0",
65
- "@spotify/eslint-config-base": "^13.0.0",
66
- "@spotify/eslint-config-react": "^13.0.0",
67
- "@spotify/eslint-config-typescript": "^13.0.0",
65
+ "@spotify/eslint-config-base": "^14.0.0",
66
+ "@spotify/eslint-config-react": "^14.0.0",
67
+ "@spotify/eslint-config-typescript": "^14.0.0",
68
68
  "@sucrase/jest-plugin": "^2.1.1",
69
69
  "@sucrase/webpack-loader": "^2.0.0",
70
70
  "@svgr/plugin-jsx": "6.2.x",
@@ -137,20 +137,20 @@ var dependencies = {
137
137
  webpack: "^5.66.0",
138
138
  "webpack-dev-server": "^4.7.3",
139
139
  "webpack-node-externals": "^3.0.0",
140
- yaml: "^1.10.0",
140
+ yaml: "^2.0.0",
141
141
  "yml-loader": "^2.1.0",
142
142
  yn: "^4.0.0",
143
143
  zod: "^3.11.6"
144
144
  };
145
145
  var devDependencies = {
146
- "@backstage/backend-common": "^0.14.1-next.1",
146
+ "@backstage/backend-common": "^0.14.1",
147
147
  "@backstage/config": "^1.0.1",
148
- "@backstage/core-app-api": "^1.0.4-next.0",
149
- "@backstage/core-components": "^0.9.6-next.1",
150
- "@backstage/core-plugin-api": "^1.0.3",
151
- "@backstage/dev-utils": "^1.0.4-next.1",
152
- "@backstage/test-utils": "^1.1.2-next.1",
153
- "@backstage/theme": "^0.2.16-next.0",
148
+ "@backstage/core-app-api": "^1.0.4",
149
+ "@backstage/core-components": "^0.10.0",
150
+ "@backstage/core-plugin-api": "^1.0.4",
151
+ "@backstage/dev-utils": "^1.0.4",
152
+ "@backstage/test-utils": "^1.1.2",
153
+ "@backstage/theme": "^0.2.16",
154
154
  "@types/diff": "^5.0.0",
155
155
  "@types/express": "^4.17.6",
156
156
  "@types/fs-extra": "^9.0.1",
@@ -169,26 +169,26 @@ var devDependencies = {
169
169
  "@types/yarnpkg__lockfile": "^1.1.4",
170
170
  del: "^6.0.0",
171
171
  "mock-fs": "^5.1.0",
172
- msw: "^0.42.0",
172
+ msw: "^0.44.0",
173
173
  nodemon: "^2.0.2",
174
174
  "ts-node": "^10.0.0"
175
175
  };
176
176
 
177
177
  var version$8 = "1.0.1";
178
178
 
179
- var version$7 = "1.0.4-next.0";
179
+ var version$7 = "1.0.4";
180
180
 
181
- var version$6 = "0.9.6-next.1";
181
+ var version$6 = "0.10.0";
182
182
 
183
- var version$5 = "1.0.3";
183
+ var version$5 = "1.0.4";
184
184
 
185
- var version$4 = "1.0.4-next.1";
185
+ var version$4 = "1.0.4";
186
186
 
187
- var version$3 = "1.1.2-next.1";
187
+ var version$3 = "1.1.2";
188
188
 
189
- var version$2 = "0.2.16-next.0";
189
+ var version$2 = "0.2.16";
190
190
 
191
- var version$1 = "1.4.0-next.1";
191
+ var version$1 = "1.4.0";
192
192
 
193
193
  const packageVersions = {
194
194
  "@backstage/backend-common": version$a,
@@ -243,46 +243,46 @@ const configOption = [
243
243
  ];
244
244
  function registerRepoCommand(program) {
245
245
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
246
- command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-358f7340.cjs.js'); }).then((m) => m.command)));
247
- command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-a9a1f30c.cjs.js'); }).then((m) => m.command)));
248
- command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-29b99689.cjs.js'); }).then((m) => m.command)));
246
+ command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-52ba70a2.cjs.js'); }).then((m) => m.command)));
247
+ command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-0db8937c.cjs.js'); }).then((m) => m.command)));
248
+ command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-cea8fad3.cjs.js'); }).then((m) => m.command)));
249
249
  }
250
250
  function registerScriptCommand(program) {
251
251
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
252
- command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role").option("--check", "Enable type checking and linting if available").option("--inspect", "Enable debugger in Node.js environments").option("--inspect-brk", "Enable debugger in Node.js environments, breaking before code starts").action(lazy(() => Promise.resolve().then(function () { return require('./index-85d34e34.cjs.js'); }).then((m) => m.command)));
253
- command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => opts ? [...opts, opt] : [opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-996aef8d.cjs.js'); }).then((m) => m.command)));
254
- command.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-00f4c9e7.cjs.js'); }).then((m) => m.default)));
255
- command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-873bb0fc.cjs.js'); }).then((m) => m.default)));
256
- command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-ffae9892.cjs.js'); }).then((m) => m.command)));
257
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-51f7e960.cjs.js'); }).then((m) => m.default)));
258
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9cd16c4d.cjs.js'); }).then((m) => m.pre)));
259
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9cd16c4d.cjs.js'); }).then((m) => m.post)));
252
+ command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role").option("--check", "Enable type checking and linting if available").option("--inspect", "Enable debugger in Node.js environments").option("--inspect-brk", "Enable debugger in Node.js environments, breaking before code starts").action(lazy(() => Promise.resolve().then(function () { return require('./index-4f4a8498.cjs.js'); }).then((m) => m.command)));
253
+ command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => opts ? [...opts, opt] : [opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-27d57881.cjs.js'); }).then((m) => m.command)));
254
+ command.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-1711bbbb.cjs.js'); }).then((m) => m.default)));
255
+ command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-b5969f53.cjs.js'); }).then((m) => m.default)));
256
+ command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-47eb8dc4.cjs.js'); }).then((m) => m.command)));
257
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-9a8c294a.cjs.js'); }).then((m) => m.default)));
258
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-8ab429c0.cjs.js'); }).then((m) => m.pre)));
259
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-8ab429c0.cjs.js'); }).then((m) => m.post)));
260
260
  }
261
261
  function registerMigrateCommand(program) {
262
262
  const command = program.command("migrate [command]").description("Migration utilities");
263
- command.command("package-roles").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-35b363ad.cjs.js'); }).then((m) => m.default)));
264
- command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-80a80019.cjs.js'); }).then((m) => m.command)));
265
- command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-b0372a12.cjs.js'); }).then((m) => m.command)));
263
+ command.command("package-roles").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-d1e7c7d6.cjs.js'); }).then((m) => m.default)));
264
+ command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-6731503e.cjs.js'); }).then((m) => m.command)));
265
+ command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-77b71b79.cjs.js'); }).then((m) => m.command)));
266
266
  }
267
267
  function registerCommands(program) {
268
- program.command("create").storeOptionsAsProperties(false).description("Open up an interactive guide to creating new things in your app").option("--select <name>", "Select the thing you want to be creating upfront").option("--option <name>=<value>", "Pre-fill options for the creation process", (opt, arr) => [...arr, opt], []).option("--scope <scope>", "The scope to use for new packages").option("--npm-registry <URL>", "The package registry to use for new packages").option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-cdb38353.cjs.js'); }).then((m) => m.default)));
269
- program.command("create-plugin").option("--backend", "Create plugin with the backend dependencies as default").description("Creates a new plugin in the current repository").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(lazy(() => Promise.resolve().then(function () { return require('./createPlugin-68c996ad.cjs.js'); }).then((m) => m.default)));
270
- program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-fc217aa9.cjs.js'); }).then((m) => m.default)));
271
- program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./test-873bb0fc.cjs.js'); }).then((m) => m.default)));
272
- program.command("config:docs").option("--package <name>", "Only include the schema that applies to the given package").description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-6c75c5e0.cjs.js'); }).then((m) => m.default)));
273
- program.command("config:print").option("--package <name>", "Only load config schema that applies to the given package").option("--lax", "Do not require environment variables to be set").option("--frontend", "Print only the frontend configuration").option("--with-secrets", "Include secrets in the printed configuration").option("--format <format>", "Format to print the configuration in, either json or yaml [yaml]").option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-240a7bcf.cjs.js'); }).then((m) => m.default)));
274
- program.command("config:check").option("--package <name>", "Only load config schema that applies to the given package").option("--lax", "Do not require environment variables to be set").option("--frontend", "Only validate the frontend configuration").option("--deprecated", "Output deprecated configuration settings").option(...configOption).description("Validate that the given configuration loads and matches schema").action(lazy(() => Promise.resolve().then(function () { return require('./validate-dc3ecade.cjs.js'); }).then((m) => m.default)));
275
- program.command("config:schema").option("--package <name>", "Only output config schema that applies to the given package").option("--format <format>", "Format to print the schema in, either json or yaml [yaml]").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-4e5c9ed3.cjs.js'); }).then((m) => m.default)));
268
+ program.command("create").storeOptionsAsProperties(false).description("Open up an interactive guide to creating new things in your app").option("--select <name>", "Select the thing you want to be creating upfront").option("--option <name>=<value>", "Pre-fill options for the creation process", (opt, arr) => [...arr, opt], []).option("--scope <scope>", "The scope to use for new packages").option("--npm-registry <URL>", "The package registry to use for new packages").option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-b0ca2add.cjs.js'); }).then((m) => m.default)));
269
+ program.command("create-plugin").option("--backend", "Create plugin with the backend dependencies as default").description("Creates a new plugin in the current repository").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(lazy(() => Promise.resolve().then(function () { return require('./createPlugin-4d7e1b01.cjs.js'); }).then((m) => m.default)));
270
+ program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-a561bee3.cjs.js'); }).then((m) => m.default)));
271
+ program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./test-b5969f53.cjs.js'); }).then((m) => m.default)));
272
+ program.command("config:docs").option("--package <name>", "Only include the schema that applies to the given package").description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-bd70b38e.cjs.js'); }).then((m) => m.default)));
273
+ program.command("config:print").option("--package <name>", "Only load config schema that applies to the given package").option("--lax", "Do not require environment variables to be set").option("--frontend", "Print only the frontend configuration").option("--with-secrets", "Include secrets in the printed configuration").option("--format <format>", "Format to print the configuration in, either json or yaml [yaml]").option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-4cbe70e7.cjs.js'); }).then((m) => m.default)));
274
+ program.command("config:check").option("--package <name>", "Only load config schema that applies to the given package").option("--lax", "Do not require environment variables to be set").option("--frontend", "Only validate the frontend configuration").option("--deprecated", "Output deprecated configuration settings").option(...configOption).description("Validate that the given configuration loads and matches schema").action(lazy(() => Promise.resolve().then(function () { return require('./validate-8a03d402.cjs.js'); }).then((m) => m.default)));
275
+ program.command("config:schema").option("--package <name>", "Only output config schema that applies to the given package").option("--format <format>", "Format to print the schema in, either json or yaml [yaml]").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-2c842cbe.cjs.js'); }).then((m) => m.default)));
276
276
  registerRepoCommand(program);
277
277
  registerScriptCommand(program);
278
278
  registerMigrateCommand(program);
279
- program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-8012d58d.cjs.js'); }).then((m) => m.default)));
280
- program.command("versions:check").option("--fix", "Fix any auto-fixable versioning problems").description("Check Backstage package versioning").action(lazy(() => Promise.resolve().then(function () { return require('./lint-2c60616f.cjs.js'); }).then((m) => m.default)));
281
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-51f7e960.cjs.js'); }).then((m) => m.default)));
282
- program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-113c2556.cjs.js'); }).then((m) => m.default)));
283
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-9f937162.cjs.js'); }).then((m) => m.default)));
284
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-ed12f647.cjs.js'); }).then((m) => m.default)));
285
- program.command("install [plugin-id]", { hidden: true }).option("--from <packageJsonFilePath>", "Install from a local package.json containing the installation recipe").description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-0dfffa1e.cjs.js'); }).then((m) => m.default)));
279
+ program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-1a3769e9.cjs.js'); }).then((m) => m.default)));
280
+ program.command("versions:check").option("--fix", "Fix any auto-fixable versioning problems").description("Check Backstage package versioning").action(lazy(() => Promise.resolve().then(function () { return require('./lint-81a75364.cjs.js'); }).then((m) => m.default)));
281
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-9a8c294a.cjs.js'); }).then((m) => m.default)));
282
+ program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-d663903d.cjs.js'); }).then((m) => m.default)));
283
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-bb24147b.cjs.js'); }).then((m) => m.default)));
284
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-29f0ee36.cjs.js'); }).then((m) => m.default)));
285
+ program.command("install [plugin-id]", { hidden: true }).option("--from <packageJsonFilePath>", "Install from a local package.json containing the installation recipe").description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-fea0e3f5.cjs.js'); }).then((m) => m.default)));
286
286
  }
287
287
  function lazy(getActionFunc) {
288
288
  return async (...args) => {
@@ -326,4 +326,4 @@ exports.devDependencies = devDependencies;
326
326
  exports.paths = paths;
327
327
  exports.version = version;
328
328
  exports.version$1 = version$9;
329
- //# sourceMappingURL=index-a8f4ed57.cjs.js.map
329
+ //# sourceMappingURL=index-7e13cc9d.cjs.js.map
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
4
4
  var chalk = require('chalk');
5
5
  var yaml = require('yaml');
6
6
  var inquirer = require('inquirer');
7
- var index$1 = require('./index-a8f4ed57.cjs.js');
7
+ var index$1 = require('./index-7e13cc9d.cjs.js');
8
8
  var crypto = require('crypto');
9
9
  var openBrowser = require('react-dev-utils/openBrowser');
10
10
  var request = require('@octokit/request');
@@ -195,4 +195,4 @@ async function verifyGithubOrg(org) {
195
195
  }
196
196
 
197
197
  exports["default"] = index;
198
- //# sourceMappingURL=index-9f937162.cjs.js.map
198
+ //# sourceMappingURL=index-bb24147b.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-a8f4ed57.cjs.js');
3
+ var index = require('./index-7e13cc9d.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-94261248.cjs.js');
5
+ var run = require('./run-5e05ba2c.cjs.js');
6
6
  var Lockfile = require('./Lockfile-48dc675e.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -43,4 +43,4 @@ var info = async () => {
43
43
  };
44
44
 
45
45
  exports["default"] = info;
46
- //# sourceMappingURL=info-ed12f647.cjs.js.map
46
+ //# sourceMappingURL=info-29f0ee36.cjs.js.map
@@ -4,12 +4,12 @@ var fs = require('fs-extra');
4
4
  require('semver');
5
5
  require('@yarnpkg/parsers');
6
6
  require('@yarnpkg/lockfile');
7
- var packages = require('./packages-e5e2a455.cjs.js');
8
- var index = require('./index-a8f4ed57.cjs.js');
7
+ var packages = require('./packages-ea5c38ec.cjs.js');
8
+ var index = require('./index-7e13cc9d.cjs.js');
9
9
  var chalk = require('chalk');
10
10
  var sortBy = require('lodash/sortBy');
11
11
  var groupBy = require('lodash/groupBy');
12
- var run = require('./run-94261248.cjs.js');
12
+ var run = require('./run-5e05ba2c.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  require('commander');
@@ -240,4 +240,4 @@ var install = async (pluginId, cmd) => {
240
240
  };
241
241
 
242
242
  exports["default"] = install;
243
- //# sourceMappingURL=install-0dfffa1e.cjs.js.map
243
+ //# sourceMappingURL=install-fea0e3f5.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-7e994333.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-1d7b086a.cjs.js');
6
6
  var parallel = require('./parallel-8286d3fa.cjs.js');
7
- var index = require('./index-a8f4ed57.cjs.js');
7
+ var index = require('./index-7e13cc9d.cjs.js');
8
8
  require('@manypkg/get-packages');
9
9
  require('@backstage/errors');
10
10
  require('child_process');
@@ -88,4 +88,4 @@ async function command(opts) {
88
88
  }
89
89
 
90
90
  exports.command = command;
91
- //# sourceMappingURL=lint-a9a1f30c.cjs.js.map
91
+ //# sourceMappingURL=lint-0db8937c.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-a8f4ed57.cjs.js');
3
+ var index = require('./index-7e13cc9d.cjs.js');
4
4
  var eslint = require('eslint');
5
5
  require('commander');
6
6
  require('chalk');
@@ -31,4 +31,4 @@ var lint = async (directories, opts) => {
31
31
  };
32
32
 
33
33
  exports["default"] = lint;
34
- //# sourceMappingURL=lint-00f4c9e7.cjs.js.map
34
+ //# sourceMappingURL=lint-1711bbbb.cjs.js.map
@@ -3,9 +3,9 @@
3
3
  var Lockfile = require('./Lockfile-48dc675e.cjs.js');
4
4
  require('minimatch');
5
5
  require('@manypkg/get-packages');
6
- require('./run-94261248.cjs.js');
6
+ require('./run-5e05ba2c.cjs.js');
7
7
  require('chalk');
8
- var index = require('./index-a8f4ed57.cjs.js');
8
+ var index = require('./index-7e13cc9d.cjs.js');
9
9
  var partition = require('lodash/partition');
10
10
  require('fs-extra');
11
11
  require('semver');
@@ -78,4 +78,4 @@ function logArray(arr, header, each) {
78
78
  exports["default"] = lint;
79
79
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
80
80
  exports.includedFilter = includedFilter;
81
- //# sourceMappingURL=lint-2c60616f.cjs.js.map
81
+ //# sourceMappingURL=lint-81a75364.cjs.js.map
@@ -3,8 +3,8 @@
3
3
  var chalk = require('chalk');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
- var index = require('./index-a8f4ed57.cjs.js');
7
- var PackageGraph = require('./PackageGraph-7e994333.cjs.js');
6
+ var index = require('./index-7e13cc9d.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-1d7b086a.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
10
10
  require('semver');
@@ -79,4 +79,4 @@ async function command(opts) {
79
79
  }
80
80
 
81
81
  exports.command = command;
82
- //# sourceMappingURL=list-deprecations-29b99689.cjs.js.map
82
+ //# sourceMappingURL=list-deprecations-cea8fad3.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var index = require('./index-a8f4ed57.cjs.js');
4
+ var index = require('./index-7e13cc9d.cjs.js');
5
5
  var path = require('path');
6
6
  require('commander');
7
7
  require('chalk');
@@ -69,4 +69,4 @@ const post = async () => {
69
69
 
70
70
  exports.post = post;
71
71
  exports.pre = pre;
72
- //# sourceMappingURL=pack-9cd16c4d.cjs.js.map
72
+ //# sourceMappingURL=pack-8ab429c0.cjs.js.map
@@ -2,10 +2,10 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-7e994333.cjs.js');
6
- var run = require('./run-94261248.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-1d7b086a.cjs.js');
6
+ var run = require('./run-5e05ba2c.cjs.js');
7
7
  require('@manypkg/get-packages');
8
- require('./index-a8f4ed57.cjs.js');
8
+ require('./index-7e13cc9d.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -71,4 +71,4 @@ async function command() {
71
71
  }
72
72
 
73
73
  exports.command = command;
74
- //# sourceMappingURL=packageLintConfigs-b0372a12.cjs.js.map
74
+ //# sourceMappingURL=packageLintConfigs-77b71b79.cjs.js.map
@@ -3,8 +3,8 @@
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
5
  var getPackages = require('@manypkg/get-packages');
6
- var index = require('./index-a8f4ed57.cjs.js');
7
- var packageRoles = require('./packageRoles-c5b78d5d.cjs.js');
6
+ var index = require('./index-7e13cc9d.cjs.js');
7
+ var packageRoles = require('./packageRoles-a310f84c.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('semver');
@@ -50,4 +50,4 @@ var packageRole = async () => {
50
50
  };
51
51
 
52
52
  exports["default"] = packageRole;
53
- //# sourceMappingURL=packageRole-35b363ad.cjs.js.map
53
+ //# sourceMappingURL=packageRole-d1e7c7d6.cjs.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var zod = require('zod');
4
4
  var fs = require('fs-extra');
5
- var index = require('./index-a8f4ed57.cjs.js');
5
+ var index = require('./index-7e13cc9d.cjs.js');
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -155,4 +155,4 @@ exports.detectRoleFromPackage = detectRoleFromPackage;
155
155
  exports.findRoleFromCommand = findRoleFromCommand;
156
156
  exports.getRoleFromPackage = getRoleFromPackage;
157
157
  exports.getRoleInfo = getRoleInfo;
158
- //# sourceMappingURL=packageRoles-c5b78d5d.cjs.js.map
158
+ //# sourceMappingURL=packageRoles-a310f84c.cjs.js.map
@@ -2,10 +2,10 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-7e994333.cjs.js');
6
- var packageRoles = require('./packageRoles-c5b78d5d.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-1d7b086a.cjs.js');
6
+ var packageRoles = require('./packageRoles-a310f84c.cjs.js');
7
7
  require('@manypkg/get-packages');
8
- require('./index-a8f4ed57.cjs.js');
8
+ require('./index-7e13cc9d.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -93,4 +93,4 @@ async function command() {
93
93
  }
94
94
 
95
95
  exports.command = command;
96
- //# sourceMappingURL=packageScripts-80a80019.cjs.js.map
96
+ //# sourceMappingURL=packageScripts-6731503e.cjs.js.map
@@ -2,8 +2,8 @@
2
2
 
3
3
  var minimatch = require('minimatch');
4
4
  var getPackages = require('@manypkg/get-packages');
5
- var run = require('./run-94261248.cjs.js');
6
- var index = require('./index-a8f4ed57.cjs.js');
5
+ var run = require('./run-5e05ba2c.cjs.js');
6
+ var index = require('./index-7e13cc9d.cjs.js');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
9
 
@@ -51,4 +51,4 @@ async function mapDependencies(targetDir, pattern) {
51
51
 
52
52
  exports.fetchPackageInfo = fetchPackageInfo;
53
53
  exports.mapDependencies = mapDependencies;
54
- //# sourceMappingURL=packages-e5e2a455.cjs.js.map
54
+ //# sourceMappingURL=packages-ea5c38ec.cjs.js.map
@@ -12,8 +12,8 @@ var cliCommon = require('@backstage/cli-common');
12
12
  var getPackages = require('@manypkg/get-packages');
13
13
  var MiniCssExtractPlugin = require('mini-css-extract-plugin');
14
14
  var svgrTemplate = require('./svgrTemplate-550efce6.cjs.js');
15
- var index = require('./index-a8f4ed57.cjs.js');
16
- var run = require('./run-94261248.cjs.js');
15
+ var index = require('./index-7e13cc9d.cjs.js');
16
+ var run = require('./run-5e05ba2c.cjs.js');
17
17
  var ESLintPlugin = require('eslint-webpack-plugin');
18
18
  var pickBy = require('lodash/pickBy');
19
19
 
@@ -494,4 +494,4 @@ exports.createBackendConfig = createBackendConfig;
494
494
  exports.createConfig = createConfig;
495
495
  exports.resolveBaseUrl = resolveBaseUrl;
496
496
  exports.resolveBundlingPaths = resolveBundlingPaths;
497
- //# sourceMappingURL=paths-d615bab6.cjs.js.map
497
+ //# sourceMappingURL=paths-d98c9d0c.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var yaml = require('yaml');
4
4
  var config$1 = require('@backstage/config');
5
- var config = require('./config-c574e8ff.cjs.js');
5
+ var config = require('./config-de1bf46a.cjs.js');
6
6
  require('@backstage/config-loader');
7
- require('./index-a8f4ed57.cjs.js');
7
+ require('./index-7e13cc9d.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -12,7 +12,7 @@ require('semver');
12
12
  require('@backstage/cli-common');
13
13
  require('@backstage/errors');
14
14
  require('@manypkg/get-packages');
15
- require('./PackageGraph-7e994333.cjs.js');
15
+ require('./PackageGraph-1d7b086a.cjs.js');
16
16
  require('path');
17
17
  require('child_process');
18
18
  require('util');
@@ -61,4 +61,4 @@ function serializeConfigData(appConfigs, schema, visibility) {
61
61
  }
62
62
 
63
63
  exports["default"] = print;
64
- //# sourceMappingURL=print-240a7bcf.cjs.js.map
64
+ //# sourceMappingURL=print-4cbe70e7.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var child_process = require('child_process');
4
- var index = require('./index-a8f4ed57.cjs.js');
4
+ var index = require('./index-7e13cc9d.cjs.js');
5
5
  var util = require('util');
6
6
  var errors = require('@backstage/errors');
7
7
 
@@ -78,4 +78,4 @@ async function waitForExit(child, name) {
78
78
  exports.run = run;
79
79
  exports.runCheck = runCheck;
80
80
  exports.runPlain = runPlain;
81
- //# sourceMappingURL=run-94261248.cjs.js.map
81
+ //# sourceMappingURL=run-5e05ba2c.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var yaml = require('yaml');
4
- var config = require('./config-c574e8ff.cjs.js');
4
+ var config = require('./config-de1bf46a.cjs.js');
5
5
  var configLoader = require('@backstage/config-loader');
6
6
  require('@backstage/config');
7
- require('./index-a8f4ed57.cjs.js');
7
+ require('./index-7e13cc9d.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -12,7 +12,7 @@ require('semver');
12
12
  require('@backstage/cli-common');
13
13
  require('@backstage/errors');
14
14
  require('@manypkg/get-packages');
15
- require('./PackageGraph-7e994333.cjs.js');
15
+ require('./PackageGraph-1d7b086a.cjs.js');
16
16
  require('path');
17
17
  require('child_process');
18
18
  require('util');
@@ -36,4 +36,4 @@ var schema = async (opts) => {
36
36
  };
37
37
 
38
38
  exports["default"] = schema;
39
- //# sourceMappingURL=schema-4e5c9ed3.cjs.js.map
39
+ //# sourceMappingURL=schema-2c842cbe.cjs.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var index = require('./index-a8f4ed57.cjs.js');
5
+ var index = require('./index-7e13cc9d.cjs.js');
6
6
  var chalk = require('chalk');
7
7
  var handlebars = require('handlebars');
8
8
  var ora = require('ora');
@@ -224,4 +224,4 @@ exports.addPackageDependency = addPackageDependency;
224
224
  exports.getCodeownersFilePath = getCodeownersFilePath;
225
225
  exports.parseOwnerIds = parseOwnerIds;
226
226
  exports.templatingTask = templatingTask;
227
- //# sourceMappingURL=tasks-c599c124.cjs.js.map
227
+ //# sourceMappingURL=tasks-b054c9ce.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-a8f4ed57.cjs.js');
4
- var run = require('./run-94261248.cjs.js');
3
+ var index = require('./index-7e13cc9d.cjs.js');
4
+ var run = require('./run-5e05ba2c.cjs.js');
5
5
  require('commander');
6
6
  require('chalk');
7
7
  require('fs-extra');
@@ -47,8 +47,11 @@ var test = async (_opts, cmd) => {
47
47
  if (!process.env.TZ) {
48
48
  process.env.TZ = "UTC";
49
49
  }
50
+ if (args.includes("--help")) {
51
+ process.stdout._handle.setBlocking(true);
52
+ }
50
53
  await require("jest").run(args);
51
54
  };
52
55
 
53
56
  exports["default"] = test;
54
- //# sourceMappingURL=test-873bb0fc.cjs.js.map
57
+ //# sourceMappingURL=test-b5969f53.cjs.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var config = require('./config-c574e8ff.cjs.js');
3
+ var config = require('./config-de1bf46a.cjs.js');
4
4
  require('@backstage/config-loader');
5
5
  require('@backstage/config');
6
- require('./index-a8f4ed57.cjs.js');
6
+ require('./index-7e13cc9d.cjs.js');
7
7
  require('commander');
8
8
  require('chalk');
9
9
  require('fs-extra');
@@ -11,7 +11,7 @@ require('semver');
11
11
  require('@backstage/cli-common');
12
12
  require('@backstage/errors');
13
13
  require('@manypkg/get-packages');
14
- require('./PackageGraph-7e994333.cjs.js');
14
+ require('./PackageGraph-1d7b086a.cjs.js');
15
15
  require('path');
16
16
  require('child_process');
17
17
  require('util');
@@ -27,4 +27,4 @@ var validate = async (opts) => {
27
27
  };
28
28
 
29
29
  exports["default"] = validate;
30
- //# sourceMappingURL=validate-dc3ecade.cjs.js.map
30
+ //# sourceMappingURL=validate-8a03d402.cjs.js.map
package/dist/index.cjs.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- require('./cjs/index-a8f4ed57.cjs.js');
4
3
  require('commander');
5
4
  require('chalk');
5
+ require('./cjs/index-7e13cc9d.cjs.js');
6
6
  require('fs-extra');
7
7
  require('semver');
8
8
  require('@backstage/cli-common');