@backstage/cli 0.22.9-next.0 → 0.22.9-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +21 -2
  2. package/config/eslint-factory.js +1 -1
  3. package/dist/cjs/{build-3da54115.cjs.js → build-cddf0cd2.cjs.js} +7 -7
  4. package/dist/cjs/{buildBackend-274775f7.cjs.js → buildBackend-58a0f6ee.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-b6df7296.cjs.js → buildWorkspace-f8565223.cjs.js} +4 -4
  6. package/dist/cjs/{bump-08aba1b9.cjs.js → bump-b925fd42.cjs.js} +5 -5
  7. package/dist/cjs/{clean-f7ec15f2.cjs.js → clean-918e4c8c.cjs.js} +2 -2
  8. package/dist/cjs/{clean-20390fa5.cjs.js → clean-992f51b5.cjs.js} +2 -2
  9. package/dist/cjs/{codeowners-0223b5b6.cjs.js → codeowners-b047b46a.cjs.js} +2 -2
  10. package/dist/cjs/{config-d26577c3.cjs.js → config-1cff6ff3.cjs.js} +2 -2
  11. package/dist/cjs/{createDistWorkspace-ad1b1629.cjs.js → createDistWorkspace-4cb41b15.cjs.js} +3 -3
  12. package/dist/cjs/{createPlugin-e3369a16.cjs.js → createPlugin-f61b0cd4.cjs.js} +4 -4
  13. package/dist/cjs/{diff-dfabe21f.cjs.js → diff-66bcf4dd.cjs.js} +2 -2
  14. package/dist/cjs/{docs-46853035.cjs.js → docs-24bcb864.cjs.js} +3 -3
  15. package/dist/cjs/{fix-f87a0c1f.cjs.js → fix-611ddad0.cjs.js} +2 -2
  16. package/dist/cjs/{index-91b0b56a.cjs.js → index-159f8480.cjs.js} +12 -4
  17. package/dist/cjs/{index-67e84808.cjs.js → index-32ccc90d.cjs.js} +8 -8
  18. package/dist/cjs/{index-d11b414f.cjs.js → index-89cadb26.cjs.js} +7 -7
  19. package/dist/cjs/{index-ac42ba95.cjs.js → index-9a176280.cjs.js} +50 -43
  20. package/dist/cjs/{index-90eafbe0.cjs.js → index-a9a45f61.cjs.js} +7 -7
  21. package/dist/cjs/{info-72a55001.cjs.js → info-217048ec.cjs.js} +3 -3
  22. package/dist/cjs/{install-c791e2e4.cjs.js → install-a4e4881e.cjs.js} +4 -4
  23. package/dist/cjs/{lint-f6b0eb1d.cjs.js → lint-e428725d.cjs.js} +2 -2
  24. package/dist/cjs/{lint-3a42bc9d.cjs.js → lint-f0c61fa1.cjs.js} +3 -3
  25. package/dist/cjs/{lint-5b088c32.cjs.js → lint-f10f04e5.cjs.js} +2 -2
  26. package/dist/cjs/{list-deprecations-cdb978af.cjs.js → list-deprecations-c8c7a354.cjs.js} +2 -2
  27. package/dist/cjs/{new-3692bcdc.cjs.js → new-aa74dce3.cjs.js} +12 -6
  28. package/dist/cjs/{pack-9262d13f.cjs.js → pack-d0b7e0be.cjs.js} +2 -2
  29. package/dist/cjs/{packageLintConfigs-3f37beef.cjs.js → packageLintConfigs-0abea5de.cjs.js} +3 -3
  30. package/dist/cjs/{packageRole-e3a218f3.cjs.js → packageRole-3027959f.cjs.js} +2 -2
  31. package/dist/cjs/{packages-8749cdc2.cjs.js → packages-713185f8.cjs.js} +3 -3
  32. package/dist/cjs/{paths-cfd70158.cjs.js → paths-c4b2462b.cjs.js} +3 -3
  33. package/dist/cjs/{print-b6033a67.cjs.js → print-0b29dfd3.cjs.js} +3 -3
  34. package/dist/cjs/{role-1aeaada1.cjs.js → role-816dccd1.cjs.js} +2 -2
  35. package/dist/cjs/{run-9908e123.cjs.js → run-f950c51e.cjs.js} +2 -2
  36. package/dist/cjs/{schema-0b3cf2ad.cjs.js → schema-e7224b37.cjs.js} +3 -3
  37. package/dist/cjs/{test-23a84675.cjs.js → test-49051d9d.cjs.js} +3 -3
  38. package/dist/cjs/{test-e187a0f7.cjs.js → test-b971a26d.cjs.js} +3 -3
  39. package/dist/cjs/{validate-d3d2dd58.cjs.js → validate-a99af362.cjs.js} +3 -3
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +10 -10
@@ -13,6 +13,12 @@ var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
13
13
  var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
