@backstage/cli 0.26.7 → 0.26.9

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 (43) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/cjs/{Lockfile-BGMdDb8M.cjs.js → Lockfile-D4_-Zt1R.cjs.js} +14 -51
  3. package/dist/cjs/{build-u5TqxZoF.cjs.js → build-DzEFSGsB.cjs.js} +8 -8
  4. package/dist/cjs/{buildBackend-BEwElqI8.cjs.js → buildBackend-DL2_Gb0R.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-673dJh08.cjs.js → buildWorkspace-CwJ0TgxZ.cjs.js} +5 -5
  6. package/dist/cjs/{bump-Cg2dLO4l.cjs.js → bump-BTGnfBf6.cjs.js} +6 -6
  7. package/dist/cjs/{clean-Ct5ULQMi.cjs.js → clean-CvcV1wtk.cjs.js} +2 -2
  8. package/dist/cjs/{clean-CYnIANDh.cjs.js → clean-VJ0wmCtN.cjs.js} +2 -2
  9. package/dist/cjs/{codeowners-BRYdEQz9.cjs.js → codeowners-Cr8KM9qf.cjs.js} +2 -2
  10. package/dist/cjs/{config-D_kmSnwd.cjs.js → config-DEGy4GG6.cjs.js} +2 -2
  11. package/dist/cjs/{createDistWorkspace-B0qIHUPr.cjs.js → createDistWorkspace-BvOzvRJz.cjs.js} +4 -4
  12. package/dist/cjs/{createPlugin-CIIEzPvA.cjs.js → createPlugin-D4Ll1g6_.cjs.js} +5 -5
  13. package/dist/cjs/{diff-CW6tmEym.cjs.js → diff-CvrlmAq7.cjs.js} +2 -2
  14. package/dist/cjs/{docs-C3QVNcXx.cjs.js → docs-DRcZKnMI.cjs.js} +3 -3
  15. package/dist/cjs/{fix-DKCVNP1A.cjs.js → fix-Ch2uTJB5.cjs.js} +2 -2
  16. package/dist/cjs/{index-BlK1CFOk.cjs.js → index-B5V_7LU5.cjs.js} +3 -3
  17. package/dist/cjs/{index-dMrctiZq.cjs.js → index-DB2IpdYt.cjs.js} +2 -2
  18. package/dist/cjs/{index-CqKbAnPY.cjs.js → index-DZHeGBQK.cjs.js} +9 -9
  19. package/dist/cjs/{index-BzQmZ1VY.cjs.js → index-FFe_SzkH.cjs.js} +8 -8
  20. package/dist/cjs/{index-iKhoSqN_.cjs.js → index-epWSGQRU.cjs.js} +43 -43
  21. package/dist/cjs/{info-b5tkt7mR.cjs.js → info-Dl3hPI8q.cjs.js} +4 -4
  22. package/dist/cjs/{install-D87VrJHb.cjs.js → install-B2zxCD_J.cjs.js} +4 -4
  23. package/dist/cjs/{lint-DmaFdLql.cjs.js → lint-C-lS1eIN.cjs.js} +2 -2
  24. package/dist/cjs/{lint-BNlZLD0K.cjs.js → lint-DceICf7c.cjs.js} +4 -4
  25. package/dist/cjs/{lint-DXeSlq7N.cjs.js → lint-G9RYlmHu.cjs.js} +2 -2
  26. package/dist/cjs/{list-deprecations-CwhCQVkz.cjs.js → list-deprecations-CWYMmnPc.cjs.js} +2 -2
  27. package/dist/cjs/{new-DdKfywxn.cjs.js → new-CZJH5hoz.cjs.js} +5 -5
  28. package/dist/cjs/{pack-C4uxV114.cjs.js → pack-CgWqiyG2.cjs.js} +3 -3
  29. package/dist/cjs/{packageDetection-Hu7uB35b.cjs.js → packageDetection-D80hgREn.cjs.js} +3 -3
  30. package/dist/cjs/{packageExports-D0HLCTQi.cjs.js → packageExports-B3l6n3jJ.cjs.js} +3 -3
  31. package/dist/cjs/{packageLintConfigs-C8IN4RvJ.cjs.js → packageLintConfigs-DUvvGSPg.cjs.js} +3 -3
  32. package/dist/cjs/{packageRole-BSuxyqPi.cjs.js → packageRole-Cfmoa1NT.cjs.js} +2 -2
  33. package/dist/cjs/{packages-Dnipytyo.cjs.js → packages-DLTGPvCZ.cjs.js} +3 -3
  34. package/dist/cjs/{print-DYl_Y-h2.cjs.js → print-BdSbZ3hc.cjs.js} +3 -3
  35. package/dist/cjs/{productionPack-BfVQNApa.cjs.js → productionPack-BWU8WkGs.cjs.js} +4 -2
  36. package/dist/cjs/{role-Bb8H8I9r.cjs.js → role-BuK50bXn.cjs.js} +2 -2
  37. package/dist/cjs/{run-DGIFanWK.cjs.js → run-BK67hSM7.cjs.js} +2 -2
  38. package/dist/cjs/{schema-sP3h-u9i.cjs.js → schema-C417rw-z.cjs.js} +3 -3
  39. package/dist/cjs/{test-Dvv9M7mF.cjs.js → test-Bf1i1XaK.cjs.js} +3 -3
  40. package/dist/cjs/{test-Dl-wPFo-.cjs.js → test-EWgTI3yI.cjs.js} +3 -3
  41. package/dist/cjs/{validate-h_jxruLo.cjs.js → validate-DyJ5mktb.cjs.js} +3 -3
  42. package/dist/index.cjs.js +1 -1
  43. package/package.json +4 -4
