@backstage/cli 0.22.6-next.0 → 0.22.6-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 (53) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/asset-types/asset-types.d.ts +5 -0
  3. package/dist/cjs/{index/Lockfile-e5943b84.cjs.js → Lockfile-bc3a8337.cjs.js} +1 -1
  4. package/dist/cjs/{index/PackageGraph-3f98d337.cjs.js → PackageGraph-2eb22088.cjs.js} +5 -5
  5. package/dist/cjs/{index/build-cc99b635.cjs.js → build-34419958.cjs.js} +15 -15
  6. package/dist/cjs/{index/buildBackend-a8bcd165.cjs.js → buildBackend-6315da87.cjs.js} +7 -7
  7. package/dist/cjs/{index/buildWorkspace-41156462.cjs.js → buildWorkspace-e1dd2931.cjs.js} +12 -12
  8. package/dist/cjs/{index/bump-143918d0.cjs.js → bump-ba095aea.cjs.js} +9 -9
  9. package/dist/cjs/{index/clean-e2ad6a88.cjs.js → clean-10f71978.cjs.js} +2 -2
  10. package/dist/cjs/{index/clean-0ce04941.cjs.js → clean-117c06e8.cjs.js} +6 -6
  11. package/dist/cjs/{index/codeowners-d775851f.cjs.js → codeowners-ec774f58.cjs.js} +2 -2
  12. package/dist/cjs/{index/config-4228b120.cjs.js → config-b630462b.cjs.js} +3 -3
  13. package/dist/cjs/{index/createDistWorkspace-fb5e45c7.cjs.js → createDistWorkspace-53c29e53.cjs.js} +110 -100
  14. package/dist/cjs/{index/createPlugin-5c4a7dc0.cjs.js → createPlugin-260d865c.cjs.js} +7 -7
  15. package/dist/cjs/{index/diff-86139f91.cjs.js → diff-a63619b7.cjs.js} +2 -2
  16. package/dist/cjs/{index/docs-1817742b.cjs.js → docs-aebd654b.cjs.js} +7 -7
  17. package/dist/cjs/{index/entryPoints-e81a0dba.cjs.js → entryPoints-5e73783d.cjs.js} +1 -1
  18. package/dist/cjs/{index/fix-6ac8eb23.cjs.js → fix-33ec227b.cjs.js} +6 -6
  19. package/dist/cjs/{index/index-751e6ffe.cjs.js → index-44665fb9.cjs.js} +2 -2
  20. package/dist/cjs/{index/index-0028f123.cjs.js → index-62a9824e.cjs.js} +12 -12
  21. package/dist/cjs/{index/index-6542a4f4.cjs.js → index-9b9f70f2.cjs.js} +2 -2
  22. package/dist/cjs/{index/index-a1ae1c20.cjs.js → index-9ec09897.cjs.js} +15 -15
  23. package/dist/cjs/{index/index-7537046f.cjs.js → index-ca8e3b96.cjs.js} +47 -46
  24. package/dist/cjs/{index/info-97e85013.cjs.js → info-b05d5cf7.cjs.js} +5 -5
  25. package/dist/cjs/{index/install-d796c591.cjs.js → install-3f29c0fc.cjs.js} +5 -5
  26. package/dist/cjs/{index/lint-b9604904.cjs.js → lint-02158235.cjs.js} +2 -2
  27. package/dist/cjs/{index/lint-dea054a3.cjs.js → lint-39049bc2.cjs.js} +6 -6
  28. package/dist/cjs/{index/lint-2a08b183.cjs.js → lint-6eacc0e3.cjs.js} +7 -7
  29. package/dist/cjs/{index/list-deprecations-de2f58af.cjs.js → list-deprecations-6f3e6ecc.cjs.js} +6 -6
  30. package/dist/cjs/{index/new-3953ab9d.cjs.js → new-22b86d62.cjs.js} +7 -7
  31. package/dist/cjs/{index/pack-caa8827e.cjs.js → pack-889d7ba2.cjs.js} +4 -4
  32. package/dist/cjs/{index/packageExports-4a46fc67.cjs.js → packageExports-833dbc8f.cjs.js} +6 -6
  33. package/dist/cjs/{index/packageLintConfigs-967f27ba.cjs.js → packageLintConfigs-8fe7a3aa.cjs.js} +6 -6
  34. package/dist/cjs/{index/packageRole-bca33d79.cjs.js → packageRole-8cd65354.cjs.js} +3 -3
  35. package/dist/cjs/{index/packageRoles-69beedda.cjs.js → packageRoles-2426a6db.cjs.js} +2 -2
  36. package/dist/cjs/{index/packageScripts-7c46f2fc.cjs.js → packageScripts-c4254268.cjs.js} +7 -7
  37. package/dist/cjs/{index/packages-9afdfe7b.cjs.js → packages-a37412df.cjs.js} +4 -4
  38. package/dist/cjs/{index/parallel-4af834f6.cjs.js → parallel-a8f6219c.cjs.js} +1 -1
  39. package/dist/cjs/{index/paths-4630bc1d.cjs.js → paths-8b62e6d3.cjs.js} +5 -5
  40. package/dist/cjs/{index/print-d8f6aa7d.cjs.js → print-fefcaeda.cjs.js} +7 -7
  41. package/dist/cjs/{index/productionPack-2038bfcf.cjs.js → productionPack-fdf62126.cjs.js} +8 -8
  42. package/dist/cjs/{index/reactRouterDeps-23bd30be.cjs.js → reactRouterDeps-2735b871.cjs.js} +7 -7
  43. package/dist/cjs/{index/run-1b95473b.cjs.js → run-7b3a246f.cjs.js} +2 -2
  44. package/dist/cjs/{index/schema-bdd65f01.cjs.js → schema-aa8288ac.cjs.js} +7 -7
  45. package/dist/cjs/{index/svgrTemplate-d1dad6d3.cjs.js → svgrTemplate-550efce6.cjs.js} +1 -1
  46. package/dist/cjs/{index/tasks-409c4719.cjs.js → tasks-84de240c.cjs.js} +1 -1
  47. package/dist/cjs/{index/test-599a1294.cjs.js → test-8a770121.cjs.js} +3 -3
  48. package/dist/cjs/{index/test-9893c495.cjs.js → test-fdfd38cf.cjs.js} +6 -6
  49. package/dist/cjs/{index/validate-2cc915f0.cjs.js → validate-0f9243f2.cjs.js} +7 -7
  50. package/dist/cjs/{index/yarn-8315d2ff.cjs.js → yarn-6cd89e16.cjs.js} +1 -1
  51. package/dist/index.cjs.js +1 -1
  52. package/package.json +10 -9
  53. package/templates/default-plugin/package.json.hbs +1 -1
