@backstage/cli 0.25.3-next.0 → 0.25.3-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 (51) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/{build-b047213b.cjs.js → build-097231a6.cjs.js} +7 -7
  3. package/dist/cjs/{buildBackend-9d25d2a3.cjs.js → buildBackend-9faeb9a8.cjs.js} +6 -6
  4. package/dist/cjs/{buildWorkspace-a5d563a8.cjs.js → buildWorkspace-4711ef80.cjs.js} +4 -4
  5. package/dist/cjs/{bump-7de1da80.cjs.js → bump-b2500dcb.cjs.js} +5 -5
  6. package/dist/cjs/{clean-81a6e5e8.cjs.js → clean-5c0c60ef.cjs.js} +2 -2
  7. package/dist/cjs/{clean-4b8e1bd6.cjs.js → clean-5e61034c.cjs.js} +2 -2
  8. package/dist/cjs/{codeowners-8c170e32.cjs.js → codeowners-9da8480c.cjs.js} +2 -2
  9. package/dist/cjs/{config-81dc6a92.cjs.js → config-743e28e5.cjs.js} +2 -2
  10. package/dist/cjs/{createDistWorkspace-91828a77.cjs.js → createDistWorkspace-d4886c13.cjs.js} +3 -3
  11. package/dist/cjs/{createPlugin-6e539ab8.cjs.js → createPlugin-54fdb1d3.cjs.js} +4 -4
  12. package/dist/cjs/{diff-361c56e5.cjs.js → diff-03426926.cjs.js} +2 -2
  13. package/dist/cjs/{docs-d05bac9f.cjs.js → docs-6d10c4c0.cjs.js} +3 -3
  14. package/dist/cjs/{fix-2f078e4c.cjs.js → fix-60cc33a8.cjs.js} +2 -2
  15. package/dist/cjs/{index-10243df9.cjs.js → index-1efc6aad.cjs.js} +2 -2
  16. package/dist/cjs/{index-a9eea02d.cjs.js → index-2b3c0e05.cjs.js} +45 -45
  17. package/dist/cjs/{index-56496364.cjs.js → index-802c6b4a.cjs.js} +8 -8
  18. package/dist/cjs/{index-ee417f1e.cjs.js → index-8d0019af.cjs.js} +3 -3
  19. package/dist/cjs/{index-7566d34a.cjs.js → index-e9ebc07b.cjs.js} +7 -7
  20. package/dist/cjs/{info-81e1b339.cjs.js → info-21e41d11.cjs.js} +3 -3
  21. package/dist/cjs/{install-9a976123.cjs.js → install-4f8e4dc1.cjs.js} +4 -4
  22. package/dist/cjs/{lint-93528456.cjs.js → lint-3c6db1ca.cjs.js} +2 -2
  23. package/dist/cjs/{lint-9b0fc617.cjs.js → lint-8977ab7b.cjs.js} +2 -2
  24. package/dist/cjs/{lint-8c4d590a.cjs.js → lint-c21cef97.cjs.js} +3 -3
  25. package/dist/cjs/{list-deprecations-55e4bc34.cjs.js → list-deprecations-834a052d.cjs.js} +2 -2
  26. package/dist/cjs/{new-72fbff46.cjs.js → new-ad50c0bc.cjs.js} +4 -4
  27. package/dist/cjs/{pack-96287276.cjs.js → pack-4a0b6ad1.cjs.js} +2 -2
  28. package/dist/cjs/{packageDetection-06517dcc.cjs.js → packageDetection-024933fa.cjs.js} +3 -3
  29. package/dist/cjs/{packageExports-ec2ae448.cjs.js → packageExports-f6f1e11b.cjs.js} +3 -3
  30. package/dist/cjs/{packageLintConfigs-c78f6393.cjs.js → packageLintConfigs-4ec9457f.cjs.js} +3 -3
  31. package/dist/cjs/{packageRole-15f6cce1.cjs.js → packageRole-dc0bc770.cjs.js} +2 -2
  32. package/dist/cjs/{packages-1901cd91.cjs.js → packages-01fa34e6.cjs.js} +3 -3
  33. package/dist/cjs/{print-8bec5b17.cjs.js → print-26058fce.cjs.js} +3 -3
  34. package/dist/cjs/{role-22840269.cjs.js → role-9130c935.cjs.js} +2 -2
  35. package/dist/cjs/{run-7d1cbb7a.cjs.js → run-1310629a.cjs.js} +2 -2
  36. package/dist/cjs/{schema-9eadf360.cjs.js → schema-c7d7e094.cjs.js} +3 -3
  37. package/dist/cjs/{test-16b2ccfa.cjs.js → test-549005a1.cjs.js} +3 -3
  38. package/dist/cjs/{test-11c93a91.cjs.js → test-ba6f66b0.cjs.js} +3 -3
  39. package/dist/cjs/{validate-c24a06d3.cjs.js → validate-185054c8.cjs.js} +3 -3
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +13 -13
  42. package/templates/default-backend-module/src/module.ts.hbs +5 -2
  43. package/templates/default-common-plugin-package/src/index.ts.hbs +3 -3
  44. package/templates/default-plugin/dev/index.tsx.hbs +1 -1
  45. package/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.test.tsx.hbs +4 -2
  46. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +2 -2
  47. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs +170 -165
  48. package/templates/default-plugin/src/plugin.ts.hbs +4 -1
  49. package/templates/default-react-plugin-package/src/components/ExampleComponent/ExampleComponent.test.tsx +4 -4
  50. package/templates/default-react-plugin-package/src/hooks/useExample/useExample.ts +1 -1
  51. package/templates/default-react-plugin-package/src/index.ts.hbs +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.25.3-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8dce287: Fix prettier issues on default plugins & module templates
