@backstage/cli 0.21.1 → 0.21.2-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 (46) hide show
  1. package/CHANGELOG.md +24 -2
  2. package/dist/cjs/{PackageGraph-5171a7a0.cjs.js → PackageGraph-0d0c51da.cjs.js} +2 -2
  3. package/dist/cjs/{build-0f6d8537.cjs.js → build-ace0c2f7.cjs.js} +9 -9
  4. package/dist/cjs/{buildBackend-a6435c07.cjs.js → buildBackend-a2ee5de8.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-0bfc1749.cjs.js → buildWorkspace-7a65d74f.cjs.js} +6 -6
  6. package/dist/cjs/{bump-828c7106.cjs.js → bump-aaac6046.cjs.js} +5 -5
  7. package/dist/cjs/{clean-ac906586.cjs.js → clean-2338b78d.cjs.js} +3 -3
  8. package/dist/cjs/{clean-9022327a.cjs.js → clean-94b4e851.cjs.js} +2 -2
  9. package/dist/cjs/{config-0024efa1.cjs.js → config-44f3d6b1.cjs.js} +3 -3
  10. package/dist/cjs/{createDistWorkspace-9d21f1c1.cjs.js → createDistWorkspace-8a25a023.cjs.js} +5 -5
  11. package/dist/cjs/{createPlugin-8998eb11.cjs.js → createPlugin-db7a371d.cjs.js} +4 -4
  12. package/dist/cjs/{diff-dc30fa2f.cjs.js → diff-b3a30e94.cjs.js} +2 -2
  13. package/dist/cjs/{docs-f493311c.cjs.js → docs-9ab5dc03.cjs.js} +4 -4
  14. package/dist/cjs/{fix-1e983187.cjs.js → fix-8af69ac5.cjs.js} +3 -3
  15. package/dist/cjs/{index-b876ab51.cjs.js → index-3afb36f3.cjs.js} +2 -2
  16. package/dist/cjs/{index-882e66b6.cjs.js → index-51126e59.cjs.js} +44 -44
  17. package/dist/cjs/{index-84ac585b.cjs.js → index-9b29e2d3.cjs.js} +9 -9
  18. package/dist/cjs/{index-2b9df3ce.cjs.js → index-e2fbfd55.cjs.js} +8 -8
  19. package/dist/cjs/{info-2037d34b.cjs.js → info-cca41696.cjs.js} +3 -3
  20. package/dist/cjs/{install-b67b5a8c.cjs.js → install-7006a147.cjs.js} +4 -4
  21. package/dist/cjs/{lint-4796aeda.cjs.js → lint-4725ac4c.cjs.js} +3 -3
  22. package/dist/cjs/{lint-5cca9c67.cjs.js → lint-6ebdbcfa.cjs.js} +2 -2
  23. package/dist/cjs/{lint-d492facf.cjs.js → lint-8dc909a0.cjs.js} +3 -3
  24. package/dist/cjs/{list-deprecations-22086c45.cjs.js → list-deprecations-8f407cae.cjs.js} +3 -3
  25. package/dist/cjs/{new-b8f4da2f.cjs.js → new-0e9bb515.cjs.js} +4 -4
  26. package/dist/cjs/{pack-aca85dbb.cjs.js → pack-9144065a.cjs.js} +2 -2
  27. package/dist/cjs/{packageLintConfigs-0335bef7.cjs.js → packageLintConfigs-250d2a71.cjs.js} +4 -4
  28. package/dist/cjs/{packageRole-3b9411b0.cjs.js → packageRole-307aa03e.cjs.js} +3 -3
  29. package/dist/cjs/{packageRoles-abec821e.cjs.js → packageRoles-7d4386db.cjs.js} +2 -2
  30. package/dist/cjs/{packageScripts-8438459a.cjs.js → packageScripts-426d63b5.cjs.js} +4 -4
  31. package/dist/cjs/{packages-50de74ed.cjs.js → packages-ae0057b4.cjs.js} +3 -3
  32. package/dist/cjs/{paths-a9c09204.cjs.js → paths-6085ee40.cjs.js} +15 -13
  33. package/dist/cjs/{print-2db5d252.cjs.js → print-1abc18c4.cjs.js} +4 -4
  34. package/dist/cjs/{reactRouterDeps-b591b716.cjs.js → reactRouterDeps-3e4f35c1.cjs.js} +4 -4
  35. package/dist/cjs/{run-519762e1.cjs.js → run-7bd02a3a.cjs.js} +2 -2
  36. package/dist/cjs/{schema-f28a4ffc.cjs.js → schema-dc879966.cjs.js} +4 -4
  37. package/dist/cjs/{tasks-b1102752.cjs.js → tasks-bfb68900.cjs.js} +2 -2
  38. package/dist/cjs/{test-e3f3b59a.cjs.js → test-3ea4376a.cjs.js} +4 -4
  39. package/dist/cjs/{test-de9ec880.cjs.js → test-856865b0.cjs.js} +3 -3
  40. package/dist/cjs/{validate-88236e2f.cjs.js → validate-76d32fcf.cjs.js} +4 -4
  41. package/dist/index.cjs.js +1 -1
  42. package/package.json +14 -14
  43. package/templates/default-backend-plugin/package.json.hbs +1 -1
  44. package/templates/default-plugin/package.json.hbs +1 -1
  45. package/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.test.tsx.hbs +3 -2
  46. package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +3 -3
