@backstage/cli 0.22.4 → 0.22.6-next.0

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 (45) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/index/{PackageGraph-6ffddac0.cjs.js → PackageGraph-3f98d337.cjs.js} +3 -3
  3. package/dist/cjs/index/{build-690455c7.cjs.js → build-cc99b635.cjs.js} +9 -9
  4. package/dist/cjs/index/{buildBackend-18a71bf8.cjs.js → buildBackend-a8bcd165.cjs.js} +6 -6
  5. package/dist/cjs/index/{buildWorkspace-73cc4f62.cjs.js → buildWorkspace-41156462.cjs.js} +6 -6
  6. package/dist/cjs/index/{bump-908de0a7.cjs.js → bump-143918d0.cjs.js} +6 -6
  7. package/dist/cjs/index/{clean-bcaa2bce.cjs.js → clean-0ce04941.cjs.js} +4 -4
  8. package/dist/cjs/index/{clean-dbaf1912.cjs.js → clean-e2ad6a88.cjs.js} +2 -2
  9. package/dist/cjs/index/codeowners-d775851f.cjs.js +91 -0
  10. package/dist/cjs/index/{config-91c020e8.cjs.js → config-4228b120.cjs.js} +3 -3
  11. package/dist/cjs/index/{createDistWorkspace-7a2e4e7c.cjs.js → createDistWorkspace-fb5e45c7.cjs.js} +5 -5
  12. package/dist/cjs/index/{createPlugin-1f3076dd.cjs.js → createPlugin-5c4a7dc0.cjs.js} +11 -10
  13. package/dist/cjs/index/{diff-1b811a3f.cjs.js → diff-86139f91.cjs.js} +4 -4
  14. package/dist/cjs/index/{docs-b4ed46bc.cjs.js → docs-1817742b.cjs.js} +5 -5
  15. package/dist/cjs/index/{fix-32f89b30.cjs.js → fix-6ac8eb23.cjs.js} +4 -4
  16. package/dist/cjs/index/{index-1490ba2b.cjs.js → index-0028f123.cjs.js} +8 -8
  17. package/dist/cjs/index/index-6542a4f4.cjs.js +471 -0
  18. package/dist/cjs/index/{index-0e97de8a.cjs.js → index-751e6ffe.cjs.js} +2 -2
  19. package/dist/cjs/index/{index-701ec917.cjs.js → index-7537046f.cjs.js} +47 -42
  20. package/dist/cjs/index/{index-bf0fa947.cjs.js → index-a1ae1c20.cjs.js} +9 -9
  21. package/dist/cjs/index/{info-87cec93d.cjs.js → info-97e85013.cjs.js} +3 -3
  22. package/dist/cjs/index/{install-470924e3.cjs.js → install-d796c591.cjs.js} +4 -4
  23. package/dist/cjs/index/{lint-b441473e.cjs.js → lint-2a08b183.cjs.js} +4 -4
  24. package/dist/cjs/index/{lint-f1c44a12.cjs.js → lint-b9604904.cjs.js} +2 -2
  25. package/dist/cjs/index/{lint-98d3c2e6.cjs.js → lint-dea054a3.cjs.js} +4 -4
  26. package/dist/cjs/index/{list-deprecations-3667c4a5.cjs.js → list-deprecations-de2f58af.cjs.js} +4 -4
  27. package/dist/cjs/index/{new-8809aa5e.cjs.js → new-3953ab9d.cjs.js} +20 -19
  28. package/dist/cjs/index/{pack-1a98c41d.cjs.js → pack-caa8827e.cjs.js} +2 -2
  29. package/dist/cjs/index/{packageExports-6ec50196.cjs.js → packageExports-4a46fc67.cjs.js} +4 -4
  30. package/dist/cjs/index/{packageLintConfigs-2940d9d4.cjs.js → packageLintConfigs-967f27ba.cjs.js} +4 -4
  31. package/dist/cjs/index/{packageRole-0b957d76.cjs.js → packageRole-bca33d79.cjs.js} +3 -3
  32. package/dist/cjs/index/{packageRoles-9bc5d41a.cjs.js → packageRoles-69beedda.cjs.js} +2 -2
  33. package/dist/cjs/index/{packageScripts-a21a7d39.cjs.js → packageScripts-7c46f2fc.cjs.js} +5 -5
  34. package/dist/cjs/index/{packages-5184c06b.cjs.js → packages-9afdfe7b.cjs.js} +3 -3
  35. package/dist/cjs/index/{paths-e450a0ff.cjs.js → paths-4630bc1d.cjs.js} +4 -4
  36. package/dist/cjs/index/{print-14e7144f.cjs.js → print-d8f6aa7d.cjs.js} +5 -5
  37. package/dist/cjs/index/{reactRouterDeps-7b459c9c.cjs.js → reactRouterDeps-23bd30be.cjs.js} +5 -5
  38. package/dist/cjs/index/{run-8a335c20.cjs.js → run-1b95473b.cjs.js} +2 -2
  39. package/dist/cjs/index/{schema-2462c29a.cjs.js → schema-bdd65f01.cjs.js} +5 -5
  40. package/dist/cjs/index/{tasks-7a221be0.cjs.js → tasks-409c4719.cjs.js} +4 -85
  41. package/dist/cjs/index/{test-5f854226.cjs.js → test-599a1294.cjs.js} +3 -3
  42. package/dist/cjs/index/{test-1fada493.cjs.js → test-9893c495.cjs.js} +4 -4
  43. package/dist/cjs/index/{validate-8b9a3ee1.cjs.js → validate-2cc915f0.cjs.js} +5 -5
  44. package/dist/index.cjs.js +1 -1
  45. package/package.json +8 -7
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
46
46
 
