@backstage/cli 0.25.2 → 0.25.3-next.1

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 (53) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/asset-types/asset-types.d.ts +5 -0
  3. package/config/jest.js +1 -1
  4. package/dist/cjs/{build-797c37c2.cjs.js → build-097231a6.cjs.js} +7 -7
  5. package/dist/cjs/{buildBackend-7159f89d.cjs.js → buildBackend-9faeb9a8.cjs.js} +6 -6
  6. package/dist/cjs/{buildWorkspace-6e3fd6b3.cjs.js → buildWorkspace-4711ef80.cjs.js} +4 -4
  7. package/dist/cjs/{bump-73741307.cjs.js → bump-b2500dcb.cjs.js} +6 -7
  8. package/dist/cjs/{clean-c704c806.cjs.js → clean-5c0c60ef.cjs.js} +2 -2
  9. package/dist/cjs/{clean-10e8e501.cjs.js → clean-5e61034c.cjs.js} +2 -2
  10. package/dist/cjs/{codeowners-29820c1f.cjs.js → codeowners-9da8480c.cjs.js} +2 -2
  11. package/dist/cjs/{config-3e45780c.cjs.js → config-743e28e5.cjs.js} +2 -2
  12. package/dist/cjs/{createDistWorkspace-18d0e79e.cjs.js → createDistWorkspace-d4886c13.cjs.js} +3 -3
  13. package/dist/cjs/{createPlugin-25429b61.cjs.js → createPlugin-54fdb1d3.cjs.js} +4 -4
  14. package/dist/cjs/{diff-e7307a27.cjs.js → diff-03426926.cjs.js} +2 -2
  15. package/dist/cjs/{docs-fe99b6fb.cjs.js → docs-6d10c4c0.cjs.js} +3 -3
  16. package/dist/cjs/{fix-b27e8b98.cjs.js → fix-60cc33a8.cjs.js} +2 -2
  17. package/dist/cjs/{index-1273081e.cjs.js → index-1efc6aad.cjs.js} +2 -2
  18. package/dist/cjs/{index-9dcc26d9.cjs.js → index-2b3c0e05.cjs.js} +47 -49
  19. package/dist/cjs/{index-ba9b18fc.cjs.js → index-802c6b4a.cjs.js} +8 -8
  20. package/dist/cjs/{index-c4731ee8.cjs.js → index-8d0019af.cjs.js} +3 -3
  21. package/dist/cjs/{index-ab9d4051.cjs.js → index-e9ebc07b.cjs.js} +7 -7
  22. package/dist/cjs/{info-c8138893.cjs.js → info-21e41d11.cjs.js} +3 -3
  23. package/dist/cjs/{install-59a20986.cjs.js → install-4f8e4dc1.cjs.js} +4 -4
  24. package/dist/cjs/{lint-0192921f.cjs.js → lint-3c6db1ca.cjs.js} +2 -2
  25. package/dist/cjs/{lint-e09fa871.cjs.js → lint-8977ab7b.cjs.js} +2 -2
  26. package/dist/cjs/{lint-0be1c949.cjs.js → lint-c21cef97.cjs.js} +3 -3
  27. package/dist/cjs/{list-deprecations-14061bf3.cjs.js → list-deprecations-834a052d.cjs.js} +2 -2
  28. package/dist/cjs/{new-2603ba7a.cjs.js → new-ad50c0bc.cjs.js} +4 -4
  29. package/dist/cjs/{pack-834ab42a.cjs.js → pack-4a0b6ad1.cjs.js} +2 -2
  30. package/dist/cjs/{packageDetection-ff9a531a.cjs.js → packageDetection-024933fa.cjs.js} +5 -4
  31. package/dist/cjs/{packageExports-2365ba6d.cjs.js → packageExports-f6f1e11b.cjs.js} +3 -3
  32. package/dist/cjs/{packageLintConfigs-24b34055.cjs.js → packageLintConfigs-4ec9457f.cjs.js} +3 -3
  33. package/dist/cjs/{packageRole-717c356a.cjs.js → packageRole-dc0bc770.cjs.js} +2 -2
  34. package/dist/cjs/{packages-2815f945.cjs.js → packages-01fa34e6.cjs.js} +4 -8
  35. package/dist/cjs/{print-c94fb08d.cjs.js → print-26058fce.cjs.js} +3 -3
  36. package/dist/cjs/{role-ab90969d.cjs.js → role-9130c935.cjs.js} +2 -2
  37. package/dist/cjs/{run-2564ae62.cjs.js → run-1310629a.cjs.js} +2 -2
  38. package/dist/cjs/{schema-0d5ba665.cjs.js → schema-c7d7e094.cjs.js} +3 -3
  39. package/dist/cjs/{test-c6619984.cjs.js → test-549005a1.cjs.js} +3 -3
  40. package/dist/cjs/{test-1d760b63.cjs.js → test-ba6f66b0.cjs.js} +3 -3
  41. package/dist/cjs/{validate-ec50df5d.cjs.js → validate-185054c8.cjs.js} +3 -3
  42. package/dist/index.cjs.js +1 -1
  43. package/package.json +19 -21
  44. package/templates/default-backend-module/src/module.ts.hbs +5 -2
  45. package/templates/default-common-plugin-package/src/index.ts.hbs +3 -3
  46. package/templates/default-plugin/dev/index.tsx.hbs +1 -1
  47. package/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.test.tsx.hbs +4 -2
  48. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +2 -2
  49. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs +170 -165
  50. package/templates/default-plugin/src/plugin.ts.hbs +4 -1
  51. package/templates/default-react-plugin-package/src/components/ExampleComponent/ExampleComponent.test.tsx +4 -4
  52. package/templates/default-react-plugin-package/src/hooks/useExample/useExample.ts +1 -1
  53. package/templates/default-react-plugin-package/src/index.ts.hbs +2 -2
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
53
53
 