8
+ - Updated dependencies
9
+ - @backstage/config@1.2.0-next.1
10
+ - @backstage/config-loader@1.7.0-next.1
11
+ - @backstage/integration@1.9.1-next.1
12
+ - @backstage/catalog-model@1.4.5-next.0
13
+ - @backstage/cli-common@0.1.13
14
+ - @backstage/cli-node@0.2.4-next.0
15
+ - @backstage/errors@1.2.4-next.0
16
+ - @backstage/eslint-plugin@0.1.6-next.0
17
+ - @backstage/release-manifests@0.0.11
18
+ - @backstage/types@1.1.1
19
+
3
20
  ## 0.25.3-next.0
4
21
 
5
22
  ### Patch Changes
@@ -2,16 +2,16 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-91828a77.cjs.js');
6
- var index = require('./index-a9eea02d.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-d4886c13.cjs.js');
6
+ var index = require('./index-2b3c0e05.cjs.js');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
  var parallel = require('./parallel-2d9d247e.cjs.js');
9
- var buildBackend = require('./buildBackend-9d25d2a3.cjs.js');
9
+ var buildBackend = require('./buildBackend-9faeb9a8.cjs.js');
10
10
  require('fs-extra');
11
11
  require('os');
12
12
  require('tar');
13
13
  require('lodash/partition');
14
- require('./run-7d1cbb7a.cjs.js');
14
+ require('./run-1310629a.cjs.js');
15
15
  require('child_process');
16
16
  require('util');
17
17
  require('@backstage/errors');
@@ -41,7 +41,7 @@ require('react-dev-utils/ModuleScopePlugin');
41
41
  require('run-script-webpack-plugin');
42
42
  require('@manypkg/get-packages');
43
43
  require('webpack-node-externals');
44
- require('./packageDetection-06517dcc.cjs.js');
44
+ require('./packageDetection-024933fa.cjs.js');
45
45
  require('lodash/pickBy');
46
46
  require('mini-css-extract-plugin');
47
47
  require('@pmmmwh/react-refresh-webpack-plugin');
@@ -58,7 +58,7 @@ require('@yarnpkg/parsers');
58
58
  require('@yarnpkg/lockfile');
59
59
  require('minimatch');
60
60
  require('./yarn-6cd89e16.cjs.js');
61
- require('./config-81dc6a92.cjs.js');
61
+ require('./config-743e28e5.cjs.js');
62
62
  require('@backstage/config-loader');
63
63
 
64
64
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -194,4 +194,4 @@ async function command(opts, cmd) {
194
194
  }
195
195
 
196
196
  exports.command = command;
197
- //# sourceMappingURL=build-b047213b.cjs.js.map
197
+ //# sourceMappingURL=build-097231a6.cjs.js.map
@@ -9,12 +9,12 @@ require('html-webpack-plugin');
9
9
  require('@backstage/cli-common');