@@ -47,13 +47,13 @@ class NotFoundError extends CustomError {
47
47
 
48
48
  const paths = cliCommon.findPaths(__dirname);
49
49
 
50
- var version$f = "0.23.0";
50
+ var version$f = "0.23.1";
51
51
 
52
- var version$e = "0.6.19";
52
+ var version$e = "0.6.20";
53
53
 
54
- var version$d = "0.4.0";
54
+ var version$d = "0.4.2";
55
55
 
56
- var version$c = "0.26.7";
56
+ var version$c = "0.26.9";
57
57
  var dependencies = {
58
58
  "@backstage/catalog-model": "workspace:^",
59
59
  "@backstage/cli-common": "workspace:^",
@@ -215,15 +215,15 @@ var version$7 = "1.0.33";
215
215
 
216
216
  var version$6 = "1.5.6";
217
217
 
218
- var version$5 = "0.4.5";
218
+ var version$5 = "0.4.6";
219
219
 
220
- var version$4 = "0.22.6";
220
+ var version$4 = "0.22.7";
221
221
 
222
- var version$3 = "0.1.5";
222
+ var version$3 = "0.1.6";
223
223
 
224
224
  var version$2 = "0.5.6";
225
225
 
226
- var version$1 = "0.3.0";
226
+ var version$1 = "0.3.2";
227
227
 
228
228
  const packageVersions = {
229
229
  "@backstage/backend-common": version$f,
@@ -289,7 +289,7 @@ const configOption = [
289
289
  Array()
290
290
  ];
291
291
  function registerOnboardCommand(program) {
292
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-BlK1CFOk.cjs.js'); }).then((m) => m.command)));
292
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-B5V_7LU5.cjs.js'); }).then((m) => m.command)));
293
293
  }
294
294
  function registerRepoCommand(program) {
295
295
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -301,7 +301,7 @@ function registerRepoCommand(program) {
301
301
  ).option(
302
302
  "--since <ref>",
303
303
  "Only build packages and their dev dependents that changed since the specified ref"
304
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-u5TqxZoF.cjs.js'); }).then((m) => m.command)));
304
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-DzEFSGsB.cjs.js'); }).then((m) => m.command)));
305
305
  command.command("lint").description("Lint all packages in the project").option(
306
306
  "--format <format>",
307
307
  "Lint report output format",
@@ -309,17 +309,17 @@ function registerRepoCommand(program) {
309
309
  ).option(
310
310
  "--since <ref>",
311
311
  "Only lint packages that changed since the specified ref"
312
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-DXeSlq7N.cjs.js'); }).then((m) => m.command)));
312
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-G9RYlmHu.cjs.js'); }).then((m) => m.command)));
313
313
  command.command("fix").description("Automatically fix packages in the project").option(
314
314
  "--publish",
315
315
  "Enable additional fixes that only apply when publishing packages"
316
316
  ).option(
317
317
  "--check",
318
318
  "Fail if any packages would have been changed by the command"
319
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-DKCVNP1A.cjs.js'); }).then((m) => m.command)));
320
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CYnIANDh.cjs.js'); }).then((m) => m.command)));
319
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-Ch2uTJB5.cjs.js'); }).then((m) => m.command)));
320
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-VJ0wmCtN.cjs.js'); }).then((m) => m.command)));
321
321
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
322
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-CwhCQVkz.cjs.js'); }).then((m) => m.command))
322
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-CWYMmnPc.cjs.js'); }).then((m) => m.command))
323
323
  );
324
324
  command.command("test").allowUnknownOption(true).option(
325
325
  "--since <ref>",
@@ -327,14 +327,14 @@ function registerRepoCommand(program) {
327
327
  ).option(
328
328
  "--jest-help",
329
329
  "Show help for Jest CLI options, which are passed through"
330
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-Dl-wPFo-.cjs.js'); }).then((m) => m.command)));
330
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-EWgTI3yI.cjs.js'); }).then((m) => m.command)));
331
331
  }
332
332
  function registerScriptCommand(program) {
333
333
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
334
334
  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(
335
335
  "--inspect-brk [host]",
336
336
  "Enable debugger in Node.js environments, breaking before code starts"
337
- ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-BzQmZ1VY.cjs.js'); }).then((m) => m.command)));
337
+ ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-FFe_SzkH.cjs.js'); }).then((m) => m.command)));
338
338
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
339
339
  "--minify",
340
340
  "Minify the generated code. Does not apply to app package (app is minified by default)."
@@ -349,30 +349,30 @@ function registerScriptCommand(program) {
349
349
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
350
350
  (opt, opts) => opts ? [...opts, opt] : [opt],
351
351
  Array()
352
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-CqKbAnPY.cjs.js'); }).then((m) => m.command)));
352
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-DZHeGBQK.cjs.js'); }).then((m) => m.command)));
353
353
  command.command("lint [directories...]").option(
354
354
  "--format <format>",
355
355
  "Lint report output format",
356
356
  "eslint-formatter-friendly"
357
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-DmaFdLql.cjs.js'); }).then((m) => m.default)));
358
- 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-Dvv9M7mF.cjs.js'); }).then((m) => m.default)));
359
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-Ct5ULQMi.cjs.js'); }).then((m) => m.default)));
360
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-C4uxV114.cjs.js'); }).then((m) => m.pre)));
361
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-C4uxV114.cjs.js'); }).then((m) => m.post)));
357
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-C-lS1eIN.cjs.js'); }).then((m) => m.default)));
358
+ 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-Bf1i1XaK.cjs.js'); }).then((m) => m.default)));
359
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CvcV1wtk.cjs.js'); }).then((m) => m.default)));
360
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-CgWqiyG2.cjs.js'); }).then((m) => m.pre)));
361
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-CgWqiyG2.cjs.js'); }).then((m) => m.post)));
362
362
  }
363
363
  function registerMigrateCommand(program) {
364
364
  const command = program.command("migrate [command]").description("Migration utilities");
365
- 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-BSuxyqPi.cjs.js'); }).then((m) => m.default)));
365
+ 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-Cfmoa1NT.cjs.js'); }).then((m) => m.default)));
366
366
  command.command("package-scripts").description("Set package scripts according to each package role").action(
367
367
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-DX6dilK6.cjs.js'); }).then((m) => m.command))
368
368
  );
369
369
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
370
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-D0HLCTQi.cjs.js'); }).then((m) => m.command))
370
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-B3l6n3jJ.cjs.js'); }).then((m) => m.command))
371
371
  );
372
372
  command.command("package-lint-configs").description(
373
373
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
374
374
  ).action(
375
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-C8IN4RvJ.cjs.js'); }).then((m) => m.command))
375
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-DUvvGSPg.cjs.js'); }).then((m) => m.command))
376
376
  );
377
377
  command.command("react-router-deps").description(
378
378
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -397,7 +397,7 @@ function registerCommands(program) {
397
397
  ).option(
398
398
  "--baseVersion <version>",
399
399
  "The version to use for any new packages (default: 0.1.0)"
400
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-DdKfywxn.cjs.js'); }).then((m) => m.default)));
400
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-CZJH5hoz.cjs.js'); }).then((m) => m.default)));
401
401
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
402
402
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
403
403
  ).option(
@@ -411,30 +411,30 @@ function registerCommands(program) {
411
411
  ).option("--scope <scope>", "The scope to use for new packages").option(
412
412
  "--npm-registry <URL>",
413
413
  "The package registry to use for new packages"
414
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-DdKfywxn.cjs.js'); }).then((m) => m.default)));
414
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-CZJH5hoz.cjs.js'); }).then((m) => m.default)));
415
415
  program.command("create-plugin", { hidden: true }).option(
416
416
  "--backend",
417
417
  "Create plugin with the backend dependencies as default"
418
418
  ).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(
419
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-CIIEzPvA.cjs.js'); }).then((m) => m.default))
419
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-D4Ll1g6_.cjs.js'); }).then((m) => m.default))
420
420
  );
421
421
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
422
422
  "Diff an existing plugin with the creation template [DEPRECATED]"
423
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-CW6tmEym.cjs.js'); }).then((m) => m.default)));
423
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-CvrlmAq7.cjs.js'); }).then((m) => m.default)));
424
424
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
425
425
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
426
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-Dvv9M7mF.cjs.js'); }).then((m) => m.default)));
426
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-Bf1i1XaK.cjs.js'); }).then((m) => m.default)));
427
427
  program.command("config:docs").option(
428
428
  "--package <name>",
429
429
  "Only include the schema that applies to the given package"
430
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-C3QVNcXx.cjs.js'); }).then((m) => m.default)));
430
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-DRcZKnMI.cjs.js'); }).then((m) => m.default)));
431
431
  program.command("config:print").option(
432
432
  "--package <name>",
433
433
  "Only load config schema that applies to the given package"
434
434
  ).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(
435
435
  "--format <format>",
436
436
  "Format to print the configuration in, either json or yaml [yaml]"
437
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-DYl_Y-h2.cjs.js'); }).then((m) => m.default)));
437
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-BdSbZ3hc.cjs.js'); }).then((m) => m.default)));
438
438
  program.command("config:check").option(
439
439
  "--package <name>",
440
440
  "Only load config schema that applies to the given package"
@@ -443,14 +443,14 @@ function registerCommands(program) {
443
443
  "Enable strict config validation, forbidding errors and unknown keys"
444
444
  ).option(...configOption).description(
445
445
  "Validate that the given configuration loads and matches schema"
446
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-h_jxruLo.cjs.js'); }).then((m) => m.default)));
446
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-DyJ5mktb.cjs.js'); }).then((m) => m.default)));
447
447
  program.command("config:schema").option(
448
448
  "--package <name>",
449
449
  "Only output config schema that applies to the given package"
450
450
  ).option(
451
451
  "--format <format>",
452
452
  "Format to print the schema in, either json or yaml [yaml]"
453
- ).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-sP3h-u9i.cjs.js'); }).then((m) => m.default)));
453
+ ).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-C417rw-z.cjs.js'); }).then((m) => m.default)));
454
454
  registerRepoCommand(program);
455
455
  registerScriptCommand(program);
456
456
  registerMigrateCommand(program);
@@ -462,8 +462,8 @@ function registerCommands(program) {
462
462
  "--release <version|next|main>",
463
463
  "Bump to a specific Backstage release line or version",
464
464
  "main"
465
- ).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-Cg2dLO4l.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
466
- 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-BNlZLD0K.cjs.js'); }).then((m) => m.default)));
465
+ ).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-BTGnfBf6.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
466
+ 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-DceICf7c.cjs.js'); }).then((m) => m.default)));
467
467
  program.command("versions:migrate").option(
468
468
  "--pattern <glob>",
469
469
  "Override glob for matching packages to upgrade"
@@ -472,18 +472,18 @@ function registerCommands(program) {
472
472
  "Skip code changes and only update package.json files"
473
473
  ).description(
474
474
  "Migrate any plugins that have been moved to the @backstage-community namespace automatically"
475
- ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-Cg2dLO4l.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
476
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-Ct5ULQMi.cjs.js'); }).then((m) => m.default)));
475
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-BTGnfBf6.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
476
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CvcV1wtk.cjs.js'); }).then((m) => m.default)));
477
477
  program.command("build-workspace <workspace-dir> [packages...]").option(
478
478
  "--alwaysYarnPack",
479
479
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
480
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-673dJh08.cjs.js'); }).then((m) => m.default)));
481
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-dMrctiZq.cjs.js'); }).then((m) => m.default)));
482
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-b5tkt7mR.cjs.js'); }).then((m) => m.default)));
480
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-CwJ0TgxZ.cjs.js'); }).then((m) => m.default)));
481
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DB2IpdYt.cjs.js'); }).then((m) => m.default)));
482
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-Dl3hPI8q.cjs.js'); }).then((m) => m.default)));
483
483
  program.command("install [plugin-id]", { hidden: true }).option(
484
484
  "--from <packageJsonFilePath>",
485
485
  "Install from a local package.json containing the installation recipe"
486
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-D87VrJHb.cjs.js'); }).then((m) => m.default)));
486
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-B2zxCD_J.cjs.js'); }).then((m) => m.default)));
487
487
  }
488
488
  function lazy(getActionFunc) {
489
489
  return async (...args) => {
@@ -527,4 +527,4 @@ exports.devDependencies = devDependencies;
527
527
  exports.paths = paths;
528
528
  exports.version = version;
529
529
  exports.version$1 = version$c;
530
- //# sourceMappingURL=index-iKhoSqN_.cjs.js.map
530
+ //# sourceMappingURL=index-epWSGQRU.cjs.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-iKhoSqN_.cjs.js');
3
+ var index = require('./index-epWSGQRU.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-DGIFanWK.cjs.js');
6
- var Lockfile = require('./Lockfile-BGMdDb8M.cjs.js');
5
+ var run = require('./run-BK67hSM7.cjs.js');
6
+ var Lockfile = require('./Lockfile-D4_-Zt1R.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
9
9
  require('chalk');
@@ -57,4 +57,4 @@ var info = async () => {
57
57
  };
58
58
 
59
59
  exports.default = info;
60
- //# sourceMappingURL=info-b5tkt7mR.cjs.js.map
60
+ //# sourceMappingURL=info-Dl3hPI8q.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-Dnipytyo.cjs.js');
8
- var index = require('./index-iKhoSqN_.cjs.js');
7
+ var packages = require('./packages-DLTGPvCZ.cjs.js');
8
+ var index = require('./index-epWSGQRU.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-DGIFanWK.cjs.js');
12
+ var run = require('./run-BK67hSM7.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  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-D87VrJHb.cjs.js.map
268
+ //# sourceMappingURL=install-B2zxCD_J.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-iKhoSqN_.cjs.js');
3
+ var index = require('./index-epWSGQRU.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-DmaFdLql.cjs.js.map
36
+ //# sourceMappingURL=lint-C-lS1eIN.cjs.js.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var Lockfile = require('./Lockfile-BGMdDb8M.cjs.js');
3
+ var Lockfile = require('./Lockfile-D4_-Zt1R.cjs.js');
4
4
  require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
7
  require('./yarn-Ukl9MOS0.cjs.js');
8
- require('./run-DGIFanWK.cjs.js');
9
- var index = require('./index-iKhoSqN_.cjs.js');
8
+ require('./run-BK67hSM7.cjs.js');
9
+ var index = require('./index-epWSGQRU.cjs.js');
10
10
  var partition = require('lodash/partition');
11
11
  var cliNode = require('@backstage/cli-node');
12
12
  require('fs-extra');
@@ -109,4 +109,4 @@ function logArray(arr, header, each) {
109
109
  exports.default = lint;
110
110
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
111
111
  exports.includedFilter = includedFilter;
112
- //# sourceMappingURL=lint-BNlZLD0K.cjs.js.map
112
+ //# sourceMappingURL=lint-DceICf7c.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-iKhoSqN_.cjs.js');
6
+ var index = require('./index-epWSGQRU.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-DXeSlq7N.cjs.js.map
91
+ //# sourceMappingURL=lint-G9RYlmHu.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-iKhoSqN_.cjs.js');
7
+ var index = require('./index-epWSGQRU.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-CwhCQVkz.cjs.js.map
79
+ //# sourceMappingURL=list-deprecations-CWYMmnPc.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-iKhoSqN_.cjs.js');
11
- var codeowners = require('./codeowners-BRYdEQz9.cjs.js');
10
+ var index = require('./index-epWSGQRU.cjs.js');
11
+ var codeowners = require('./codeowners-Cr8KM9qf.cjs.js');
12
12
  var tasks = require('./tasks-Dy-6nV0-.cjs.js');
13
- var Lockfile = require('./Lockfile-BGMdDb8M.cjs.js');
13
+ var Lockfile = require('./Lockfile-D4_-Zt1R.cjs.js');
14
14
  require('minimatch');
15
15
  require('@manypkg/get-packages');
16
16
  require('./yarn-Ukl9MOS0.cjs.js');
17
- require('./run-DGIFanWK.cjs.js');
17
+ require('./run-BK67hSM7.cjs.js');
18
18
  var partition = require('lodash/partition');
19
19
  var cliNode = require('@backstage/cli-node');
20
20
  var errors = require('@backstage/errors');
@@ -769,4 +769,4 @@ var _new = async (opts) => {
769
769
  };
770
770
 
771
771
  exports.default = _new;
772
- //# sourceMappingURL=new-DdKfywxn.cjs.js.map
772
+ //# sourceMappingURL=new-CZJH5hoz.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var productionPack = require('./productionPack-BfVQNApa.cjs.js');
4
- var index = require('./index-iKhoSqN_.cjs.js');
3
+ var productionPack = require('./productionPack-BWU8WkGs.cjs.js');
4
+ var index = require('./index-epWSGQRU.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-C4uxV114.cjs.js.map
33
+ //# sourceMappingURL=pack-CgWqiyG2.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-iKhoSqN_.cjs.js');
11
+ var index = require('./index-epWSGQRU.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-DGIFanWK.cjs.js');
17
+ var run = require('./run-BK67hSM7.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');
@@ -744,4 +744,4 @@ exports.hasReactDomClient = hasReactDomClient;
744
744
  exports.resolveBaseUrl = resolveBaseUrl;
745
745
  exports.resolveBundlingPaths = resolveBundlingPaths;
746
746
  exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
747
- //# sourceMappingURL=packageDetection-Hu7uB35b.cjs.js.map
747
+ //# sourceMappingURL=packageDetection-D80hgREn.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var fix = require('./fix-DKCVNP1A.cjs.js');
3
+ var fix = require('./fix-Ch2uTJB5.cjs.js');
4
4
  require('@backstage/cli-node');
5
5
  require('fs-extra');
6
6
  require('path');
7
- require('./index-iKhoSqN_.cjs.js');
7
+ require('./index-epWSGQRU.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-D0HLCTQi.cjs.js.map
27
+ //# sourceMappingURL=packageExports-B3l6n3jJ.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-DGIFanWK.cjs.js');
6
+ var run = require('./run-BK67hSM7.cjs.js');
7
7
  require('child_process');
8
- require('./index-iKhoSqN_.cjs.js');
8
+ require('./index-epWSGQRU.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-C8IN4RvJ.cjs.js.map
81
+ //# sourceMappingURL=packageLintConfigs-DUvvGSPg.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-iKhoSqN_.cjs.js');
7
+ var index = require('./index-epWSGQRU.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-BSuxyqPi.cjs.js.map
58
+ //# sourceMappingURL=packageRole-Cfmoa1NT.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-iKhoSqN_.cjs.js');
5
+ var index = require('./index-epWSGQRU.cjs.js');
6
6
  var yarn = require('./yarn-Ukl9MOS0.cjs.js');
7
- var run = require('./run-DGIFanWK.cjs.js');
7
+ var run = require('./run-BK67hSM7.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-Dnipytyo.cjs.js.map
75
+ //# sourceMappingURL=packages-DLTGPvCZ.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-D_kmSnwd.cjs.js');
5
+ var config = require('./config-DEGy4GG6.cjs.js');
6
6
  require('@backstage/config-loader');
7
- require('./index-iKhoSqN_.cjs.js');
7
+ require('./index-epWSGQRU.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-DYl_Y-h2.cjs.js.map
61
+ //# sourceMappingURL=print-BdSbZ3hc.cjs.js.map
@@ -124,7 +124,9 @@ async function prepareExportsEntryPoints(pkg, packageDir) {
124
124
  await fs__default.default.writeJson(
125
125
  path.resolve(entryPointDir, PKG_PATH),
126
126
  {
127
- name: pkg.name,
127
+ // Need a temporary name, as sharing the same name causes some typescript issues with caching of packages names
128
+ // And their defined `types` field.
129
+ name: `${pkg.name}__${entryPoint.name.toLocaleLowerCase("en-US")}`,
128
130
  version: pkg.version,
129
131
  ...exp.default ? { main: path.posix.join("..", exp.default) } : {},
130
132
  ...exp.import ? { module: path.posix.join("..", exp.import) } : {},
@@ -155,4 +157,4 @@ async function prepareExportsEntryPoints(pkg, packageDir) {
155
157
 
156
158
  exports.productionPack = productionPack;
157
159
  exports.revertProductionPack = revertProductionPack;
158
- //# sourceMappingURL=productionPack-BfVQNApa.cjs.js.map
160
+ //# sourceMappingURL=productionPack-BWU8WkGs.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-iKhoSqN_.cjs.js');
4
+ var index = require('./index-epWSGQRU.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-Bb8H8I9r.cjs.js.map
24
+ //# sourceMappingURL=role-BuK50bXn.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-iKhoSqN_.cjs.js');
4
+ var index = require('./index-epWSGQRU.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-DGIFanWK.cjs.js.map
81
+ //# sourceMappingURL=run-BK67hSM7.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var yaml = require('yaml');
4
- var config = require('./config-D_kmSnwd.cjs.js');
4
+ var config = require('./config-DEGy4GG6.cjs.js');
5
5
  var configLoader = require('@backstage/config-loader');
6
6
  require('@backstage/config');
7
- require('./index-iKhoSqN_.cjs.js');
7
+ require('./index-epWSGQRU.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-sP3h-u9i.cjs.js.map
45
+ //# sourceMappingURL=schema-C417rw-z.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-iKhoSqN_.cjs.js');
4
- var run = require('./run-DGIFanWK.cjs.js');
3
+ var index = require('./index-epWSGQRU.cjs.js');
4
+ var run = require('./run-BK67hSM7.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-Dvv9M7mF.cjs.js.map
59
+ //# sourceMappingURL=test-Bf1i1XaK.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-iKhoSqN_.cjs.js');
6
- var run = require('./run-DGIFanWK.cjs.js');
5
+ var index = require('./index-epWSGQRU.cjs.js');
6
+ var run = require('./run-BK67hSM7.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-Dl-wPFo-.cjs.js.map
126
+ //# sourceMappingURL=test-EWgTI3yI.cjs.js.map