@backstage/cli 0.22.3 → 0.22.4-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 (54) hide show
  1. package/CHANGELOG.md +25 -2
  2. package/README.md +1 -1
  3. package/dist/cjs/{Lockfile-bc3a8337.cjs.js → index/Lockfile-e5943b84.cjs.js} +1 -1
  4. package/dist/cjs/{PackageGraph-5cd8b6d9.cjs.js → index/PackageGraph-5538ef31.cjs.js} +5 -5
  5. package/dist/cjs/{build-ec5ef7e9.cjs.js → index/build-efa80c8e.cjs.js} +16 -13
  6. package/dist/cjs/{buildBackend-8e6c3c4c.cjs.js → index/buildBackend-c5855d52.cjs.js} +8 -7
  7. package/dist/cjs/{buildWorkspace-8c25ffb2.cjs.js → index/buildWorkspace-96048a58.cjs.js} +12 -10
  8. package/dist/cjs/{bump-918a304f.cjs.js → index/bump-32fedc56.cjs.js} +9 -9
  9. package/dist/cjs/{clean-718950b6.cjs.js → index/clean-a7a6bc78.cjs.js} +6 -6
  10. package/dist/cjs/{clean-6f98df01.cjs.js → index/clean-b109e425.cjs.js} +2 -2
  11. package/dist/cjs/{config-d7029aa8.cjs.js → index/config-6473ce49.cjs.js} +3 -3
  12. package/dist/cjs/{createDistWorkspace-cc06390d.cjs.js → index/createDistWorkspace-bf2c43f5.cjs.js} +118 -161
  13. package/dist/cjs/{createPlugin-96f42a6a.cjs.js → index/createPlugin-50acfba4.cjs.js} +6 -6
  14. package/dist/cjs/{diff-de813448.cjs.js → index/diff-67dd6d3a.cjs.js} +2 -2
  15. package/dist/cjs/{docs-bdbc6e7e.cjs.js → index/docs-1881fb4d.cjs.js} +7 -7
  16. package/dist/cjs/index/entryPoints-e81a0dba.cjs.js +44 -0
  17. package/dist/cjs/{fix-8c8a8658.cjs.js → index/fix-b744751d.cjs.js} +6 -6
  18. package/dist/cjs/{index-4757258f.cjs.js → index/index-06b91e37.cjs.js} +50 -47
  19. package/dist/cjs/{index-77c5f873.cjs.js → index/index-688427a5.cjs.js} +2 -2
  20. package/dist/cjs/{index-3f5b204a.cjs.js → index/index-78242ad0.cjs.js} +12 -11
  21. package/dist/cjs/{index-6c7dbf32.cjs.js → index/index-fece8682.cjs.js} +15 -13
  22. package/dist/cjs/{info-e640b7f0.cjs.js → index/info-34714576.cjs.js} +5 -5
  23. package/dist/cjs/{install-4508ea3b.cjs.js → index/install-58b6e581.cjs.js} +5 -5
  24. package/dist/cjs/{lint-5b6f058e.cjs.js → index/lint-0a552584.cjs.js} +6 -6
  25. package/dist/cjs/{lint-acb15aef.cjs.js → index/lint-129b7909.cjs.js} +2 -2
  26. package/dist/cjs/{lint-aa3dda62.cjs.js → index/lint-fd9c25e6.cjs.js} +7 -7
  27. package/dist/cjs/{list-deprecations-e1aafd6b.cjs.js → index/list-deprecations-31c19094.cjs.js} +6 -6
  28. package/dist/cjs/{new-b141ae29.cjs.js → index/new-f9413893.cjs.js} +6 -6
  29. package/dist/cjs/index/pack-30e8e91d.cjs.js +24 -0
  30. package/dist/cjs/index/packageExports-eaf7eccc.cjs.js +108 -0
  31. package/dist/cjs/{packageLintConfigs-bd6a6ffb.cjs.js → index/packageLintConfigs-76db39c6.cjs.js} +6 -6
  32. package/dist/cjs/{packageRole-8d74d86a.cjs.js → index/packageRole-fbdc280f.cjs.js} +3 -3
  33. package/dist/cjs/{packageRoles-956dca20.cjs.js → index/packageRoles-d57dcbe8.cjs.js} +2 -2
  34. package/dist/cjs/{packageScripts-b4dfbc9a.cjs.js → index/packageScripts-7383da87.cjs.js} +7 -7
  35. package/dist/cjs/{packages-ab515737.cjs.js → index/packages-4c8b2f1a.cjs.js} +4 -4
  36. package/dist/cjs/{parallel-a8f6219c.cjs.js → index/parallel-4af834f6.cjs.js} +1 -1
  37. package/dist/cjs/{paths-df76dd28.cjs.js → index/paths-66b18fc5.cjs.js} +12 -8
  38. package/dist/cjs/{print-cabdc32a.cjs.js → index/print-facc5cc9.cjs.js} +7 -7
  39. package/dist/cjs/index/productionPack-2038bfcf.cjs.js +198 -0
  40. package/dist/cjs/{reactRouterDeps-16d02280.cjs.js → index/reactRouterDeps-b2bf9df7.cjs.js} +7 -7
  41. package/dist/cjs/{run-3445beee.cjs.js → index/run-d464a154.cjs.js} +2 -2
  42. package/dist/cjs/{schema-bd6ef683.cjs.js → index/schema-42c719e6.cjs.js} +7 -7
  43. package/dist/cjs/{svgrTemplate-550efce6.cjs.js → index/svgrTemplate-d1dad6d3.cjs.js} +1 -1
  44. package/dist/cjs/{tasks-b86e63da.cjs.js → index/tasks-ad44c464.cjs.js} +2 -2
  45. package/dist/cjs/{test-2ea225bc.cjs.js → index/test-2a95f605.cjs.js} +6 -6
  46. package/dist/cjs/{test-88aa4859.cjs.js → index/test-42314fbd.cjs.js} +3 -3
  47. package/dist/cjs/{validate-b595e7b4.cjs.js → index/validate-a264894f.cjs.js} +7 -7
  48. package/dist/cjs/{yarn-6cd89e16.cjs.js → index/yarn-8315d2ff.cjs.js} +1 -1
  49. package/dist/index.cjs.js +1 -1
  50. package/package.json +17 -17
  51. package/templates/default-backend-plugin/package.json.hbs +3 -3
  52. package/templates/default-plugin/package.json.hbs +1 -1
  53. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs +4 -3
  54. package/dist/cjs/pack-62958350.cjs.js +0 -78