14
14
  var semver__default = /*#__PURE__*/_interopDefaultLegacy(semver);
15
15
 
16
+ var __defProp = Object.defineProperty;
17
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
18
+ var __publicField = (obj, key, value) => {
19
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
20
+ return value;
21
+ };
16
22
  class CustomError extends Error {
17
23
  get name() {
18
24
  return this.constructor.name;
@@ -23,6 +29,7 @@ class ExitCodeError extends CustomError {
23
29
  super(
24
30
  command ? `Command '${command}' exited with code ${code}` : `Child exited with code ${code}`
25
31
  );
32
+ __publicField(this, "code");
26
33
  this.code = code;
27
34
  }
28
35
  }
@@ -48,7 +55,7 @@ const paths = cliCommon.findPaths(__dirname);
48
55
 
49
56
  var version$a = "0.19.1-next.0";
50
57
 
51
- var version$9 = "0.22.9-next.0";
58
+ var version$9 = "0.22.9-next.1";
52
59
  var dependencies = {
53
60
  "@backstage/catalog-model": "workspace:^",
54
61
  "@backstage/cli-common": "workspace:^",
@@ -98,7 +105,7 @@ var dependencies = {
98
105
  "cross-spawn": "^7.0.3",
99
106
  "css-loader": "^6.5.1",
100
107
  diff: "^5.0.0",
101
- esbuild: "^0.17.0",
108
+ esbuild: "^0.18.0",
102
109
  "esbuild-loader": "^2.18.0",
103
110
  eslint: "^8.6.0",
104
111
  "eslint-config-prettier": "^8.3.0",
@@ -143,7 +150,7 @@ var dependencies = {
143
150
  "rollup-plugin-postcss": "^4.0.0",
144
151
  "rollup-pluginutils": "^2.8.2",
145
152
  "run-script-webpack-plugin": "^0.1.0",
146
- semver: "^7.3.2",
153
+ semver: "^7.5.3",
147
154
  "style-loader": "^3.3.1",
148
155
  sucrase: "^3.20.2",
149
156
  "swc-loader": "^0.2.3",
@@ -194,19 +201,19 @@ var devDependencies = {
194
201
 
195
202
  var version$8 = "1.0.8";
196
203
 
197
- var version$7 = "1.8.1";
204
+ var version$7 = "1.8.2-next.1";
198
205
 
199
- var version$6 = "0.13.3-next.0";
206
+ var version$6 = "0.13.3-next.2";
200
207
 
201
- var version$5 = "1.5.2";
208
+ var version$5 = "1.5.3-next.1";
202
209
 
203
- var version$4 = "1.0.17-next.0";
210
+ var version$4 = "1.0.17-next.2";
204
211
 
205
- var version$3 = "1.4.1-next.0";
212
+ var version$3 = "1.4.1-next.2";
206
213
 
207
- var version$2 = "0.4.0";
214
+ var version$2 = "0.4.1-next.1";
208
215
 
209
- var version$1 = "1.15.1-next.0";
216
+ var version$1 = "1.15.1-next.1";
210
217
 
211
218
  const packageVersions = {
212
219
  "@backstage/backend-common": version$a,
@@ -268,7 +275,7 @@ const configOption = [
268
275
  Array()
269
276
  ];
270
277
  function registerOnboardCommand(program) {
271
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-d11b414f.cjs.js'); }).then((m) => m.command)));
278
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-89cadb26.cjs.js'); }).then((m) => m.command)));
272
279
  }
273
280
  function registerRepoCommand(program) {
274
281
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -280,7 +287,7 @@ function registerRepoCommand(program) {
280
287
  ).option(
281
288
  "--since <ref>",
282
289
  "Only build packages and their dev dependents that changed since the specified ref"
283
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-3da54115.cjs.js'); }).then((m) => m.command)));
290
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-cddf0cd2.cjs.js'); }).then((m) => m.command)));
284
291
  command.command("lint").description("Lint all packages in the project").option(
285
292
  "--format <format>",
286
293
  "Lint report output format",
@@ -288,10 +295,10 @@ function registerRepoCommand(program) {
288
295
  ).option(
289
296
  "--since <ref>",
290
297
  "Only lint packages that changed since the specified ref"
291
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-5b088c32.cjs.js'); }).then((m) => m.command)));
292
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-20390fa5.cjs.js'); }).then((m) => m.command)));
298
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-f10f04e5.cjs.js'); }).then((m) => m.command)));
299
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-992f51b5.cjs.js'); }).then((m) => m.command)));
293
300
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
294
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-cdb978af.cjs.js'); }).then((m) => m.command))
301
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-c8c7a354.cjs.js'); }).then((m) => m.command))
295
302
  );
296
303
  command.command("test").allowUnknownOption(true).option(
297
304
  "--since <ref>",
@@ -299,14 +306,14 @@ function registerRepoCommand(program) {
299
306
  ).option(
300
307
  "--jest-help",
301
308
  "Show help for Jest CLI options, which are passed through"
302
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-e187a0f7.cjs.js'); }).then((m) => m.command)));
309
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-b971a26d.cjs.js'); }).then((m) => m.command)));
303
310
  }
304
311
  function registerScriptCommand(program) {
305
312
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
306
313
  command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role").option("--check", "Enable type checking and linting if available").option("--inspect", "Enable debugger in Node.js environments").option(
307
314
  "--inspect-brk",
308
315
  "Enable debugger in Node.js environments, breaking before code starts"
309
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-90eafbe0.cjs.js'); }).then((m) => m.command)));
316
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-a9a45f61.cjs.js'); }).then((m) => m.command)));
310
317
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
311
318
  "--minify",
312
319
  "Minify the generated code. Does not apply to app or backend packages."
@@ -324,21 +331,21 @@ function registerScriptCommand(program) {
324
331
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
325
332
  (opt, opts) => opts ? [...opts, opt] : [opt],
326
333
  Array()
327
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-67e84808.cjs.js'); }).then((m) => m.command)));
334
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-32ccc90d.cjs.js'); }).then((m) => m.command)));
328
335
  command.command("lint [directories...]").option(
329
336
  "--format <format>",
330
337
  "Lint report output format",
331
338
  "eslint-formatter-friendly"
332
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-f6b0eb1d.cjs.js'); }).then((m) => m.default)));
333
- 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-23a84675.cjs.js'); }).then((m) => m.default)));
334
- command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-f87a0c1f.cjs.js'); }).then((m) => m.command)));
335
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f7ec15f2.cjs.js'); }).then((m) => m.default)));
336
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9262d13f.cjs.js'); }).then((m) => m.pre)));
337
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9262d13f.cjs.js'); }).then((m) => m.post)));
339
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-e428725d.cjs.js'); }).then((m) => m.default)));
340
+ 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-49051d9d.cjs.js'); }).then((m) => m.default)));
341
+ command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-611ddad0.cjs.js'); }).then((m) => m.command)));
342
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-918e4c8c.cjs.js'); }).then((m) => m.default)));
343
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d0b7e0be.cjs.js'); }).then((m) => m.pre)));
344
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d0b7e0be.cjs.js'); }).then((m) => m.post)));
338
345
  }
339
346
  function registerMigrateCommand(program) {
340
347
  const command = program.command("migrate [command]").description("Migration utilities");
341
- 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-e3a218f3.cjs.js'); }).then((m) => m.default)));
348
+ 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-3027959f.cjs.js'); }).then((m) => m.default)));
342
349
  command.command("package-scripts").description("Set package scripts according to each package role").action(
343
350
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
344
351
  );
@@ -348,7 +355,7 @@ function registerMigrateCommand(program) {
348
355
  command.command("package-lint-configs").description(
349
356
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
350
357
  ).action(
351
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-3f37beef.cjs.js'); }).then((m) => m.command))
358
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-0abea5de.cjs.js'); }).then((m) => m.command))
352
359
  );
353
360
  command.command("react-router-deps").description(
354
361
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -373,7 +380,7 @@ function registerCommands(program) {
373
380
  ).option(
374
381
  "--baseVersion <version>",
375
382
  "The version to use for any new packages (default: 0.1.0)"
376
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3692bcdc.cjs.js'); }).then((m) => m.default)));
383
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-aa74dce3.cjs.js'); }).then((m) => m.default)));
377
384
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
378
385
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
379
386
  ).option(
@@ -387,30 +394,30 @@ function registerCommands(program) {
387
394
  ).option("--scope <scope>", "The scope to use for new packages").option(
388
395
  "--npm-registry <URL>",
389
396
  "The package registry to use for new packages"
390
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3692bcdc.cjs.js'); }).then((m) => m.default)));
397
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-aa74dce3.cjs.js'); }).then((m) => m.default)));
391
398
  program.command("create-plugin", { hidden: true }).option(
392
399
  "--backend",
393
400
  "Create plugin with the backend dependencies as default"
394
401
  ).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(
395
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-e3369a16.cjs.js'); }).then((m) => m.default))
402
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-f61b0cd4.cjs.js'); }).then((m) => m.default))
396
403
  );
397
404
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
398
405
  "Diff an existing plugin with the creation template [DEPRECATED]"
399
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-dfabe21f.cjs.js'); }).then((m) => m.default)));
406
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-66bcf4dd.cjs.js'); }).then((m) => m.default)));
400
407
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
401
408
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
402
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-23a84675.cjs.js'); }).then((m) => m.default)));
409
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-49051d9d.cjs.js'); }).then((m) => m.default)));
403
410
  program.command("config:docs").option(
404
411
  "--package <name>",
405
412
  "Only include the schema that applies to the given package"
406
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-46853035.cjs.js'); }).then((m) => m.default)));
413
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-24bcb864.cjs.js'); }).then((m) => m.default)));
407
414
  program.command("config:print").option(
408
415
  "--package <name>",
409
416
  "Only load config schema that applies to the given package"
410
417
  ).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(
411
418
  "--format <format>",
412
419
  "Format to print the configuration in, either json or yaml [yaml]"
413
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-b6033a67.cjs.js'); }).then((m) => m.default)));
420
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-0b29dfd3.cjs.js'); }).then((m) => m.default)));
414
421
  program.command("config:check").option(
415
422
  "--package <name>",
416
423
  "Only load config schema that applies to the given package"
@@ -419,14 +426,14 @@ function registerCommands(program) {
419
426
  "Enable strict config validation, forbidding errors and unknown keys"
420
427
  ).option(...configOption).description(
421
428
  "Validate that the given configuration loads and matches schema"
422
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-d3d2dd58.cjs.js'); }).then((m) => m.default)));
429
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-a99af362.cjs.js'); }).then((m) => m.default)));
423
430
  program.command("config:schema").option(
424
431
  "--package <name>",
425
432
  "Only output config schema that applies to the given package"
426
433
  ).option(
427
434
  "--format <format>",
428
435
  "Format to print the schema in, either json or yaml [yaml]"
429
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-0b3cf2ad.cjs.js'); }).then((m) => m.default)));
436
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-e7224b37.cjs.js'); }).then((m) => m.default)));
430
437
  registerRepoCommand(program);
431
438
  registerScriptCommand(program);
432
439
  registerMigrateCommand(program);
@@ -438,19 +445,19 @@ function registerCommands(program) {
438
445
  "--release <version|next|main>",
439
446
  "Bump to a specific Backstage release line or version",
440
447
  "main"
441
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-08aba1b9.cjs.js'); }).then((m) => m.default)));
442
- 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-3a42bc9d.cjs.js'); }).then((m) => m.default)));
443
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f7ec15f2.cjs.js'); }).then((m) => m.default)));
448
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-b925fd42.cjs.js'); }).then((m) => m.default)));
449
+ 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-f0c61fa1.cjs.js'); }).then((m) => m.default)));
450
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-918e4c8c.cjs.js'); }).then((m) => m.default)));
444
451
  program.command("build-workspace <workspace-dir> [packages...]").option(
445
452
  "--alwaysYarnPack",
446
453
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
447
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-b6df7296.cjs.js'); }).then((m) => m.default)));
448
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-91b0b56a.cjs.js'); }).then((m) => m.default)));
449
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-72a55001.cjs.js'); }).then((m) => m.default)));
454
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-f8565223.cjs.js'); }).then((m) => m.default)));
455
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-159f8480.cjs.js'); }).then((m) => m.default)));
456
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-217048ec.cjs.js'); }).then((m) => m.default)));
450
457
  program.command("install [plugin-id]", { hidden: true }).option(
451
458
  "--from <packageJsonFilePath>",
452
459
  "Install from a local package.json containing the installation recipe"
453
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-c791e2e4.cjs.js'); }).then((m) => m.default)));
460
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-a4e4881e.cjs.js'); }).then((m) => m.default)));
454
461
  }
455
462
  function lazy(getActionFunc) {
456
463
  return async (...args) => {
@@ -494,4 +501,4 @@ exports.devDependencies = devDependencies;
494
501
  exports.paths = paths;
495
502
  exports.version = version;
496
503
  exports.version$1 = version$9;
497
- //# sourceMappingURL=index-ac42ba95.cjs.js.map
504
+ //# sourceMappingURL=index-9a176280.cjs.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var index = require('./index-ac42ba95.cjs.js');
4
+ var index = require('./index-9a176280.cjs.js');
5
5
  var webpack = require('webpack');
6
- var paths = require('./paths-cfd70158.cjs.js');
6
+ var paths = require('./paths-c4b2462b.cjs.js');
7
7
  require('yn');
8
8
  var path = require('path');
9
9
  require('react-dev-utils/FileSizeReporter');
@@ -17,7 +17,7 @@ require('@backstage/cli-common');
17
17
  require('@manypkg/get-packages');
18
18
  require('mini-css-extract-plugin');
19
19
  require('@pmmmwh/react-refresh-webpack-plugin');
20
- require('./run-9908e123.cjs.js');
20
+ require('./run-f950c51e.cjs.js');
21
21
  require('eslint-webpack-plugin');
22
22
  require('lodash/pickBy');
23
23
  var chalk = require('chalk');
@@ -29,13 +29,13 @@ var errors = require('@backstage/errors');
29
29
  var debounce = require('lodash/debounce');
30
30
  var spawn = require('cross-spawn');
31
31
  var uniq = require('lodash/uniq');
32
- var config = require('./config-d26577c3.cjs.js');
32
+ var config = require('./config-1cff6ff3.cjs.js');
33
33
  var cliNode = require('@backstage/cli-node');
34
34
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
35
35
  require('minimatch');
36
36
  require('./yarn-6cd89e16.cjs.js');
37
- var lint = require('./lint-3a42bc9d.cjs.js');
38
- var role = require('./role-1aeaada1.cjs.js');
37
+ var lint = require('./lint-f0c61fa1.cjs.js');
38
+ var role = require('./role-816dccd1.cjs.js');
39
39
  require('commander');
40
40
  require('semver');
41
41
  require('./svgrTemplate-550efce6.cjs.js');
@@ -491,4 +491,4 @@ async function command(opts) {
491
491
  }
492
492
 
493
493
  exports.command = command;
494
- //# sourceMappingURL=index-90eafbe0.cjs.js.map
494
+ //# sourceMappingURL=index-a9a45f61.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-ac42ba95.cjs.js');
3
+ var index = require('./index-9a176280.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-9908e123.cjs.js');
5
+ var run = require('./run-f950c51e.cjs.js');
6
6
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -58,4 +58,4 @@ var info = async () => {
58
58
  };
59
59
 
60
60
  exports["default"] = info;
61
- //# sourceMappingURL=info-72a55001.cjs.js.map
61
+ //# sourceMappingURL=info-217048ec.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-8749cdc2.cjs.js');
8
- var index = require('./index-ac42ba95.cjs.js');
7
+ var packages = require('./packages-713185f8.cjs.js');
8
+ var index = require('./index-9a176280.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-9908e123.cjs.js');
12
+ var run = require('./run-f950c51e.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  require('./yarn-6cd89e16.cjs.js');
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
268
268
  };
269
269
 
270
270
  exports["default"] = install;
271
- //# sourceMappingURL=install-c791e2e4.cjs.js.map
271
+ //# sourceMappingURL=install-a4e4881e.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-ac42ba95.cjs.js');
3
+ var index = require('./index-9a176280.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-f6b0eb1d.cjs.js.map
36
+ //# sourceMappingURL=lint-e428725d.cjs.js.map
@@ -5,8 +5,8 @@ require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
7
  require('./yarn-6cd89e16.cjs.js');
8
- require('./run-9908e123.cjs.js');
9
- var index = require('./index-ac42ba95.cjs.js');
8
+ require('./run-f950c51e.cjs.js');
9
+ var index = require('./index-9a176280.cjs.js');
10
10
  var partition = require('lodash/partition');
11
11
  var cliNode = require('@backstage/cli-node');
12
12
  require('fs-extra');
@@ -112,4 +112,4 @@ function logArray(arr, header, each) {
112
112
  exports["default"] = lint;
113
113
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
114
114
  exports.includedFilter = includedFilter;
115
- //# sourceMappingURL=lint-3a42bc9d.cjs.js.map
115
+ //# sourceMappingURL=lint-f0c61fa1.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-ac42ba95.cjs.js');
6
+ var index = require('./index-9a176280.cjs.js');
7
7
  var parallel = require('./parallel-a8f6219c.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-5b088c32.cjs.js.map
91
+ //# sourceMappingURL=lint-f10f04e5.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-ac42ba95.cjs.js');
7
+ var index = require('./index-9a176280.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-cdb978af.cjs.js.map
79
+ //# sourceMappingURL=list-deprecations-c8c7a354.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-ac42ba95.cjs.js');
11
- var codeowners = require('./codeowners-0223b5b6.cjs.js');
10
+ var index = require('./index-9a176280.cjs.js');
11
+ var codeowners = require('./codeowners-b047b46a.cjs.js');
12
12
  var tasks = require('./tasks-84de240c.cjs.js');
13
13
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
14
14
  require('minimatch');
15
15
  require('@manypkg/get-packages');
16
16
  require('./yarn-6cd89e16.cjs.js');
17
- require('./run-9908e123.cjs.js');
17
+ require('./run-f950c51e.cjs.js');
18
18
  var partition = require('lodash/partition');
19
19
  var cliNode = require('@backstage/cli-node');
20
20
  var errors = require('@backstage/errors');
@@ -463,6 +463,12 @@ var factories = /*#__PURE__*/Object.freeze({
463
463
  scaffolderModule: scaffolderModule
464
464
  });
465
465
 
466
+ var __defProp = Object.defineProperty;
467
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
468
+ var __publicField = (obj, key, value) => {
469
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
470
+ return value;
471
+ };
466
472
  function applyPromptMessageTransforms(prompt, transforms) {
467
473
  return {
468
474
  ...prompt,
@@ -540,9 +546,9 @@ class FactoryRegistry {
540
546
  return currentOptions;
541
547
  }
542
548
  }
543
- FactoryRegistry.factoryMap = new Map(
549
+ __publicField(FactoryRegistry, "factoryMap", new Map(
544
550
  Object.values(factories).map((factory) => [factory.name, factory])
545
- );
551
+ ));
546
552
 
547
553
  function parseOptions(optionStrings) {
548
554
  const options = {};
@@ -625,4 +631,4 @@ var _new = async (opts) => {
625
631
  };
626
632
 
627
633
  exports["default"] = _new;
628
- //# sourceMappingURL=new-3692bcdc.cjs.js.map
634
+ //# sourceMappingURL=new-aa74dce3.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var productionPack = require('./productionPack-d569941a.cjs.js');
4
- var index = require('./index-ac42ba95.cjs.js');
4
+ var index = require('./index-9a176280.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-9262d13f.cjs.js.map
24
+ //# sourceMappingURL=pack-d0b7e0be.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-9908e123.cjs.js');
6
+ var run = require('./run-f950c51e.cjs.js');
7
7
  require('child_process');
8
- require('./index-ac42ba95.cjs.js');
8
+ require('./index-9a176280.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-3f37beef.cjs.js.map
82
+ //# sourceMappingURL=packageLintConfigs-0abea5de.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-ac42ba95.cjs.js');
7
+ var index = require('./index-9a176280.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-e3a218f3.cjs.js.map
58
+ //# sourceMappingURL=packageRole-3027959f.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-ac42ba95.cjs.js');
5
+ var index = require('./index-9a176280.cjs.js');
6
6
  var yarn = require('./yarn-6cd89e16.cjs.js');
7
- var run = require('./run-9908e123.cjs.js');
7
+ var run = require('./run-f950c51e.cjs.js');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
@@ -80,4 +80,4 @@ async function mapDependencies(targetDir, pattern) {
80
80
 
81
81
  exports.fetchPackageInfo = fetchPackageInfo;
82
82
  exports.mapDependencies = mapDependencies;
83
- //# sourceMappingURL=packages-8749cdc2.cjs.js.map
83
+ //# sourceMappingURL=packages-713185f8.cjs.js.map
@@ -13,8 +13,8 @@ var getPackages = require('@manypkg/get-packages');
13
13
  var MiniCssExtractPlugin = require('mini-css-extract-plugin');
14
14
  var svgrTemplate = require('./svgrTemplate-550efce6.cjs.js');
15
15
  var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
16
- var index = require('./index-ac42ba95.cjs.js');
17
- var run = require('./run-9908e123.cjs.js');
16
+ var index = require('./index-9a176280.cjs.js');
17
+ var run = require('./run-f950c51e.cjs.js');
18
18
  var ESLintPlugin = require('eslint-webpack-plugin');
19
19
  var pickBy = require('lodash/pickBy');
20
20
  var yn = require('yn');
@@ -603,4 +603,4 @@ exports.createBackendConfig = createBackendConfig;
603
603
  exports.createConfig = createConfig;
604
604
  exports.resolveBaseUrl = resolveBaseUrl;
605
605
  exports.resolveBundlingPaths = resolveBundlingPaths;
606
- //# sourceMappingURL=paths-cfd70158.cjs.js.map
606
+ //# sourceMappingURL=paths-c4b2462b.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-d26577c3.cjs.js');
5
+ var config = require('./config-1cff6ff3.cjs.js');
6
6
  require('@backstage/config-loader');
7
- require('./index-ac42ba95.cjs.js');
7
+ require('./index-9a176280.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-b6033a67.cjs.js.map
61
+ //# sourceMappingURL=print-0b29dfd3.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-ac42ba95.cjs.js');
4
+ var index = require('./index-9a176280.cjs.js');
5
5
  var cliNode = require('@backstage/cli-node');
6
6
 
7
7
  function _interopDefaultLegacy (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-1aeaada1.cjs.js.map
25
+ //# sourceMappingURL=role-816dccd1.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-ac42ba95.cjs.js');
4
+ var index = require('./index-9a176280.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-9908e123.cjs.js.map
82
+ //# sourceMappingURL=run-f950c51e.cjs.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var yaml = require('yaml');
4
- var config = require('./config-d26577c3.cjs.js');
4
+ var config = require('./config-1cff6ff3.cjs.js');
5
5
  var configLoader = require('@backstage/config-loader');
6
6
  require('@backstage/config');
7
- require('./index-ac42ba95.cjs.js');
7
+ require('./index-9a176280.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -37,4 +37,4 @@ var schema = async (opts) => {
37
37
  };
38
38
 
39
39
  exports["default"] = schema;
40
- //# sourceMappingURL=schema-0b3cf2ad.cjs.js.map
40
+ //# sourceMappingURL=schema-e7224b37.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-ac42ba95.cjs.js');
4
- var run = require('./run-9908e123.cjs.js');
3
+ var index = require('./index-9a176280.cjs.js');
4
+ var run = require('./run-f950c51e.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-23a84675.cjs.js.map
59
+ //# sourceMappingURL=test-49051d9d.cjs.js.map