@backstage/cli 0.27.1-next.2 → 0.27.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 (41) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/cjs/{build-4xYS_mRN.cjs.js → build-D9YZ-dyI.cjs.js} +10 -10
  3. package/dist/cjs/{buildBackend-tihc2jXI.cjs.js → buildBackend-CmtimF8a.cjs.js} +6 -6
  4. package/dist/cjs/{buildWorkspace-DzGmnLIA.cjs.js → buildWorkspace-C4wCq5WM.cjs.js} +4 -4
  5. package/dist/cjs/{bump-D7bCh9so.cjs.js → bump-BQ6YRL6D.cjs.js} +4 -4
  6. package/dist/cjs/{clean-o78W1uJm.cjs.js → clean-BllZTky1.cjs.js} +2 -2
  7. package/dist/cjs/{clean-CC3Mt_l3.cjs.js → clean-CVl--Ec9.cjs.js} +2 -2
  8. package/dist/cjs/{codeowners-DOH0XAJ6.cjs.js → codeowners-FKKtpciN.cjs.js} +2 -2
  9. package/dist/cjs/{config-l0OM68oC.cjs.js → config-BMsjTUVf.cjs.js} +2 -2
  10. package/dist/cjs/{createDistWorkspace-BKOuT4y9.cjs.js → createDistWorkspace-DxOWPD6z.cjs.js} +3 -3
  11. package/dist/cjs/{createPlugin-BjaWNEr7.cjs.js → createPlugin-Dj7O_us6.cjs.js} +5 -5
  12. package/dist/cjs/{diff-qR_Krjfe.cjs.js → diff-Drt115Zb.cjs.js} +2 -2
  13. package/dist/cjs/{docs-SFsAHMuR.cjs.js → docs-DPzCP6Jp.cjs.js} +3 -3
  14. package/dist/cjs/{fix-CO-_RT-P.cjs.js → fix-BM8I_DZ2.cjs.js} +2 -2
  15. package/dist/cjs/{index-DjaukhiC.cjs.js → index-BgEQ8aeF.cjs.js} +2 -2
  16. package/dist/cjs/{index-BCv17c0S.cjs.js → index-CXG8-26G.cjs.js} +6 -6
  17. package/dist/cjs/{index-DMR3AyQl.cjs.js → index-Cw0lUK20.cjs.js} +8 -8
  18. package/dist/cjs/{index-DM0DxIJs.cjs.js → index-DRp-18FB.cjs.js} +4 -4
  19. package/dist/cjs/{index-DnKsJMXl.cjs.js → index-DmUbBCFk.cjs.js} +53 -50
  20. package/dist/cjs/{info-qvh6nVXW.cjs.js → info-FKrzx-9W.cjs.js} +3 -3
  21. package/dist/cjs/{install-B40PDdfZ.cjs.js → install-BMA3RshT.cjs.js} +4 -4
  22. package/dist/cjs/{lint-CYb5eR4F.cjs.js → lint-6vrbdjyg.cjs.js} +2 -2
  23. package/dist/cjs/{lint-Bi9nq5Vm.cjs.js → lint-Cm_9pg85.cjs.js} +2 -2
  24. package/dist/cjs/{list-deprecations-BNbOuUo4.cjs.js → list-deprecations-C6R3rEyS.cjs.js} +2 -2
  25. package/dist/cjs/{moduleFederation-BHgfCDl2.cjs.js → moduleFederation-8XXecxLD.cjs.js} +8 -3
  26. package/dist/cjs/{new-Dhd6Pd1w.cjs.js → new-DJUBFwiF.cjs.js} +5 -5
  27. package/dist/cjs/{pack-JD01KVjk.cjs.js → pack-BqFGqZb5.cjs.js} +2 -2
  28. package/dist/cjs/{packageExports-B5-mokCQ.cjs.js → packageExports-DvjdOWjC.cjs.js} +3 -3
  29. package/dist/cjs/{packageLintConfigs-4_zdCGPD.cjs.js → packageLintConfigs-DGkvTpBd.cjs.js} +3 -3
  30. package/dist/cjs/{packageRole-C_9jXdSu.cjs.js → packageRole-CHz7zkIQ.cjs.js} +2 -2
  31. package/dist/cjs/{packages-DAN7bURf.cjs.js → packages-Cuogjl7j.cjs.js} +3 -3
  32. package/dist/cjs/{print-B5DqDsG6.cjs.js → print-CQU7JzAh.cjs.js} +3 -3
  33. package/dist/cjs/{role-AqzuEJaH.cjs.js → role-8b0z7P0n.cjs.js} +2 -2
  34. package/dist/cjs/{run-TuUxKRac.cjs.js → run-CSt1n0F1.cjs.js} +2 -2
  35. package/dist/cjs/{schema-BQdbH61z.cjs.js → schema-B4250t0W.cjs.js} +3 -3
  36. package/dist/cjs/{tasks-knkf4kMY.cjs.js → tasks-DtAiMv5G.cjs.js} +2 -2
  37. package/dist/cjs/{test-C7TgF1oU.cjs.js → test-DVUsmgyZ.cjs.js} +3 -3
  38. package/dist/cjs/{test-DHxhB9qW.cjs.js → test-Diil1uTk.cjs.js} +3 -3
  39. package/dist/cjs/{validate-DNEzV9o_.cjs.js → validate-DDIGkK2r.cjs.js} +3 -3
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +17 -17
@@ -47,13 +47,13 @@ class NotFoundError extends CustomError {
47
47
 
48
48
  const paths = cliCommon.findPaths(__dirname);
49
49
 
50
- var version$f = "0.25.0-next.2";
50
+ var version$f = "0.25.0";
51
51
 
52
- var version$e = "1.0.0-next.2";
52
+ var version$e = "1.0.0";
53
53
 
54
- var version$d = "1.0.0-next.2";
54
+ var version$d = "1.0.0";
55
55
 
56
- var version$c = "0.27.1-next.2";
56
+ var version$c = "0.27.1";
57
57
  var dependencies = {
58
58
  "@backstage/catalog-model": "workspace:^",
59
59
  "@backstage/cli-common": "workspace:^",
@@ -72,7 +72,7 @@ var dependencies = {
72
72
  "@octokit/oauth-app": "^4.2.0",
73
73
  "@octokit/request": "^6.0.0",
74
74
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
75
- "@rollup/plugin-commonjs": "^25.0.0",
75
+ "@rollup/plugin-commonjs": "^26.0.0",
76
76
  "@rollup/plugin-json": "^6.0.0",
77
77
  "@rollup/plugin-node-resolve": "^15.0.0",
78
78
  "@rollup/plugin-yaml": "^4.0.0",
@@ -111,7 +111,7 @@ var dependencies = {
111
111
  "eslint-formatter-friendly": "^7.0.0",
112
112
  "eslint-plugin-deprecation": "^2.0.0",
113
113
  "eslint-plugin-import": "^2.25.4",
114
- "eslint-plugin-jest": "^27.0.0",
114
+ "eslint-plugin-jest": "^28.0.0",
115
115
  "eslint-plugin-jsx-a11y": "^6.5.1",
116
116
  "eslint-plugin-react": "^7.28.0",
117
117
  "eslint-plugin-react-hooks": "^4.3.0",
@@ -207,25 +207,25 @@ var devDependencies = {
207
207
 
208
208
  var version$b = "1.2.0";
209
209
 
210
- var version$a = "1.14.3-next.0";
210
+ var version$a = "1.15.0";
211
211
 
212
- var version$9 = "0.14.11-next.1";
212
+ var version$9 = "0.15.0";
213
213
 
214
- var version$8 = "1.9.4-next.0";
214
+ var version$8 = "1.9.4";
215
215
 
216
- var version$7 = "1.1.0-next.2";
216
+ var version$7 = "1.1.0";
217
217
 
218
- var version$6 = "1.6.0-next.1";
218
+ var version$6 = "1.6.0";
219
219
 
220
- var version$5 = "0.4.11-next.2";
220
+ var version$5 = "0.4.11";
221
221
 
222
- var version$4 = "0.23.0-next.2";
222
+ var version$4 = "0.23.0";
223
223
 
224
- var version$3 = "0.2.0-next.2";
224
+ var version$3 = "0.2.0";
225
225
 
226
- var version$2 = "0.5.7-next.0";
226
+ var version$2 = "0.5.7";
227
227
 
228
- var version$1 = "0.5.0-next.2";
228
+ var version$1 = "0.5.0";
229
229
 
230
230
  const packageVersions = {
231
231
  "@backstage/backend-common": version$f,
@@ -291,7 +291,7 @@ const configOption = [
291
291
  Array()
292
292
  ];
293
293
  function registerOnboardCommand(program) {
294
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DM0DxIJs.cjs.js'); }).then((m) => m.command)));
294
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DRp-18FB.cjs.js'); }).then((m) => m.command)));
295
295
  }
296
296
  function registerRepoCommand(program) {
297
297
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -303,7 +303,10 @@ function registerRepoCommand(program) {
303
303
  ).option(
304
304
  "--since <ref>",
305
305
  "Only build packages and their dev dependents that changed since the specified ref"
306
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-4xYS_mRN.cjs.js'); }).then((m) => m.command)));
306
+ ).option(
307
+ "--minify",
308
+ "Minify the generated code. Does not apply to app package (app is minified by default)."
309
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-D9YZ-dyI.cjs.js'); }).then((m) => m.command)));
307
310
  command.command("lint").description("Lint all packages in the project").option(
308
311
  "--format <format>",
309
312
  "Lint report output format",
@@ -311,17 +314,17 @@ function registerRepoCommand(program) {
311
314
  ).option(
312
315
  "--since <ref>",
313
316
  "Only lint packages that changed since the specified ref"
314
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Bi9nq5Vm.cjs.js'); }).then((m) => m.command)));
317
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Cm_9pg85.cjs.js'); }).then((m) => m.command)));
315
318
  command.command("fix").description("Automatically fix packages in the project").option(
316
319
  "--publish",
317
320
  "Enable additional fixes that only apply when publishing packages"
318
321
  ).option(
319
322
  "--check",
320
323
  "Fail if any packages would have been changed by the command"
321
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-CO-_RT-P.cjs.js'); }).then((m) => m.command)));
322
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CC3Mt_l3.cjs.js'); }).then((m) => m.command)));
324
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-BM8I_DZ2.cjs.js'); }).then((m) => m.command)));
325
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CVl--Ec9.cjs.js'); }).then((m) => m.command)));
323
326
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
324
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-BNbOuUo4.cjs.js'); }).then((m) => m.command))
327
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-C6R3rEyS.cjs.js'); }).then((m) => m.command))
325
328
  );
326
329
  command.command("test").allowUnknownOption(true).option(
327
330
  "--since <ref>",
@@ -329,14 +332,14 @@ function registerRepoCommand(program) {
329
332
  ).option(
330
333
  "--jest-help",
331
334
  "Show help for Jest CLI options, which are passed through"
332
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-C7TgF1oU.cjs.js'); }).then((m) => m.command)));
335
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-DVUsmgyZ.cjs.js'); }).then((m) => m.command)));
333
336
  }
334
337
  function registerScriptCommand(program) {
335
338
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
336
339
  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(
337
340
  "--inspect-brk [host]",
338
341
  "Enable debugger in Node.js environments, breaking before code starts"
339
- ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-BCv17c0S.cjs.js'); }).then((m) => m.command)));
342
+ ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-CXG8-26G.cjs.js'); }).then((m) => m.command)));
340
343
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
341
344
  "--minify",
342
345
  "Minify the generated code. Does not apply to app package (app is minified by default)."
@@ -351,30 +354,30 @@ function registerScriptCommand(program) {
351
354
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
352
355
  (opt, opts) => opts ? [...opts, opt] : [opt],
353
356
  Array()
354
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-DMR3AyQl.cjs.js'); }).then((m) => m.command)));
357
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-Cw0lUK20.cjs.js'); }).then((m) => m.command)));
355
358
  command.command("lint [directories...]").option(
356
359
  "--format <format>",
357
360
  "Lint report output format",
358
361
  "eslint-formatter-friendly"
359
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-CYb5eR4F.cjs.js'); }).then((m) => m.default)));
360
- 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-DHxhB9qW.cjs.js'); }).then((m) => m.default)));
361
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-o78W1uJm.cjs.js'); }).then((m) => m.default)));
362
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-JD01KVjk.cjs.js'); }).then((m) => m.pre)));
363
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-JD01KVjk.cjs.js'); }).then((m) => m.post)));
362
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-6vrbdjyg.cjs.js'); }).then((m) => m.default)));
363
+ 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-Diil1uTk.cjs.js'); }).then((m) => m.default)));
364
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BllZTky1.cjs.js'); }).then((m) => m.default)));
365
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-BqFGqZb5.cjs.js'); }).then((m) => m.pre)));
366
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-BqFGqZb5.cjs.js'); }).then((m) => m.post)));
364
367
  }
365
368
  function registerMigrateCommand(program) {
366
369
  const command = program.command("migrate [command]").description("Migration utilities");
367
- 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-C_9jXdSu.cjs.js'); }).then((m) => m.default)));
370
+ 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-CHz7zkIQ.cjs.js'); }).then((m) => m.default)));
368
371
  command.command("package-scripts").description("Set package scripts according to each package role").action(
369
372
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-DX6dilK6.cjs.js'); }).then((m) => m.command))
370
373
  );
371
374
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
372
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-B5-mokCQ.cjs.js'); }).then((m) => m.command))
375
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-DvjdOWjC.cjs.js'); }).then((m) => m.command))
373
376
  );
374
377
  command.command("package-lint-configs").description(
375
378
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
376
379
  ).action(
377
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-4_zdCGPD.cjs.js'); }).then((m) => m.command))
380
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-DGkvTpBd.cjs.js'); }).then((m) => m.command))
378
381
  );
379
382
  command.command("react-router-deps").description(
380
383
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -402,7 +405,7 @@ function registerCommands(program) {
402
405
  ).option(
403
406
  "--license <license>",
404
407
  "The license to use for any new packages (default: Apache-2.0)"
405
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-Dhd6Pd1w.cjs.js'); }).then((m) => m.default)));
408
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-DJUBFwiF.cjs.js'); }).then((m) => m.default)));
406
409
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
407
410
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
408
411
  ).option(
@@ -416,30 +419,30 @@ function registerCommands(program) {
416
419
  ).option("--scope <scope>", "The scope to use for new packages").option(
417
420
  "--npm-registry <URL>",
418
421
  "The package registry to use for new packages"
419
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-Dhd6Pd1w.cjs.js'); }).then((m) => m.default)));
422
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-DJUBFwiF.cjs.js'); }).then((m) => m.default)));
420
423
  program.command("create-plugin", { hidden: true }).option(
421
424
  "--backend",
422
425
  "Create plugin with the backend dependencies as default"
423
426
  ).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(
424
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-BjaWNEr7.cjs.js'); }).then((m) => m.default))
427
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-Dj7O_us6.cjs.js'); }).then((m) => m.default))
425
428
  );
426
429
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
427
430
  "Diff an existing plugin with the creation template [DEPRECATED]"
428
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-qR_Krjfe.cjs.js'); }).then((m) => m.default)));
431
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-Drt115Zb.cjs.js'); }).then((m) => m.default)));
429
432
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
430
433
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
431
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-DHxhB9qW.cjs.js'); }).then((m) => m.default)));
434
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-Diil1uTk.cjs.js'); }).then((m) => m.default)));
432
435
  program.command("config:docs").option(
433
436
  "--package <name>",
434
437
  "Only include the schema that applies to the given package"
435
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-SFsAHMuR.cjs.js'); }).then((m) => m.default)));
438
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-DPzCP6Jp.cjs.js'); }).then((m) => m.default)));
436
439
  program.command("config:print").option(
437
440
  "--package <name>",
438
441
  "Only load config schema that applies to the given package"
439
442
  ).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(
440
443
  "--format <format>",
441
444
  "Format to print the configuration in, either json or yaml [yaml]"
442
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-B5DqDsG6.cjs.js'); }).then((m) => m.default)));
445
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-CQU7JzAh.cjs.js'); }).then((m) => m.default)));
443
446
  program.command("config:check").option(
444
447
  "--package <name>",
445
448
  "Only load config schema that applies to the given package"
@@ -448,14 +451,14 @@ function registerCommands(program) {
448
451
  "Enable strict config validation, forbidding errors and unknown keys"
449
452
  ).option(...configOption).description(
450
453
  "Validate that the given configuration loads and matches schema"
451
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-DNEzV9o_.cjs.js'); }).then((m) => m.default)));
454
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-DDIGkK2r.cjs.js'); }).then((m) => m.default)));
452
455
  program.command("config:schema").option(
453
456
  "--package <name>",
454
457
  "Only output config schema that applies to the given package"
455
458
  ).option(
456
459
  "--format <format>",
457
460
  "Format to print the schema in, either json or yaml [yaml]"
458
- ).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-BQdbH61z.cjs.js'); }).then((m) => m.default)));
461
+ ).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-B4250t0W.cjs.js'); }).then((m) => m.default)));
459
462
  registerRepoCommand(program);
460
463
  registerScriptCommand(program);
461
464
  registerMigrateCommand(program);
@@ -467,7 +470,7 @@ function registerCommands(program) {
467
470
  "--release <version|next|main>",
468
471
  "Bump to a specific Backstage release line or version",
469
472
  "main"
470
- ).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-D7bCh9so.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
473
+ ).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-BQ6YRL6D.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
471
474
  program.command("versions:check", { hidden: true }).option("--fix", "Fix any auto-fixable versioning problems").description("Check Backstage package versioning").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Dkx_fBkS.cjs.js'); }).then((m) => m.default)));
472
475
  program.command("versions:migrate").option(
473
476
  "--pattern <glob>",
@@ -477,18 +480,18 @@ function registerCommands(program) {
477
480
  "Skip code changes and only update package.json files"
478
481
  ).description(
479
482
  "Migrate any plugins that have been moved to the @backstage-community namespace automatically"
480
- ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-D7bCh9so.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
481
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-o78W1uJm.cjs.js'); }).then((m) => m.default)));
483
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-BQ6YRL6D.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
484
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BllZTky1.cjs.js'); }).then((m) => m.default)));
482
485
  program.command("build-workspace <workspace-dir> [packages...]").option(
483
486
  "--alwaysYarnPack",
484
487
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
485
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-DzGmnLIA.cjs.js'); }).then((m) => m.default)));
486
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DjaukhiC.cjs.js'); }).then((m) => m.default)));
487
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-qvh6nVXW.cjs.js'); }).then((m) => m.default)));
488
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-C4wCq5WM.cjs.js'); }).then((m) => m.default)));
489
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-BgEQ8aeF.cjs.js'); }).then((m) => m.default)));
490
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-FKrzx-9W.cjs.js'); }).then((m) => m.default)));
488
491
  program.command("install [plugin-id]", { hidden: true }).option(
489
492
  "--from <packageJsonFilePath>",
490
493
  "Install from a local package.json containing the installation recipe"
491
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-B40PDdfZ.cjs.js'); }).then((m) => m.default)));
494
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-BMA3RshT.cjs.js'); }).then((m) => m.default)));
492
495
  }
493
496
  function lazy(getActionFunc) {
494
497
  return async (...args) => {
@@ -532,4 +535,4 @@ exports.devDependencies = devDependencies;
532
535
  exports.paths = paths;
533
536
  exports.version = version;
534
537
  exports.version$1 = version$c;
535
- //# sourceMappingURL=index-DnKsJMXl.cjs.js.map
538
+ //# sourceMappingURL=index-DmUbBCFk.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DnKsJMXl.cjs.js');
3
+ var index = require('./index-DmUbBCFk.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-TuUxKRac.cjs.js');
5
+ var run = require('./run-CSt1n0F1.cjs.js');
6
6
  var Lockfile = require('./Lockfile-B4mqBkH6.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -57,4 +57,4 @@ var info = async () => {
57
57
  };
58
58
 
59
59
  exports.default = info;
60
- //# sourceMappingURL=info-qvh6nVXW.cjs.js.map
60
+ //# sourceMappingURL=info-FKrzx-9W.cjs.js.map
@@ -3,12 +3,12 @@
3
3
  var fs = require('fs-extra');
4
4
  require('@yarnpkg/parsers');
5
5
  require('@yarnpkg/lockfile');
6
- var packages = require('./packages-DAN7bURf.cjs.js');
7
- var index = require('./index-DnKsJMXl.cjs.js');
6
+ var packages = require('./packages-Cuogjl7j.cjs.js');
7
+ var index = require('./index-DmUbBCFk.cjs.js');
8
8
  var chalk = require('chalk');
9
9
  var sortBy = require('lodash/sortBy');
10
10
  var groupBy = require('lodash/groupBy');
11
- var run = require('./run-TuUxKRac.cjs.js');
11
+ var run = require('./run-CSt1n0F1.cjs.js');
12
12
  require('minimatch');
13
13
  require('@manypkg/get-packages');
14
14
  require('./yarn-Ukl9MOS0.cjs.js');
@@ -265,4 +265,4 @@ var install = async (pluginId, cmd) => {
265
265
  };
266
266
 
267
267
  exports.default = install;
268
- //# sourceMappingURL=install-B40PDdfZ.cjs.js.map
268
+ //# sourceMappingURL=install-BMA3RshT.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DnKsJMXl.cjs.js');
3
+ var index = require('./index-DmUbBCFk.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-CYb5eR4F.cjs.js.map
36
+ //# sourceMappingURL=lint-6vrbdjyg.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-DnKsJMXl.cjs.js');
6
+ var index = require('./index-DmUbBCFk.cjs.js');
7
7
  var parallel = require('./parallel-BszNaKyc.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-Bi9nq5Vm.cjs.js.map
91
+ //# sourceMappingURL=lint-Cm_9pg85.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-DnKsJMXl.cjs.js');
7
+ var index = require('./index-DmUbBCFk.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-BNbOuUo4.cjs.js.map
79
+ //# sourceMappingURL=list-deprecations-C6R3rEyS.cjs.js.map
@@ -11,13 +11,13 @@ var cliCommon = require('@backstage/cli-common');
11
11
  var ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
12
12
  var runScriptWebpackPlugin = require('run-script-webpack-plugin');
13
13
  var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
14
- var index = require('./index-DnKsJMXl.cjs.js');
14
+ var index = require('./index-DmUbBCFk.cjs.js');
15
15
  var fs = require('fs-extra');
16
16
  var getPackages = require('@manypkg/get-packages');
17
17
  var nodeExternals = require('webpack-node-externals');
18
18
  var pickBy = require('lodash/pickBy');
19
19
  var entryPoints = require('./entryPoints-CoHH4lBA.cjs.js');
20
- var run = require('./run-TuUxKRac.cjs.js');
20
+ var run = require('./run-CSt1n0F1.cjs.js');
21
21
  var MiniCssExtractPlugin = require('mini-css-extract-plugin');
22
22
  var svgrTemplate = require('./svgrTemplate-BTjBQ3by.cjs.js');
23
23
  var yn = require('yn');
@@ -541,6 +541,11 @@ async function createConfig(paths, options) {
541
541
  return {
542
542
  mode,
543
543
  profile: false,
544
+ ...isDev ? {
545
+ watchOptions: {
546
+ ignored: /node_modules/
547
+ }
548
+ } : {},
544
549
  optimization: optimization$1,
545
550
  bail: false,
546
551
  performance: {
@@ -902,4 +907,4 @@ exports.resolveBaseUrl = resolveBaseUrl;
902
907
  exports.resolveBundlingPaths = resolveBundlingPaths;
903
908
  exports.resolveEndpoint = resolveEndpoint;
904
909
  exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
905
- //# sourceMappingURL=moduleFederation-BHgfCDl2.cjs.js.map
910
+ //# sourceMappingURL=moduleFederation-8XXecxLD.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-DnKsJMXl.cjs.js');
11
- var codeowners = require('./codeowners-DOH0XAJ6.cjs.js');
12
- var tasks = require('./tasks-knkf4kMY.cjs.js');
10
+ var index = require('./index-DmUbBCFk.cjs.js');
11
+ var codeowners = require('./codeowners-FKKtpciN.cjs.js');
12
+ var tasks = require('./tasks-DtAiMv5G.cjs.js');
13
13
  var Lockfile = require('./Lockfile-B4mqBkH6.cjs.js');
14
14
  require('minimatch');
15
15
  require('@manypkg/get-packages');
16
16
  require('./yarn-Ukl9MOS0.cjs.js');
17
- require('./run-TuUxKRac.cjs.js');
17
+ require('./run-CSt1n0F1.cjs.js');
18
18
  var partition = require('lodash/partition');
19
19
  var cliNode = require('@backstage/cli-node');
20
20
  var errors = require('@backstage/errors');
@@ -801,4 +801,4 @@ var _new = async (opts) => {
801
801
  };
802
802
 
803
803
  exports.default = _new;
804
- //# sourceMappingURL=new-Dhd6Pd1w.cjs.js.map
804
+ //# sourceMappingURL=new-DJUBFwiF.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var productionPack = require('./productionPack-BWU8WkGs.cjs.js');
4
- var index = require('./index-DnKsJMXl.cjs.js');
4
+ var index = require('./index-DmUbBCFk.cjs.js');
5
5
  var fs = require('fs-extra');
6
6
  var publishing = require('./publishing-DQtsKTbc.cjs.js');
7
7
  require('npm-packlist');
@@ -30,4 +30,4 @@ const post = async () => {
30
30
 
31
31
  exports.post = post;
32
32
  exports.pre = pre;
33
- //# sourceMappingURL=pack-JD01KVjk.cjs.js.map
33
+ //# sourceMappingURL=pack-BqFGqZb5.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var fix = require('./fix-CO-_RT-P.cjs.js');
3
+ var fix = require('./fix-BM8I_DZ2.cjs.js');
4
4
  require('@backstage/cli-node');
5
5
  require('fs-extra');
6
6
  require('path');
7
- require('./index-DnKsJMXl.cjs.js');
7
+ require('./index-DmUbBCFk.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('semver');
@@ -24,4 +24,4 @@ async function command() {
24
24
  }
25
25
 
26
26
  exports.command = command;
27
- //# sourceMappingURL=packageExports-B5-mokCQ.cjs.js.map
27
+ //# sourceMappingURL=packageExports-DvjdOWjC.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-TuUxKRac.cjs.js');
6
+ var run = require('./run-CSt1n0F1.cjs.js');
7
7
  require('child_process');
8
- require('./index-DnKsJMXl.cjs.js');
8
+ require('./index-DmUbBCFk.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -78,4 +78,4 @@ async function command() {
78
78
  }
79
79
 
80
80
  exports.command = command;
81
- //# sourceMappingURL=packageLintConfigs-4_zdCGPD.cjs.js.map
81
+ //# sourceMappingURL=packageLintConfigs-DGkvTpBd.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-DnKsJMXl.cjs.js');
7
+ var index = require('./index-DmUbBCFk.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-C_9jXdSu.cjs.js.map
58
+ //# sourceMappingURL=packageRole-CHz7zkIQ.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var minimatch = require('minimatch');
4
4
  var getPackages = require('@manypkg/get-packages');
5
- var index = require('./index-DnKsJMXl.cjs.js');
5
+ var index = require('./index-DmUbBCFk.cjs.js');
6
6
  var yarn = require('./yarn-Ukl9MOS0.cjs.js');
7
- var run = require('./run-TuUxKRac.cjs.js');
7
+ var run = require('./run-CSt1n0F1.cjs.js');
8
8
 
9
9
  const DEP_TYPES = [
10
10
  "dependencies",
@@ -72,4 +72,4 @@ async function mapDependencies(targetDir, pattern) {
72
72
 
73
73
  exports.fetchPackageInfo = fetchPackageInfo;
74
74
  exports.mapDependencies = mapDependencies;
75
- //# sourceMappingURL=packages-DAN7bURf.cjs.js.map
75
+ //# sourceMappingURL=packages-Cuogjl7j.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-l0OM68oC.cjs.js');
5
+ var config = require('./config-BMsjTUVf.cjs.js');
6
6
  require('@backstage/config-loader');
7
- require('./index-DnKsJMXl.cjs.js');
7
+ require('./index-DmUbBCFk.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -58,4 +58,4 @@ function serializeConfigData(appConfigs, schema, visibility) {
58
58
  }
59
59
 
60
60
  exports.default = print;
61
- //# sourceMappingURL=print-B5DqDsG6.cjs.js.map
61
+ //# sourceMappingURL=print-CQU7JzAh.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-DnKsJMXl.cjs.js');
4
+ var index = require('./index-DmUbBCFk.cjs.js');
5
5
  var cliNode = require('@backstage/cli-node');
6
6
 
7
7
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -21,4 +21,4 @@ async function findRoleFromCommand(opts) {
21
21
  }
22
22
 
23
23
  exports.findRoleFromCommand = findRoleFromCommand;
24
- //# sourceMappingURL=role-AqzuEJaH.cjs.js.map
24
+ //# sourceMappingURL=role-8b0z7P0n.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-DnKsJMXl.cjs.js');
4
+ var index = require('./index-DmUbBCFk.cjs.js');
5
5
  var util = require('util');
6
6
  var errors = require('@backstage/errors');
7
7
 
@@ -78,4 +78,4 @@ exports.execFile = execFile;
78
78
  exports.run = run;
79
79
  exports.runCheck = runCheck;
80
80
  exports.runPlain = runPlain;
81
- //# sourceMappingURL=run-TuUxKRac.cjs.js.map
81
+ //# sourceMappingURL=run-CSt1n0F1.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var yaml = require('yaml');
4
- var config = require('./config-l0OM68oC.cjs.js');
4
+ var config = require('./config-BMsjTUVf.cjs.js');
5
5
  var configLoader = require('@backstage/config-loader');
6
6
  require('@backstage/config');
7
- require('./index-DnKsJMXl.cjs.js');
7
+ require('./index-DmUbBCFk.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -42,4 +42,4 @@ var schema = async (opts) => {
42
42
  };
43
43
 
44
44
  exports.default = schema;
45
- //# sourceMappingURL=schema-BQdbH61z.cjs.js.map
45
+ //# sourceMappingURL=schema-B4250t0W.cjs.js.map
@@ -9,7 +9,7 @@ var path = require('path');
9
9
  var recursive = require('recursive-readdir');
10
10
  var child_process = require('child_process');
11
11
  var errors = require('@backstage/errors');
12
- var index = require('./index-DnKsJMXl.cjs.js');
12
+ var index = require('./index-DmUbBCFk.cjs.js');
13
13
 
14
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
15
15
 
@@ -185,4 +185,4 @@ exports.Task = Task;
185
185
  exports.addPackageDependency = addPackageDependency;
186
186
  exports.addToBackend = addToBackend;
187
187
  exports.templatingTask = templatingTask;
188
- //# sourceMappingURL=tasks-knkf4kMY.cjs.js.map
188
+ //# sourceMappingURL=tasks-DtAiMv5G.cjs.js.map
@@ -2,8 +2,8 @@
2
2
 
3
3
  var os = require('os');
4
4
  var cliNode = require('@backstage/cli-node');
5
- var index = require('./index-DnKsJMXl.cjs.js');
6
- var run = require('./run-TuUxKRac.cjs.js');
5
+ var index = require('./index-DmUbBCFk.cjs.js');
6
+ var run = require('./run-CSt1n0F1.cjs.js');
7
7
  require('commander');
8
8
  require('chalk');
9
9
  require('fs-extra');
@@ -123,4 +123,4 @@ async function command(opts, cmd) {
123
123
 
124
124
  exports.command = command;
125
125
  exports.createFlagFinder = createFlagFinder;
126
- //# sourceMappingURL=test-C7TgF1oU.cjs.js.map
126
+ //# sourceMappingURL=test-DVUsmgyZ.cjs.js.map