47
47
  const paths = cliCommon.findPaths(__dirname);
48
48
 
49
- var version$a = "0.18.3";
49
+ var version$a = "0.18.4-next.0";
50
50
 
51
- var version$9 = "0.22.4";
51
+ var version$9 = "0.22.6-next.0";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "workspace:^",
54
54
  "@backstage/config": "workspace:^",
@@ -59,6 +59,7 @@ var dependencies = {
59
59
  "@backstage/types": "workspace:^",
60
60
  "@esbuild-kit/cjs-loader": "^2.4.1",
61
61
  "@manypkg/get-packages": "^1.1.3",
62
+ "@octokit/oauth-app": "^4.2.0",
62
63
  "@octokit/request": "^6.0.0",
63
64
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
64
65
  "@rollup/plugin-commonjs": "^23.0.0",
@@ -184,19 +185,19 @@ var devDependencies = {
184
185
 
185
186
  var version$8 = "1.0.7";
186
187
 
187
- var version$7 = "1.6.0";
188
+ var version$7 = "1.7.0-next.0";
188
189
 
189
- var version$6 = "0.12.5";
190
+ var version$6 = "0.12.6-next.0";
190
191
 
191
192
  var version$5 = "1.5.0";
192
193
 
193
- var version$4 = "1.0.13";
194
+ var version$4 = "1.0.14-next.0";
194
195
 
195
- var version$3 = "1.2.6";
196
+ var version$3 = "1.3.0-next.0";
196
197
 
197
198
  var version$2 = "0.2.18";
198
199
 
199
- var version$1 = "1.12.0";
200
+ var version$1 = "1.12.1-next.0";
200
201
 
201
202
  const packageVersions = {
202
203
  "@backstage/backend-common": version$a,
@@ -257,6 +258,9 @@ const configOption = [
257
258
  (opt, opts) => opts ? [...opts, opt] : [opt],
258
259
  Array()
259
260
  ];
261
+ function registerOnboardCommand(program) {
262
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-6542a4f4.cjs.js'); }).then((m) => m.command)));
263
+ }
260
264
  function registerRepoCommand(program) {
261
265
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
262
266
  command.command("build").description(
@@ -267,7 +271,7 @@ function registerRepoCommand(program) {
267
271
  ).option(
268
272
  "--since <ref>",
269
273
  "Only build packages and their dev dependents that changed since the specified ref"
270
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-690455c7.cjs.js'); }).then((m) => m.command)));
274
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-cc99b635.cjs.js'); }).then((m) => m.command)));
271
275
  command.command("lint").description("Lint all packages in the project").option(
272
276
  "--format <format>",
273
277
  "Lint report output format",
@@ -275,10 +279,10 @@ function registerRepoCommand(program) {
275
279
  ).option(
276
280
  "--since <ref>",
277
281
  "Only lint packages that changed since the specified ref"
278
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-b441473e.cjs.js'); }).then((m) => m.command)));
279
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-bcaa2bce.cjs.js'); }).then((m) => m.command)));
282
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-2a08b183.cjs.js'); }).then((m) => m.command)));
283
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0ce04941.cjs.js'); }).then((m) => m.command)));
280
284
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
281
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-3667c4a5.cjs.js'); }).then((m) => m.command))
285
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-de2f58af.cjs.js'); }).then((m) => m.command))
282
286
  );
283
287
  command.command("test").allowUnknownOption(true).option(
284
288
  "--since <ref>",
@@ -286,14 +290,14 @@ function registerRepoCommand(program) {
286
290
  ).option(
287
291
  "--jest-help",
288
292
  "Show help for Jest CLI options, which are passed through"
289
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-1fada493.cjs.js'); }).then((m) => m.command)));
293
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-9893c495.cjs.js'); }).then((m) => m.command)));
290
294
  }
291
295
  function registerScriptCommand(program) {
292
296
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
293
297
  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(
294
298
  "--inspect-brk",
295
299
  "Enable debugger in Node.js environments, breaking before code starts"
296
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-1490ba2b.cjs.js'); }).then((m) => m.command)));
300
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-0028f123.cjs.js'); }).then((m) => m.command)));
297
301
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
298
302
  "--minify",
299
303
  "Minify the generated code. Does not apply to app or backend packages."
@@ -311,36 +315,36 @@ function registerScriptCommand(program) {
311
315
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
312
316
  (opt, opts) => opts ? [...opts, opt] : [opt],
313
317
  Array()
314
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-bf0fa947.cjs.js'); }).then((m) => m.command)));
318
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-a1ae1c20.cjs.js'); }).then((m) => m.command)));
315
319
  command.command("lint [directories...]").option(
316
320
  "--format <format>",
317
321
  "Lint report output format",
318
322
  "eslint-formatter-friendly"
319
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-f1c44a12.cjs.js'); }).then((m) => m.default)));
320
- 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-5f854226.cjs.js'); }).then((m) => m.default)));
321
- 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-32f89b30.cjs.js'); }).then((m) => m.command)));
322
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-dbaf1912.cjs.js'); }).then((m) => m.default)));
323
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-1a98c41d.cjs.js'); }).then((m) => m.pre)));
324
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-1a98c41d.cjs.js'); }).then((m) => m.post)));
323
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-b9604904.cjs.js'); }).then((m) => m.default)));
324
+ 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-599a1294.cjs.js'); }).then((m) => m.default)));
325
+ 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-6ac8eb23.cjs.js'); }).then((m) => m.command)));
326
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-e2ad6a88.cjs.js'); }).then((m) => m.default)));
327
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-caa8827e.cjs.js'); }).then((m) => m.pre)));
328
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-caa8827e.cjs.js'); }).then((m) => m.post)));
325
329
  }
326
330
  function registerMigrateCommand(program) {
327
331
  const command = program.command("migrate [command]").description("Migration utilities");
328
- 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-0b957d76.cjs.js'); }).then((m) => m.default)));
332
+ 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-bca33d79.cjs.js'); }).then((m) => m.default)));
329
333
  command.command("package-scripts").description("Set package scripts according to each package role").action(
330
- lazy(() => Promise.resolve().then(function () { return require('./packageScripts-a21a7d39.cjs.js'); }).then((m) => m.command))
334
+ lazy(() => Promise.resolve().then(function () { return require('./packageScripts-7c46f2fc.cjs.js'); }).then((m) => m.command))
331
335
  );
332
336
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
333
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-6ec50196.cjs.js'); }).then((m) => m.command))
337
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-4a46fc67.cjs.js'); }).then((m) => m.command))
334
338
  );
335
339
  command.command("package-lint-configs").description(
336
340
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
337
341
  ).action(
338
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-2940d9d4.cjs.js'); }).then((m) => m.command))
342
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-967f27ba.cjs.js'); }).then((m) => m.command))
339
343
  );
340
344
  command.command("react-router-deps").description(
341
345
  "Migrates the react-router dependencies for all packages to be peer dependencies"
342
346
  ).action(
343
- lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-7b459c9c.cjs.js'); }).then((m) => m.command))
347
+ lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-23bd30be.cjs.js'); }).then((m) => m.command))
344
348
  );
345
349
  }
346
350
  function registerCommands(program) {
@@ -360,7 +364,7 @@ function registerCommands(program) {
360
364
  ).option(
361
365
  "--baseVersion <version>",
362
366
  "The version to use for any new packages (default: 0.1.0)"
363
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-8809aa5e.cjs.js'); }).then((m) => m.default)));
367
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3953ab9d.cjs.js'); }).then((m) => m.default)));
364
368
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
365
369
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
366
370
  ).option(
@@ -374,46 +378,47 @@ function registerCommands(program) {
374
378
  ).option("--scope <scope>", "The scope to use for new packages").option(
375
379
  "--npm-registry <URL>",
376
380
  "The package registry to use for new packages"
377
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-8809aa5e.cjs.js'); }).then((m) => m.default)));
381
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3953ab9d.cjs.js'); }).then((m) => m.default)));
378
382
  program.command("create-plugin", { hidden: true }).option(
379
383
  "--backend",
380
384
  "Create plugin with the backend dependencies as default"
381
385
  ).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(
382
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-1f3076dd.cjs.js'); }).then((m) => m.default))
386
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-5c4a7dc0.cjs.js'); }).then((m) => m.default))
383
387
  );
384
388
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
385
389
  "Diff an existing plugin with the creation template [DEPRECATED]"
386
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-1b811a3f.cjs.js'); }).then((m) => m.default)));
390
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-86139f91.cjs.js'); }).then((m) => m.default)));
387
391
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
388
392
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
389
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-5f854226.cjs.js'); }).then((m) => m.default)));
393
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-599a1294.cjs.js'); }).then((m) => m.default)));
390
394
  program.command("config:docs").option(
391
395
  "--package <name>",
392
396
  "Only include the schema that applies to the given package"
393
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-b4ed46bc.cjs.js'); }).then((m) => m.default)));
397
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-1817742b.cjs.js'); }).then((m) => m.default)));
394
398
  program.command("config:print").option(
395
399
  "--package <name>",
396
400
  "Only load config schema that applies to the given package"
397
401
  ).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(
398
402
  "--format <format>",
399
403
  "Format to print the configuration in, either json or yaml [yaml]"
400
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-14e7144f.cjs.js'); }).then((m) => m.default)));
404
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-d8f6aa7d.cjs.js'); }).then((m) => m.default)));
401
405
  program.command("config:check").option(
402
406
  "--package <name>",
403
407
  "Only load config schema that applies to the given package"
404
408
  ).option("--lax", "Do not require environment variables to be set").option("--frontend", "Only validate the frontend configuration").option("--deprecated", "Output deprecated configuration settings").option(...configOption).description(
405
409
  "Validate that the given configuration loads and matches schema"
406
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-8b9a3ee1.cjs.js'); }).then((m) => m.default)));
410
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-2cc915f0.cjs.js'); }).then((m) => m.default)));
407
411
  program.command("config:schema").option(
408
412
  "--package <name>",
409
413
  "Only output config schema that applies to the given package"
410
414
  ).option(
411
415
  "--format <format>",
412
416
  "Format to print the schema in, either json or yaml [yaml]"
413
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-2462c29a.cjs.js'); }).then((m) => m.default)));
417
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-bdd65f01.cjs.js'); }).then((m) => m.default)));
414
418
  registerRepoCommand(program);
415
419
  registerScriptCommand(program);
416
420
  registerMigrateCommand(program);
421
+ registerOnboardCommand(program);
417
422
  program.command("versions:bump").option(
418
423
  "--pattern <glob>",
419
424
  "Override glob for matching packages to upgrade"
@@ -421,16 +426,16 @@ function registerCommands(program) {
421
426
  "--release <version|next|main>",
422
427
  "Bump to a specific Backstage release line or version",
423
428
  "main"
424
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-908de0a7.cjs.js'); }).then((m) => m.default)));
425
- 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-98d3c2e6.cjs.js'); }).then((m) => m.default)));
426
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-dbaf1912.cjs.js'); }).then((m) => m.default)));
427
- program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-73cc4f62.cjs.js'); }).then((m) => m.default)));
428
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-0e97de8a.cjs.js'); }).then((m) => m.default)));
429
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-87cec93d.cjs.js'); }).then((m) => m.default)));
429
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-143918d0.cjs.js'); }).then((m) => m.default)));
430
+ 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-dea054a3.cjs.js'); }).then((m) => m.default)));
431
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-e2ad6a88.cjs.js'); }).then((m) => m.default)));
432
+ program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-41156462.cjs.js'); }).then((m) => m.default)));
433
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-751e6ffe.cjs.js'); }).then((m) => m.default)));
434
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-97e85013.cjs.js'); }).then((m) => m.default)));
430
435
  program.command("install [plugin-id]", { hidden: true }).option(
431
436
  "--from <packageJsonFilePath>",
432
437
  "Install from a local package.json containing the installation recipe"
433
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-470924e3.cjs.js'); }).then((m) => m.default)));
438
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-d796c591.cjs.js'); }).then((m) => m.default)));
434
439
  }
435
440
  function lazy(getActionFunc) {
436
441
  return async (...args) => {
@@ -474,4 +479,4 @@ exports.devDependencies = devDependencies;
474
479
  exports.paths = paths;
475
480
  exports.version = version;
476
481
  exports.version$1 = version$9;
477
- //# sourceMappingURL=index-701ec917.cjs.js.map
482
+ //# sourceMappingURL=index-7537046f.cjs.js.map
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var createDistWorkspace = require('./createDistWorkspace-7a2e4e7c.cjs.js');
4
- var packageRoles = require('./packageRoles-9bc5d41a.cjs.js');
5
- var index = require('./index-701ec917.cjs.js');
6
- var buildBackend = require('./buildBackend-18a71bf8.cjs.js');
3
+ var createDistWorkspace = require('./createDistWorkspace-fb5e45c7.cjs.js');
4
+ var packageRoles = require('./packageRoles-69beedda.cjs.js');
5
+ var index = require('./index-7537046f.cjs.js');
6
+ var buildBackend = require('./buildBackend-a8bcd165.cjs.js');
7
7
  require('chalk');
8
8
  require('fs-extra');
9
9
  require('path');
10
10
  require('os');
11
11
  require('tar');
12
12
  require('lodash/partition');
13
- require('./run-8a335c20.cjs.js');
13
+ require('./run-1b95473b.cjs.js');
14
14
  require('child_process');
15
15
  require('util');
16
16
  require('@backstage/errors');
17
- require('./PackageGraph-6ffddac0.cjs.js');
17
+ require('./PackageGraph-3f98d337.cjs.js');
18
18
  require('@manypkg/get-packages');
19
19
  require('./Lockfile-e5943b84.cjs.js');
20
20
  require('semver');
@@ -47,7 +47,7 @@ require('html-webpack-plugin');
47
47
  require('react-dev-utils/ModuleScopePlugin');
48
48
  require('run-script-webpack-plugin');
49
49
  require('webpack-node-externals');
50
- require('./paths-e450a0ff.cjs.js');
50
+ require('./paths-4630bc1d.cjs.js');
51
51
  require('mini-css-extract-plugin');
52
52
  require('@pmmmwh/react-refresh-webpack-plugin');
53
53
  require('eslint-webpack-plugin');
@@ -57,7 +57,7 @@ require('react-dev-utils/FileSizeReporter');
57
57
  require('react-dev-utils/formatWebpackMessages');
58
58
  require('webpack-dev-server');
59
59
  require('react-dev-utils/openBrowser');
60
- require('./config-91c020e8.cjs.js');
60
+ require('./config-4228b120.cjs.js');
61
61
  require('@backstage/config-loader');
62
62
  require('@backstage/config');
63
63
 
@@ -95,4 +95,4 @@ async function command(opts) {
95
95
  }
96
96
 
97
97
  exports.command = command;
98
- //# sourceMappingURL=index-bf0fa947.cjs.js.map
98
+ //# sourceMappingURL=index-a1ae1c20.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-701ec917.cjs.js');
3
+ var index = require('./index-7537046f.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-8a335c20.cjs.js');
5
+ var run = require('./run-1b95473b.cjs.js');
6
6
  var Lockfile = require('./Lockfile-e5943b84.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-87cec93d.cjs.js.map
61
+ //# sourceMappingURL=info-97e85013.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-5184c06b.cjs.js');
8
- var index = require('./index-701ec917.cjs.js');
7
+ var packages = require('./packages-9afdfe7b.cjs.js');
8
+ var index = require('./index-7537046f.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-8a335c20.cjs.js');
12
+ var run = require('./run-1b95473b.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  require('./yarn-8315d2ff.cjs.js');
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
268
268
  };
269
269
 
270
270
  exports["default"] = install;
271
- //# sourceMappingURL=install-470924e3.cjs.js.map
271
+ //# sourceMappingURL=install-d796c591.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-6ffddac0.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
6
6
  var parallel = require('./parallel-4af834f6.cjs.js');
7
- var index = require('./index-701ec917.cjs.js');
7
+ var index = require('./index-7537046f.cjs.js');
8
8
  require('@manypkg/get-packages');
9
9
  require('@backstage/errors');
10
10
  require('child_process');
@@ -16,7 +16,7 @@ require('@yarnpkg/parsers');
16
16
  require('@yarnpkg/lockfile');
17
17
  require('minimatch');
18
18
  require('./yarn-8315d2ff.cjs.js');
19
- require('./run-8a335c20.cjs.js');
19
+ require('./run-1b95473b.cjs.js');
20
20
  require('os');
21
21
  require('worker_threads');
22
22
  require('commander');
@@ -97,4 +97,4 @@ async function command(opts) {
97
97
  }
98
98
 
99
99
  exports.command = command;
100
- //# sourceMappingURL=lint-b441473e.cjs.js.map
100
+ //# sourceMappingURL=lint-2a08b183.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-701ec917.cjs.js');
3
+ var index = require('./index-7537046f.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-f1c44a12.cjs.js.map
36
+ //# sourceMappingURL=lint-b9604904.cjs.js.map
@@ -5,10 +5,10 @@ require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
7
  require('./yarn-8315d2ff.cjs.js');
8
- require('./run-8a335c20.cjs.js');
9
- var index = require('./index-701ec917.cjs.js');
8
+ require('./run-1b95473b.cjs.js');
9
+ var index = require('./index-7537046f.cjs.js');
10
10
  var partition = require('lodash/partition');
11
- var PackageGraph = require('./PackageGraph-6ffddac0.cjs.js');
11
+ var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
12
12
  require('fs-extra');
13
13
  require('semver');
14
14
  require('@yarnpkg/parsers');
@@ -113,4 +113,4 @@ function logArray(arr, header, each) {
113
113
  exports["default"] = lint;
114
114
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
115
115
  exports.includedFilter = includedFilter;
116
- //# sourceMappingURL=lint-98d3c2e6.cjs.js.map
116
+ //# sourceMappingURL=lint-dea054a3.cjs.js.map
@@ -3,8 +3,8 @@
3
3
  var chalk = require('chalk');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
- var index = require('./index-701ec917.cjs.js');
7
- var PackageGraph = require('./PackageGraph-6ffddac0.cjs.js');
6
+ var index = require('./index-7537046f.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
10
10
  require('semver');
@@ -18,7 +18,7 @@ require('@yarnpkg/parsers');
18
18
  require('@yarnpkg/lockfile');
19
19
  require('minimatch');
20
20
  require('./yarn-8315d2ff.cjs.js');
21
- require('./run-8a335c20.cjs.js');
21
+ require('./run-1b95473b.cjs.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -85,4 +85,4 @@ async function command(opts) {
85
85
  }
86
86
 
87
87
  exports.command = command;
88
- //# sourceMappingURL=list-deprecations-3667c4a5.cjs.js.map
88
+ //# sourceMappingURL=list-deprecations-de2f58af.cjs.js.map
@@ -7,13 +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-701ec917.cjs.js');
11
- var tasks = require('./tasks-7a221be0.cjs.js');
10
+ var index = require('./index-7537046f.cjs.js');
11
+ var codeowners = require('./codeowners-d775851f.cjs.js');
12
+ var tasks = require('./tasks-409c4719.cjs.js');
12
13
  var Lockfile = require('./Lockfile-e5943b84.cjs.js');
13
14
  require('minimatch');
14
15
  require('@manypkg/get-packages');
15
16
  require('./yarn-8315d2ff.cjs.js');
16
- require('./run-8a335c20.cjs.js');
17
+ require('./run-1b95473b.cjs.js');
17
18
  var partition = require('lodash/partition');
18
19
  var errors = require('@backstage/errors');
19
20
  require('commander');
@@ -66,7 +67,7 @@ function ownerPrompt() {
66
67
  if (!value) {
67
68
  return true;
68
69
  }
69
- const ownerIds = tasks.parseOwnerIds(value);
70
+ const ownerIds = codeowners.parseOwnerIds(value);
70
71
  if (!ownerIds) {
71
72
  return "The owner must be a space separated list of team names (e.g. @org/team-name), usernames (e.g. @username), or the email addresses (e.g. user@example.com).";
72
73
  }
@@ -124,7 +125,7 @@ const frontendPlugin = createFactory({
124
125
  name: "plugin",
125
126
  description: "A new frontend plugin",
126
127
  optionsDiscovery: async () => ({
127
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
128
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
128
129
  }),
129
130
  optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
130
131
  async create(options, ctx) {
@@ -190,7 +191,7 @@ const frontendPlugin = createFactory({
190
191
  });
191
192
  }
192
193
  if (options.owner) {
193
- await tasks.addCodeownersEntry(`/plugins/${id}`, options.owner);
194
+ await codeowners.addCodeownersEntry(`/plugins/${id}`, options.owner);
194
195
  }
195
196
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
196
197
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -204,7 +205,7 @@ const backendPlugin = createFactory({
204
205
  name: "backend-plugin",
205
206
  description: "A new backend plugin",
206
207
  optionsDiscovery: async () => ({
207
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
208
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
208
209
  }),
209
210
  optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
210
211
  async create(options, ctx) {
@@ -239,7 +240,7 @@ const backendPlugin = createFactory({
239
240
  });
240
241
  }
241
242
  if (options.owner) {
242
- await tasks.addCodeownersEntry(`/plugins/${id}`, options.owner);
243
+ await codeowners.addCodeownersEntry(`/plugins/${id}`, options.owner);
243
244
  }
244
245
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
245
246
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -253,7 +254,7 @@ const webLibraryPackage = createFactory({
253
254
  name: "web-library",
254
255
  description: "A new web-library package",
255
256
  optionsDiscovery: async () => ({
256
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
257
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
257
258
  }),
258
259
  optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
259
260
  async create(options, ctx) {
@@ -274,7 +275,7 @@ const webLibraryPackage = createFactory({
274
275
  }
275
276
  });
276
277
  if (options.owner) {
277
- await tasks.addCodeownersEntry(`/packages/${id}`, options.owner);
278
+ await codeowners.addCodeownersEntry(`/packages/${id}`, options.owner);
278
279
  }
279
280
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
280
281
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -288,7 +289,7 @@ const pluginCommon = createFactory({
288
289
  name: "plugin-common",
289
290
  description: "A new isomorphic common plugin package",
290
291
  optionsDiscovery: async () => ({
291
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
292
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
292
293
  }),
293
294
  optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
294
295
  async create(options, ctx) {
@@ -310,7 +311,7 @@ const pluginCommon = createFactory({
310
311
  }
311
312
  });
312
313
  if (options.owner) {
313
- await tasks.addCodeownersEntry(`/plugins/${suffix}`, options.owner);
314
+ await codeowners.addCodeownersEntry(`/plugins/${suffix}`, options.owner);
314
315
  }
315
316
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
316
317
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -324,7 +325,7 @@ const pluginNode = createFactory({
324
325
  name: "plugin-node",
325
326
  description: "A new Node.js library plugin package",
326
327
  optionsDiscovery: async () => ({
327
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
328
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
328
329
  }),
329
330
  optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
330
331
  async create(options, ctx) {
@@ -346,7 +347,7 @@ const pluginNode = createFactory({
346
347
  }
347
348
  });
348
349
  if (options.owner) {
349
- await tasks.addCodeownersEntry(`/plugins/${suffix}`, options.owner);
350
+ await codeowners.addCodeownersEntry(`/plugins/${suffix}`, options.owner);
350
351
  }
351
352
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
352
353
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -360,7 +361,7 @@ const pluginWeb = createFactory({
360
361
  name: "plugin-react",
361
362
  description: "A new web library plugin package",
362
363
  optionsDiscovery: async () => ({
363
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
364
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
364
365
  }),
365
366
  optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
366
367
  async create(options, ctx) {
@@ -382,7 +383,7 @@ const pluginWeb = createFactory({
382
383
  }
383
384
  });
384
385
  if (options.owner) {
385
- await tasks.addCodeownersEntry(`/plugins/${suffix}`, options.owner);
386
+ await codeowners.addCodeownersEntry(`/plugins/${suffix}`, options.owner);
386
387
  }
387
388
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
388
389
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -396,7 +397,7 @@ const scaffolderModule = createFactory({
396
397
  name: "scaffolder-module",
397
398
  description: "An module exporting custom actions for @backstage/plugin-scaffolder-backend",
398
399
  optionsDiscovery: async () => ({
399
- codeOwnersPath: await tasks.getCodeownersFilePath(index.paths.targetRoot)
400
+ codeOwnersPath: await codeowners.getCodeownersFilePath(index.paths.targetRoot)
400
401
  }),
401
402
  optionsPrompts: [
402
403
  {
@@ -440,7 +441,7 @@ const scaffolderModule = createFactory({
440
441
  }
441
442
  });
442
443
  if (options.owner) {
443
- await tasks.addCodeownersEntry(`/plugins/${slug}`, options.owner);
444
+ await codeowners.addCodeownersEntry(`/plugins/${slug}`, options.owner);
444
445
  }
445
446
  await tasks.Task.forCommand("yarn install", { cwd: targetDir, optional: true });
446
447
  await tasks.Task.forCommand("yarn lint --fix", {
@@ -634,4 +635,4 @@ var _new = async (opts) => {
634
635
  };
635
636
 
636
637
  exports["default"] = _new;
637
- //# sourceMappingURL=new-8809aa5e.cjs.js.map
638
+ //# sourceMappingURL=new-3953ab9d.cjs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var productionPack = require('./productionPack-2038bfcf.cjs.js');
4
- var index = require('./index-701ec917.cjs.js');
4
+ var index = require('./index-7537046f.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-1a98c41d.cjs.js.map
24
+ //# sourceMappingURL=pack-caa8827e.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-6ffddac0.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
6
6
  require('@manypkg/get-packages');
7
- require('./index-701ec917.cjs.js');
7
+ require('./index-7537046f.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('semver');
@@ -17,7 +17,7 @@ require('@yarnpkg/parsers');
17
17
  require('@yarnpkg/lockfile');
18
18
  require('minimatch');
19
19
  require('./yarn-8315d2ff.cjs.js');
20
- require('./run-8a335c20.cjs.js');
20
+ require('./run-1b95473b.cjs.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -105,4 +105,4 @@ async function command() {
105
105
  }
106
106
 
107
107
  exports.command = command;
108
- //# sourceMappingURL=packageExports-6ec50196.cjs.js.map
108
+ //# sourceMappingURL=packageExports-4a46fc67.cjs.js.map