@@ -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.2";
49
+ var version$a = "0.18.3-next.1";
50
50
 
51
- var version$9 = "0.22.3";
51
+ var version$9 = "0.22.4-next.1";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "workspace:^",
54
54
  "@backstage/config": "workspace:^",
@@ -175,28 +175,28 @@ var devDependencies = {
175
175
  "@types/tar": "^6.1.1",
176
176
  "@types/terser-webpack-plugin": "^5.0.4",
177
177
  "@types/yarnpkg__lockfile": "^1.1.4",
178
- del: "^6.0.0",
178
+ del: "^7.0.0",
179
179
  "mock-fs": "^5.1.0",
180
- msw: "^0.49.0",
180
+ msw: "^1.0.0",
181
181
  nodemon: "^2.0.2",
182
182
  "ts-node": "^10.0.0"
183
183
  };
184
184
 
185
- var version$8 = "1.0.6";
185
+ var version$8 = "1.0.7-next.0";
186
186
 
187
- var version$7 = "1.5.0";
187
+ var version$7 = "1.5.1-next.1";
188
188
 
189
- var version$6 = "0.12.4";
189
+ var version$6 = "0.12.5-next.1";
190
190
 
191
- var version$5 = "1.4.0";
191
+ var version$5 = "1.4.1-next.1";
192
192
 