@@ -2,9 +2,9 @@
2
2
 
3
3
  var configLoader = require('@backstage/config-loader');
4
4
  var openBrowser = require('react-dev-utils/openBrowser');
5
- var config = require('./config-4228b120.cjs.js');
5
+ var config = require('./config-b630462b.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-7537046f.cjs.js');
7
+ require('./index-ca8e3b96.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -12,16 +12,16 @@ require('semver');
12
12
  require('@backstage/cli-common');
13
13
  require('@backstage/errors');
14
14
  require('@manypkg/get-packages');
15
- require('./PackageGraph-3f98d337.cjs.js');
15
+ require('./PackageGraph-2eb22088.cjs.js');
16
16
  require('path');
17
17
  require('child_process');
18
18
  require('util');
19
- require('./Lockfile-e5943b84.cjs.js');
19
+ require('./Lockfile-bc3a8337.cjs.js');
20
20
  require('@yarnpkg/parsers');
21
21
  require('@yarnpkg/lockfile');
22
22
  require('minimatch');
23
- require('./yarn-8315d2ff.cjs.js');
24
- require('./run-1b95473b.cjs.js');
23
+ require('./yarn-6cd89e16.cjs.js');
24
+ require('./run-7b3a246f.cjs.js');
25
25
 
26
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
27
27
 
@@ -43,4 +43,4 @@ var docs = async (opts) => {
43
43
  };
44
44
 
45
45
  exports["default"] = docs;
46
- //# sourceMappingURL=docs-1817742b.cjs.js.map
46
+ //# sourceMappingURL=docs-aebd654b.cjs.js.map
@@ -41,4 +41,4 @@ function readEntryPoints(pkg) {
41
41
  }
42
42
 
43
43
  exports.readEntryPoints = readEntryPoints;
44
- //# sourceMappingURL=entryPoints-e81a0dba.cjs.js.map
44
+ //# sourceMappingURL=entryPoints-5e73783d.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7537046f.cjs.js');
3
+ var index = require('./index-ca8e3b96.cjs.js');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
6
  var fs = require('fs-extra');
7
7
  var cliCommon = require('@backstage/cli-common');
8
- var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
8
+ var PackageGraph = require('./PackageGraph-2eb22088.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  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-e5943b84.cjs.js');
16
+ require('./Lockfile-bc3a8337.cjs.js');
17
17
  require('@yarnpkg/parsers');
18
18
  require('@yarnpkg/lockfile');
19
19
  require('minimatch');
20
- require('./yarn-8315d2ff.cjs.js');
21
- require('./run-1b95473b.cjs.js');
20
+ require('./yarn-6cd89e16.cjs.js');
21
+ require('./run-7b3a246f.cjs.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -129,4 +129,4 @@ async function command() {
129
129
  }
130
130
 
131
131
  exports.command = command;
132
- //# sourceMappingURL=fix-6ac8eb23.cjs.js.map
132
+ //# sourceMappingURL=fix-33ec227b.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-7537046f.cjs.js');
7
+ var index$1 = require('./index-ca8e3b96.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-751e6ffe.cjs.js.map
225
+ //# sourceMappingURL=index-44665fb9.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-7537046f.cjs.js');
4
+ var index = require('./index-ca8e3b96.cjs.js');
5
5
  var webpack = require('webpack');
6
- var paths = require('./paths-4630bc1d.cjs.js');
6
+ var paths = require('./paths-8b62e6d3.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-1b95473b.cjs.js');
20
+ require('./run-7b3a246f.cjs.js');
21
21
  require('eslint-webpack-plugin');
22
22
  require('lodash/pickBy');
23
23
  var chalk = require('chalk');
@@ -29,17 +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-4228b120.cjs.js');
33
- var Lockfile = require('./Lockfile-e5943b84.cjs.js');
32
+ var config = require('./config-b630462b.cjs.js');
33
+ var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
34
34
  require('minimatch');
35
- require('./yarn-8315d2ff.cjs.js');
36
- var lint = require('./lint-dea054a3.cjs.js');
37
- var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
38
- var packageRoles = require('./packageRoles-69beedda.cjs.js');
35
+ require('./yarn-6cd89e16.cjs.js');
36
+ var lint = require('./lint-39049bc2.cjs.js');
37
+ var PackageGraph = require('./PackageGraph-2eb22088.cjs.js');
38
+ var packageRoles = require('./packageRoles-2426a6db.cjs.js');
39
39
  require('commander');
40
40
  require('semver');
41
- require('./svgrTemplate-d1dad6d3.cjs.js');
42
- require('./entryPoints-e81a0dba.cjs.js');
41
+ require('./svgrTemplate-550efce6.cjs.js');
42
+ require('./entryPoints-5e73783d.cjs.js');
43
43
  require('child_process');
44
44
  require('util');
45
45
  require('@backstage/config-loader');
@@ -470,4 +470,4 @@ async function command(opts) {
470
470
  }
471
471
 
472
472
  exports.command = command;
473
- //# sourceMappingURL=index-0028f123.cjs.js.map
473
+ //# sourceMappingURL=index-62a9824e.cjs.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var inquirer = require('inquirer');
5
- var tasks = require('./tasks-409c4719.cjs.js');
5
+ var tasks = require('./tasks-84de240c.cjs.js');
6
6
  var oauthApp = require('@octokit/oauth-app');
7
7
  var fs = require('fs-extra');
8
8
  var yaml = require('yaml');
@@ -468,4 +468,4 @@ async function command() {
468
468
  }
469
469
 
470
470
  exports.command = command;
471
- //# sourceMappingURL=index-6542a4f4.cjs.js.map
471
+ //# sourceMappingURL=index-9b9f70f2.cjs.js.map
@@ -1,27 +1,27 @@
1
1
  'use strict';
2
2
 
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');
3
+ var createDistWorkspace = require('./createDistWorkspace-53c29e53.cjs.js');
4
+ var packageRoles = require('./packageRoles-2426a6db.cjs.js');
5
+ var index = require('./index-ca8e3b96.cjs.js');
6
+ var buildBackend = require('./buildBackend-6315da87.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-1b95473b.cjs.js');
13
+ require('./run-7b3a246f.cjs.js');
14
14
  require('child_process');
15
15
  require('util');
16
16
  require('@backstage/errors');
17
- require('./PackageGraph-3f98d337.cjs.js');
17
+ require('./PackageGraph-2eb22088.cjs.js');
18
18
  require('@manypkg/get-packages');
19
- require('./Lockfile-e5943b84.cjs.js');
19
+ require('./Lockfile-bc3a8337.cjs.js');
20
20
  require('semver');
21
21
  require('@yarnpkg/parsers');
22
22
  require('@yarnpkg/lockfile');
23
23
  require('minimatch');
24
- require('./yarn-8315d2ff.cjs.js');
24
+ require('./yarn-6cd89e16.cjs.js');
25
25
  require('rollup');
26
26
  require('@rollup/plugin-commonjs');
27
27
  require('@rollup/plugin-node-resolve');
@@ -32,11 +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-d1dad6d3.cjs.js');
36
- require('./entryPoints-e81a0dba.cjs.js');
37
- require('./parallel-4af834f6.cjs.js');
35
+ require('./svgrTemplate-550efce6.cjs.js');
36
+ require('./entryPoints-5e73783d.cjs.js');
37
+ require('./parallel-a8f6219c.cjs.js');
38
38
  require('worker_threads');
39
- require('./productionPack-2038bfcf.cjs.js');
39
+ require('./productionPack-fdf62126.cjs.js');
40
40
  require('npm-packlist');
41
41
  require('zod');
42
42
  require('commander');
@@ -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-4630bc1d.cjs.js');
50
+ require('./paths-8b62e6d3.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-4228b120.cjs.js');
60
+ require('./config-b630462b.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-a1ae1c20.cjs.js.map
98
+ //# sourceMappingURL=index-9ec09897.cjs.js.map
@@ -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.4-next.0";
49
+ var version$a = "0.18.4-next.1";
50
50
 
51
- var version$9 = "0.22.6-next.0";
51
+ var version$9 = "0.22.6-next.1";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "workspace:^",
54
54
  "@backstage/config": "workspace:^",
@@ -70,6 +70,7 @@ var dependencies = {
70
70
  "@spotify/eslint-config-react": "^14.0.0",
71
71
  "@spotify/eslint-config-typescript": "^14.0.0",
72
72
  "@sucrase/webpack-loader": "^2.0.0",
73
+ "@svgr/core": "6.5.x",
73
74
  "@svgr/plugin-jsx": "6.5.x",
74
75
  "@svgr/plugin-svgo": "6.5.x",
75
76
  "@svgr/rollup": "6.5.x",
@@ -148,7 +149,7 @@ var dependencies = {
148
149
  yaml: "^2.0.0",
149
150
  "yml-loader": "^2.1.0",
150
151
  yn: "^4.0.0",
151
- zod: "~3.18.0"
152
+ zod: "^3.21.4"
152
153
  };
153
154
  var devDependencies = {
154
155
  "@backstage/backend-common": "workspace:^",
@@ -185,19 +186,19 @@ var devDependencies = {
185
186
 
186
187
  var version$8 = "1.0.7";
187
188
 
188
- var version$7 = "1.7.0-next.0";
189
+ var version$7 = "1.7.0-next.1";
189
190
 
190
- var version$6 = "0.12.6-next.0";
191
+ var version$6 = "0.12.6-next.1";
191
192
 
192
- var version$5 = "1.5.0";
193
+ var version$5 = "1.5.1-next.0";
193
194
 
194
- var version$4 = "1.0.14-next.0";
195
+ var version$4 = "1.0.14-next.1";
195
196
 
196
- var version$3 = "1.3.0-next.0";
197
+ var version$3 = "1.3.0-next.1";
197
198
 
198
- var version$2 = "0.2.18";
199
+ var version$2 = "0.2.19-next.0";
199
200
 
200
- var version$1 = "1.12.1-next.0";
201
+ var version$1 = "1.13.0-next.1";
201
202
 
202
203
  const packageVersions = {
203
204
  "@backstage/backend-common": version$a,
@@ -259,7 +260,7 @@ const configOption = [
259
260
  Array()
260
261
  ];
261
262
  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
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-9b9f70f2.cjs.js'); }).then((m) => m.command)));
263
264
  }
264
265
  function registerRepoCommand(program) {
265
266
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -271,7 +272,7 @@ function registerRepoCommand(program) {
271
272
  ).option(
272
273
  "--since <ref>",
273
274
  "Only build packages and their dev dependents that changed since the specified ref"
274
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-cc99b635.cjs.js'); }).then((m) => m.command)));
275
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-34419958.cjs.js'); }).then((m) => m.command)));
275
276
  command.command("lint").description("Lint all packages in the project").option(
276
277
  "--format <format>",
277
278
  "Lint report output format",
@@ -279,10 +280,10 @@ function registerRepoCommand(program) {
279
280
  ).option(
280
281
  "--since <ref>",
281
282
  "Only lint packages that changed since the specified ref"
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)));
283
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-6eacc0e3.cjs.js'); }).then((m) => m.command)));
284
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-117c06e8.cjs.js'); }).then((m) => m.command)));
284
285
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
285
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-de2f58af.cjs.js'); }).then((m) => m.command))
286
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-6f3e6ecc.cjs.js'); }).then((m) => m.command))
286
287
  );
287
288
  command.command("test").allowUnknownOption(true).option(
288
289
  "--since <ref>",
@@ -290,14 +291,14 @@ function registerRepoCommand(program) {
290
291
  ).option(
291
292
  "--jest-help",
292
293
  "Show help for Jest CLI options, which are passed through"
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)));
294
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-fdfd38cf.cjs.js'); }).then((m) => m.command)));
294
295
  }
295
296
  function registerScriptCommand(program) {
296
297
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
297
298
  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(
298
299
  "--inspect-brk",
299
300
  "Enable debugger in Node.js environments, breaking before code starts"
300
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-0028f123.cjs.js'); }).then((m) => m.command)));
301
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-62a9824e.cjs.js'); }).then((m) => m.command)));
301
302
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
302
303
  "--minify",
303
304
  "Minify the generated code. Does not apply to app or backend packages."
@@ -315,36 +316,36 @@ function registerScriptCommand(program) {
315
316
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
316
317
  (opt, opts) => opts ? [...opts, opt] : [opt],
317
318
  Array()
318
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-a1ae1c20.cjs.js'); }).then((m) => m.command)));
319
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-9ec09897.cjs.js'); }).then((m) => m.command)));
319
320
  command.command("lint [directories...]").option(
320
321
  "--format <format>",
321
322
  "Lint report output format",
322
323
  "eslint-formatter-friendly"
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)));
324
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-02158235.cjs.js'); }).then((m) => m.default)));
325
+ 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-8a770121.cjs.js'); }).then((m) => m.default)));
326
+ 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-33ec227b.cjs.js'); }).then((m) => m.command)));
327
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-10f71978.cjs.js'); }).then((m) => m.default)));
328
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-889d7ba2.cjs.js'); }).then((m) => m.pre)));
329
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-889d7ba2.cjs.js'); }).then((m) => m.post)));
329
330
  }
330
331
  function registerMigrateCommand(program) {
331
332
  const command = program.command("migrate [command]").description("Migration utilities");
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)));
333
+ 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-8cd65354.cjs.js'); }).then((m) => m.default)));
333
334
  command.command("package-scripts").description("Set package scripts according to each package role").action(
334
- lazy(() => Promise.resolve().then(function () { return require('./packageScripts-7c46f2fc.cjs.js'); }).then((m) => m.command))
335
+ lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c4254268.cjs.js'); }).then((m) => m.command))
335
336
  );
336
337
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
337
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-4a46fc67.cjs.js'); }).then((m) => m.command))
338
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-833dbc8f.cjs.js'); }).then((m) => m.command))
338
339
  );
339
340
  command.command("package-lint-configs").description(
340
341
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
341
342
  ).action(
342
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-967f27ba.cjs.js'); }).then((m) => m.command))
343
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-8fe7a3aa.cjs.js'); }).then((m) => m.command))
343
344
  );
344
345
  command.command("react-router-deps").description(
345
346
  "Migrates the react-router dependencies for all packages to be peer dependencies"
346
347
  ).action(
347
- lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-23bd30be.cjs.js'); }).then((m) => m.command))
348
+ lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-2735b871.cjs.js'); }).then((m) => m.command))
348
349
  );
349
350
  }
