@backstage/cli 0.18.1 → 0.18.2-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 (44) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/config/jest.js +3 -3
  3. package/config/jestSwcTransform.js +35 -0
  4. package/dist/cjs/{PackageGraph-7ea22294.cjs.js → PackageGraph-217e30de.cjs.js} +2 -2
  5. package/dist/cjs/{build-688edcd3.cjs.js → build-9fe0dd38.cjs.js} +10 -9
  6. package/dist/cjs/{buildBackend-ac6c633b.cjs.js → buildBackend-721dc09b.cjs.js} +7 -6
  7. package/dist/cjs/{buildWorkspace-76f958f0.cjs.js → buildWorkspace-7bf5809d.cjs.js} +6 -6
  8. package/dist/cjs/{bump-db89c0f3.cjs.js → bump-ea057f92.cjs.js} +5 -5
  9. package/dist/cjs/{clean-68c34bfd.cjs.js → clean-e5b3fb22.cjs.js} +2 -2
  10. package/dist/cjs/{config-9d64a562.cjs.js → config-c80d95cb.cjs.js} +3 -3
  11. package/dist/cjs/{create-94a20b19.cjs.js → create-5c068df6.cjs.js} +4 -4
  12. package/dist/cjs/{createDistWorkspace-0412df70.cjs.js → createDistWorkspace-90621e6f.cjs.js} +5 -5
  13. package/dist/cjs/{createPlugin-02079f81.cjs.js → createPlugin-ed921676.cjs.js} +4 -4
  14. package/dist/cjs/{diff-f68eaf29.cjs.js → diff-3a421631.cjs.js} +2 -2
  15. package/dist/cjs/{docs-1527b730.cjs.js → docs-adcfc128.cjs.js} +4 -4
  16. package/dist/cjs/{fix-56a6d092.cjs.js → fix-a6e61477.cjs.js} +3 -3
  17. package/dist/cjs/{index-16fe1d27.cjs.js → index-162b963f.cjs.js} +2 -2
  18. package/dist/cjs/{index-b7ce30d9.cjs.js → index-a01857b1.cjs.js} +55 -52
  19. package/dist/cjs/{index-025feb83.cjs.js → index-d27add40.cjs.js} +10 -9
  20. package/dist/cjs/{index-4f8f2562.cjs.js → index-d61460b3.cjs.js} +9 -8
  21. package/dist/cjs/{info-88431720.cjs.js → info-425afef1.cjs.js} +3 -3
  22. package/dist/cjs/{install-4d423030.cjs.js → install-803fbdd5.cjs.js} +4 -4
  23. package/dist/cjs/{lint-bd7b9e13.cjs.js → lint-19934788.cjs.js} +3 -3
  24. package/dist/cjs/{lint-da011116.cjs.js → lint-1cd0572d.cjs.js} +2 -2
  25. package/dist/cjs/{lint-2fd53d5f.cjs.js → lint-bbc1280b.cjs.js} +3 -3
  26. package/dist/cjs/{list-deprecations-268e1d6b.cjs.js → list-deprecations-caf6ac9b.cjs.js} +3 -3
  27. package/dist/cjs/{pack-ce12d4b7.cjs.js → pack-d3497e7e.cjs.js} +2 -2
  28. package/dist/cjs/{packageLintConfigs-9f3b0766.cjs.js → packageLintConfigs-1595d87f.cjs.js} +4 -4
  29. package/dist/cjs/{packageRole-582e0558.cjs.js → packageRole-f92040f4.cjs.js} +3 -3
  30. package/dist/cjs/{packageRoles-fec3121b.cjs.js → packageRoles-17061f37.cjs.js} +2 -2
  31. package/dist/cjs/{packageScripts-04ac9bc2.cjs.js → packageScripts-1d479974.cjs.js} +4 -4
  32. package/dist/cjs/{packages-24759dcb.cjs.js → packages-4a3062f2.cjs.js} +3 -3
  33. package/dist/cjs/{paths-13d8625f.cjs.js → paths-75e8c849.cjs.js} +76 -40
  34. package/dist/cjs/{print-58fe18ba.cjs.js → print-68e156e3.cjs.js} +4 -4
  35. package/dist/cjs/{run-f4586ef6.cjs.js → run-94823671.cjs.js} +2 -2
  36. package/dist/cjs/{schema-65c31be1.cjs.js → schema-3d2e8fe5.cjs.js} +4 -4
  37. package/dist/cjs/{tasks-16da761b.cjs.js → tasks-4dfbb510.cjs.js} +2 -2
  38. package/dist/cjs/{test-464a46fe.cjs.js → test-3104a9d1.cjs.js} +3 -3
  39. package/dist/cjs/{validate-3231ba7d.cjs.js → validate-3ae83ea3.cjs.js} +4 -4
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +18 -15
  42. package/templates/default-backend-plugin/package.json.hbs +1 -1
  43. package/templates/default-plugin/package.json.hbs +1 -1
  44. package/config/jestEsmTransform.js +0 -19