193
- var version$4 = "1.0.12";
193
+ var version$4 = "1.0.13-next.1";
194
194
 
195
- var version$3 = "1.2.5";
195
+ var version$3 = "1.2.6-next.1";
196
196
 
197
- var version$2 = "0.2.17";
197
+ var version$2 = "0.2.18-next.0";
198
198
 
199
- var version$1 = "1.11.0";
199
+ var version$1 = "1.12.0-next.1";
200
200
 
201
201
  const packageVersions = {
202
202
  "@backstage/backend-common": version$a,
@@ -267,7 +267,7 @@ function registerRepoCommand(program) {
267
267
  ).option(
268
268
  "--since <ref>",
269
269
  "Only build packages and their dev dependents that changed since the specified ref"
270
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-ec5ef7e9.cjs.js'); }).then((m) => m.command)));
270
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-efa80c8e.cjs.js'); }).then((m) => m.command)));
271
271
  command.command("lint").description("Lint all packages in the project").option(
272
272
  "--format <format>",
273
273
  "Lint report output format",
@@ -275,10 +275,10 @@ function registerRepoCommand(program) {
275
275
  ).option(
276
276
  "--since <ref>",
277
277
  "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-aa3dda62.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-718950b6.cjs.js'); }).then((m) => m.command)));
278
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-fd9c25e6.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-a7a6bc78.cjs.js'); }).then((m) => m.command)));
280
280
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
281
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-e1aafd6b.cjs.js'); }).then((m) => m.command))
281
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-31c19094.cjs.js'); }).then((m) => m.command))
282
282
  );
283
283
  command.command("test").allowUnknownOption(true).option(
284
284
  "--since <ref>",
@@ -286,20 +286,20 @@ function registerRepoCommand(program) {
286
286
  ).option(
287
287
  "--jest-help",
288
288
  "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-2ea225bc.cjs.js'); }).then((m) => m.command)));
289
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-2a95f605.cjs.js'); }).then((m) => m.command)));
290
290
  }
291
291
  function registerScriptCommand(program) {
292
292
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
293
293
  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
294
  "--inspect-brk",
295
295
  "Enable debugger in Node.js environments, breaking before code starts"
296
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-3f5b204a.cjs.js'); }).then((m) => m.command)));
296
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-78242ad0.cjs.js'); }).then((m) => m.command)));
297
297
  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
298
  "--minify",
299
299
  "Minify the generated code. Does not apply to app or backend packages."
300
300
  ).option(
301
301
  "--experimental-type-build",
302
- "Enable experimental type build. Does not apply to app or backend packages."
302
+ "Enable experimental type build. Does not apply to app or backend packages. [DEPRECATED]"
303
303
  ).option(
304
304
  "--skip-build-dependencies",
305
305
  "Skip the automatic building of local dependencies. Applies to backend packages only."
@@ -311,33 +311,36 @@ function registerScriptCommand(program) {
311
311
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
312
312
  (opt, opts) => opts ? [...opts, opt] : [opt],
313
313
  Array()
314
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-6c7dbf32.cjs.js'); }).then((m) => m.command)));
314
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-fece8682.cjs.js'); }).then((m) => m.command)));
315
315
  command.command("lint [directories...]").option(
316
316
  "--format <format>",
317
317
  "Lint report output format",
318
318
  "eslint-formatter-friendly"
319
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-acb15aef.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-88aa4859.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-8c8a8658.cjs.js'); }).then((m) => m.command)));
322
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-6f98df01.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-62958350.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-62958350.cjs.js'); }).then((m) => m.post)));
319
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-129b7909.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-42314fbd.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-b744751d.cjs.js'); }).then((m) => m.command)));
322
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-b109e425.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-30e8e91d.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-30e8e91d.cjs.js'); }).then((m) => m.post)));
325
325
  }
326
326
  function registerMigrateCommand(program) {
327
327
  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-8d74d86a.cjs.js'); }).then((m) => m.default)));
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-fbdc280f.cjs.js'); }).then((m) => m.default)));
329
329
  command.command("package-scripts").description("Set package scripts according to each package role").action(
330
- lazy(() => Promise.resolve().then(function () { return require('./packageScripts-b4dfbc9a.cjs.js'); }).then((m) => m.command))
330
+ lazy(() => Promise.resolve().then(function () { return require('./packageScripts-7383da87.cjs.js'); }).then((m) => m.command))
331
+ );
332
+ command.command("package-exports").description("Synchronize package subpath export definitions").action(
333
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-eaf7eccc.cjs.js'); }).then((m) => m.command))
331
334
  );
332
335
  command.command("package-lint-configs").description(
333
336
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
334
337
  ).action(
335
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-bd6a6ffb.cjs.js'); }).then((m) => m.command))
338
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-76db39c6.cjs.js'); }).then((m) => m.command))
336
339
  );
337
340
  command.command("react-router-deps").description(
338
341
  "Migrates the react-router dependencies for all packages to be peer dependencies"
339
342
  ).action(
340
- lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-16d02280.cjs.js'); }).then((m) => m.command))
343
+ lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-b2bf9df7.cjs.js'); }).then((m) => m.command))
341
344
  );
342
345
  }
343
346
  function registerCommands(program) {
@@ -357,7 +360,7 @@ function registerCommands(program) {
357
360
  ).option(
358
361
  "--baseVersion <version>",
359
362
  "The version to use for any new packages (default: 0.1.0)"
360
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-b141ae29.cjs.js'); }).then((m) => m.default)));
363
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-f9413893.cjs.js'); }).then((m) => m.default)));
361
364
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
362
365
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
363
366
  ).option(
@@ -371,43 +374,43 @@ function registerCommands(program) {
371
374
  ).option("--scope <scope>", "The scope to use for new packages").option(
372
375
  "--npm-registry <URL>",
373
376
  "The package registry to use for new packages"
374
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-b141ae29.cjs.js'); }).then((m) => m.default)));
377
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-f9413893.cjs.js'); }).then((m) => m.default)));
375
378
  program.command("create-plugin", { hidden: true }).option(
376
379
  "--backend",
377
380
  "Create plugin with the backend dependencies as default"
378
381
  ).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(
379
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-96f42a6a.cjs.js'); }).then((m) => m.default))
382
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-50acfba4.cjs.js'); }).then((m) => m.default))
380
383
  );
381
384
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
382
385
  "Diff an existing plugin with the creation template [DEPRECATED]"
383
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-de813448.cjs.js'); }).then((m) => m.default)));
386
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-67dd6d3a.cjs.js'); }).then((m) => m.default)));
384
387
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
385
388
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
386
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-88aa4859.cjs.js'); }).then((m) => m.default)));
389
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-42314fbd.cjs.js'); }).then((m) => m.default)));
387
390
  program.command("config:docs").option(
388
391
  "--package <name>",
389
392
  "Only include the schema that applies to the given package"
390
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-bdbc6e7e.cjs.js'); }).then((m) => m.default)));
393
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-1881fb4d.cjs.js'); }).then((m) => m.default)));
391
394
  program.command("config:print").option(
392
395
  "--package <name>",
393
396
  "Only load config schema that applies to the given package"
394
397
  ).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(
395
398
  "--format <format>",
396
399
  "Format to print the configuration in, either json or yaml [yaml]"
397
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-cabdc32a.cjs.js'); }).then((m) => m.default)));
400
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-facc5cc9.cjs.js'); }).then((m) => m.default)));
398
401
  program.command("config:check").option(
399
402
  "--package <name>",
400
403
  "Only load config schema that applies to the given package"
401
404
  ).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(
402
405
  "Validate that the given configuration loads and matches schema"
403
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-b595e7b4.cjs.js'); }).then((m) => m.default)));
406
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-a264894f.cjs.js'); }).then((m) => m.default)));
404
407
  program.command("config:schema").option(
405
408
  "--package <name>",
406
409
  "Only output config schema that applies to the given package"
407
410
  ).option(
408
411
  "--format <format>",
409
412
  "Format to print the schema in, either json or yaml [yaml]"
410
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-bd6ef683.cjs.js'); }).then((m) => m.default)));
413
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-42c719e6.cjs.js'); }).then((m) => m.default)));
411
414
  registerRepoCommand(program);
412
415
  registerScriptCommand(program);
413
416
  registerMigrateCommand(program);
@@ -418,16 +421,16 @@ function registerCommands(program) {
418
421
  "--release <version|next|main>",
419
422
  "Bump to a specific Backstage release line or version",
420
423
  "main"
421
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-918a304f.cjs.js'); }).then((m) => m.default)));
422
- 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-5b6f058e.cjs.js'); }).then((m) => m.default)));
423
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-6f98df01.cjs.js'); }).then((m) => m.default)));
424
- 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-8c25ffb2.cjs.js'); }).then((m) => m.default)));
425
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-77c5f873.cjs.js'); }).then((m) => m.default)));
426
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-e640b7f0.cjs.js'); }).then((m) => m.default)));
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-32fedc56.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-0a552584.cjs.js'); }).then((m) => m.default)));
426
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-b109e425.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-96048a58.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-688427a5.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-34714576.cjs.js'); }).then((m) => m.default)));
427
430
  program.command("install [plugin-id]", { hidden: true }).option(
428
431
  "--from <packageJsonFilePath>",
429
432
  "Install from a local package.json containing the installation recipe"
430
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-4508ea3b.cjs.js'); }).then((m) => m.default)));
433
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-58b6e581.cjs.js'); }).then((m) => m.default)));
431
434
  }
432
435
  function lazy(getActionFunc) {
433
436
  return async (...args) => {
@@ -471,4 +474,4 @@ exports.devDependencies = devDependencies;
471
474
  exports.paths = paths;
472
475
  exports.version = version;
473
476
  exports.version$1 = version$9;
474
- //# sourceMappingURL=index-4757258f.cjs.js.map
477
+ //# sourceMappingURL=index-06b91e37.cjs.js.map
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
4
4
  var chalk = require('chalk');
5
5
  var yaml = require('yaml');
6
6
  var inquirer = require('inquirer');
7
- var index$1 = require('./index-4757258f.cjs.js');
7
+ var index$1 = require('./index-06b91e37.cjs.js');
8
8
  var crypto = require('crypto');
9
9
  var openBrowser = require('react-dev-utils/openBrowser');
10
10
  var request = require('@octokit/request');
@@ -222,4 +222,4 @@ async function verifyGithubOrg(org) {
222
222
  }
223
223
 
224
224
  exports["default"] = index;
225
- //# sourceMappingURL=index-77c5f873.cjs.js.map
225
+ //# sourceMappingURL=index-688427a5.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-4757258f.cjs.js');
4
+ var index = require('./index-06b91e37.cjs.js');
5
5
  var webpack = require('webpack');
6
- var paths = require('./paths-df76dd28.cjs.js');
6
+ var paths = require('./paths-66b18fc5.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-3445beee.cjs.js');
20
+ require('./run-d464a154.cjs.js');
21
21
  require('eslint-webpack-plugin');
22
22
  require('lodash/pickBy');
23
23
  var chalk = require('chalk');
@@ -29,16 +29,17 @@ 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-d7029aa8.cjs.js');
33
- var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
32
+ var config = require('./config-6473ce49.cjs.js');
33
+ var Lockfile = require('./Lockfile-e5943b84.cjs.js');
34
34
  require('minimatch');
35
- require('./yarn-6cd89e16.cjs.js');
36
- var lint = require('./lint-5b6f058e.cjs.js');
37
- var PackageGraph = require('./PackageGraph-5cd8b6d9.cjs.js');
38
- var packageRoles = require('./packageRoles-956dca20.cjs.js');
35
+ require('./yarn-8315d2ff.cjs.js');
36
+ var lint = require('./lint-0a552584.cjs.js');
37
+ var PackageGraph = require('./PackageGraph-5538ef31.cjs.js');
38
+ var packageRoles = require('./packageRoles-d57dcbe8.cjs.js');
39
39
  require('commander');
40
40
  require('semver');
41
- require('./svgrTemplate-550efce6.cjs.js');
41
+ require('./svgrTemplate-d1dad6d3.cjs.js');
42
+ require('./entryPoints-e81a0dba.cjs.js');
42
43
  require('child_process');
43
44
  require('util');
44
45
  require('@backstage/config-loader');
@@ -469,4 +470,4 @@ async function command(opts) {
469
470
  }
470
471
 
471
472
  exports.command = command;
472
- //# sourceMappingURL=index-3f5b204a.cjs.js.map
473
+ //# sourceMappingURL=index-78242ad0.cjs.js.map
@@ -1,27 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var createDistWorkspace = require('./createDistWorkspace-cc06390d.cjs.js');
4
- var packageRoles = require('./packageRoles-956dca20.cjs.js');
5
- var index = require('./index-4757258f.cjs.js');
6
- var buildBackend = require('./buildBackend-8e6c3c4c.cjs.js');
3
+ var createDistWorkspace = require('./createDistWorkspace-bf2c43f5.cjs.js');
4
+ var packageRoles = require('./packageRoles-d57dcbe8.cjs.js');
5
+ var index = require('./index-06b91e37.cjs.js');
6
+ var buildBackend = require('./buildBackend-c5855d52.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-3445beee.cjs.js');
13
+ require('./run-d464a154.cjs.js');
14
14
  require('child_process');
15
15
  require('util');
16
16
  require('@backstage/errors');
17
- require('./PackageGraph-5cd8b6d9.cjs.js');
17
+ require('./PackageGraph-5538ef31.cjs.js');
18
18
  require('@manypkg/get-packages');
19
- require('./Lockfile-bc3a8337.cjs.js');
19
+ require('./Lockfile-e5943b84.cjs.js');
20
20
  require('semver');
21
21
  require('@yarnpkg/parsers');
22
22
  require('@yarnpkg/lockfile');
23
23
  require('minimatch');
24
- require('./yarn-6cd89e16.cjs.js');
24
+ require('./yarn-8315d2ff.cjs.js');
25
25
  require('rollup');
26
26
  require('@rollup/plugin-commonjs');
27
27
  require('@rollup/plugin-node-resolve');
@@ -32,9 +32,11 @@ require('rollup-plugin-dts');
32
32
  require('@rollup/plugin-json');
33
33
  require('@rollup/plugin-yaml');
34
34
  require('rollup-pluginutils');
35
- require('./svgrTemplate-550efce6.cjs.js');
36
- require('./parallel-a8f6219c.cjs.js');
35
+ require('./svgrTemplate-d1dad6d3.cjs.js');
36
+ require('./entryPoints-e81a0dba.cjs.js');
37
+ require('./parallel-4af834f6.cjs.js');
37
38
  require('worker_threads');
39
+ require('./productionPack-2038bfcf.cjs.js');
38
40
  require('npm-packlist');
39
41
  require('zod');
40
42
  require('commander');
@@ -45,7 +47,7 @@ require('html-webpack-plugin');
45
47
  require('react-dev-utils/ModuleScopePlugin');
46
48
  require('run-script-webpack-plugin');
47
49
  require('webpack-node-externals');
48
- require('./paths-df76dd28.cjs.js');
50
+ require('./paths-66b18fc5.cjs.js');
49
51
  require('mini-css-extract-plugin');
50
52
  require('@pmmmwh/react-refresh-webpack-plugin');
51
53
  require('eslint-webpack-plugin');
@@ -55,7 +57,7 @@ require('react-dev-utils/FileSizeReporter');
55
57
  require('react-dev-utils/formatWebpackMessages');
56
58
  require('webpack-dev-server');
57
59
  require('react-dev-utils/openBrowser');
58
- require('./config-d7029aa8.cjs.js');
60
+ require('./config-6473ce49.cjs.js');
59
61
  require('@backstage/config-loader');
60
62
  require('@backstage/config');
61
63
 
@@ -93,4 +95,4 @@ async function command(opts) {
93
95
  }
94
96
 
95
97
  exports.command = command;
96
- //# sourceMappingURL=index-6c7dbf32.cjs.js.map
98
+ //# sourceMappingURL=index-fece8682.cjs.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-4757258f.cjs.js');
3
+ var index = require('./index-06b91e37.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-3445beee.cjs.js');
6
- var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
5
+ var run = require('./run-d464a154.cjs.js');
6
+ var Lockfile = require('./Lockfile-e5943b84.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
9
9
  require('chalk');
10
- require('./yarn-6cd89e16.cjs.js');
10
+ require('./yarn-8315d2ff.cjs.js');
11
11
  var fs = require('fs-extra');
12
12
  require('commander');
13
13
  require('semver');
@@ -58,4 +58,4 @@ var info = async () => {
58
58
  };
59
59
 
60
60
  exports["default"] = info;
61
- //# sourceMappingURL=info-e640b7f0.cjs.js.map
61
+ //# sourceMappingURL=info-34714576.cjs.js.map
@@ -4,15 +4,15 @@ var fs = require('fs-extra');
4
4
  require('semver');
5
5
  require('@yarnpkg/parsers');
6
6
  require('@yarnpkg/lockfile');
7
- var packages = require('./packages-ab515737.cjs.js');
8
- var index = require('./index-4757258f.cjs.js');
7
+ var packages = require('./packages-4c8b2f1a.cjs.js');
8
+ var index = require('./index-06b91e37.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-3445beee.cjs.js');
12
+ var run = require('./run-d464a154.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
- require('./yarn-6cd89e16.cjs.js');
15
+ require('./yarn-8315d2ff.cjs.js');
16
16
  require('@backstage/errors');
17
17
  require('child_process');
18
18
  require('util');
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
268
268
  };
269
269
 
270
270
  exports["default"] = install;
271
- //# sourceMappingURL=install-4508ea3b.cjs.js.map
271
+ //# sourceMappingURL=install-58b6e581.cjs.js.map
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
3
+ var Lockfile = require('./Lockfile-e5943b84.cjs.js');
4
4
  require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
- require('./yarn-6cd89e16.cjs.js');
8
- require('./run-3445beee.cjs.js');
9
- var index = require('./index-4757258f.cjs.js');
7
+ require('./yarn-8315d2ff.cjs.js');
8
+ require('./run-d464a154.cjs.js');
9
+ var index = require('./index-06b91e37.cjs.js');
10
10
  var partition = require('lodash/partition');
11
- var PackageGraph = require('./PackageGraph-5cd8b6d9.cjs.js');
11
+ var PackageGraph = require('./PackageGraph-5538ef31.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-5b6f058e.cjs.js.map
116
+ //# sourceMappingURL=lint-0a552584.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-4757258f.cjs.js');
3
+ var index = require('./index-06b91e37.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-acb15aef.cjs.js.map
36
+ //# sourceMappingURL=lint-129b7909.cjs.js.map
@@ -2,21 +2,21 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-5cd8b6d9.cjs.js');
6
- var parallel = require('./parallel-a8f6219c.cjs.js');
7
- var index = require('./index-4757258f.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-5538ef31.cjs.js');
6
+ var parallel = require('./parallel-4af834f6.cjs.js');
7
+ var index = require('./index-06b91e37.cjs.js');
8
8
  require('@manypkg/get-packages');
9
9
  require('@backstage/errors');
10
10
  require('child_process');
11
11
  require('util');
12
- require('./Lockfile-bc3a8337.cjs.js');
12
+ require('./Lockfile-e5943b84.cjs.js');
13
13
  require('fs-extra');
14
14
  require('semver');
15
15
  require('@yarnpkg/parsers');
16
16
  require('@yarnpkg/lockfile');
17
17
  require('minimatch');
18
- require('./yarn-6cd89e16.cjs.js');
19
- require('./run-3445beee.cjs.js');
18
+ require('./yarn-8315d2ff.cjs.js');
19
+ require('./run-d464a154.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-aa3dda62.cjs.js.map
100
+ //# sourceMappingURL=lint-fd9c25e6.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-4757258f.cjs.js');
7
- var PackageGraph = require('./PackageGraph-5cd8b6d9.cjs.js');
6
+ var index = require('./index-06b91e37.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-5538ef31.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
10
10
  require('semver');
@@ -13,12 +13,12 @@ require('@backstage/errors');
13
13
  require('@manypkg/get-packages');
14
14
  require('child_process');
15
15
  require('util');
16
- require('./Lockfile-bc3a8337.cjs.js');
16
+ require('./Lockfile-e5943b84.cjs.js');
17
17
  require('@yarnpkg/parsers');
18
18
  require('@yarnpkg/lockfile');
19
19
  require('minimatch');
20
- require('./yarn-6cd89e16.cjs.js');
21
- require('./run-3445beee.cjs.js');
20
+ require('./yarn-8315d2ff.cjs.js');
21
+ require('./run-d464a154.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-e1aafd6b.cjs.js.map
88
+ //# sourceMappingURL=list-deprecations-31c19094.cjs.js.map
@@ -7,13 +7,13 @@ 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-4757258f.cjs.js');
11
- var tasks = require('./tasks-b86e63da.cjs.js');
12
- var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
10
+ var index = require('./index-06b91e37.cjs.js');
11
+ var tasks = require('./tasks-ad44c464.cjs.js');
12
+ var Lockfile = require('./Lockfile-e5943b84.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
- require('./yarn-6cd89e16.cjs.js');
16
- require('./run-3445beee.cjs.js');
15
+ require('./yarn-8315d2ff.cjs.js');
16
+ require('./run-d464a154.cjs.js');
17
17
  var partition = require('lodash/partition');
18
18
  var errors = require('@backstage/errors');
19
19
  require('commander');
@@ -560,4 +560,4 @@ var _new = async (opts) => {
560
560
  };
561
561
 
562
562
  exports["default"] = _new;
563
- //# sourceMappingURL=new-b141ae29.cjs.js.map
563
+ //# sourceMappingURL=new-f9413893.cjs.js.map
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ var productionPack = require('./productionPack-2038bfcf.cjs.js');
4
+ var index = require('./index-06b91e37.cjs.js');
5
+ require('fs-extra');
6
+ require('npm-packlist');
7
+ require('path');
8
+ require('./entryPoints-e81a0dba.cjs.js');
9
+ require('commander');
10
+ require('chalk');
11
+ require('semver');
12
+ require('@backstage/cli-common');
13
+ require('@backstage/errors');
14
+
15
+ const pre = async () => {
16
+ await productionPack.productionPack({ packageDir: index.paths.targetDir });
17
+ };
18
+ const post = async () => {
19
+ await productionPack.revertProductionPack(index.paths.targetDir);
20
+ };
21
+
22
+ exports.post = post;
23
+ exports.pre = pre;
24
+ //# sourceMappingURL=pack-30e8e91d.cjs.js.map