@backstage/cli 0.26.5-next.0 → 0.26.5

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 (42) hide show
  1. package/CHANGELOG.md +31 -6
  2. package/dist/cjs/{build-zyeewHUt.cjs.js → build-ximeXBzp.cjs.js} +7 -7
  3. package/dist/cjs/{buildBackend-MtwS4Xzk.cjs.js → buildBackend-B5trE1Vk.cjs.js} +6 -6
  4. package/dist/cjs/{buildWorkspace-W5gZcX6G.cjs.js → buildWorkspace-C23qeOB4.cjs.js} +4 -4
  5. package/dist/cjs/{bump-BNdSlSZA.cjs.js → bump-BlLGSmcN.cjs.js} +16 -14
  6. package/dist/cjs/{clean-CiPJY8xE.cjs.js → clean-BbUHpg95.cjs.js} +2 -2
  7. package/dist/cjs/{clean-mnWn91Kz.cjs.js → clean-DRH8FFCe.cjs.js} +2 -2
  8. package/dist/cjs/{codeowners-BA7pqW1K.cjs.js → codeowners-CI-eIlhe.cjs.js} +2 -2
  9. package/dist/cjs/{config-ClqqpLs9.cjs.js → config-r5N0sIuh.cjs.js} +2 -2
  10. package/dist/cjs/{createDistWorkspace-DHA76TGo.cjs.js → createDistWorkspace-D63FNj6p.cjs.js} +3 -7
  11. package/dist/cjs/{createPlugin-BS__DFJ1.cjs.js → createPlugin-CQcESpYY.cjs.js} +4 -4
  12. package/dist/cjs/{diff-C4xrW565.cjs.js → diff-BMcpmbPF.cjs.js} +2 -2
  13. package/dist/cjs/{docs-Dj56P8ff.cjs.js → docs-D8mcfibe.cjs.js} +3 -3
  14. package/dist/cjs/{fix-DDq9Dzpx.cjs.js → fix-Cbn2KDvL.cjs.js} +3 -3
  15. package/dist/cjs/{index-De0Cp3x9.cjs.js → index-BNvyrvqr.cjs.js} +2 -2
  16. package/dist/cjs/{index-D3bjN2-1.cjs.js → index-BXytgCKT.cjs.js} +3 -3
  17. package/dist/cjs/{index-ByT2B5Tx.cjs.js → index-CnxI4f69.cjs.js} +21 -13
  18. package/dist/cjs/{index-CJ8B-HDS.cjs.js → index-ama7jO8f.cjs.js} +8 -8
  19. package/dist/cjs/{index-BvdmOJNr.cjs.js → index-kzCSxaBD.cjs.js} +48 -48
  20. package/dist/cjs/{info-DmDTt3nr.cjs.js → info-Cv_4yEvy.cjs.js} +3 -3
  21. package/dist/cjs/{install-COChsvim.cjs.js → install-tMfzY5pu.cjs.js} +4 -4
  22. package/dist/cjs/{lint-CDPGFet1.cjs.js → lint-Befy7j7B.cjs.js} +4 -7
  23. package/dist/cjs/{lint-BgVFm0jG.cjs.js → lint-CgWNqvnY.cjs.js} +2 -2
  24. package/dist/cjs/{lint-Cavp2OVw.cjs.js → lint-DEbvBXdq.cjs.js} +2 -2
  25. package/dist/cjs/{list-deprecations-CRBuvluB.cjs.js → list-deprecations-CIy-pi4o.cjs.js} +2 -2
  26. package/dist/cjs/{new-BB5zOs3P.cjs.js → new-YKNo_jeb.cjs.js} +4 -4
  27. package/dist/cjs/{pack-XIek1OQT.cjs.js → pack-D3qSX8PR.cjs.js} +2 -2
  28. package/dist/cjs/{packageDetection-Bpe3hTRE.cjs.js → packageDetection-RcZ3WmUr.cjs.js} +6 -3
  29. package/dist/cjs/{packageExports-DhFsd23o.cjs.js → packageExports-CxIV5yGm.cjs.js} +3 -3
  30. package/dist/cjs/{packageLintConfigs-CSqllVBR.cjs.js → packageLintConfigs-CU_GEWUU.cjs.js} +3 -3
  31. package/dist/cjs/{packageRole-D2Ow8DXq.cjs.js → packageRole-CEqhSCR3.cjs.js} +2 -2
  32. package/dist/cjs/{packages-BMAY3o8U.cjs.js → packages-B0oCL010.cjs.js} +3 -3
  33. package/dist/cjs/{print-CPt2LwHN.cjs.js → print-DfBWr18B.cjs.js} +3 -3
  34. package/dist/cjs/{role-BwgGxvDZ.cjs.js → role-DK6uMK7-.cjs.js} +2 -2
  35. package/dist/cjs/{run-Cw5ShIvG.cjs.js → run-DFWF3wvX.cjs.js} +2 -2
  36. package/dist/cjs/{schema-CXYZ5maN.cjs.js → schema-6v_eFHC5.cjs.js} +3 -3
  37. package/dist/cjs/{test-B45kikEd.cjs.js → test-BSDKO_bz.cjs.js} +3 -3
  38. package/dist/cjs/{test-C-aW2JPc.cjs.js → test-DwuJhYqF.cjs.js} +3 -3
  39. package/dist/cjs/{validate-C5s9cEnp.cjs.js → validate-DcMhu0wS.cjs.js} +3 -3
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +45 -35
  42. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +1 -1
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
53
53
 