10
10
  require('react-dev-utils/ModuleScopePlugin');
11
11
  require('run-script-webpack-plugin');
12
- require('./index-a9eea02d.cjs.js');
12
+ require('./index-2b3c0e05.cjs.js');
13
13
  require('@manypkg/get-packages');
14
14
  require('webpack-node-externals');
15
- var packageDetection = require('./packageDetection-06517dcc.cjs.js');
15
+ var packageDetection = require('./packageDetection-024933fa.cjs.js');
16
16
  require('lodash/pickBy');
17
- require('./run-7d1cbb7a.cjs.js');
17
+ require('./run-1310629a.cjs.js');
18
18
  require('mini-css-extract-plugin');
19
19
  require('@pmmmwh/react-refresh-webpack-plugin');
20
20
  var yn = require('yn');
@@ -31,11 +31,11 @@ require('@yarnpkg/lockfile');
31
31
  require('minimatch');
32
32
  require('./yarn-6cd89e16.cjs.js');
33
33
  require('lodash/partition');
34
- var config = require('./config-81dc6a92.cjs.js');
34
+ var config = require('./config-743e28e5.cjs.js');
35
35
  var parallel = require('./parallel-2d9d247e.cjs.js');
36
36
  var os = require('os');
37
37
  var tar = require('tar');
38
- var createDistWorkspace = require('./createDistWorkspace-91828a77.cjs.js');
38
+ var createDistWorkspace = require('./createDistWorkspace-d4886c13.cjs.js');
39
39
 
40
40
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
41
41
 