package/CHANGELOG.md CHANGED
@@ -1,10 +1,32 @@
1
1
  # @backstage/cli
2
2
 
3
- ## 0.21.1
3
+ ## 0.21.2-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 4f87415b5c: Removed the lint rule that forbid imports of `Link` from `@material-ui/core`.
7
+ - 8fffe42708: JSX and React Fast Refresh transforms are no longer enabled when bundling backend code.
8
+ - Updated dependencies
9
+ - @backstage/types@1.0.2-next.1
10
+ - @backstage/config-loader@1.1.7-next.1
11
+ - @backstage/config@1.0.5-next.1
12
+ - @backstage/release-manifests@0.0.8-next.0
13
+ - @backstage/cli-common@0.1.10
14
+ - @backstage/errors@1.1.4-next.1
15
+
16
+ ## 0.21.2-next.0
17
+
18
+ ### Patch Changes
19
+
20
+ - 91d050c140: changed tests created by create-plugin to follow eslint-rules best practices particularly testing-library/prefer-screen-queries and testing-library/render-result-naming-convention
21
+ - 459a3457e1: Bump `msw` version in default plugin/app templates
22
+ - 3280711113: Updated dependency `msw` to `^0.49.0`.
23
+ - Updated dependencies
24
+ - @backstage/config-loader@1.1.7-next.0
25
+ - @backstage/release-manifests@0.0.8-next.0
26
+ - @backstage/types@1.0.2-next.0
27
+ - @backstage/cli-common@0.1.10
28
+ - @backstage/config@1.0.5-next.0
29
+ - @backstage/errors@1.1.4-next.0
8
30
 
9
31
  ## 0.21.0
10
32
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  var path = require('path');
4
4
  var getPackages = require('@manypkg/get-packages');
5
- var index = require('./index-882e66b6.cjs.js');
5
+ var index = require('./index-51126e59.cjs.js');
6
6
  var errors = require('@backstage/errors');
7
7
  var child_process = require('child_process');
8
8
  var util = require('util');
@@ -166,4 +166,4 @@ class PackageGraph extends Map {
166
166
  }
167
167
 
168
168
  exports.PackageGraph = PackageGraph;
169
- //# sourceMappingURL=PackageGraph-5171a7a0.cjs.js.map
169
+ //# sourceMappingURL=PackageGraph-0d0c51da.cjs.js.map
@@ -2,17 +2,17 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-9d21f1c1.cjs.js');
6
- var PackageGraph = require('./PackageGraph-5171a7a0.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-8a25a023.cjs.js');
6
+ var PackageGraph = require('./PackageGraph-0d0c51da.cjs.js');
7
7
  var parallel = require('./parallel-a8f6219c.cjs.js');