54
54
  const paths = cliCommon.findPaths(__dirname);
55
55
 
56
- var version$f = "0.21.8-next.0";
56
+ var version$f = "0.22.0";
57
57
 
58
- var version$e = "0.6.18-next.0";
58
+ var version$e = "0.6.18";
59
59
 
60
- var version$d = "0.3.8-next.0";
60
+ var version$d = "0.3.8";
61
61
 
62
- var version$c = "0.26.5-next.0";
62
+ var version$c = "0.26.5";
63
63
  var dependencies = {
64
64
  "@backstage/catalog-model": "workspace:^",
65
65
  "@backstage/cli-common": "workspace:^",
@@ -211,25 +211,25 @@ var devDependencies = {
211
211
 
212
212
  var version$b = "1.2.0";
213
213
 
214
- var version$a = "1.12.4";
214
+ var version$a = "1.12.5";
215
215
 
216
- var version$9 = "0.14.5-next.0";
216
+ var version$9 = "0.14.7";
217
217
 
218
218
  var version$8 = "1.9.2";
219
219
 
220
- var version$7 = "1.0.32-next.0";
220
+ var version$7 = "1.0.32";
221
221
 
222
- var version$6 = "1.5.5-next.0";
222
+ var version$6 = "1.5.5";
223
223
 
224
- var version$5 = "0.4.4-next.0";
224
+ var version$5 = "0.4.4";
225
225
 
226
- var version$4 = "0.22.5-next.0";
226
+ var version$4 = "0.22.5";
227
227
 
228
- var version$3 = "0.1.4-next.0";
228
+ var version$3 = "0.1.4";
229
229
 
230
- var version$2 = "0.5.4-next.0";
230
+ var version$2 = "0.5.4";
231
231
 
232
- var version$1 = "0.2.18-next.0";
232
+ var version$1 = "0.2.18";
233
233
 
234
234
  const packageVersions = {
235
235
  "@backstage/backend-common": version$f,
@@ -296,7 +296,7 @@ const configOption = [
296
296
  Array()
297
297
  ];
298
298
  function registerOnboardCommand(program) {
299
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-D3bjN2-1.cjs.js'); }).then((m) => m.command)));
299
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-BXytgCKT.cjs.js'); }).then((m) => m.command)));
300
300
  }
301
301
  function registerRepoCommand(program) {
302
302
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -308,7 +308,7 @@ function registerRepoCommand(program) {
308
308
  ).option(
309
309
  "--since <ref>",
310
310
  "Only build packages and their dev dependents that changed since the specified ref"
311
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-zyeewHUt.cjs.js'); }).then((m) => m.command)));
311
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-ximeXBzp.cjs.js'); }).then((m) => m.command)));
312
312
  command.command("lint").description("Lint all packages in the project").option(
313
313
  "--format <format>",
314
314
  "Lint report output format",
@@ -316,14 +316,14 @@ function registerRepoCommand(program) {
316
316
  ).option(
317
317
  "--since <ref>",
318
318
  "Only lint packages that changed since the specified ref"
319
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-BgVFm0jG.cjs.js'); }).then((m) => m.command)));
319
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-CgWNqvnY.cjs.js'); }).then((m) => m.command)));
320
320
  command.command("fix").description("Automatically fix packages in the project").option(
321
321
  "--check",
322
322
  "Fail if any packages would have been changed by the command"
323
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-DDq9Dzpx.cjs.js'); }).then((m) => m.command)));
324
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CiPJY8xE.cjs.js'); }).then((m) => m.command)));
323
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-Cbn2KDvL.cjs.js'); }).then((m) => m.command)));
324
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BbUHpg95.cjs.js'); }).then((m) => m.command)));
325
325
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
326
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-CRBuvluB.cjs.js'); }).then((m) => m.command))
326
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-CIy-pi4o.cjs.js'); }).then((m) => m.command))
327
327
  );
328
328
  command.command("test").allowUnknownOption(true).option(
329
329
  "--since <ref>",
@@ -331,14 +331,14 @@ function registerRepoCommand(program) {
331
331
  ).option(
332
332
  "--jest-help",
333
333
  "Show help for Jest CLI options, which are passed through"
334
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-C-aW2JPc.cjs.js'); }).then((m) => m.command)));
334
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-DwuJhYqF.cjs.js'); }).then((m) => m.command)));
335
335
  }
336
336
  function registerScriptCommand(program) {
337
337
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
338
338
  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(
339
339
  "--inspect-brk [host]",
340
340
  "Enable debugger in Node.js environments, breaking before code starts"
341
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-ByT2B5Tx.cjs.js'); }).then((m) => m.command)));
341
+ ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-CnxI4f69.cjs.js'); }).then((m) => m.command)));
342
342
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
343
343
  "--minify",
344
344
  "Minify the generated code. Does not apply to app package (app is minified by default)."
@@ -353,30 +353,30 @@ function registerScriptCommand(program) {
353
353
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
354
354
  (opt, opts) => opts ? [...opts, opt] : [opt],
355
355
  Array()
356
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-CJ8B-HDS.cjs.js'); }).then((m) => m.command)));
356
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-ama7jO8f.cjs.js'); }).then((m) => m.command)));
357
357
  command.command("lint [directories...]").option(
358
358
  "--format <format>",
359
359
  "Lint report output format",
360
360
  "eslint-formatter-friendly"
361
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Cavp2OVw.cjs.js'); }).then((m) => m.default)));
362
- 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-B45kikEd.cjs.js'); }).then((m) => m.default)));
363
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-mnWn91Kz.cjs.js'); }).then((m) => m.default)));
364
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-XIek1OQT.cjs.js'); }).then((m) => m.pre)));
365
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-XIek1OQT.cjs.js'); }).then((m) => m.post)));
361
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-DEbvBXdq.cjs.js'); }).then((m) => m.default)));
362
+ 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-BSDKO_bz.cjs.js'); }).then((m) => m.default)));
363
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-DRH8FFCe.cjs.js'); }).then((m) => m.default)));
364
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-D3qSX8PR.cjs.js'); }).then((m) => m.pre)));
365
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-D3qSX8PR.cjs.js'); }).then((m) => m.post)));
366
366
  }
367
367
  function registerMigrateCommand(program) {
368
368
  const command = program.command("migrate [command]").description("Migration utilities");
369
- 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-D2Ow8DXq.cjs.js'); }).then((m) => m.default)));
369
+ 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-CEqhSCR3.cjs.js'); }).then((m) => m.default)));
370
370
  command.command("package-scripts").description("Set package scripts according to each package role").action(
371
371
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-CPnlPBBs.cjs.js'); }).then((m) => m.command))
372
372
  );
373
373
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
374
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-DhFsd23o.cjs.js'); }).then((m) => m.command))
374
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-CxIV5yGm.cjs.js'); }).then((m) => m.command))
375
375
  );
376
376
  command.command("package-lint-configs").description(
377
377
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
378
378
  ).action(
379
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-CSqllVBR.cjs.js'); }).then((m) => m.command))
379
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-CU_GEWUU.cjs.js'); }).then((m) => m.command))
380
380
  );
381
381
  command.command("react-router-deps").description(
382
382
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -401,7 +401,7 @@ function registerCommands(program) {
401
401
  ).option(
402
402
  "--baseVersion <version>",
403
403
  "The version to use for any new packages (default: 0.1.0)"
404
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-BB5zOs3P.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-YKNo_jeb.cjs.js'); }).then((m) => m.default)));
405
405
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
406
406
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
407
407
  ).option(
@@ -415,30 +415,30 @@ function registerCommands(program) {
415
415
  ).option("--scope <scope>", "The scope to use for new packages").option(
416
416
  "--npm-registry <URL>",
417
417
  "The package registry to use for new packages"
418
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-BB5zOs3P.cjs.js'); }).then((m) => m.default)));
418
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-YKNo_jeb.cjs.js'); }).then((m) => m.default)));
419
419
  program.command("create-plugin", { hidden: true }).option(
420
420
  "--backend",
421
421
  "Create plugin with the backend dependencies as default"
422
422
  ).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(
423
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-BS__DFJ1.cjs.js'); }).then((m) => m.default))
423
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-CQcESpYY.cjs.js'); }).then((m) => m.default))
424
424
  );
425
425
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
426
426
  "Diff an existing plugin with the creation template [DEPRECATED]"
427
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-C4xrW565.cjs.js'); }).then((m) => m.default)));
427
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-BMcpmbPF.cjs.js'); }).then((m) => m.default)));
428
428
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
429
429
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
430
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-B45kikEd.cjs.js'); }).then((m) => m.default)));
430
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-BSDKO_bz.cjs.js'); }).then((m) => m.default)));
431
431
  program.command("config:docs").option(
432
432
  "--package <name>",
433
433
  "Only include the schema that applies to the given package"
434
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-Dj56P8ff.cjs.js'); }).then((m) => m.default)));
434
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-D8mcfibe.cjs.js'); }).then((m) => m.default)));
435
435
  program.command("config:print").option(
436
436
  "--package <name>",
437
437
  "Only load config schema that applies to the given package"
438
438
  ).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(
439
439
  "--format <format>",
440
440
  "Format to print the configuration in, either json or yaml [yaml]"
441
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-CPt2LwHN.cjs.js'); }).then((m) => m.default)));
441
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-DfBWr18B.cjs.js'); }).then((m) => m.default)));
442
442
  program.command("config:check").option(
443
443
  "--package <name>",
444
444
  "Only load config schema that applies to the given package"
@@ -447,14 +447,14 @@ function registerCommands(program) {
447
447
  "Enable strict config validation, forbidding errors and unknown keys"
448
448
  ).option(...configOption).description(
449
449
  "Validate that the given configuration loads and matches schema"
450
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-C5s9cEnp.cjs.js'); }).then((m) => m.default)));
450
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-DcMhu0wS.cjs.js'); }).then((m) => m.default)));
451
451
  program.command("config:schema").option(
452
452
  "--package <name>",
453
453
  "Only output config schema that applies to the given package"
454
454
  ).option(
455
455
  "--format <format>",
456
456
  "Format to print the schema in, either json or yaml [yaml]"
457
- ).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-CXYZ5maN.cjs.js'); }).then((m) => m.default)));
457
+ ).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-6v_eFHC5.cjs.js'); }).then((m) => m.default)));
458
458
  registerRepoCommand(program);
459
459
  registerScriptCommand(program);
460
460
  registerMigrateCommand(program);
@@ -466,8 +466,8 @@ function registerCommands(program) {
466
466
  "--release <version|next|main>",
467
467
  "Bump to a specific Backstage release line or version",
468
468
  "main"
469
- ).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-BNdSlSZA.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
470
- 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-CDPGFet1.cjs.js'); }).then((m) => m.default)));
469
+ ).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-BlLGSmcN.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
470
+ 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-Befy7j7B.cjs.js'); }).then((m) => m.default)));
471
471
  program.command("versions:migrate").option(
472
472
  "--pattern <glob>",
473
473
  "Override glob for matching packages to upgrade"
@@ -476,18 +476,18 @@ function registerCommands(program) {
476
476
  "Skip code changes and only update package.json files"
477
477
  ).description(
478
478
  "Migrate any plugins that have been moved to the @backstage-community namespace automatically"
479
- ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-BNdSlSZA.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
480
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-mnWn91Kz.cjs.js'); }).then((m) => m.default)));
479
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-BlLGSmcN.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
480
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-DRH8FFCe.cjs.js'); }).then((m) => m.default)));
481
481
  program.command("build-workspace <workspace-dir> [packages...]").option(
482
482
  "--alwaysYarnPack",
483
483
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
484
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-W5gZcX6G.cjs.js'); }).then((m) => m.default)));
485
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-De0Cp3x9.cjs.js'); }).then((m) => m.default)));
486
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-DmDTt3nr.cjs.js'); }).then((m) => m.default)));
484
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-C23qeOB4.cjs.js'); }).then((m) => m.default)));
485
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-BNvyrvqr.cjs.js'); }).then((m) => m.default)));
486
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-Cv_4yEvy.cjs.js'); }).then((m) => m.default)));
487
487
  program.command("install [plugin-id]", { hidden: true }).option(
488
488
  "--from <packageJsonFilePath>",
489
489
  "Install from a local package.json containing the installation recipe"
490
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-COChsvim.cjs.js'); }).then((m) => m.default)));
490
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-tMfzY5pu.cjs.js'); }).then((m) => m.default)));
491
491
  }
492
492
  function lazy(getActionFunc) {
493
493
  return async (...args) => {
@@ -531,4 +531,4 @@ exports.devDependencies = devDependencies;
531
531
  exports.paths = paths;
532
532
  exports.version = version;
533
533
  exports.version$1 = version$c;
534
- //# sourceMappingURL=index-BvdmOJNr.cjs.js.map
534
+ //# sourceMappingURL=index-kzCSxaBD.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BvdmOJNr.cjs.js');
3
+ var index = require('./index-kzCSxaBD.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-Cw5ShIvG.cjs.js');
5
+ var run = require('./run-DFWF3wvX.cjs.js');
6
6
  var Lockfile = require('./Lockfile-C7rtIlD6.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-DmDTt3nr.cjs.js.map
61
+ //# sourceMappingURL=info-Cv_4yEvy.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-BMAY3o8U.cjs.js');
8
- var index = require('./index-BvdmOJNr.cjs.js');
7
+ var packages = require('./packages-B0oCL010.cjs.js');
8
+ var index = require('./index-kzCSxaBD.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-Cw5ShIvG.cjs.js');
12
+ var run = require('./run-DFWF3wvX.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  require('./yarn-Ukl9MOS0.cjs.js');
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
268
268
  };
269
269
 
270
270
  exports.default = install;
271
- //# sourceMappingURL=install-COChsvim.cjs.js.map
271
+ //# sourceMappingURL=install-tMfzY5pu.cjs.js.map
@@ -5,8 +5,8 @@ require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
7
  require('./yarn-Ukl9MOS0.cjs.js');
8
- require('./run-Cw5ShIvG.cjs.js');
9
- var index = require('./index-BvdmOJNr.cjs.js');
8
+ require('./run-DFWF3wvX.cjs.js');
9
+ var index = require('./index-kzCSxaBD.cjs.js');
10
10
  var partition = require('lodash/partition');
11
11
  var cliNode = require('@backstage/cli-node');
12
12
  require('fs-extra');
@@ -25,10 +25,7 @@ var partition__default = /*#__PURE__*/_interopDefaultCompat(partition);
25
25
 
26
26
  const INCLUDED = [/^@backstage\//];
27
27
  const includedFilter = (name) => INCLUDED.some((pattern) => pattern.test(name));
28
- const FORBID_DUPLICATES = [
29
- /^@backstage\/core-app-api$/,
30
- /^@backstage\/plugin-/
31
- ];
28
+ const FORBID_DUPLICATES = [/^@backstage\/\w+-app-api$/, /^@backstage\/plugin-/];
32
29
  const ALLOW_DUPLICATES = [
33
30
  /^@backstage\/core-plugin-api$/,
34
31
  // Duplicates of libraries are OK
@@ -112,4 +109,4 @@ function logArray(arr, header, each) {
112
109
  exports.default = lint;
113
110
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
114
111
  exports.includedFilter = includedFilter;
115
- //# sourceMappingURL=lint-CDPGFet1.cjs.js.map
112
+ //# sourceMappingURL=lint-Befy7j7B.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-BvdmOJNr.cjs.js');
6
+ var index = require('./index-kzCSxaBD.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-BgVFm0jG.cjs.js.map
91
+ //# sourceMappingURL=lint-CgWNqvnY.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BvdmOJNr.cjs.js');
3
+ var index = require('./index-kzCSxaBD.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-Cavp2OVw.cjs.js.map
36
+ //# sourceMappingURL=lint-DEbvBXdq.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-BvdmOJNr.cjs.js');
7
+ var index = require('./index-kzCSxaBD.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-CRBuvluB.cjs.js.map
79
+ //# sourceMappingURL=list-deprecations-CIy-pi4o.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-BvdmOJNr.cjs.js');
11
- var codeowners = require('./codeowners-BA7pqW1K.cjs.js');
10
+ var index = require('./index-kzCSxaBD.cjs.js');
11
+ var codeowners = require('./codeowners-CI-eIlhe.cjs.js');
12
12
  var tasks = require('./tasks-mGXy8WjR.cjs.js');
13
13
  var Lockfile = require('./Lockfile-C7rtIlD6.cjs.js');
14
14
  require('minimatch');
15
15
  require('@manypkg/get-packages');
16
16
  require('./yarn-Ukl9MOS0.cjs.js');
17
- require('./run-Cw5ShIvG.cjs.js');
17
+ require('./run-DFWF3wvX.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-BB5zOs3P.cjs.js.map
780
+ //# sourceMappingURL=new-YKNo_jeb.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var productionPack = require('./productionPack-DotlEIE2.cjs.js');
4
- var index = require('./index-BvdmOJNr.cjs.js');
4
+ var index = require('./index-kzCSxaBD.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-XIek1OQT.cjs.js.map
24
+ //# sourceMappingURL=pack-D3qSX8PR.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-BvdmOJNr.cjs.js');
11
+ var index = require('./index-kzCSxaBD.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-CoHH4lBA.cjs.js');
17
- var run = require('./run-Cw5ShIvG.cjs.js');
17
+ var run = require('./run-DFWF3wvX.cjs.js');
18
18
  var MiniCssExtractPlugin = require('mini-css-extract-plugin');
19
19
  var svgrTemplate = require('./svgrTemplate-BTjBQ3by.cjs.js');
20
20
  var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
@@ -494,6 +494,9 @@ async function createBackendConfig(paths, options) {
494
494
  const inspect = typeof options.inspectBrkEnabled === "string" ? `--inspect-brk=${options.inspectBrkEnabled}` : "--inspect-brk";
495
495
  runScriptNodeArgs.push(inspect);
496
496
  }
497
+ if (options.require) {
498
+ runScriptNodeArgs.push(`--require=${options.require}`);
499
+ }
497
500
  return {
498
501
  mode: isDev ? "development" : "production",
499
502
  profile: false,
@@ -747,4 +750,4 @@ exports.hasReactDomClient = hasReactDomClient;
747
750
  exports.resolveBaseUrl = resolveBaseUrl;
748
751
  exports.resolveBundlingPaths = resolveBundlingPaths;
749
752
  exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
750
- //# sourceMappingURL=packageDetection-Bpe3hTRE.cjs.js.map
753
+ //# sourceMappingURL=packageDetection-RcZ3WmUr.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var fix = require('./fix-DDq9Dzpx.cjs.js');
3
+ var fix = require('./fix-Cbn2KDvL.cjs.js');
4
4
  require('@backstage/cli-node');
5
5
  require('fs-extra');
6
6
  require('path');
7
- require('./index-BvdmOJNr.cjs.js');
7
+ require('./index-kzCSxaBD.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-DhFsd23o.cjs.js.map
26
+ //# sourceMappingURL=packageExports-CxIV5yGm.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-Cw5ShIvG.cjs.js');
6
+ var run = require('./run-DFWF3wvX.cjs.js');
7
7
  require('child_process');
8
- require('./index-BvdmOJNr.cjs.js');
8
+ require('./index-kzCSxaBD.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-CSqllVBR.cjs.js.map
82
+ //# sourceMappingURL=packageLintConfigs-CU_GEWUU.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-BvdmOJNr.cjs.js');
7
+ var index = require('./index-kzCSxaBD.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-D2Ow8DXq.cjs.js.map
58
+ //# sourceMappingURL=packageRole-CEqhSCR3.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-BvdmOJNr.cjs.js');
5
+ var index = require('./index-kzCSxaBD.cjs.js');
6
6
  var yarn = require('./yarn-Ukl9MOS0.cjs.js');
7
- var run = require('./run-Cw5ShIvG.cjs.js');
7
+ var run = require('./run-DFWF3wvX.cjs.js');
8
8
 
9
9
  const DEP_TYPES = [
10
10
  "dependencies",
@@ -76,4 +76,4 @@ async function mapDependencies(targetDir, pattern) {
76
76
 
77
77
  exports.fetchPackageInfo = fetchPackageInfo;
78
78
  exports.mapDependencies = mapDependencies;
79
- //# sourceMappingURL=packages-BMAY3o8U.cjs.js.map
79
+ //# sourceMappingURL=packages-B0oCL010.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-ClqqpLs9.cjs.js');
5
+ var config = require('./config-r5N0sIuh.cjs.js');
6
6
  require('@backstage/config-loader');
7
- require('./index-BvdmOJNr.cjs.js');
7
+ require('./index-kzCSxaBD.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-CPt2LwHN.cjs.js.map
61
+ //# sourceMappingURL=print-DfBWr18B.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-BvdmOJNr.cjs.js');
4
+ var index = require('./index-kzCSxaBD.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 }; }
@@ -22,4 +22,4 @@ async function findRoleFromCommand(opts) {
22
22
  }
23
23
 
24
24
  exports.findRoleFromCommand = findRoleFromCommand;
25
- //# sourceMappingURL=role-BwgGxvDZ.cjs.js.map
25
+ //# sourceMappingURL=role-DK6uMK7-.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-BvdmOJNr.cjs.js');
4
+ var index = require('./index-kzCSxaBD.cjs.js');
5
5
  var util = require('util');
6
6
  var errors = require('@backstage/errors');
7
7
 
@@ -79,4 +79,4 @@ exports.execFile = execFile;
79
79
  exports.run = run;
80
80
  exports.runCheck = runCheck;
81
81
  exports.runPlain = runPlain;
82
- //# sourceMappingURL=run-Cw5ShIvG.cjs.js.map
82
+ //# sourceMappingURL=run-DFWF3wvX.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var yaml = require('yaml');
4
- var config = require('./config-ClqqpLs9.cjs.js');
4
+ var config = require('./config-r5N0sIuh.cjs.js');
5
5
  var configLoader = require('@backstage/config-loader');
6
6
  require('@backstage/config');
7
- require('./index-BvdmOJNr.cjs.js');
7
+ require('./index-kzCSxaBD.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-CXYZ5maN.cjs.js.map
45
+ //# sourceMappingURL=schema-6v_eFHC5.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BvdmOJNr.cjs.js');
4
- var run = require('./run-Cw5ShIvG.cjs.js');
3
+ var index = require('./index-kzCSxaBD.cjs.js');
4
+ var run = require('./run-DFWF3wvX.cjs.js');
5
5
  require('commander');
6
6
  require('chalk');
7
7
  require('fs-extra');
@@ -56,4 +56,4 @@ var test = async (_opts, cmd) => {
56
56
  };
57
57
 
58
58
  exports.default = test;
59
- //# sourceMappingURL=test-B45kikEd.cjs.js.map
59
+ //# sourceMappingURL=test-BSDKO_bz.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-BvdmOJNr.cjs.js');
6
- var run = require('./run-Cw5ShIvG.cjs.js');
5
+ var index = require('./index-kzCSxaBD.cjs.js');
6
+ var run = require('./run-DFWF3wvX.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-C-aW2JPc.cjs.js.map
126
+ //# sourceMappingURL=test-DwuJhYqF.cjs.js.map