54
54
  const paths = cliCommon.findPaths(__dirname);
55
55
 
56
- var version$c = "0.21.0";
56
+ var version$c = "0.21.4-next.1";
57
57
 
58
- var version$b = "0.6.10";
58
+ var version$b = "0.6.14-next.1";
59
59
 
60
- var version$a = "0.3.0";
60
+ var version$a = "0.3.4-next.1";
61
61
 
62
- var version$9 = "0.25.2";
62
+ var version$9 = "0.25.3-next.1";
63
63
  var dependencies = {
64
64
  "@backstage/catalog-model": "workspace:^",
65
65
  "@backstage/cli-common": "workspace:^",
@@ -138,7 +138,7 @@ var dependencies = {
138
138
  "json-schema": "^0.4.0",
139
139
  lodash: "^4.17.21",
140
140
  "mini-css-extract-plugin": "^2.4.2",
141
- minimatch: "^5.1.1",
141
+ minimatch: "^9.0.0",
142
142
  "node-fetch": "^2.6.7",
143
143
  "node-libs-browser": "^2.2.1",
144
144
  "npm-packlist": "^5.0.0",
@@ -149,7 +149,6 @@ var dependencies = {
149
149
  "react-dev-utils": "^12.0.0-next.60",
150
150
  "react-refresh": "^0.14.0",
151
151
  "recursive-readdir": "^2.2.2",
152
- "replace-in-file": "^6.0.0",
153
152
  rollup: "^2.60.2",
154
153
  "rollup-plugin-dts": "^4.0.1",
155
154
  "rollup-plugin-esbuild": "^4.7.2",
@@ -190,7 +189,6 @@ var devDependencies = {
190
189
  "@types/fs-extra": "^11.0.0",
191
190
  "@types/http-proxy": "^1.17.4",
192
191
  "@types/inquirer": "^8.1.3",
193
- "@types/minimatch": "^5.0.0",
194
192
  "@types/node": "^18.17.8",
195
193
  "@types/npm-packlist": "^3.0.0",
196
194
  "@types/recursive-readdir": "^2.2.0",
@@ -206,21 +204,21 @@ var devDependencies = {
206
204
  "ts-node": "^10.0.0"
207
205
  };
208
206
 
209
- var version$8 = "1.1.1";
207
+ var version$8 = "1.2.0-next.1";
210
208
 
211
- var version$7 = "1.12.0";
209
+ var version$7 = "1.12.1-next.1";
212
210
 
213
- var version$6 = "0.14.0";
211
+ var version$6 = "0.14.1-next.1";
214
212
 
215
- var version$5 = "1.9.0";
213
+ var version$5 = "1.9.1-next.1";
216
214
 
217
- var version$4 = "1.0.27";
215
+ var version$4 = "1.0.28-next.1";
218
216
 
219
- var version$3 = "1.5.0";
217
+ var version$3 = "1.5.1-next.1";
220
218
 
221
- var version$2 = "0.3.0";
219
+ var version$2 = "0.4.0-next.1";
222
220
 
223
- var version$1 = "0.5.1";
221
+ var version$1 = "0.5.2-next.0";
224
222
 
225
223
  const packageVersions = {
226
224
  "@backstage/backend-common": version$c,
@@ -284,7 +282,7 @@ const configOption = [
284
282
  Array()
285
283
  ];
286
284
  function registerOnboardCommand(program) {
287
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-c4731ee8.cjs.js'); }).then((m) => m.command)));
285
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-8d0019af.cjs.js'); }).then((m) => m.command)));
288
286
  }
289
287
  function registerRepoCommand(program) {
290
288
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -296,7 +294,7 @@ function registerRepoCommand(program) {
296
294
  ).option(
297
295
  "--since <ref>",
298
296
  "Only build packages and their dev dependents that changed since the specified ref"
299
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-797c37c2.cjs.js'); }).then((m) => m.command)));
297
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-097231a6.cjs.js'); }).then((m) => m.command)));
300
298
  command.command("lint").description("Lint all packages in the project").option(
301
299
  "--format <format>",
302
300
  "Lint report output format",
@@ -304,14 +302,14 @@ function registerRepoCommand(program) {
304
302
  ).option(
305
303
  "--since <ref>",
306
304
  "Only lint packages that changed since the specified ref"
307
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-0192921f.cjs.js'); }).then((m) => m.command)));
305
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-3c6db1ca.cjs.js'); }).then((m) => m.command)));
308
306
  command.command("fix").description("Automatically fix packages in the project").option(
309
307
  "--check",
310
308
  "Fail if any packages would have been changed by the command"
311
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-b27e8b98.cjs.js'); }).then((m) => m.command)));
312
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-10e8e501.cjs.js'); }).then((m) => m.command)));
309
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-60cc33a8.cjs.js'); }).then((m) => m.command)));
310
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5e61034c.cjs.js'); }).then((m) => m.command)));
313
311
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
314
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-14061bf3.cjs.js'); }).then((m) => m.command))
312
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-834a052d.cjs.js'); }).then((m) => m.command))
315
313
  );
316
314
  command.command("test").allowUnknownOption(true).option(
317
315
  "--since <ref>",
@@ -319,14 +317,14 @@ function registerRepoCommand(program) {
319
317
  ).option(
320
318
  "--jest-help",
321
319
  "Show help for Jest CLI options, which are passed through"
322
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-1d760b63.cjs.js'); }).then((m) => m.command)));
320
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-ba6f66b0.cjs.js'); }).then((m) => m.command)));
323
321
  }
324
322
  function registerScriptCommand(program) {
325
323
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
326
324
  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 [host]", "Enable debugger in Node.js environments").option(
327
325
  "--inspect-brk [host]",
328
326
  "Enable debugger in Node.js environments, breaking before code starts"
329
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-ab9d4051.cjs.js'); }).then((m) => m.command)));
327
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-e9ebc07b.cjs.js'); }).then((m) => m.command)));
330
328
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
331
329
  "--minify",
332
330
  "Minify the generated code. Does not apply to app or backend packages."
@@ -341,30 +339,30 @@ function registerScriptCommand(program) {
341
339
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
342
340
  (opt, opts) => opts ? [...opts, opt] : [opt],
343
341
  Array()
344
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-ba9b18fc.cjs.js'); }).then((m) => m.command)));
342
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-802c6b4a.cjs.js'); }).then((m) => m.command)));
345
343
  command.command("lint [directories...]").option(
346
344
  "--format <format>",
347
345
  "Lint report output format",
348
346
  "eslint-formatter-friendly"
349
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-e09fa871.cjs.js'); }).then((m) => m.default)));
350
- 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-c6619984.cjs.js'); }).then((m) => m.default)));
351
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c704c806.cjs.js'); }).then((m) => m.default)));
352
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-834ab42a.cjs.js'); }).then((m) => m.pre)));
353
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-834ab42a.cjs.js'); }).then((m) => m.post)));
347
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-8977ab7b.cjs.js'); }).then((m) => m.default)));
348
+ 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-549005a1.cjs.js'); }).then((m) => m.default)));
349
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5c0c60ef.cjs.js'); }).then((m) => m.default)));
350
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-4a0b6ad1.cjs.js'); }).then((m) => m.pre)));
351
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-4a0b6ad1.cjs.js'); }).then((m) => m.post)));
354
352
  }
355
353
  function registerMigrateCommand(program) {
356
354
  const command = program.command("migrate [command]").description("Migration utilities");
357
- 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-717c356a.cjs.js'); }).then((m) => m.default)));
355
+ 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-dc0bc770.cjs.js'); }).then((m) => m.default)));
358
356
  command.command("package-scripts").description("Set package scripts according to each package role").action(
359
357
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-bb7b6de2.cjs.js'); }).then((m) => m.command))
360
358
  );
361
359
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
362
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-2365ba6d.cjs.js'); }).then((m) => m.command))
360
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-f6f1e11b.cjs.js'); }).then((m) => m.command))
363
361
  );
364
362
  command.command("package-lint-configs").description(
365
363
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
366
364
  ).action(
367
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-24b34055.cjs.js'); }).then((m) => m.command))
365
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-4ec9457f.cjs.js'); }).then((m) => m.command))
368
366
  );
369
367
  command.command("react-router-deps").description(
370
368
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -389,7 +387,7 @@ function registerCommands(program) {
389
387
  ).option(
390
388
  "--baseVersion <version>",
391
389
  "The version to use for any new packages (default: 0.1.0)"
392
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-2603ba7a.cjs.js'); }).then((m) => m.default)));
390
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-ad50c0bc.cjs.js'); }).then((m) => m.default)));
393
391
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
394
392
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
395
393
  ).option(
@@ -403,30 +401,30 @@ function registerCommands(program) {
403
401
  ).option("--scope <scope>", "The scope to use for new packages").option(
404
402
  "--npm-registry <URL>",
405
403
  "The package registry to use for new packages"
406
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-2603ba7a.cjs.js'); }).then((m) => m.default)));
404
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-ad50c0bc.cjs.js'); }).then((m) => m.default)));
407
405
  program.command("create-plugin", { hidden: true }).option(
408
406
  "--backend",
409
407
  "Create plugin with the backend dependencies as default"
410
408
  ).description("Creates a new plugin in the current repository [DEPRECATED]").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(
411
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-25429b61.cjs.js'); }).then((m) => m.default))
409
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-54fdb1d3.cjs.js'); }).then((m) => m.default))
412
410
  );
413
411
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
414
412
  "Diff an existing plugin with the creation template [DEPRECATED]"
415
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-e7307a27.cjs.js'); }).then((m) => m.default)));
413
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-03426926.cjs.js'); }).then((m) => m.default)));
416
414
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
417
415
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
418
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-c6619984.cjs.js'); }).then((m) => m.default)));
416
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-549005a1.cjs.js'); }).then((m) => m.default)));
419
417
  program.command("config:docs").option(
420
418
  "--package <name>",
421
419
  "Only include the schema that applies to the given package"
422
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-fe99b6fb.cjs.js'); }).then((m) => m.default)));
420
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-6d10c4c0.cjs.js'); }).then((m) => m.default)));
423
421
  program.command("config:print").option(
424
422
  "--package <name>",
425
423
  "Only load config schema that applies to the given package"
426
424
  ).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(
427
425
  "--format <format>",
428
426
  "Format to print the configuration in, either json or yaml [yaml]"
429
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-c94fb08d.cjs.js'); }).then((m) => m.default)));
427
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-26058fce.cjs.js'); }).then((m) => m.default)));
430
428
  program.command("config:check").option(
431
429
  "--package <name>",
432
430
  "Only load config schema that applies to the given package"
@@ -435,14 +433,14 @@ function registerCommands(program) {
435
433
  "Enable strict config validation, forbidding errors and unknown keys"
436
434
  ).option(...configOption).description(
437
435
  "Validate that the given configuration loads and matches schema"
438
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-ec50df5d.cjs.js'); }).then((m) => m.default)));
436
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-185054c8.cjs.js'); }).then((m) => m.default)));
439
437
  program.command("config:schema").option(
440
438
  "--package <name>",
441
439
  "Only output config schema that applies to the given package"
442
440
  ).option(
443
441
  "--format <format>",
444
442
  "Format to print the schema in, either json or yaml [yaml]"
445
- ).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-0d5ba665.cjs.js'); }).then((m) => m.default)));
443
+ ).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-c7d7e094.cjs.js'); }).then((m) => m.default)));
446
444
  registerRepoCommand(program);
447
445
  registerScriptCommand(program);
448
446
  registerMigrateCommand(program);
@@ -454,19 +452,19 @@ function registerCommands(program) {
454
452
  "--release <version|next|main>",
455
453
  "Bump to a specific Backstage release line or version",
456
454
  "main"
457
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-73741307.cjs.js'); }).then((m) => m.default)));
458
- 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-0be1c949.cjs.js'); }).then((m) => m.default)));
459
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c704c806.cjs.js'); }).then((m) => m.default)));
455
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-b2500dcb.cjs.js'); }).then((m) => m.default)));
456
+ 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-c21cef97.cjs.js'); }).then((m) => m.default)));
457
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5c0c60ef.cjs.js'); }).then((m) => m.default)));
460
458
  program.command("build-workspace <workspace-dir> [packages...]").option(
461
459
  "--alwaysYarnPack",
462
460
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
463
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-6e3fd6b3.cjs.js'); }).then((m) => m.default)));
464
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-1273081e.cjs.js'); }).then((m) => m.default)));
465
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-c8138893.cjs.js'); }).then((m) => m.default)));
461
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-4711ef80.cjs.js'); }).then((m) => m.default)));
462
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-1efc6aad.cjs.js'); }).then((m) => m.default)));
463
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-21e41d11.cjs.js'); }).then((m) => m.default)));
466
464
  program.command("install [plugin-id]", { hidden: true }).option(
467
465
  "--from <packageJsonFilePath>",
468
466
  "Install from a local package.json containing the installation recipe"
469
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-59a20986.cjs.js'); }).then((m) => m.default)));
467
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-4f8e4dc1.cjs.js'); }).then((m) => m.default)));
470
468
  }
471
469
  function lazy(getActionFunc) {
472
470
  return async (...args) => {
@@ -510,4 +508,4 @@ exports.devDependencies = devDependencies;
510
508
  exports.paths = paths;
511
509
  exports.version = version;
512
510
  exports.version$1 = version$9;
513
- //# sourceMappingURL=index-9dcc26d9.cjs.js.map
511
+ //# sourceMappingURL=index-2b3c0e05.cjs.js.map
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var createDistWorkspace = require('./createDistWorkspace-18d0e79e.cjs.js');
4
- var role = require('./role-ab90969d.cjs.js');
3
+ var createDistWorkspace = require('./createDistWorkspace-d4886c13.cjs.js');
4
+ var role = require('./role-9130c935.cjs.js');
5
5
  var cliNode = require('@backstage/cli-node');
6
- var index = require('./index-9dcc26d9.cjs.js');
7
- var buildBackend = require('./buildBackend-7159f89d.cjs.js');
8
- var config = require('./config-3e45780c.cjs.js');
6
+ var index = require('./index-2b3c0e05.cjs.js');
7
+ var buildBackend = require('./buildBackend-9faeb9a8.cjs.js');
8
+ var config = require('./config-743e28e5.cjs.js');
9
9
  require('chalk');
10
10
  require('fs-extra');
11
11
  require('path');
12
12
  require('os');
13
13
  require('tar');
14
14
  require('lodash/partition');
15
- require('./run-2564ae62.cjs.js');
15
+ require('./run-1310629a.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('@backstage/errors');
@@ -43,7 +43,7 @@ require('react-dev-utils/ModuleScopePlugin');
43
43
  require('run-script-webpack-plugin');
44
44
  require('@manypkg/get-packages');
45
45
  require('webpack-node-externals');
46
- require('./packageDetection-ff9a531a.cjs.js');
46
+ require('./packageDetection-024933fa.cjs.js');
47
47
  require('lodash/pickBy');
48
48
  require('mini-css-extract-plugin');
49
49
  require('@pmmmwh/react-refresh-webpack-plugin');
@@ -102,4 +102,4 @@ async function command(opts) {
102
102
  }
103
103
 
104
104
  exports.command = command;
105
- //# sourceMappingURL=index-ba9b18fc.cjs.js.map
105
+ //# sourceMappingURL=index-802c6b4a.cjs.js.map
@@ -9,7 +9,7 @@ var yaml = require('yaml');
9
9
  var cliCommon = require('@backstage/cli-common');
10
10
  var path = require('path');
11
11
  var differ = require('diff');
12
- var config = require('./config-3e45780c.cjs.js');
12
+ var config = require('./config-743e28e5.cjs.js');
13
13
  var catalogModel = require('@backstage/catalog-model');
14
14
  var z = require('zod');
15
15
  var integration = require('@backstage/integration');
@@ -24,7 +24,7 @@ require('child_process');
24
24
  require('@backstage/errors');
25
25
  require('@backstage/config-loader');
26
26
  require('@backstage/config');
27
- require('./index-9dcc26d9.cjs.js');
27
+ require('./index-2b3c0e05.cjs.js');
28
28
  require('commander');
29
29
  require('semver');
30
30
  require('@manypkg/get-packages');
@@ -1208,4 +1208,4 @@ async function command() {
1208
1208
  }
1209
1209
 
1210
1210
  exports.command = command;
1211
- //# sourceMappingURL=index-c4731ee8.cjs.js.map
1211
+ //# sourceMappingURL=index-8d0019af.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var role = require('./role-ab90969d.cjs.js');
3
+ var role = require('./role-9130c935.cjs.js');
4
4
  var fs = require('fs-extra');
5
- var index = require('./index-9dcc26d9.cjs.js');
5
+ var index = require('./index-2b3c0e05.cjs.js');
6
6
  var webpack = require('webpack');
7
- var packageDetection = require('./packageDetection-ff9a531a.cjs.js');
7
+ var packageDetection = require('./packageDetection-024933fa.cjs.js');
8
8
  require('yn');
9
9
  var path = require('path');
10
10
  require('react-dev-utils/FileSizeReporter');
@@ -18,7 +18,7 @@ require('run-script-webpack-plugin');
18
18
  require('@manypkg/get-packages');
19
19
  require('webpack-node-externals');
20
20
  require('lodash/pickBy');
21
- require('./run-2564ae62.cjs.js');
21
+ require('./run-1310629a.cjs.js');
22
22
  require('mini-css-extract-plugin');
23
23
  require('@pmmmwh/react-refresh-webpack-plugin');
24
24
  var chalk = require('chalk');
@@ -40,8 +40,8 @@ var errors = require('@backstage/errors');
40
40
  var debounce = require('lodash/debounce');
41
41
  var url = require('url');
42
42
  var spawn = require('cross-spawn');
43
- var lint = require('./lint-0be1c949.cjs.js');
44
- var config = require('./config-3e45780c.cjs.js');
43
+ var lint = require('./lint-c21cef97.cjs.js');
44
+ var config = require('./config-743e28e5.cjs.js');
45
45
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
46
46
  require('commander');
47
47
  require('./entryPoints-0cc55995.cjs.js');
@@ -667,4 +667,4 @@ async function command(opts) {
667
667
  }
668
668
 
669
669
  exports.command = command;
670
- //# sourceMappingURL=index-ab9d4051.cjs.js.map
670
+ //# sourceMappingURL=index-e9ebc07b.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-9dcc26d9.cjs.js');
3
+ var index = require('./index-2b3c0e05.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-2564ae62.cjs.js');
5
+ var run = require('./run-1310629a.cjs.js');
6
6
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -58,4 +58,4 @@ var info = async () => {
58
58
  };
59
59
 
60
60
  exports["default"] = info;
61
- //# sourceMappingURL=info-c8138893.cjs.js.map
61
+ //# sourceMappingURL=info-21e41d11.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-2815f945.cjs.js');
8
- var index = require('./index-9dcc26d9.cjs.js');
7
+ var packages = require('./packages-01fa34e6.cjs.js');
8
+ var index = require('./index-2b3c0e05.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-2564ae62.cjs.js');
12
+ var run = require('./run-1310629a.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  require('./yarn-6cd89e16.cjs.js');
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
268
268
  };
269
269
 
270
270
  exports["default"] = install;
271
- //# sourceMappingURL=install-59a20986.cjs.js.map
271
+ //# sourceMappingURL=install-4f8e4dc1.cjs.js.map
@@ -3,7 +3,7 @@
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
5
  var cliNode = require('@backstage/cli-node');
6
- var index = require('./index-9dcc26d9.cjs.js');
6
+ var index = require('./index-2b3c0e05.cjs.js');
7
7
  var parallel = require('./parallel-2d9d247e.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
@@ -88,4 +88,4 @@ async function command(opts) {
88
88
  }
89
89
 
90
90
  exports.command = command;
91
- //# sourceMappingURL=lint-0192921f.cjs.js.map
91
+ //# sourceMappingURL=lint-3c6db1ca.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-9dcc26d9.cjs.js');
3
+ var index = require('./index-2b3c0e05.cjs.js');
4
4
  var eslint = require('eslint');
5
5
  require('commander');
6
6
  require('chalk');
@@ -33,4 +33,4 @@ var lint = async (directories, opts) => {
33
33
  };
34
34
 
35
35
  exports["default"] = lint;
36
- //# sourceMappingURL=lint-e09fa871.cjs.js.map
36
+ //# sourceMappingURL=lint-8977ab7b.cjs.js.map
@@ -5,8 +5,8 @@ require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
7
  require('./yarn-6cd89e16.cjs.js');
8
- require('./run-2564ae62.cjs.js');
9
- var index = require('./index-9dcc26d9.cjs.js');
8
+ require('./run-1310629a.cjs.js');
9
+ var index = require('./index-2b3c0e05.cjs.js');
10
10
  var partition = require('lodash/partition');
11
11
  var cliNode = require('@backstage/cli-node');
12
12
  require('fs-extra');
@@ -112,4 +112,4 @@ function logArray(arr, header, each) {
112
112
  exports["default"] = lint;
113
113
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
114
114
  exports.includedFilter = includedFilter;
115
- //# sourceMappingURL=lint-0be1c949.cjs.js.map
115
+ //# sourceMappingURL=lint-c21cef97.cjs.js.map
@@ -4,7 +4,7 @@ var chalk = require('chalk');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
6
  var cliNode = require('@backstage/cli-node');
7
- var index = require('./index-9dcc26d9.cjs.js');
7
+ var index = require('./index-2b3c0e05.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
10
10
  require('semver');
@@ -76,4 +76,4 @@ async function command(opts) {
76
76
  }
77
77
 
78
78
  exports.command = command;
79
- //# sourceMappingURL=list-deprecations-14061bf3.cjs.js.map
79
+ //# sourceMappingURL=list-deprecations-834a052d.cjs.js.map
@@ -7,14 +7,14 @@ var chalk = require('chalk');
7
7
  var inquirer = require('inquirer');
8
8
  var camelCase = require('lodash/camelCase');
9
9
  var upperFirst = require('lodash/upperFirst');
10
- var index = require('./index-9dcc26d9.cjs.js');
11
- var codeowners = require('./codeowners-29820c1f.cjs.js');
10
+ var index = require('./index-2b3c0e05.cjs.js');
11
+ var codeowners = require('./codeowners-9da8480c.cjs.js');
12
12
  var tasks = require('./tasks-84de240c.cjs.js');
13
13
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
14
14
  require('minimatch');
15
15
  require('@manypkg/get-packages');
16
16
  require('./yarn-6cd89e16.cjs.js');
17
- require('./run-2564ae62.cjs.js');
17
+ require('./run-1310629a.cjs.js');
18
18
  var partition = require('lodash/partition');
19
19
  var cliNode = require('@backstage/cli-node');
20
20
  var errors = require('@backstage/errors');
@@ -777,4 +777,4 @@ var _new = async (opts) => {
777
777
  };
778
778
 
779
779
  exports["default"] = _new;
780
- //# sourceMappingURL=new-2603ba7a.cjs.js.map
780
+ //# sourceMappingURL=new-ad50c0bc.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var productionPack = require('./productionPack-8b9ac9b7.cjs.js');
4
- var index = require('./index-9dcc26d9.cjs.js');
4
+ var index = require('./index-2b3c0e05.cjs.js');
5
5
  require('fs-extra');
6
6
  require('npm-packlist');
7
7
  require('path');
@@ -21,4 +21,4 @@ const post = async () => {
21
21
 
22
22
  exports.post = post;
23
23
  exports.pre = pre;
24
- //# sourceMappingURL=pack-834ab42a.cjs.js.map
24
+ //# sourceMappingURL=pack-4a0b6ad1.cjs.js.map
@@ -8,13 +8,13 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
8
8
  var cliCommon = require('@backstage/cli-common');
9
9
  var ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
10
10
  var runScriptWebpackPlugin = require('run-script-webpack-plugin');
11
- var index = require('./index-9dcc26d9.cjs.js');
11
+ var index = require('./index-2b3c0e05.cjs.js');
12
12
  var fs = require('fs-extra');
13
13
  var getPackages = require('@manypkg/get-packages');
14
14
  var nodeExternals = require('webpack-node-externals');
15
15
  var pickBy = require('lodash/pickBy');
16
16
  var entryPoints = require('./entryPoints-0cc55995.cjs.js');
17
- var run = require('./run-2564ae62.cjs.js');
17
+ var run = require('./run-1310629a.cjs.js');
18
18
  var MiniCssExtractPlugin = require('mini-css-extract-plugin');
19
19
  var svgrTemplate = require('./svgrTemplate-3549ea1c.cjs.js');
20
20
  var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
@@ -235,7 +235,8 @@ const transforms = (options) => {
235
235
  /\.frag$/,
236
236
  /\.vert$/,
237
237
  { and: [/\.svg$/, { not: [/\.icon\.svg$/] }] },
238
- /\.xml$/
238
+ /\.xml$/,
239
+ /\.ico$/
239
240
  ],
240
241
  type: "asset/resource",
241
242
  generator: {
@@ -740,4 +741,4 @@ exports.hasReactDomClient = hasReactDomClient;
740
741
  exports.resolveBaseUrl = resolveBaseUrl;
741
742
  exports.resolveBundlingPaths = resolveBundlingPaths;
742
743
  exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
743
- //# sourceMappingURL=packageDetection-ff9a531a.cjs.js.map
744
+ //# sourceMappingURL=packageDetection-024933fa.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var fix = require('./fix-b27e8b98.cjs.js');
3
+ var fix = require('./fix-60cc33a8.cjs.js');
4
4
  require('@backstage/cli-node');
5
5
  require('fs-extra');
6
6
  require('path');
7
- require('./index-9dcc26d9.cjs.js');
7
+ require('./index-2b3c0e05.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('semver');
@@ -23,4 +23,4 @@ async function command() {
23
23
  }
24
24
 
25
25
  exports.command = command;
26
- //# sourceMappingURL=packageExports-2365ba6d.cjs.js.map
26
+ //# sourceMappingURL=packageExports-f6f1e11b.cjs.js.map
@@ -3,9 +3,9 @@
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
5
  var cliNode = require('@backstage/cli-node');
6
- var run = require('./run-2564ae62.cjs.js');
6
+ var run = require('./run-1310629a.cjs.js');
7
7
  require('child_process');
8
- require('./index-9dcc26d9.cjs.js');
8
+ require('./index-2b3c0e05.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -79,4 +79,4 @@ async function command() {
79
79
  }
80
80
 
81
81
  exports.command = command;
82
- //# sourceMappingURL=packageLintConfigs-24b34055.cjs.js.map
82
+ //# sourceMappingURL=packageLintConfigs-4ec9457f.cjs.js.map
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
4
4
  var path = require('path');
5
5
  var getPackages = require('@manypkg/get-packages');
6
6
  var cliNode = require('@backstage/cli-node');
7
- var index = require('./index-9dcc26d9.cjs.js');
7
+ var index = require('./index-2b3c0e05.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('semver');
@@ -55,4 +55,4 @@ var packageRole = async () => {
55
55
  };
56
56
 
57
57
  exports["default"] = packageRole;
58
- //# sourceMappingURL=packageRole-717c356a.cjs.js.map
58
+ //# sourceMappingURL=packageRole-dc0bc770.cjs.js.map