@@ -46,20 +46,19 @@ class NotFoundError extends CustomError {
46
46
 
47
47
  const paths = cliCommon.findPaths(__dirname);
48
48
 
49
- var version$a = "0.15.0";
49
+ var version$a = "0.15.1-next.0";
50
50
 
51
- var version$9 = "0.18.1";
51
+ var version$9 = "0.18.2-next.0";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "^0.1.9",
54
54
  "@backstage/config": "^1.0.1",
55
- "@backstage/config-loader": "^1.1.3",
55
+ "@backstage/config-loader": "^1.1.4-next.0",
56
56
  "@backstage/errors": "^1.1.0",
57
- "@backstage/release-manifests": "^0.0.5",
57
+ "@backstage/release-manifests": "^0.0.6-next.0",
58
58
  "@backstage/types": "^1.0.0",
59
- "@hot-loader/react-dom-v16": "npm:@hot-loader/react-dom@^16.0.2",
60
- "@hot-loader/react-dom-v17": "npm:@hot-loader/react-dom@^17.0.2",
61
59
  "@manypkg/get-packages": "^1.1.3",
62
60
  "@octokit/request": "^6.0.0",
61
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
63
62
  "@rollup/plugin-commonjs": "^22.0.0",
64
63
  "@rollup/plugin-json": "^4.1.0",
65
64
  "@rollup/plugin-node-resolve": "^13.0.6",
@@ -73,6 +72,9 @@ var dependencies = {
73
72
  "@svgr/plugin-svgo": "6.3.x",
74
73
  "@svgr/rollup": "6.3.x",
75
74
  "@svgr/webpack": "6.3.x",
75
+ "@swc/core": "^1.2.239",
76
+ "@swc/helpers": "^0.4.7",
77
+ "@swc/jest": "^0.2.22",
76
78
  "@types/webpack-env": "^1.15.2",
77
79
  "@typescript-eslint/eslint-plugin": "^5.9.0",
78
80
  "@typescript-eslint/parser": "^5.9.0",
@@ -107,8 +109,8 @@ var dependencies = {
107
109
  "html-webpack-plugin": "^5.3.1",
108
110
  inquirer: "^8.2.0",
109
111
  jest: "^27.5.1",
110
- "jest-runtime": "^27.5.1",
111
112
  "jest-css-modules": "^2.1.0",
113
+ "jest-runtime": "^27.5.1",
112
114
  "jest-transform-yaml": "^1.0.0",
113
115
  "json-schema": "^0.4.0",
114
116
  lodash: "^4.17.21",
@@ -121,7 +123,7 @@ var dependencies = {
121
123
  postcss: "^8.1.0",
122
124
  process: "^0.11.10",
123
125
  "react-dev-utils": "^12.0.0-next.60",
124
- "react-hot-loader": "^4.13.0",
126
+ "react-refresh": "^0.14.0",
125
127
  "recursive-readdir": "^2.2.2",
126
128
  "replace-in-file": "^6.0.0",
127
129
  rollup: "^2.60.2",
@@ -133,10 +135,11 @@ var dependencies = {
133
135
  semver: "^7.3.2",
134
136
  "style-loader": "^3.3.1",
135
137
  sucrase: "^3.20.2",
138
+ "swc-loader": "^0.2.3",
136
139
  tar: "^6.1.2",
137
140
  "terser-webpack-plugin": "^5.1.3",
138
141
  util: "^0.12.3",
139
- webpack: "^5.66.0",
142
+ webpack: "^5.70.0",
140
143
  "webpack-dev-server": "^4.7.3",
141
144
  "webpack-node-externals": "^3.0.0",
142
145
  yaml: "^2.0.0",
@@ -145,13 +148,13 @@ var dependencies = {
145
148
  zod: "^3.11.6"
146
149
  };
147
150
  var devDependencies = {
148
- "@backstage/backend-common": "^0.15.0",
151
+ "@backstage/backend-common": "^0.15.1-next.0",
149
152
  "@backstage/config": "^1.0.1",
150
- "@backstage/core-app-api": "^1.0.5",
151
- "@backstage/core-components": "^0.11.0",
152
- "@backstage/core-plugin-api": "^1.0.5",
153
- "@backstage/dev-utils": "^1.0.5",
154
- "@backstage/test-utils": "^1.1.3",
153
+ "@backstage/core-app-api": "^1.0.6-next.0",
154
+ "@backstage/core-components": "^0.11.1-next.0",
155
+ "@backstage/core-plugin-api": "^1.0.6-next.0",
156
+ "@backstage/dev-utils": "^1.0.6-next.0",
157
+ "@backstage/test-utils": "^1.1.4-next.0",
155
158
  "@backstage/theme": "^0.2.16",
156
159
  "@types/diff": "^5.0.0",
157
160
  "@types/express": "^4.17.6",
@@ -171,26 +174,26 @@ var devDependencies = {
171
174
  "@types/yarnpkg__lockfile": "^1.1.4",
172
175
  del: "^6.0.0",
173
176
  "mock-fs": "^5.1.0",
174
- msw: "^0.44.0",
177
+ msw: "^0.45.0",
175
178
  nodemon: "^2.0.2",
176
179
  "ts-node": "^10.0.0"
177
180
  };
178
181
 
179
182
  var version$8 = "1.0.1";
180
183
 
181
- var version$7 = "1.0.5";
184
+ var version$7 = "1.0.6-next.0";
182
185
 
183
- var version$6 = "0.11.0";
186
+ var version$6 = "0.11.1-next.0";
184
187
 
185
- var version$5 = "1.0.5";
188
+ var version$5 = "1.0.6-next.0";
186
189
 
187
- var version$4 = "1.0.5";
190
+ var version$4 = "1.0.6-next.0";
188
191
 
189
- var version$3 = "1.1.3";
192
+ var version$3 = "1.1.4-next.0";
190
193
 
191
194
  var version$2 = "0.2.16";
192
195
 
193
- var version$1 = "1.5.0";
196
+ var version$1 = "1.6.0-next.0";
194
197
 
195
198
  const packageVersions = {
196
199
  "@backstage/backend-common": version$a,
@@ -255,7 +258,7 @@ function registerRepoCommand(program) {
255
258
  ).option(
256
259
  "--since <ref>",
257
260
  "Only build packages and their dev dependents that changed since the specified ref"
258
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-688edcd3.cjs.js'); }).then((m) => m.command)));
261
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-9fe0dd38.cjs.js'); }).then((m) => m.command)));
259
262
  command.command("lint").description("Lint all packages in the project").option(
260
263
  "--format <format>",
261
264
  "Lint report output format",
@@ -263,9 +266,9 @@ function registerRepoCommand(program) {
263
266
  ).option(
264
267
  "--since <ref>",
265
268
  "Only lint packages that changed since the specified ref"
266
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-2fd53d5f.cjs.js'); }).then((m) => m.command)));
269
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-bbc1280b.cjs.js'); }).then((m) => m.command)));
267
270
  command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(
268
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-268e1d6b.cjs.js'); }).then((m) => m.command))
271
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-caf6ac9b.cjs.js'); }).then((m) => m.command))
269
272
  );
270
273
  }
271
274
  function registerScriptCommand(program) {
@@ -273,7 +276,7 @@ function registerScriptCommand(program) {
273
276
  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(
274
277
  "--inspect-brk",
275
278
  "Enable debugger in Node.js environments, breaking before code starts"
276
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-4f8f2562.cjs.js'); }).then((m) => m.command)));
279
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-d61460b3.cjs.js'); }).then((m) => m.command)));
277
280
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
278
281
  "--minify",
279
282
  "Minify the generated code. Does not apply to app or backend packages."
@@ -291,28 +294,28 @@ function registerScriptCommand(program) {
291
294
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
292
295
  (opt, opts) => opts ? [...opts, opt] : [opt],
293
296
  Array()
294
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-025feb83.cjs.js'); }).then((m) => m.command)));
297
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-d27add40.cjs.js'); }).then((m) => m.command)));
295
298
  command.command("lint [directories...]").option(
296
299
  "--format <format>",
297
300
  "Lint report output format",
298
301
  "eslint-formatter-friendly"
299
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-da011116.cjs.js'); }).then((m) => m.default)));
300
- 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-464a46fe.cjs.js'); }).then((m) => m.default)));
301
- 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-56a6d092.cjs.js'); }).then((m) => m.command)));
302
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-68c34bfd.cjs.js'); }).then((m) => m.default)));
303
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-ce12d4b7.cjs.js'); }).then((m) => m.pre)));
304
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-ce12d4b7.cjs.js'); }).then((m) => m.post)));
302
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-1cd0572d.cjs.js'); }).then((m) => m.default)));
303
+ 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-3104a9d1.cjs.js'); }).then((m) => m.default)));
304
+ 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-a6e61477.cjs.js'); }).then((m) => m.command)));
305
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-e5b3fb22.cjs.js'); }).then((m) => m.default)));
306
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d3497e7e.cjs.js'); }).then((m) => m.pre)));
307
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d3497e7e.cjs.js'); }).then((m) => m.post)));
305
308
  }
306
309
  function registerMigrateCommand(program) {
307
310
  const command = program.command("migrate [command]").description("Migration utilities");
308
- 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-582e0558.cjs.js'); }).then((m) => m.default)));
311
+ 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-f92040f4.cjs.js'); }).then((m) => m.default)));
309
312
  command.command("package-scripts").description("Set package scripts according to each package role").action(
310
- lazy(() => Promise.resolve().then(function () { return require('./packageScripts-04ac9bc2.cjs.js'); }).then((m) => m.command))
313
+ lazy(() => Promise.resolve().then(function () { return require('./packageScripts-1d479974.cjs.js'); }).then((m) => m.command))
311
314
  );
312
315
  command.command("package-lint-configs").description(
313
316
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
314
317
  ).action(
315
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-9f3b0766.cjs.js'); }).then((m) => m.command))
318
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-1595d87f.cjs.js'); }).then((m) => m.command))
316
319
  );
317
320
  }
318
321
  function registerCommands(program) {
@@ -329,41 +332,41 @@ function registerCommands(program) {
329
332
  ).option("--scope <scope>", "The scope to use for new packages").option(
330
333
  "--npm-registry <URL>",
331
334
  "The package registry to use for new packages"
332
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-94a20b19.cjs.js'); }).then((m) => m.default)));
335
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-5c068df6.cjs.js'); }).then((m) => m.default)));
333
336
  program.command("create-plugin").option(
334
337
  "--backend",
335
338
  "Create plugin with the backend dependencies as default"
336
339
  ).description("Creates a new plugin in the current repository").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(
337
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-02079f81.cjs.js'); }).then((m) => m.default))
340
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-ed921676.cjs.js'); }).then((m) => m.default))
338
341
  );
339
- program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-f68eaf29.cjs.js'); }).then((m) => m.default)));
342
+ program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-3a421631.cjs.js'); }).then((m) => m.default)));
340
343
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
341
344
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
342
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-464a46fe.cjs.js'); }).then((m) => m.default)));
345
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-3104a9d1.cjs.js'); }).then((m) => m.default)));
343
346
  program.command("config:docs").option(
344
347
  "--package <name>",
345
348
  "Only include the schema that applies to the given package"
346
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-1527b730.cjs.js'); }).then((m) => m.default)));
349
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-adcfc128.cjs.js'); }).then((m) => m.default)));
347
350
  program.command("config:print").option(
348
351
  "--package <name>",
349
352
  "Only load config schema that applies to the given package"
350
353
  ).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(
351
354
  "--format <format>",
352
355
  "Format to print the configuration in, either json or yaml [yaml]"
353
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-58fe18ba.cjs.js'); }).then((m) => m.default)));
356
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-68e156e3.cjs.js'); }).then((m) => m.default)));
354
357
  program.command("config:check").option(
355
358
  "--package <name>",
356
359
  "Only load config schema that applies to the given package"
357
360
  ).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(
358
361
  "Validate that the given configuration loads and matches schema"
359
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-3231ba7d.cjs.js'); }).then((m) => m.default)));
362
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-3ae83ea3.cjs.js'); }).then((m) => m.default)));
360
363
  program.command("config:schema").option(
361
364
  "--package <name>",
362
365
  "Only output config schema that applies to the given package"
363
366
  ).option(
364
367
  "--format <format>",
365
368
  "Format to print the schema in, either json or yaml [yaml]"
366
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-65c31be1.cjs.js'); }).then((m) => m.default)));
369
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-3d2e8fe5.cjs.js'); }).then((m) => m.default)));
367
370
  registerRepoCommand(program);
368
371
  registerScriptCommand(program);
369
372
  registerMigrateCommand(program);
@@ -374,16 +377,16 @@ function registerCommands(program) {
374
377
  "--release <version|next|main>",
375
378
  "Bump to a specific Backstage release line or version",
376
379
  "main"
377
- ).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-db89c0f3.cjs.js'); }).then((m) => m.default)));
378
- 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-bd7b9e13.cjs.js'); }).then((m) => m.default)));
379
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-68c34bfd.cjs.js'); }).then((m) => m.default)));
380
- 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-76f958f0.cjs.js'); }).then((m) => m.default)));
381
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-16fe1d27.cjs.js'); }).then((m) => m.default)));
382
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-88431720.cjs.js'); }).then((m) => m.default)));
380
+ ).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-ea057f92.cjs.js'); }).then((m) => m.default)));
381
+ 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-19934788.cjs.js'); }).then((m) => m.default)));
382
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-e5b3fb22.cjs.js'); }).then((m) => m.default)));
383
+ 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-7bf5809d.cjs.js'); }).then((m) => m.default)));
384
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-162b963f.cjs.js'); }).then((m) => m.default)));
385
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-425afef1.cjs.js'); }).then((m) => m.default)));
383
386
  program.command("install [plugin-id]", { hidden: true }).option(
384
387
  "--from <packageJsonFilePath>",
385
388
  "Install from a local package.json containing the installation recipe"
386
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-4d423030.cjs.js'); }).then((m) => m.default)));
389
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-803fbdd5.cjs.js'); }).then((m) => m.default)));
387
390
  }
388
391
  function lazy(getActionFunc) {
389
392
  return async (...args) => {
@@ -427,4 +430,4 @@ exports.devDependencies = devDependencies;
427
430
  exports.paths = paths;
428
431
  exports.version = version;
429
432
  exports.version$1 = version$9;
430
- //# sourceMappingURL=index-b7ce30d9.cjs.js.map
433
+ //# sourceMappingURL=index-a01857b1.cjs.js.map
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var createDistWorkspace = require('./createDistWorkspace-0412df70.cjs.js');
4
- var packageRoles = require('./packageRoles-fec3121b.cjs.js');
5
- var index = require('./index-b7ce30d9.cjs.js');
6
- var buildBackend = require('./buildBackend-ac6c633b.cjs.js');
3
+ var createDistWorkspace = require('./createDistWorkspace-90621e6f.cjs.js');
4
+ var packageRoles = require('./packageRoles-17061f37.cjs.js');
5
+ var index = require('./index-a01857b1.cjs.js');
6
+ var buildBackend = require('./buildBackend-721dc09b.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-f4586ef6.cjs.js');
13
+ require('./run-94823671.cjs.js');
14
14
  require('child_process');
15
15
  require('util');
16
16
  require('@backstage/errors');
17
- require('./PackageGraph-7ea22294.cjs.js');
17
+ require('./PackageGraph-217e30de.cjs.js');
18
18
  require('@manypkg/get-packages');
19
19
  require('rollup');
20
20
  require('@rollup/plugin-commonjs');
@@ -40,8 +40,9 @@ require('html-webpack-plugin');
40
40
  require('react-dev-utils/ModuleScopePlugin');
41
41
  require('run-script-webpack-plugin');
42
42
  require('webpack-node-externals');
43
- require('./paths-13d8625f.cjs.js');
43
+ require('./paths-75e8c849.cjs.js');
44
44
  require('mini-css-extract-plugin');
45
+ require('@pmmmwh/react-refresh-webpack-plugin');
45
46
  require('eslint-webpack-plugin');
46
47
  require('lodash/pickBy');
47
48
  require('yn');
@@ -49,7 +50,7 @@ require('react-dev-utils/FileSizeReporter');
49
50
  require('react-dev-utils/formatWebpackMessages');
50
51
  require('webpack-dev-server');
51
52
  require('react-dev-utils/openBrowser');
52
- require('./config-9d64a562.cjs.js');
53
+ require('./config-c80d95cb.cjs.js');
53
54
  require('@backstage/config-loader');
54
55
  require('@backstage/config');
55
56
 
@@ -87,4 +88,4 @@ async function command(opts) {
87
88
  }
88
89
 
89
90
  exports.command = command;
90
- //# sourceMappingURL=index-025feb83.cjs.js.map
91
+ //# sourceMappingURL=index-d27add40.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-b7ce30d9.cjs.js');
4
+ var index = require('./index-a01857b1.cjs.js');
5
5
  var webpack = require('webpack');
6
- var paths = require('./paths-13d8625f.cjs.js');
6
+ var paths = require('./paths-75e8c849.cjs.js');
7
7
  require('yn');
8
8
  require('path');
9
9
  require('react-dev-utils/FileSizeReporter');
@@ -16,18 +16,19 @@ require('webpack-node-externals');
16
16
  require('@backstage/cli-common');
17
17
  require('@manypkg/get-packages');
18
18
  require('mini-css-extract-plugin');
19
- require('./run-f4586ef6.cjs.js');
19
+ require('@pmmmwh/react-refresh-webpack-plugin');
20
+ require('./run-94823671.cjs.js');
20
21
  require('eslint-webpack-plugin');
21
22
  require('lodash/pickBy');
22
23
  var chalk = require('chalk');
23
24
  var WebpackDevServer = require('webpack-dev-server');
24
25
  var openBrowser = require('react-dev-utils/openBrowser');
25
26
  var uniq = require('lodash/uniq');
26
- var config = require('./config-9d64a562.cjs.js');
27
+ var config = require('./config-c80d95cb.cjs.js');
27
28
  var Lockfile = require('./Lockfile-72b7072e.cjs.js');
28
29
  require('minimatch');
29
- var lint = require('./lint-bd7b9e13.cjs.js');
30
- var packageRoles = require('./packageRoles-fec3121b.cjs.js');
30
+ var lint = require('./lint-19934788.cjs.js');
31
+ var packageRoles = require('./packageRoles-17061f37.cjs.js');
31
32
  require('commander');
32
33
  require('semver');
33
34
  require('@backstage/errors');
@@ -36,7 +37,7 @@ require('child_process');
36
37
  require('util');
37
38
  require('@backstage/config-loader');
38
39
  require('@backstage/config');
39
- require('./PackageGraph-7ea22294.cjs.js');
40
+ require('./PackageGraph-217e30de.cjs.js');
40
41
  require('@yarnpkg/parsers');
41
42
  require('@yarnpkg/lockfile');
42
43
  require('lodash/partition');
@@ -240,4 +241,4 @@ async function command(opts) {
240
241
  }
241
242
 
242
243
  exports.command = command;
243
- //# sourceMappingURL=index-4f8f2562.cjs.js.map
244
+ //# sourceMappingURL=index-d61460b3.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-b7ce30d9.cjs.js');
3
+ var index = require('./index-a01857b1.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-f4586ef6.cjs.js');
5
+ var run = require('./run-94823671.cjs.js');
6
6
  var Lockfile = require('./Lockfile-72b7072e.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -57,4 +57,4 @@ var info = async () => {
57
57
  };
58
58
 
59
59
  exports["default"] = info;
60
- //# sourceMappingURL=info-88431720.cjs.js.map
60
+ //# sourceMappingURL=info-425afef1.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-24759dcb.cjs.js');
8
- var index = require('./index-b7ce30d9.cjs.js');
7
+ var packages = require('./packages-4a3062f2.cjs.js');
8
+ var index = require('./index-a01857b1.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-f4586ef6.cjs.js');
12
+ var run = require('./run-94823671.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
15
  require('commander');
@@ -267,4 +267,4 @@ var install = async (pluginId, cmd) => {
267
267
  };
268
268
 
269
269
  exports["default"] = install;
270
- //# sourceMappingURL=install-4d423030.cjs.js.map
270
+ //# sourceMappingURL=install-803fbdd5.cjs.js.map
@@ -3,9 +3,9 @@
3
3
  var Lockfile = require('./Lockfile-72b7072e.cjs.js');
4
4
  require('minimatch');
5
5
  require('@manypkg/get-packages');
6
- require('./run-f4586ef6.cjs.js');
6
+ require('./run-94823671.cjs.js');
7
7
  require('chalk');
8
- var index = require('./index-b7ce30d9.cjs.js');
8
+ var index = require('./index-a01857b1.cjs.js');
9
9
  var partition = require('lodash/partition');
10
10
  require('fs-extra');
11
11
  require('semver');
@@ -104,4 +104,4 @@ function logArray(arr, header, each) {
104
104
  exports["default"] = lint;
105
105
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
106
106
  exports.includedFilter = includedFilter;
107
- //# sourceMappingURL=lint-bd7b9e13.cjs.js.map
107
+ //# sourceMappingURL=lint-19934788.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-b7ce30d9.cjs.js');
3
+ var index = require('./index-a01857b1.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-da011116.cjs.js.map
36
+ //# sourceMappingURL=lint-1cd0572d.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-7ea22294.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
6
6
  var parallel = require('./parallel-a8f6219c.cjs.js');
7
- var index = require('./index-b7ce30d9.cjs.js');
7
+ var index = require('./index-a01857b1.cjs.js');
8
8
  require('@manypkg/get-packages');
9
9
  require('@backstage/errors');
10
10
  require('child_process');
@@ -88,4 +88,4 @@ async function command(opts) {
88
88
  }
89
89
 
90
90
  exports.command = command;
91
- //# sourceMappingURL=lint-2fd53d5f.cjs.js.map
91
+ //# sourceMappingURL=lint-bbc1280b.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-b7ce30d9.cjs.js');
7
- var PackageGraph = require('./PackageGraph-7ea22294.cjs.js');
6
+ var index = require('./index-a01857b1.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
10
10
  require('semver');
@@ -79,4 +79,4 @@ async function command(opts) {
79
79
  }
80
80
 
81
81
  exports.command = command;
82
- //# sourceMappingURL=list-deprecations-268e1d6b.cjs.js.map
82
+ //# sourceMappingURL=list-deprecations-caf6ac9b.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-b7ce30d9.cjs.js');
4
+ var index = require('./index-a01857b1.cjs.js');
5
5
  var path = require('path');
6
6
  require('commander');
7
7
  require('chalk');
@@ -75,4 +75,4 @@ const post = async () => {
75
75
 
76
76
  exports.post = post;
77
77
  exports.pre = pre;
78
- //# sourceMappingURL=pack-ce12d4b7.cjs.js.map
78
+ //# sourceMappingURL=pack-d3497e7e.cjs.js.map
@@ -2,10 +2,10 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-7ea22294.cjs.js');
6
- var run = require('./run-f4586ef6.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
6
+ var run = require('./run-94823671.cjs.js');
7
7
  require('@manypkg/get-packages');
8
- require('./index-b7ce30d9.cjs.js');
8
+ require('./index-a01857b1.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -80,4 +80,4 @@ async function command() {
80
80
  }
81
81
 
82
82
  exports.command = command;
83
- //# sourceMappingURL=packageLintConfigs-9f3b0766.cjs.js.map
83
+ //# sourceMappingURL=packageLintConfigs-1595d87f.cjs.js.map
@@ -3,8 +3,8 @@
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
5
  var getPackages = require('@manypkg/get-packages');
6
- var index = require('./index-b7ce30d9.cjs.js');
7
- var packageRoles = require('./packageRoles-fec3121b.cjs.js');
6
+ var index = require('./index-a01857b1.cjs.js');
7
+ var packageRoles = require('./packageRoles-17061f37.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('semver');
@@ -56,4 +56,4 @@ var packageRole = async () => {
56
56
  };
57
57
 
58
58
  exports["default"] = packageRole;
59
- //# sourceMappingURL=packageRole-582e0558.cjs.js.map
59
+ //# sourceMappingURL=packageRole-f92040f4.cjs.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var zod = require('zod');
4
4
  var fs = require('fs-extra');
5
- var index = require('./index-b7ce30d9.cjs.js');
5
+ var index = require('./index-a01857b1.cjs.js');
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -157,4 +157,4 @@ exports.detectRoleFromPackage = detectRoleFromPackage;
157
157
  exports.findRoleFromCommand = findRoleFromCommand;
158
158
  exports.getRoleFromPackage = getRoleFromPackage;
159
159
  exports.getRoleInfo = getRoleInfo;
160
- //# sourceMappingURL=packageRoles-fec3121b.cjs.js.map
160
+ //# sourceMappingURL=packageRoles-17061f37.cjs.js.map
@@ -2,10 +2,10 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-7ea22294.cjs.js');
6
- var packageRoles = require('./packageRoles-fec3121b.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
6
+ var packageRoles = require('./packageRoles-17061f37.cjs.js');
7
7
  require('@manypkg/get-packages');
8
- require('./index-b7ce30d9.cjs.js');
8
+ require('./index-a01857b1.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -95,4 +95,4 @@ async function command() {
95
95
  }
96
96
 
97
97
  exports.command = command;
98
- //# sourceMappingURL=packageScripts-04ac9bc2.cjs.js.map
98
+ //# sourceMappingURL=packageScripts-1d479974.cjs.js.map
@@ -2,8 +2,8 @@
2
2
 
3
3
  var minimatch = require('minimatch');
4
4
  var getPackages = require('@manypkg/get-packages');
5
- var run = require('./run-f4586ef6.cjs.js');
6
- var index = require('./index-b7ce30d9.cjs.js');
5
+ var run = require('./run-94823671.cjs.js');
6
+ var index = require('./index-a01857b1.cjs.js');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
9
 
@@ -56,4 +56,4 @@ async function mapDependencies(targetDir, pattern) {
56
56
 
57
57
  exports.fetchPackageInfo = fetchPackageInfo;
58
58
  exports.mapDependencies = mapDependencies;
59
- //# sourceMappingURL=packages-24759dcb.cjs.js.map
59
+ //# sourceMappingURL=packages-4a3062f2.cjs.js.map