8
- var index = require('./index-882e66b6.cjs.js');
9
- var packageRoles = require('./packageRoles-abec821e.cjs.js');
10
- var buildBackend = require('./buildBackend-a6435c07.cjs.js');
8
+ var index = require('./index-51126e59.cjs.js');
9
+ var packageRoles = require('./packageRoles-7d4386db.cjs.js');
10
+ var buildBackend = require('./buildBackend-a2ee5de8.cjs.js');
11
11
  require('fs-extra');
12
12
  require('os');
13
13
  require('tar');
14
14
  require('lodash/partition');
15
- require('./run-519762e1.cjs.js');
15
+ require('./run-7bd02a3a.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('@backstage/errors');
@@ -40,7 +40,7 @@ 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-a9c09204.cjs.js');
43
+ require('./paths-6085ee40.cjs.js');
44
44
  require('mini-css-extract-plugin');
45
45
  require('@pmmmwh/react-refresh-webpack-plugin');
46
46
  require('eslint-webpack-plugin');
@@ -50,7 +50,7 @@ require('react-dev-utils/FileSizeReporter');
50
50
  require('react-dev-utils/formatWebpackMessages');
51
51
  require('webpack-dev-server');
52
52
  require('react-dev-utils/openBrowser');
53
- require('./config-0024efa1.cjs.js');
53
+ require('./config-44f3d6b1.cjs.js');
54
54
  require('@backstage/config-loader');
55
55
  require('@backstage/config');
56
56
 
@@ -186,4 +186,4 @@ async function command(opts, cmd) {
186
186
  }
187
187
 
188
188
  exports.command = command;
189
- //# sourceMappingURL=build-0f6d8537.cjs.js.map
189
+ //# sourceMappingURL=build-ace0c2f7.cjs.js.map
@@ -10,11 +10,11 @@ require('run-script-webpack-plugin');
10
10
  require('webpack-node-externals');
11
11
  require('@backstage/cli-common');
12
12
  require('@manypkg/get-packages');
13
- var paths = require('./paths-a9c09204.cjs.js');
13
+ var paths = require('./paths-6085ee40.cjs.js');
14
14
  require('mini-css-extract-plugin');
15
15
  require('@pmmmwh/react-refresh-webpack-plugin');
16
- require('./index-882e66b6.cjs.js');
17
- require('./run-519762e1.cjs.js');
16
+ require('./index-51126e59.cjs.js');
17
+ require('./run-7bd02a3a.cjs.js');
18
18
  require('eslint-webpack-plugin');
19
19
  require('lodash/pickBy');
20
20
  var yn = require('yn');
@@ -24,10 +24,10 @@ var chalk = require('chalk');
24
24
  require('webpack-dev-server');
25
25
  require('react-dev-utils/openBrowser');
26
26
  var parallel = require('./parallel-a8f6219c.cjs.js');
27
- var config = require('./config-0024efa1.cjs.js');
27
+ var config = require('./config-44f3d6b1.cjs.js');
28
28
  var os = require('os');
29
29
  var tar = require('tar');
30
- var createDistWorkspace = require('./createDistWorkspace-9d21f1c1.cjs.js');
30
+ var createDistWorkspace = require('./createDistWorkspace-8a25a023.cjs.js');
31
31
 
32
32
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
33
33
 
@@ -195,4 +195,4 @@ async function buildBackend(options) {
195
195
 
196
196
  exports.buildBackend = buildBackend;
197
197
  exports.buildFrontend = buildFrontend;
198
- //# sourceMappingURL=buildBackend-a6435c07.cjs.js.map
198
+ //# sourceMappingURL=buildBackend-a2ee5de8.cjs.js.map
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var createDistWorkspace = require('./createDistWorkspace-9d21f1c1.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-8a25a023.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-882e66b6.cjs.js');
10
+ require('./index-51126e59.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-519762e1.cjs.js');
15
+ require('./run-7bd02a3a.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
- require('./PackageGraph-5171a7a0.cjs.js');
18
+ require('./PackageGraph-0d0c51da.cjs.js');
19
19
  require('@manypkg/get-packages');
20
20
  require('rollup');
21
21
  require('@rollup/plugin-commonjs');
@@ -30,7 +30,7 @@ require('rollup-pluginutils');
30
30
  require('./svgrTemplate-550efce6.cjs.js');
31
31
  require('./parallel-a8f6219c.cjs.js');
32
32
  require('worker_threads');
33
- require('./packageRoles-abec821e.cjs.js');
33
+ require('./packageRoles-7d4386db.cjs.js');
34
34
  require('zod');
35
35
  require('npm-packlist');
36
36
 
@@ -48,4 +48,4 @@ var buildWorkspace = async (dir, packages) => {
48
48
  };
49
49
 
50
50
  exports["default"] = buildWorkspace;
51
- //# sourceMappingURL=buildWorkspace-0bfc1749.cjs.js.map
51
+ //# sourceMappingURL=buildWorkspace-7a65d74f.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-519762e1.cjs.js');
11
- var index = require('./index-882e66b6.cjs.js');
10
+ var run = require('./run-7bd02a3a.cjs.js');
11
+ var index = require('./index-51126e59.cjs.js');
12
12
  var Lockfile = require('./Lockfile-6785964d.cjs.js');
13
- var packages = require('./packages-50de74ed.cjs.js');
14
- var lint = require('./lint-4796aeda.cjs.js');
13
+ var packages = require('./packages-ae0057b4.cjs.js');
14
+ var lint = require('./lint-4725ac4c.cjs.js');
15
15
  var cliCommon = require('@backstage/cli-common');
16
16
  var parallel = require('./parallel-a8f6219c.cjs.js');
17
17
  var releaseManifests = require('@backstage/release-manifests');
@@ -396,4 +396,4 @@ exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
396
396
  exports.createStrictVersionFinder = createStrictVersionFinder;
397
397
  exports.createVersionFinder = createVersionFinder;
398
398
  exports["default"] = bump;
399
- //# sourceMappingURL=bump-828c7106.cjs.js.map
399
+ //# sourceMappingURL=bump-aaac6046.cjs.js.map
@@ -4,8 +4,8 @@ var child_process = require('child_process');
4
4
  var fs = require('fs-extra');
5
5
  var path = require('path');
6
6
  var util = require('util');
7
- var PackageGraph = require('./PackageGraph-5171a7a0.cjs.js');
8
- var index = require('./index-882e66b6.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-0d0c51da.cjs.js');
8
+ var index = require('./index-51126e59.cjs.js');
9
9
  require('@manypkg/get-packages');
10
10
  require('@backstage/errors');
11
11
  require('commander');
@@ -47,4 +47,4 @@ async function command() {
47
47
  }
48
48
 
49
49
  exports.command = command;
50
- //# sourceMappingURL=clean-ac906586.cjs.js.map
50
+ //# sourceMappingURL=clean-2338b78d.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-882e66b6.cjs.js');
4
+ var index = require('./index-51126e59.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-9022327a.cjs.js.map
22
+ //# sourceMappingURL=clean-94b4e851.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var configLoader = require('@backstage/config-loader');
4
4
  var config = require('@backstage/config');
5
- var index = require('./index-882e66b6.cjs.js');
5
+ var index = require('./index-51126e59.cjs.js');
6
6
  var getPackages = require('@manypkg/get-packages');
7
- var PackageGraph = require('./PackageGraph-5171a7a0.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-0d0c51da.cjs.js');
8
8
 
9
9
  function isValidUrl(url) {
10
10
  try {
@@ -82,4 +82,4 @@ async function loadCliConfig(options) {
82
82
  }
83
83
 
84
84
  exports.loadCliConfig = loadCliConfig;
85
- //# sourceMappingURL=config-0024efa1.cjs.js.map
85
+ //# sourceMappingURL=config-44f3d6b1.cjs.js.map
@@ -6,9 +6,9 @@ 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-882e66b6.cjs.js');
10
- var run = require('./run-519762e1.cjs.js');
11
- var PackageGraph = require('./PackageGraph-5171a7a0.cjs.js');
9
+ var index = require('./index-51126e59.cjs.js');
10
+ var run = require('./run-7bd02a3a.cjs.js');
11
+ var PackageGraph = require('./PackageGraph-0d0c51da.cjs.js');
12
12
  var rollup = require('rollup');
13
13
  var commonjs = require('@rollup/plugin-commonjs');
14
14
  var resolve = require('@rollup/plugin-node-resolve');
@@ -21,7 +21,7 @@ var yaml = require('@rollup/plugin-yaml');
21
21
  var rollupPluginutils = require('rollup-pluginutils');
22
22
  var svgrTemplate = require('./svgrTemplate-550efce6.cjs.js');
23
23
  var parallel = require('./parallel-a8f6219c.cjs.js');
24
- var packageRoles = require('./packageRoles-abec821e.cjs.js');
24
+ var packageRoles = require('./packageRoles-7d4386db.cjs.js');
25
25
  var npmPackList = require('npm-packlist');
26
26
 
27
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -736,4 +736,4 @@ exports.buildPackage = buildPackage;
736
736
  exports.buildPackages = buildPackages;
737
737
  exports.createDistWorkspace = createDistWorkspace;
738
738
  exports.getOutputsForRole = getOutputsForRole;
739
- //# sourceMappingURL=createDistWorkspace-9d21f1c1.cjs.js.map
739
+ //# sourceMappingURL=createDistWorkspace-8a25a023.cjs.js.map
@@ -10,13 +10,13 @@ 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 tasks = require('./tasks-b1102752.cjs.js');
14
- var index = require('./index-882e66b6.cjs.js');
13
+ var tasks = require('./tasks-bfb68900.cjs.js');
14
+ var index = require('./index-51126e59.cjs.js');
15
15
  var Lockfile = require('./Lockfile-6785964d.cjs.js');
16
16
  require('minimatch');
17
17
  require('@manypkg/get-packages');
18
18
  require('./yarn-6cd89e16.cjs.js');
19
- require('./run-519762e1.cjs.js');
19
+ require('./run-7bd02a3a.cjs.js');
20
20
  require('handlebars');
21
21
  require('ora');
22
22
  require('recursive-readdir');
@@ -275,4 +275,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
275
275
  exports.capitalize = capitalize;
276
276
  exports["default"] = createPlugin;
277
277
  exports.movePlugin = movePlugin;
278
- //# sourceMappingURL=createPlugin-8998eb11.cjs.js.map
278
+ //# sourceMappingURL=createPlugin-db7a371d.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-882e66b6.cjs.js');
10
+ var index = require('./index-51126e59.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
@@ -432,4 +432,4 @@ async function readPluginData() {
432
432
  }
433
433
 
434
434
  exports["default"] = diff;
435
- //# sourceMappingURL=diff-dc30fa2f.cjs.js.map
435
+ //# sourceMappingURL=diff-b3a30e94.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-0024efa1.cjs.js');
5
+ var config = require('./config-44f3d6b1.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-882e66b6.cjs.js');
7
+ require('./index-51126e59.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -12,7 +12,7 @@ require('semver');
12
12
  require('@backstage/cli-common');
13
13
  require('@backstage/errors');
14
14
  require('@manypkg/get-packages');
15
- require('./PackageGraph-5171a7a0.cjs.js');
15
+ require('./PackageGraph-0d0c51da.cjs.js');
16
16
  require('path');
17
17
  require('child_process');
18
18
  require('util');
@@ -37,4 +37,4 @@ var docs = async (opts) => {
37
37
  };
38
38
 
39
39
  exports["default"] = docs;
40
- //# sourceMappingURL=docs-f493311c.cjs.js.map
40
+ //# sourceMappingURL=docs-9ab5dc03.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-882e66b6.cjs.js');
3
+ var index = require('./index-51126e59.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-5171a7a0.cjs.js');
8
+ var PackageGraph = require('./PackageGraph-0d0c51da.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -123,4 +123,4 @@ async function command() {
123
123
  }
124
124
 
125
125
  exports.command = command;
126
- //# sourceMappingURL=fix-1e983187.cjs.js.map
126
+ //# sourceMappingURL=fix-8af69ac5.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-882e66b6.cjs.js');
7
+ var index$1 = require('./index-51126e59.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-b876ab51.cjs.js.map
225
+ //# sourceMappingURL=index-3afb36f3.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.16.0";
49
+ var version$a = "0.17.0-next.1";
50
50
 
51
- var version$9 = "0.21.1";
51
+ var version$9 = "0.21.2-next.1";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "workspace:^",
54
54
  "@backstage/config": "workspace:^",
@@ -175,27 +175,27 @@ var devDependencies = {
175
175
  "@types/yarnpkg__lockfile": "^1.1.4",
176
176
  del: "^6.0.0",
177
177
  "mock-fs": "^5.1.0",
178
- msw: "^0.48.0",
178
+ msw: "^0.49.0",
179
179
  nodemon: "^2.0.2",
180
180
  "ts-node": "^10.0.0",
181
181
  "type-fest": "^2.0.0"
182
182
  };
183
183
 
184
- var version$8 = "1.0.4";
184
+ var version$8 = "1.0.5-next.1";
185
185
 
186
- var version$7 = "1.2.0";
186
+ var version$7 = "1.2.1-next.1";
187
187
 
188
- var version$6 = "0.12.0";
188
+ var version$6 = "0.12.1-next.1";
189
189
 
190
- var version$5 = "1.1.0";
190
+ var version$5 = "1.1.1-next.1";
191
191
 
192
- var version$4 = "1.0.8";
192
+ var version$4 = "1.0.9-next.1";
193
193
 
194
- var version$3 = "1.2.2";
194
+ var version$3 = "1.2.3-next.1";
195
195
 
196
196
  var version$2 = "0.2.16";
197
197
 
198
- var version$1 = "1.8.0";
198
+ var version$1 = "1.8.1-next.1";
199
199
 
200
200
  const packageVersions = {
201
201
  "@backstage/backend-common": version$a,
@@ -266,7 +266,7 @@ function registerRepoCommand(program) {
266
266
  ).option(
267
267
  "--since <ref>",
268
268
  "Only build packages and their dev dependents that changed since the specified ref"
269
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-0f6d8537.cjs.js'); }).then((m) => m.command)));
269
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-ace0c2f7.cjs.js'); }).then((m) => m.command)));
270
270
  command.command("lint").description("Lint all packages in the project").option(
271
271
  "--format <format>",
272
272
  "Lint report output format",
@@ -274,10 +274,10 @@ function registerRepoCommand(program) {
274
274
  ).option(
275
275
  "--since <ref>",
276
276
  "Only lint packages that changed since the specified ref"
277
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-d492facf.cjs.js'); }).then((m) => m.command)));
278
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-ac906586.cjs.js'); }).then((m) => m.command)));
277
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-8dc909a0.cjs.js'); }).then((m) => m.command)));
278
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-2338b78d.cjs.js'); }).then((m) => m.command)));
279
279
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
280
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-22086c45.cjs.js'); }).then((m) => m.command))
280
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-8f407cae.cjs.js'); }).then((m) => m.command))
281
281
  );
282
282
  command.command("test").allowUnknownOption(true).option(
283
283
  "--since <ref>",
@@ -285,14 +285,14 @@ function registerRepoCommand(program) {
285
285
  ).option(
286
286
  "--jest-help",
287
287
  "Show help for Jest CLI options, which are passed through"
288
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-e3f3b59a.cjs.js'); }).then((m) => m.command)));
288
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-3ea4376a.cjs.js'); }).then((m) => m.command)));
289
289
  }
290
290
  function registerScriptCommand(program) {
291
291
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
292
292
  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(
293
293
  "--inspect-brk",
294
294
  "Enable debugger in Node.js environments, breaking before code starts"
295
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-2b9df3ce.cjs.js'); }).then((m) => m.command)));
295
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-e2fbfd55.cjs.js'); }).then((m) => m.command)));
296
296
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
297
297
  "--minify",
298
298
  "Minify the generated code. Does not apply to app or backend packages."
@@ -310,33 +310,33 @@ function registerScriptCommand(program) {
310
310
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
311
311
  (opt, opts) => opts ? [...opts, opt] : [opt],
312
312
  Array()
313
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-84ac585b.cjs.js'); }).then((m) => m.command)));
313
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-9b29e2d3.cjs.js'); }).then((m) => m.command)));
314
314
  command.command("lint [directories...]").option(
315
315
  "--format <format>",
316
316
  "Lint report output format",
317
317
  "eslint-formatter-friendly"
318
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-5cca9c67.cjs.js'); }).then((m) => m.default)));
319
- 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-de9ec880.cjs.js'); }).then((m) => m.default)));
320
- 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-1e983187.cjs.js'); }).then((m) => m.command)));
321
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-9022327a.cjs.js'); }).then((m) => m.default)));
322
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-aca85dbb.cjs.js'); }).then((m) => m.pre)));
323
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-aca85dbb.cjs.js'); }).then((m) => m.post)));
318
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-6ebdbcfa.cjs.js'); }).then((m) => m.default)));
319
+ 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-856865b0.cjs.js'); }).then((m) => m.default)));
320
+ 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-8af69ac5.cjs.js'); }).then((m) => m.command)));
321
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-94b4e851.cjs.js'); }).then((m) => m.default)));
322
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9144065a.cjs.js'); }).then((m) => m.pre)));
323
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9144065a.cjs.js'); }).then((m) => m.post)));
324
324
  }
325
325
  function registerMigrateCommand(program) {
326
326
  const command = program.command("migrate [command]").description("Migration utilities");
327
- 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-3b9411b0.cjs.js'); }).then((m) => m.default)));
327
+ 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-307aa03e.cjs.js'); }).then((m) => m.default)));
328
328
  command.command("package-scripts").description("Set package scripts according to each package role").action(
329
- lazy(() => Promise.resolve().then(function () { return require('./packageScripts-8438459a.cjs.js'); }).then((m) => m.command))
329
+ lazy(() => Promise.resolve().then(function () { return require('./packageScripts-426d63b5.cjs.js'); }).then((m) => m.command))
330
330
  );
331
331
  command.command("package-lint-configs").description(
332
332
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
333
333
  ).action(
334
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-0335bef7.cjs.js'); }).then((m) => m.command))
334
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-250d2a71.cjs.js'); }).then((m) => m.command))
335
335
  );
336
336
  command.command("react-router-deps").description(
337
337
  "Migrates the react-router dependencies for all packages to be peer dependencies"
338
338
  ).action(
339
- lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-b591b716.cjs.js'); }).then((m) => m.command))
339
+ lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-3e4f35c1.cjs.js'); }).then((m) => m.command))
340
340
  );
341
341
  }
342
342
  function registerCommands(program) {
@@ -356,7 +356,7 @@ function registerCommands(program) {
356
356
  ).option(
357
357
  "--baseVersion <version>",
358
358
  "The version to use for any new packages (default: 0.1.0)"
359
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-b8f4da2f.cjs.js'); }).then((m) => m.default)));
359
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-0e9bb515.cjs.js'); }).then((m) => m.default)));
360
360
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
361
361
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
362
362
  ).option(
@@ -370,43 +370,43 @@ function registerCommands(program) {
370
370
  ).option("--scope <scope>", "The scope to use for new packages").option(
371
371
  "--npm-registry <URL>",
372
372
  "The package registry to use for new packages"
373
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-b8f4da2f.cjs.js'); }).then((m) => m.default)));
373
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-0e9bb515.cjs.js'); }).then((m) => m.default)));
374
374
  program.command("create-plugin", { hidden: true }).option(
375
375
  "--backend",
376
376
  "Create plugin with the backend dependencies as default"
377
377
  ).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(
378
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-8998eb11.cjs.js'); }).then((m) => m.default))
378
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-db7a371d.cjs.js'); }).then((m) => m.default))
379
379
  );
380
380
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
381
381
  "Diff an existing plugin with the creation template [DEPRECATED]"
382
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-dc30fa2f.cjs.js'); }).then((m) => m.default)));
382
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-b3a30e94.cjs.js'); }).then((m) => m.default)));
383
383
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
384
384
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
385
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-de9ec880.cjs.js'); }).then((m) => m.default)));
385
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-856865b0.cjs.js'); }).then((m) => m.default)));
386
386
  program.command("config:docs").option(
387
387
  "--package <name>",
388
388
  "Only include the schema that applies to the given package"
389
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-f493311c.cjs.js'); }).then((m) => m.default)));
389
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-9ab5dc03.cjs.js'); }).then((m) => m.default)));
390
390
  program.command("config:print").option(
391
391
  "--package <name>",
392
392
  "Only load config schema that applies to the given package"
393
393
  ).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(
394
394
  "--format <format>",
395
395
  "Format to print the configuration in, either json or yaml [yaml]"
396
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-2db5d252.cjs.js'); }).then((m) => m.default)));
396
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-1abc18c4.cjs.js'); }).then((m) => m.default)));
397
397
  program.command("config:check").option(
398
398
  "--package <name>",
399
399
  "Only load config schema that applies to the given package"
400
400
  ).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(
401
401
  "Validate that the given configuration loads and matches schema"
402
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-88236e2f.cjs.js'); }).then((m) => m.default)));
402
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-76d32fcf.cjs.js'); }).then((m) => m.default)));
403
403
  program.command("config:schema").option(
404
404
  "--package <name>",
405
405
  "Only output config schema that applies to the given package"
406
406
  ).option(
407
407
  "--format <format>",
408
408
  "Format to print the schema in, either json or yaml [yaml]"
409
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-f28a4ffc.cjs.js'); }).then((m) => m.default)));
409
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-dc879966.cjs.js'); }).then((m) => m.default)));
410
410
  registerRepoCommand(program);
411
411
  registerScriptCommand(program);
412
412
  registerMigrateCommand(program);
@@ -417,16 +417,16 @@ function registerCommands(program) {
417
417
  "--release <version|next|main>",
418
418
  "Bump to a specific Backstage release line or version",
419
419
  "main"
420
- ).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-828c7106.cjs.js'); }).then((m) => m.default)));
421
- 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-4796aeda.cjs.js'); }).then((m) => m.default)));
422
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-9022327a.cjs.js'); }).then((m) => m.default)));
423
- 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-0bfc1749.cjs.js'); }).then((m) => m.default)));
424
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-b876ab51.cjs.js'); }).then((m) => m.default)));
425
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-2037d34b.cjs.js'); }).then((m) => m.default)));
420
+ ).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-aaac6046.cjs.js'); }).then((m) => m.default)));
421
+ 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-4725ac4c.cjs.js'); }).then((m) => m.default)));
422
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-94b4e851.cjs.js'); }).then((m) => m.default)));
423
+ 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-7a65d74f.cjs.js'); }).then((m) => m.default)));
424
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-3afb36f3.cjs.js'); }).then((m) => m.default)));
425
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-cca41696.cjs.js'); }).then((m) => m.default)));
426
426
  program.command("install [plugin-id]", { hidden: true }).option(
427
427
  "--from <packageJsonFilePath>",
428
428
  "Install from a local package.json containing the installation recipe"
429
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-b67b5a8c.cjs.js'); }).then((m) => m.default)));
429
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-7006a147.cjs.js'); }).then((m) => m.default)));
430
430
  }
431
431
  function lazy(getActionFunc) {
432
432
  return async (...args) => {
@@ -470,4 +470,4 @@ exports.devDependencies = devDependencies;
470
470
  exports.paths = paths;
471
471
  exports.version = version;
472
472
  exports.version$1 = version$9;
473
- //# sourceMappingURL=index-882e66b6.cjs.js.map
473
+ //# sourceMappingURL=index-51126e59.cjs.js.map