350
351
  function registerCommands(program) {
@@ -364,7 +365,7 @@ function registerCommands(program) {
364
365
  ).option(
365
366
  "--baseVersion <version>",
366
367
  "The version to use for any new packages (default: 0.1.0)"
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)));
368
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-22b86d62.cjs.js'); }).then((m) => m.default)));
368
369
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
369
370
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
370
371
  ).option(
@@ -378,43 +379,43 @@ function registerCommands(program) {
378
379
  ).option("--scope <scope>", "The scope to use for new packages").option(
379
380
  "--npm-registry <URL>",
380
381
  "The package registry to use for new packages"
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)));
382
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-22b86d62.cjs.js'); }).then((m) => m.default)));
382
383
  program.command("create-plugin", { hidden: true }).option(
383
384
  "--backend",
384
385
  "Create plugin with the backend dependencies as default"
385
386
  ).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(
386
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-5c4a7dc0.cjs.js'); }).then((m) => m.default))
387
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-260d865c.cjs.js'); }).then((m) => m.default))
387
388
  );
388
389
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
389
390
  "Diff an existing plugin with the creation template [DEPRECATED]"
390
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-86139f91.cjs.js'); }).then((m) => m.default)));
391
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-a63619b7.cjs.js'); }).then((m) => m.default)));
391
392
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
392
393
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
393
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-599a1294.cjs.js'); }).then((m) => m.default)));
394
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-8a770121.cjs.js'); }).then((m) => m.default)));
394
395
  program.command("config:docs").option(
395
396
  "--package <name>",
396
397
  "Only include the schema that applies to the given package"
397
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-1817742b.cjs.js'); }).then((m) => m.default)));
398
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-aebd654b.cjs.js'); }).then((m) => m.default)));
398
399
  program.command("config:print").option(
399
400
  "--package <name>",
400
401
  "Only load config schema that applies to the given package"
401
402
  ).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(
402
403
  "--format <format>",
403
404
  "Format to print the configuration in, either json or yaml [yaml]"
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)));
405
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-fefcaeda.cjs.js'); }).then((m) => m.default)));
405
406
  program.command("config:check").option(
406
407
  "--package <name>",
407
408
  "Only load config schema that applies to the given package"
408
409
  ).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(
409
410
  "Validate that the given configuration loads and matches schema"
410
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-2cc915f0.cjs.js'); }).then((m) => m.default)));
411
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-0f9243f2.cjs.js'); }).then((m) => m.default)));
411
412
  program.command("config:schema").option(
412
413
  "--package <name>",
413
414
  "Only output config schema that applies to the given package"
414
415
  ).option(
415
416
  "--format <format>",
416
417
  "Format to print the schema in, either json or yaml [yaml]"
417
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-bdd65f01.cjs.js'); }).then((m) => m.default)));
418
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-aa8288ac.cjs.js'); }).then((m) => m.default)));
418
419
  registerRepoCommand(program);
419
420
  registerScriptCommand(program);
420
421
  registerMigrateCommand(program);
@@ -426,16 +427,16 @@ function registerCommands(program) {
426
427
  "--release <version|next|main>",
427
428
  "Bump to a specific Backstage release line or version",
428
429
  "main"
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
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-ba095aea.cjs.js'); }).then((m) => m.default)));
431
+ 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-39049bc2.cjs.js'); }).then((m) => m.default)));
432
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-10f71978.cjs.js'); }).then((m) => m.default)));
433
+ 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-e1dd2931.cjs.js'); }).then((m) => m.default)));
434
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-44665fb9.cjs.js'); }).then((m) => m.default)));
435
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-b05d5cf7.cjs.js'); }).then((m) => m.default)));
435
436
  program.command("install [plugin-id]", { hidden: true }).option(
436
437
  "--from <packageJsonFilePath>",
437
438
  "Install from a local package.json containing the installation recipe"
438
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-d796c591.cjs.js'); }).then((m) => m.default)));
439
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-3f29c0fc.cjs.js'); }).then((m) => m.default)));
439
440
  }
440
441
  function lazy(getActionFunc) {
441
442
  return async (...args) => {
@@ -479,4 +480,4 @@ exports.devDependencies = devDependencies;
479
480
  exports.paths = paths;
480
481
  exports.version = version;
481
482
  exports.version$1 = version$9;
482
- //# sourceMappingURL=index-7537046f.cjs.js.map
483
+ //# sourceMappingURL=index-ca8e3b96.cjs.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7537046f.cjs.js');
3
+ var index = require('./index-ca8e3b96.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-1b95473b.cjs.js');
6
- var Lockfile = require('./Lockfile-e5943b84.cjs.js');
5
+ var run = require('./run-7b3a246f.cjs.js');
6
+ var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
9
9
  require('chalk');
10
- require('./yarn-8315d2ff.cjs.js');
10
+ require('./yarn-6cd89e16.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-97e85013.cjs.js.map
61
+ //# sourceMappingURL=info-b05d5cf7.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-9afdfe7b.cjs.js');
8
- var index = require('./index-7537046f.cjs.js');
7
+ var packages = require('./packages-a37412df.cjs.js');
8
+ var index = require('./index-ca8e3b96.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-1b95473b.cjs.js');
12
+ var run = require('./run-7b3a246f.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
- require('./yarn-8315d2ff.cjs.js');
15
+ require('./yarn-6cd89e16.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-d796c591.cjs.js.map
271
+ //# sourceMappingURL=install-3f29c0fc.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7537046f.cjs.js');
3
+ var index = require('./index-ca8e3b96.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-b9604904.cjs.js.map
36
+ //# sourceMappingURL=lint-02158235.cjs.js.map
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var Lockfile = require('./Lockfile-e5943b84.cjs.js');
3
+ var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
4
4
  require('minimatch');
5
5
  require('@manypkg/get-packages');
6
6
  require('chalk');
7
- require('./yarn-8315d2ff.cjs.js');
8
- require('./run-1b95473b.cjs.js');
9
- var index = require('./index-7537046f.cjs.js');
7
+ require('./yarn-6cd89e16.cjs.js');
8
+ require('./run-7b3a246f.cjs.js');
9
+ var index = require('./index-ca8e3b96.cjs.js');
10
10
  var partition = require('lodash/partition');
11
- var PackageGraph = require('./PackageGraph-3f98d337.cjs.js');
11
+ var PackageGraph = require('./PackageGraph-2eb22088.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-dea054a3.cjs.js.map
116
+ //# sourceMappingURL=lint-39049bc2.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-3f98d337.cjs.js');
6
- var parallel = require('./parallel-4af834f6.cjs.js');
7
- var index = require('./index-7537046f.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-2eb22088.cjs.js');
6
+ var parallel = require('./parallel-a8f6219c.cjs.js');
7
+ var index = require('./index-ca8e3b96.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-e5943b84.cjs.js');
12
+ require('./Lockfile-bc3a8337.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-8315d2ff.cjs.js');
19
- require('./run-1b95473b.cjs.js');
18
+ require('./yarn-6cd89e16.cjs.js');
19
+ require('./run-7b3a246f.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-2a08b183.cjs.js.map
100
+ //# sourceMappingURL=lint-6eacc0e3.cjs.js.map