@@ -253,4 +253,4 @@ async function buildBackend(options) {
253
253
 
254
254
  exports.buildBackend = buildBackend;
255
255
  exports.buildFrontend = buildFrontend;
256
- //# sourceMappingURL=buildBackend-9d25d2a3.cjs.js.map
256
+ //# sourceMappingURL=buildBackend-9faeb9a8.cjs.js.map
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var createDistWorkspace = require('./createDistWorkspace-91828a77.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-d4886c13.cjs.js');
5
5
  require('chalk');
6
6
  require('path');
7
7
  require('os');
8
8
  require('tar');
9
9
  require('lodash/partition');
10
- require('./index-a9eea02d.cjs.js');
10
+ require('./index-2b3c0e05.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-7d1cbb7a.cjs.js');
15
+ require('./run-1310629a.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('rollup');
@@ -48,4 +48,4 @@ var buildWorkspace = async (dir, packages, options) => {
48
48
  };
49
49
 
50
50
  exports["default"] = buildWorkspace;
51
- //# sourceMappingURL=buildWorkspace-a5d563a8.cjs.js.map
51
+ //# sourceMappingURL=buildWorkspace-4711ef80.cjs.js.map
@@ -7,11 +7,11 @@ var semver = require('semver');
7
7
  var minimatch = require('minimatch');
8
8
  var errors = require('@backstage/errors');
9
9
  var path = require('path');
10
- var run = require('./run-7d1cbb7a.cjs.js');
11
- var index = require('./index-a9eea02d.cjs.js');
10
+ var run = require('./run-1310629a.cjs.js');
11
+ var index = require('./index-2b3c0e05.cjs.js');
12
12
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
13
- var packages = require('./packages-1901cd91.cjs.js');
14
- var lint = require('./lint-8c4d590a.cjs.js');
13
+ var packages = require('./packages-01fa34e6.cjs.js');
14
+ var lint = require('./lint-c21cef97.cjs.js');
15
15
  var cliCommon = require('@backstage/cli-common');
16
16
  var parallel = require('./parallel-2d9d247e.cjs.js');
17
17
  var releaseManifests = require('@backstage/release-manifests');
@@ -416,4 +416,4 @@ exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
416
416
  exports.createStrictVersionFinder = createStrictVersionFinder;
417
417
  exports.createVersionFinder = createVersionFinder;
418
418
  exports["default"] = bump;
419
- //# sourceMappingURL=bump-7de1da80.cjs.js.map
419
+ //# sourceMappingURL=bump-b2500dcb.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-a9eea02d.cjs.js');
4
+ var index = require('./index-2b3c0e05.cjs.js');
5
5
  require('commander');
6
6
  require('chalk');
7
7
  require('semver');
@@ -19,4 +19,4 @@ async function clean() {
19
19
  }
20
20
 
21
21
  exports["default"] = clean;
22
- //# sourceMappingURL=clean-81a6e5e8.cjs.js.map
22
+ //# sourceMappingURL=clean-5c0c60ef.cjs.js.map
@@ -5,7 +5,7 @@ var fs = require('fs-extra');
5
5
  var path = require('path');
6
6
  var util = require('util');
7
7
  var cliNode = require('@backstage/cli-node');
8
- var index = require('./index-a9eea02d.cjs.js');
8
+ var index = require('./index-2b3c0e05.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -46,4 +46,4 @@ async function command() {
46
46
  }
47
47
 
48
48
  exports.command = command;
49
- //# sourceMappingURL=clean-4b8e1bd6.cjs.js.map
49
+ //# sourceMappingURL=clean-5e61034c.cjs.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
- var index = require('./index-a9eea02d.cjs.js');
5
+ var index = require('./index-2b3c0e05.cjs.js');
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -88,4 +88,4 @@ async function addCodeownersEntry(ownedPath, ownerStr, codeownersFilePath) {
88
88
  exports.addCodeownersEntry = addCodeownersEntry;
89
89
  exports.getCodeownersFilePath = getCodeownersFilePath;
90
90
  exports.parseOwnerIds = parseOwnerIds;
91
- //# sourceMappingURL=codeowners-8c170e32.cjs.js.map
91
+ //# sourceMappingURL=codeowners-9da8480c.cjs.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var configLoader = require('@backstage/config-loader');
4
4
  var config = require('@backstage/config');
5
- var index = require('./index-a9eea02d.cjs.js');
5
+ var index = require('./index-2b3c0e05.cjs.js');
6
6
  var getPackages = require('@manypkg/get-packages');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
 
@@ -98,4 +98,4 @@ async function loadCliConfig(options) {
98
98
 
99
99
  exports.isValidUrl = isValidUrl;
100
100
  exports.loadCliConfig = loadCliConfig;
101
- //# sourceMappingURL=config-81dc6a92.cjs.js.map
101
+ //# sourceMappingURL=config-743e28e5.cjs.js.map
@@ -6,8 +6,8 @@ var path = require('path');
6
6
  var os = require('os');
7
7
  var tar = require('tar');
8
8
  var partition = require('lodash/partition');
9
- var index = require('./index-a9eea02d.cjs.js');
10
- var run = require('./run-7d1cbb7a.cjs.js');
9
+ var index = require('./index-2b3c0e05.cjs.js');
10
+ var run = require('./run-1310629a.cjs.js');
11
11
  var rollup = require('rollup');
12
12
  var commonjs = require('@rollup/plugin-commonjs');
13
13
  var resolve = require('@rollup/plugin-node-resolve');
@@ -565,4 +565,4 @@ exports.buildPackage = buildPackage;
565
565
  exports.buildPackages = buildPackages;
566
566
  exports.createDistWorkspace = createDistWorkspace;
567
567
  exports.getOutputsForRole = getOutputsForRole;
568
- //# sourceMappingURL=createDistWorkspace-91828a77.cjs.js.map
568
+ //# sourceMappingURL=createDistWorkspace-d4886c13.cjs.js.map
@@ -10,14 +10,14 @@ var camelCase = require('lodash/camelCase');
10
10
  var upperFirst = require('lodash/upperFirst');
11
11
  var os = require('os');
12
12
  var errors = require('@backstage/errors');
13
- var codeowners = require('./codeowners-8c170e32.cjs.js');
14
- var index = require('./index-a9eea02d.cjs.js');
13
+ var codeowners = require('./codeowners-9da8480c.cjs.js');
14
+ var index = require('./index-2b3c0e05.cjs.js');
15
15
  var tasks = require('./tasks-84de240c.cjs.js');
16
16
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
17
17
  require('minimatch');
18
18
  require('@manypkg/get-packages');
19
19
  require('./yarn-6cd89e16.cjs.js');
20
- require('./run-7d1cbb7a.cjs.js');
20
+ require('./run-1310629a.cjs.js');
21
21
  require('commander');
22
22
  require('semver');
23
23
  require('@backstage/cli-common');
@@ -276,4 +276,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
276
276
  exports.capitalize = capitalize;
277
277
  exports["default"] = createPlugin;
278
278
  exports.movePlugin = movePlugin;
279
- //# sourceMappingURL=createPlugin-6e539ab8.cjs.js.map
279
+ //# sourceMappingURL=createPlugin-54fdb1d3.cjs.js.map
@@ -7,7 +7,7 @@ var path = require('path');
7
7
  var inquirer = require('inquirer');
8
8
  var handlebars = require('handlebars');
9
9
  var recursive = require('recursive-readdir');
10
- var index = require('./index-a9eea02d.cjs.js');
10
+ var index = require('./index-2b3c0e05.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
@@ -434,4 +434,4 @@ async function readPluginData() {
434
434
  }
435
435
 
436
436
  exports["default"] = diff;
437
- //# sourceMappingURL=diff-361c56e5.cjs.js.map
437
+ //# sourceMappingURL=diff-03426926.cjs.js.map
@@ -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-81dc6a92.cjs.js');
5
+ var config = require('./config-743e28e5.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-a9eea02d.cjs.js');
7
+ require('./index-2b3c0e05.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -34,4 +34,4 @@ var docs = async (opts) => {
34
34
  };
35
35
 
36
36
  exports["default"] = docs;
37
- //# sourceMappingURL=docs-d05bac9f.cjs.js.map
37
+ //# sourceMappingURL=docs-6d10c4c0.cjs.js.map
@@ -3,7 +3,7 @@
3
3
  var cliNode = require('@backstage/cli-node');
4
4
  var fs = require('fs-extra');
5
5
  var path = require('path');
6
- var index = require('./index-a9eea02d.cjs.js');
6
+ var index = require('./index-2b3c0e05.cjs.js');
7
7
  require('commander');
8
8
  require('chalk');
9
9
  require('semver');
@@ -208,4 +208,4 @@ exports.fixSideEffects = fixSideEffects;
208
208
  exports.printPackageFixHint = printPackageFixHint;
209
209
  exports.readFixablePackages = readFixablePackages;
210
210
  exports.writeFixedPackages = writeFixedPackages;
211
- //# sourceMappingURL=fix-2f078e4c.cjs.js.map
211
+ //# sourceMappingURL=fix-60cc33a8.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-a9eea02d.cjs.js');
7
+ var index$1 = require('./index-2b3c0e05.cjs.js');
8
8
  var crypto = require('crypto');
9
9
  var openBrowser = require('react-dev-utils/openBrowser');
10
10
  var request = require('@octokit/request');
@@ -230,4 +230,4 @@ async function verifyGithubOrg(org) {
230
230
  }
231
231
 
232
232
  exports["default"] = index;
233
- //# sourceMappingURL=index-10243df9.cjs.js.map
233
+ //# sourceMappingURL=index-1efc6aad.cjs.js.map
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
53
53
 
54
54
  const paths = cliCommon.findPaths(__dirname);
55
55
 
56
- var version$c = "0.21.3-next.0";
56
+ var version$c = "0.21.4-next.1";
57
57
 
58
- var version$b = "0.6.13-next.0";
58
+ var version$b = "0.6.14-next.1";
59
59
 
60
- var version$a = "0.3.3-next.0";
60
+ var version$a = "0.3.4-next.1";
61
61
 
62
- var version$9 = "0.25.3-next.0";
62
+ var version$9 = "0.25.3-next.1";
63
63
  var dependencies = {
64
64
  "@backstage/catalog-model": "workspace:^",
65
65
  "@backstage/cli-common": "workspace:^",
@@ -204,19 +204,19 @@ var devDependencies = {
204
204
  "ts-node": "^10.0.0"
205
205
  };
206
206
 
207
- var version$8 = "1.1.2-next.0";
207
+ var version$8 = "1.2.0-next.1";
208
208
 
209
- var version$7 = "1.12.1-next.0";
209
+ var version$7 = "1.12.1-next.1";
210
210
 
211
- var version$6 = "0.14.1-next.0";
211
+ var version$6 = "0.14.1-next.1";
212
212
 
213
- var version$5 = "1.9.1-next.0";
213
+ var version$5 = "1.9.1-next.1";
214
214
 
215
- var version$4 = "1.0.28-next.0";
215
+ var version$4 = "1.0.28-next.1";
216
216
 
217
- var version$3 = "1.5.1-next.0";
217
+ var version$3 = "1.5.1-next.1";
218
218
 
219
- var version$2 = "0.3.3-next.0";
219
+ var version$2 = "0.4.0-next.1";
220
220
 
221
221
  var version$1 = "0.5.2-next.0";
222
222
 
@@ -282,7 +282,7 @@ const configOption = [
282
282
  Array()
283
283
  ];
284
284
  function registerOnboardCommand(program) {
285
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-ee417f1e.cjs.js'); }).then((m) => m.command)));
285
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-8d0019af.cjs.js'); }).then((m) => m.command)));
286
286
  }
287
287
  function registerRepoCommand(program) {
288
288
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -294,7 +294,7 @@ function registerRepoCommand(program) {
294
294
  ).option(
295
295
  "--since <ref>",
296
296
  "Only build packages and their dev dependents that changed since the specified ref"
297
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-b047213b.cjs.js'); }).then((m) => m.command)));
297
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-097231a6.cjs.js'); }).then((m) => m.command)));
298
298
  command.command("lint").description("Lint all packages in the project").option(
299
299
  "--format <format>",
300
300
  "Lint report output format",
@@ -302,14 +302,14 @@ function registerRepoCommand(program) {
302
302
  ).option(
303
303
  "--since <ref>",
304
304
  "Only lint packages that changed since the specified ref"
305
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-93528456.cjs.js'); }).then((m) => m.command)));
305
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-3c6db1ca.cjs.js'); }).then((m) => m.command)));
306
306
  command.command("fix").description("Automatically fix packages in the project").option(
307
307
  "--check",
308
308
  "Fail if any packages would have been changed by the command"
309
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-2f078e4c.cjs.js'); }).then((m) => m.command)));
310
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-4b8e1bd6.cjs.js'); }).then((m) => m.command)));
309
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-60cc33a8.cjs.js'); }).then((m) => m.command)));
310
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5e61034c.cjs.js'); }).then((m) => m.command)));
311
311
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
312
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-55e4bc34.cjs.js'); }).then((m) => m.command))
312
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-834a052d.cjs.js'); }).then((m) => m.command))
313
313
  );
314
314
  command.command("test").allowUnknownOption(true).option(
315
315
  "--since <ref>",
@@ -317,14 +317,14 @@ function registerRepoCommand(program) {
317
317
  ).option(
318
318
  "--jest-help",
319
319
  "Show help for Jest CLI options, which are passed through"
320
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-11c93a91.cjs.js'); }).then((m) => m.command)));
320
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-ba6f66b0.cjs.js'); }).then((m) => m.command)));
321
321
  }
322
322
  function registerScriptCommand(program) {
323
323
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
324
324
  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 [host]", "Enable debugger in Node.js environments").option(
325
325
  "--inspect-brk [host]",
326
326
  "Enable debugger in Node.js environments, breaking before code starts"
327
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-7566d34a.cjs.js'); }).then((m) => m.command)));
327
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-e9ebc07b.cjs.js'); }).then((m) => m.command)));
328
328
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
329
329
  "--minify",
330
330
  "Minify the generated code. Does not apply to app or backend packages."
@@ -339,30 +339,30 @@ function registerScriptCommand(program) {
339
339
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
340
340
  (opt, opts) => opts ? [...opts, opt] : [opt],
341
341
  Array()
342
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-56496364.cjs.js'); }).then((m) => m.command)));
342
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-802c6b4a.cjs.js'); }).then((m) => m.command)));
343
343
  command.command("lint [directories...]").option(
344
344
  "--format <format>",
345
345
  "Lint report output format",
346
346
  "eslint-formatter-friendly"
347
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-9b0fc617.cjs.js'); }).then((m) => m.default)));
348
- 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-16b2ccfa.cjs.js'); }).then((m) => m.default)));
349
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-81a6e5e8.cjs.js'); }).then((m) => m.default)));
350
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-96287276.cjs.js'); }).then((m) => m.pre)));
351
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-96287276.cjs.js'); }).then((m) => m.post)));
347
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-8977ab7b.cjs.js'); }).then((m) => m.default)));
348
+ 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-549005a1.cjs.js'); }).then((m) => m.default)));
349
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5c0c60ef.cjs.js'); }).then((m) => m.default)));
350
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-4a0b6ad1.cjs.js'); }).then((m) => m.pre)));
351
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-4a0b6ad1.cjs.js'); }).then((m) => m.post)));
352
352
  }
353
353
  function registerMigrateCommand(program) {
354
354
  const command = program.command("migrate [command]").description("Migration utilities");
355
- 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-15f6cce1.cjs.js'); }).then((m) => m.default)));
355
+ 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-dc0bc770.cjs.js'); }).then((m) => m.default)));
356
356
  command.command("package-scripts").description("Set package scripts according to each package role").action(
357
357
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-bb7b6de2.cjs.js'); }).then((m) => m.command))
358
358
  );
359
359
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
360
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-ec2ae448.cjs.js'); }).then((m) => m.command))
360
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-f6f1e11b.cjs.js'); }).then((m) => m.command))
361
361
  );
362
362
  command.command("package-lint-configs").description(
363
363
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
364
364
  ).action(
365
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-c78f6393.cjs.js'); }).then((m) => m.command))
365
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-4ec9457f.cjs.js'); }).then((m) => m.command))
366
366
  );
367
367
  command.command("react-router-deps").description(
368
368
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -387,7 +387,7 @@ function registerCommands(program) {
387
387
  ).option(
388
388
  "--baseVersion <version>",
389
389
  "The version to use for any new packages (default: 0.1.0)"
390
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-72fbff46.cjs.js'); }).then((m) => m.default)));
390
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-ad50c0bc.cjs.js'); }).then((m) => m.default)));
391
391
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
392
392
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
393
393
  ).option(
@@ -401,30 +401,30 @@ function registerCommands(program) {
401
401
  ).option("--scope <scope>", "The scope to use for new packages").option(
402
402
  "--npm-registry <URL>",
403
403
  "The package registry to use for new packages"
404
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-72fbff46.cjs.js'); }).then((m) => m.default)));
404
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-ad50c0bc.cjs.js'); }).then((m) => m.default)));
405
405
  program.command("create-plugin", { hidden: true }).option(
406
406
  "--backend",
407
407
  "Create plugin with the backend dependencies as default"
408
408
  ).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(
409
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-6e539ab8.cjs.js'); }).then((m) => m.default))
409
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-54fdb1d3.cjs.js'); }).then((m) => m.default))
410
410
  );
411
411
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
412
412
  "Diff an existing plugin with the creation template [DEPRECATED]"
413
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-361c56e5.cjs.js'); }).then((m) => m.default)));
413
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-03426926.cjs.js'); }).then((m) => m.default)));
414
414
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
415
415
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
416
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-16b2ccfa.cjs.js'); }).then((m) => m.default)));
416
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-549005a1.cjs.js'); }).then((m) => m.default)));
417
417
  program.command("config:docs").option(
418
418
  "--package <name>",
419
419
  "Only include the schema that applies to the given package"
420
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-d05bac9f.cjs.js'); }).then((m) => m.default)));
420
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-6d10c4c0.cjs.js'); }).then((m) => m.default)));
421
421
  program.command("config:print").option(
422
422
  "--package <name>",
423
423
  "Only load config schema that applies to the given package"
424
424
  ).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(
425
425
  "--format <format>",
426
426
  "Format to print the configuration in, either json or yaml [yaml]"
427
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-8bec5b17.cjs.js'); }).then((m) => m.default)));
427
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-26058fce.cjs.js'); }).then((m) => m.default)));
428
428
  program.command("config:check").option(
429
429
  "--package <name>",
430
430
  "Only load config schema that applies to the given package"
@@ -433,14 +433,14 @@ function registerCommands(program) {
433
433
  "Enable strict config validation, forbidding errors and unknown keys"
434
434
  ).option(...configOption).description(
435
435
  "Validate that the given configuration loads and matches schema"
436
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-c24a06d3.cjs.js'); }).then((m) => m.default)));
436
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-185054c8.cjs.js'); }).then((m) => m.default)));
437
437
  program.command("config:schema").option(
438
438
  "--package <name>",
439
439
  "Only output config schema that applies to the given package"
440
440
  ).option(
441
441
  "--format <format>",
442
442
  "Format to print the schema in, either json or yaml [yaml]"
443
- ).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-9eadf360.cjs.js'); }).then((m) => m.default)));
443
+ ).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-c7d7e094.cjs.js'); }).then((m) => m.default)));
444
444
  registerRepoCommand(program);
445
445
  registerScriptCommand(program);
446
446
  registerMigrateCommand(program);
@@ -452,19 +452,19 @@ function registerCommands(program) {
452
452
  "--release <version|next|main>",
453
453
  "Bump to a specific Backstage release line or version",
454
454
  "main"
455
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-7de1da80.cjs.js'); }).then((m) => m.default)));
456
- 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-8c4d590a.cjs.js'); }).then((m) => m.default)));
457
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-81a6e5e8.cjs.js'); }).then((m) => m.default)));
455
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-b2500dcb.cjs.js'); }).then((m) => m.default)));
456
+ 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-c21cef97.cjs.js'); }).then((m) => m.default)));
457
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5c0c60ef.cjs.js'); }).then((m) => m.default)));
458
458
  program.command("build-workspace <workspace-dir> [packages...]").option(
459
459
  "--alwaysYarnPack",
460
460
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
461
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-a5d563a8.cjs.js'); }).then((m) => m.default)));
462
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-10243df9.cjs.js'); }).then((m) => m.default)));
463
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-81e1b339.cjs.js'); }).then((m) => m.default)));
461
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-4711ef80.cjs.js'); }).then((m) => m.default)));
462
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-1efc6aad.cjs.js'); }).then((m) => m.default)));
463
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-21e41d11.cjs.js'); }).then((m) => m.default)));
464
464
  program.command("install [plugin-id]", { hidden: true }).option(
465
465
  "--from <packageJsonFilePath>",
466
466
  "Install from a local package.json containing the installation recipe"
467
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-9a976123.cjs.js'); }).then((m) => m.default)));
467
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-4f8e4dc1.cjs.js'); }).then((m) => m.default)));
468
468
  }
469
469
  function lazy(getActionFunc) {
470
470
  return async (...args) => {
@@ -508,4 +508,4 @@ exports.devDependencies = devDependencies;
508
508
  exports.paths = paths;
509
509
  exports.version = version;
510
510
  exports.version$1 = version$9;
511
- //# sourceMappingURL=index-a9eea02d.cjs.js.map
511
+ //# sourceMappingURL=index-2b3c0e05.cjs.js.map
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var createDistWorkspace = require('./createDistWorkspace-91828a77.cjs.js');
4
- var role = require('./role-22840269.cjs.js');
3
+ var createDistWorkspace = require('./createDistWorkspace-d4886c13.cjs.js');
4
+ var role = require('./role-9130c935.cjs.js');
5
5
  var cliNode = require('@backstage/cli-node');
6
- var index = require('./index-a9eea02d.cjs.js');
7
- var buildBackend = require('./buildBackend-9d25d2a3.cjs.js');
8
- var config = require('./config-81dc6a92.cjs.js');
6
+ var index = require('./index-2b3c0e05.cjs.js');
7
+ var buildBackend = require('./buildBackend-9faeb9a8.cjs.js');
8
+ var config = require('./config-743e28e5.cjs.js');
9
9
  require('chalk');
10
10
  require('fs-extra');
11
11
  require('path');
12
12
  require('os');
13
13
  require('tar');
14
14
  require('lodash/partition');
15
- require('./run-7d1cbb7a.cjs.js');
15
+ require('./run-1310629a.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('@backstage/errors');
@@ -43,7 +43,7 @@ require('react-dev-utils/ModuleScopePlugin');
43
43
  require('run-script-webpack-plugin');
44
44
  require('@manypkg/get-packages');
45
45
  require('webpack-node-externals');
46
- require('./packageDetection-06517dcc.cjs.js');
46
+ require('./packageDetection-024933fa.cjs.js');
47
47
  require('lodash/pickBy');
48
48
  require('mini-css-extract-plugin');
49
49
  require('@pmmmwh/react-refresh-webpack-plugin');
@@ -102,4 +102,4 @@ async function command(opts) {
102
102
  }
103
103
 
104
104
  exports.command = command;
105
- //# sourceMappingURL=index-56496364.cjs.js.map
105
+ //# sourceMappingURL=index-802c6b4a.cjs.js.map