@backstage/cli 0.22.13-next.3 → 0.22.14

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 (42) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/config/jest.js +7 -0
  3. package/dist/cjs/{build-78388961.cjs.js → build-7fcbad61.cjs.js} +10 -10
  4. package/dist/cjs/{buildBackend-8736c629.cjs.js → buildBackend-d9661c89.cjs.js} +10 -10
  5. package/dist/cjs/{buildWorkspace-a2607a91.cjs.js → buildWorkspace-104cffcb.cjs.js} +4 -4
  6. package/dist/cjs/{bump-c5d60f43.cjs.js → bump-618e1519.cjs.js} +5 -5
  7. package/dist/cjs/{clean-9950e487.cjs.js → clean-be11e54e.cjs.js} +2 -2
  8. package/dist/cjs/{clean-91ae62e6.cjs.js → clean-f9927997.cjs.js} +2 -2
  9. package/dist/cjs/{codeowners-8362998c.cjs.js → codeowners-0cb057dc.cjs.js} +2 -2
  10. package/dist/cjs/{config-55bfc714.cjs.js → config-8e10c493.cjs.js} +2 -2
  11. package/dist/cjs/{createDistWorkspace-1ba1fe48.cjs.js → createDistWorkspace-0940b499.cjs.js} +3 -3
  12. package/dist/cjs/{createPlugin-2f17e093.cjs.js → createPlugin-f3bbf6ad.cjs.js} +4 -4
  13. package/dist/cjs/{diff-cac578d9.cjs.js → diff-74828ee5.cjs.js} +2 -2
  14. package/dist/cjs/{docs-48000b62.cjs.js → docs-6e610690.cjs.js} +3 -3
  15. package/dist/cjs/{fix-2f2dbbb0.cjs.js → fix-2ae9f95c.cjs.js} +2 -2
  16. package/dist/cjs/{index-7e5b10f7.cjs.js → index-1e693063.cjs.js} +48 -48
  17. package/dist/cjs/{index-bbe1f825.cjs.js → index-7fb595d7.cjs.js} +11 -11
  18. package/dist/cjs/{index-b0c49033.cjs.js → index-973cba06.cjs.js} +2 -2
  19. package/dist/cjs/{index-a2e2cf2f.cjs.js → index-be57008e.cjs.js} +3 -3
  20. package/dist/cjs/{index-94a03a2f.cjs.js → index-c8baafea.cjs.js} +19 -17
  21. package/dist/cjs/{info-13b7e688.cjs.js → info-1be542e6.cjs.js} +3 -3
  22. package/dist/cjs/{install-48fd5304.cjs.js → install-30a0371c.cjs.js} +4 -4
  23. package/dist/cjs/{lint-0b781ed2.cjs.js → lint-8f7d7a30.cjs.js} +3 -3
  24. package/dist/cjs/{lint-8f9213c3.cjs.js → lint-95b431eb.cjs.js} +2 -2
  25. package/dist/cjs/{lint-56fc5cb1.cjs.js → lint-d60c8e5e.cjs.js} +2 -2
  26. package/dist/cjs/{list-deprecations-80b0c602.cjs.js → list-deprecations-fa37e4d4.cjs.js} +2 -2
  27. package/dist/cjs/{new-fdce3244.cjs.js → new-851e8634.cjs.js} +4 -4
  28. package/dist/cjs/{pack-264b3d20.cjs.js → pack-a8acbc38.cjs.js} +2 -2
  29. package/dist/cjs/{packageDetection-016e697b.cjs.js → packageDetection-1b522139.cjs.js} +75 -58
  30. package/dist/cjs/{packageExports-5463bc0b.cjs.js → packageExports-8094c363.cjs.js} +3 -3
  31. package/dist/cjs/{packageLintConfigs-900ce7db.cjs.js → packageLintConfigs-31135ac5.cjs.js} +3 -3
  32. package/dist/cjs/{packageRole-80c1fea2.cjs.js → packageRole-95332386.cjs.js} +2 -2
  33. package/dist/cjs/{packages-765a06af.cjs.js → packages-98ab76cf.cjs.js} +3 -3
  34. package/dist/cjs/{print-fefdb61a.cjs.js → print-10072990.cjs.js} +3 -3
  35. package/dist/cjs/{role-fdcbbb6d.cjs.js → role-a00fd07a.cjs.js} +2 -2
  36. package/dist/cjs/{run-45053fbf.cjs.js → run-5907d635.cjs.js} +2 -2
  37. package/dist/cjs/{schema-afd42266.cjs.js → schema-f2b6ef9f.cjs.js} +3 -3
  38. package/dist/cjs/{test-b4317534.cjs.js → test-b4f4fc28.cjs.js} +3 -3
  39. package/dist/cjs/{test-67368ae8.cjs.js → test-ee9ef9ac.cjs.js} +3 -3
  40. package/dist/cjs/{validate-c3642673.cjs.js → validate-34d30a7a.cjs.js} +3 -3
  41. package/dist/index.cjs.js +1 -1
  42. package/package.json +19 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.22.14
4
+
5
+ ### Patch Changes
6
+
7
+ - 48c94f8309ec: In frontend builds and tests `process.env.HAS_REACT_DOM_CLIENT` will now be defined if `react-dom/client` is present, i.e. if using React 18. This allows for conditional imports of `react-dom/client`.
8
+
9
+ ## 0.22.13
10
+
11
+ ### Patch Changes
12
+
13
+ - 04eabd21bee4: Added the ability to specify the listen address for the `--inspect` and `--inspect-brk` command. You can now set the `ip` and port of the `inspect` and `inspectBrk` by adding for example `--inspect=0.0.0.0:9229`
14
+ - 278d9326eb40: Added the ability to create a plain backend module with the `new` command.
15
+ - 4d5eeec52d80: Add ESM loader for the experimental backend start command.
16
+ - 3494c502aba7: Added a new `repo fix` command that fixes auto-fixable problems in all packages. Initially the command fixes package export declarations, as well as marks all non-bundled frontend packages as side-effect free. Marking packages as free of side-effects can drastically reduce the Webpack bundle size.
17
+ - f36113ca2305: Add experimental support for frontend package discovery.
18
+ - a23fce763c6a: Fixed a bug where package exports entry points could not be `.tsx` files.
19
+ - 8cec7664e146: Removed `@types/node` dependency
20
+ - ea779492ad88: Updated dependency `run-script-webpack-plugin` to `^0.2.0`.
21
+ - 4af4defcc114: When running `version:bump` it will now log duplicates instead of throwing an error
22
+ - 71d4368ae5cc: Added support for the `dev/index` entry point for backend plugins and modules.
23
+ - 956d226eeeee: Add `"sideEffects": false` to `package.json` in frontend package templates. This can be added to existing packages using the new `yarn fix` command.
24
+ - cd7331587eb3: Removed the experimental `package fix` command that was used to automatically add dependencies to `package.json`, but has since been replaced by the `no-undeclared-imports` rule from `@backstage/eslint-plugin`.
25
+ - 219b46ae1a50: Include default alpha export during package detection
26
+ - Updated dependencies
27
+ - @backstage/config@1.1.0
28
+ - @backstage/catalog-model@1.4.2
29
+ - @backstage/errors@1.2.2
30
+ - @backstage/integration@1.7.0
31
+ - @backstage/release-manifests@0.0.10
32
+ - @backstage/types@1.1.1
33
+ - @backstage/config-loader@1.5.0
34
+ - @backstage/cli-common@0.1.12
35
+ - @backstage/cli-node@0.1.4
36
+ - @backstage/eslint-plugin@0.1.3
37
+
3
38
  ## 0.22.13-next.3
4
39
 
5
40
  ### Patch Changes
package/config/jest.js CHANGED
@@ -24,6 +24,13 @@ const envOptions = {
24
24
  oldTests: Boolean(process.env.BACKSTAGE_OLD_TESTS),
25
25
  };
26
26
 
27
+ try {
28
+ require.resolve('react-dom/client');
29
+ process.env.HAS_REACT_DOM_CLIENT = true;
30
+ } catch {
31
+ /* ignored */
32
+ }
33
+
27
34
  const transformIgnorePattern = [
28
35
  '@material-ui',
29
36
  'ajv',
@@ -2,16 +2,16 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-1ba1fe48.cjs.js');
6
- var index = require('./index-7e5b10f7.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-0940b499.cjs.js');
6
+ var index = require('./index-1e693063.cjs.js');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
  var parallel = require('./parallel-a8f6219c.cjs.js');
9
- var buildBackend = require('./buildBackend-8736c629.cjs.js');
9
+ var buildBackend = require('./buildBackend-d9661c89.cjs.js');
10
10
  require('fs-extra');
11
11
  require('os');
12
12
  require('tar');
13
13
  require('lodash/partition');
14
- require('./run-45053fbf.cjs.js');
14
+ require('./run-5907d635.cjs.js');
15
15
  require('child_process');
16
16
  require('util');
17
17
  require('@backstage/errors');
@@ -34,17 +34,17 @@ require('semver');
34
34
  require('@backstage/cli-common');
35
35
  require('worker_threads');
36
36
  require('webpack');
37
+ require('eslint-webpack-plugin');
37
38
  require('fork-ts-checker-webpack-plugin');
38
39
  require('html-webpack-plugin');
39
40
  require('react-dev-utils/ModuleScopePlugin');
40
41
  require('run-script-webpack-plugin');
41
- require('webpack-node-externals');
42
42
  require('@manypkg/get-packages');
43
- require('./packageDetection-016e697b.cjs.js');
43
+ require('webpack-node-externals');
44
+ require('./packageDetection-1b522139.cjs.js');
45
+ require('lodash/pickBy');
44
46
  require('mini-css-extract-plugin');
45
47
  require('@pmmmwh/react-refresh-webpack-plugin');
46
- require('eslint-webpack-plugin');
47
- require('lodash/pickBy');
48
48
  require('yn');
49
49
  require('chokidar');
50
50
  require('react-dev-utils/FileSizeReporter');
@@ -56,7 +56,7 @@ require('@yarnpkg/parsers');
56
56
  require('@yarnpkg/lockfile');
57
57
  require('minimatch');
58
58
  require('./yarn-6cd89e16.cjs.js');
59
- require('./config-55bfc714.cjs.js');
59
+ require('./config-8e10c493.cjs.js');
60
60
  require('@backstage/config-loader');
61
61
  require('@backstage/config');
62
62
 
@@ -194,4 +194,4 @@ async function command(opts, cmd) {
194
194
  }
195
195
 
196
196
  exports.command = command;
197
- //# sourceMappingURL=build-78388961.cjs.js.map
197
+ //# sourceMappingURL=build-7fcbad61.cjs.js.map
@@ -3,20 +3,20 @@
3
3
  var fs = require('fs-extra');
4
4
  var path = require('path');
5
5
  var webpack = require('webpack');
6
+ require('eslint-webpack-plugin');
6
7
  require('fork-ts-checker-webpack-plugin');
7
8
  require('html-webpack-plugin');
9
+ require('@backstage/cli-common');
8
10
  require('react-dev-utils/ModuleScopePlugin');
9
11
  require('run-script-webpack-plugin');
10
- require('webpack-node-externals');
11
- require('@backstage/cli-common');
12
+ require('./index-1e693063.cjs.js');
12
13
  require('@manypkg/get-packages');
13
- var packageDetection = require('./packageDetection-016e697b.cjs.js');
14
+ require('webpack-node-externals');
15
+ var packageDetection = require('./packageDetection-1b522139.cjs.js');
16
+ require('lodash/pickBy');
17
+ require('./run-5907d635.cjs.js');
14
18
  require('mini-css-extract-plugin');
15
19
  require('@pmmmwh/react-refresh-webpack-plugin');
16
- require('./index-7e5b10f7.cjs.js');
17
- require('./run-45053fbf.cjs.js');
18
- require('eslint-webpack-plugin');
19
- require('lodash/pickBy');
20
20
  var yn = require('yn');
21
21
  var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
22
22
  var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
@@ -31,12 +31,12 @@ require('@yarnpkg/lockfile');
31
31
  require('minimatch');
32
32
  require('./yarn-6cd89e16.cjs.js');
33
33
  require('lodash/partition');
34
- var config = require('./config-55bfc714.cjs.js');
34
+ var config = require('./config-8e10c493.cjs.js');
35
35
  require('chokidar');
36
36
  var parallel = require('./parallel-a8f6219c.cjs.js');
37
37
  var os = require('os');
38
38
  var tar = require('tar');
39
- var createDistWorkspace = require('./createDistWorkspace-1ba1fe48.cjs.js');
39
+ var createDistWorkspace = require('./createDistWorkspace-0940b499.cjs.js');
40
40
 
41
41
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
42
42
 
@@ -222,4 +222,4 @@ async function buildBackend(options) {
222
222
 
223
223
  exports.buildBackend = buildBackend;
224
224
  exports.buildFrontend = buildFrontend;
225
- //# sourceMappingURL=buildBackend-8736c629.cjs.js.map
225
+ //# sourceMappingURL=buildBackend-d9661c89.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-1ba1fe48.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-0940b499.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-7e5b10f7.cjs.js');
10
+ require('./index-1e693063.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-45053fbf.cjs.js');
15
+ require('./run-5907d635.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-a2607a91.cjs.js.map
51
+ //# sourceMappingURL=buildWorkspace-104cffcb.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-45053fbf.cjs.js');
11
- var index = require('./index-7e5b10f7.cjs.js');
10
+ var run = require('./run-5907d635.cjs.js');
11
+ var index = require('./index-1e693063.cjs.js');
12
12
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
13
- var packages = require('./packages-765a06af.cjs.js');
14
- var lint = require('./lint-0b781ed2.cjs.js');
13
+ var packages = require('./packages-98ab76cf.cjs.js');
14
+ var lint = require('./lint-8f7d7a30.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');
@@ -417,4 +417,4 @@ exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
417
417
  exports.createStrictVersionFinder = createStrictVersionFinder;
418
418
  exports.createVersionFinder = createVersionFinder;
419
419
  exports["default"] = bump;
420
- //# sourceMappingURL=bump-c5d60f43.cjs.js.map
420
+ //# sourceMappingURL=bump-618e1519.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-7e5b10f7.cjs.js');
4
+ var index = require('./index-1e693063.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-9950e487.cjs.js.map
22
+ //# sourceMappingURL=clean-be11e54e.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-7e5b10f7.cjs.js');
8
+ var index = require('./index-1e693063.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-91ae62e6.cjs.js.map
49
+ //# sourceMappingURL=clean-f9927997.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-7e5b10f7.cjs.js');
5
+ var index = require('./index-1e693063.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-8362998c.cjs.js.map
91
+ //# sourceMappingURL=codeowners-0cb057dc.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-7e5b10f7.cjs.js');
5
+ var index = require('./index-1e693063.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-55bfc714.cjs.js.map
101
+ //# sourceMappingURL=config-8e10c493.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-7e5b10f7.cjs.js');
10
- var run = require('./run-45053fbf.cjs.js');
9
+ var index = require('./index-1e693063.cjs.js');
10
+ var run = require('./run-5907d635.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');
@@ -712,4 +712,4 @@ exports.buildPackage = buildPackage;
712
712
  exports.buildPackages = buildPackages;
713
713
  exports.createDistWorkspace = createDistWorkspace;
714
714
  exports.getOutputsForRole = getOutputsForRole;
715
- //# sourceMappingURL=createDistWorkspace-1ba1fe48.cjs.js.map
715
+ //# sourceMappingURL=createDistWorkspace-0940b499.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-8362998c.cjs.js');
14
- var index = require('./index-7e5b10f7.cjs.js');
13
+ var codeowners = require('./codeowners-0cb057dc.cjs.js');
14
+ var index = require('./index-1e693063.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-45053fbf.cjs.js');
20
+ require('./run-5907d635.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-2f17e093.cjs.js.map
279
+ //# sourceMappingURL=createPlugin-f3bbf6ad.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-7e5b10f7.cjs.js');
10
+ var index = require('./index-1e693063.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-cac578d9.cjs.js.map
437
+ //# sourceMappingURL=diff-74828ee5.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-55bfc714.cjs.js');
5
+ var config = require('./config-8e10c493.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-7e5b10f7.cjs.js');
7
+ require('./index-1e693063.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-48000b62.cjs.js.map
37
+ //# sourceMappingURL=docs-6e610690.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-7e5b10f7.cjs.js');
6
+ var index = require('./index-1e693063.cjs.js');
7
7
  require('commander');
8
8
  require('chalk');
9
9
  require('semver');
@@ -161,4 +161,4 @@ exports.fixSideEffects = fixSideEffects;
161
161
  exports.printPackageFixHint = printPackageFixHint;
162
162
  exports.readFixablePackages = readFixablePackages;
163
163
  exports.writeFixedPackages = writeFixedPackages;
164
- //# sourceMappingURL=fix-2f2dbbb0.cjs.js.map
164
+ //# sourceMappingURL=fix-2ae9f95c.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.19.5-next.3";
56
+ var version$c = "0.19.7";
57
57
 
58
- var version$b = "0.6.3-next.3";
58
+ var version$b = "0.6.5";
59
59
 
60
- var version$a = "0.2.3-next.3";
60
+ var version$a = "0.2.6";
61
61
 
62
- var version$9 = "0.22.13-next.3";
62
+ var version$9 = "0.22.14";
63
63
  var dependencies = {
64
64
  "@backstage/catalog-model": "workspace:^",
65
65
  "@backstage/cli-common": "workspace:^",
@@ -206,21 +206,21 @@ var devDependencies = {
206
206
  "type-fest": "^2.19.0"
207
207
  };
208
208
 
209
- var version$8 = "1.1.0-next.2";
209
+ var version$8 = "1.1.0";
210
210
 
211
- var version$7 = "1.10.0-next.3";
211
+ var version$7 = "1.10.0";
212
212
 
213
- var version$6 = "0.13.5-next.3";
213
+ var version$6 = "0.13.5";
214
214
 
215
- var version$5 = "1.6.0-next.3";
215
+ var version$5 = "1.6.0";
216
216
 
217
- var version$4 = "1.0.21-next.3";
217
+ var version$4 = "1.0.21";
218
218
 
219
- var version$3 = "1.4.3-next.3";
219
+ var version$3 = "1.4.3";
220
220
 
221
- var version$2 = "0.4.2-next.0";
221
+ var version$2 = "0.4.2";
222
222
 
223
- var version$1 = "1.17.0-next.3";
223
+ var version$1 = "1.17.3";
224
224
 
225
225
  const packageVersions = {
226
226
  "@backstage/backend-common": version$c,
@@ -284,7 +284,7 @@ const configOption = [
284
284
  Array()
285
285
  ];
286
286
  function registerOnboardCommand(program) {
287
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-a2e2cf2f.cjs.js'); }).then((m) => m.command)));
287
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-be57008e.cjs.js'); }).then((m) => m.command)));
288
288
  }
289
289
  function registerRepoCommand(program) {
290
290
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -296,7 +296,7 @@ function registerRepoCommand(program) {
296
296
  ).option(
297
297
  "--since <ref>",
298
298
  "Only build packages and their dev dependents that changed since the specified ref"
299
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-78388961.cjs.js'); }).then((m) => m.command)));
299
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-7fcbad61.cjs.js'); }).then((m) => m.command)));
300
300
  command.command("lint").description("Lint all packages in the project").option(
301
301
  "--format <format>",
302
302
  "Lint report output format",
@@ -304,14 +304,14 @@ function registerRepoCommand(program) {
304
304
  ).option(
305
305
  "--since <ref>",
306
306
  "Only lint packages that changed since the specified ref"
307
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-8f9213c3.cjs.js'); }).then((m) => m.command)));
307
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-95b431eb.cjs.js'); }).then((m) => m.command)));
308
308
  command.command("fix").description("Automatically fix packages in the project").option(
309
309
  "--check",
310
310
  "Fail if any packages would have been changed by the command"
311
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-2f2dbbb0.cjs.js'); }).then((m) => m.command)));
312
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-91ae62e6.cjs.js'); }).then((m) => m.command)));
311
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-2ae9f95c.cjs.js'); }).then((m) => m.command)));
312
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f9927997.cjs.js'); }).then((m) => m.command)));
313
313
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
314
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-80b0c602.cjs.js'); }).then((m) => m.command))
314
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-fa37e4d4.cjs.js'); }).then((m) => m.command))
315
315
  );
316
316
  command.command("test").allowUnknownOption(true).option(
317
317
  "--since <ref>",
@@ -319,14 +319,14 @@ function registerRepoCommand(program) {
319
319
  ).option(
320
320
  "--jest-help",
321
321
  "Show help for Jest CLI options, which are passed through"
322
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-b4317534.cjs.js'); }).then((m) => m.command)));
322
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-b4f4fc28.cjs.js'); }).then((m) => m.command)));
323
323
  }
324
324
  function registerScriptCommand(program) {
325
325
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
326
- 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(
327
- "--inspect-brk",
326
+ 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(
327
+ "--inspect-brk [host]",
328
328
  "Enable debugger in Node.js environments, breaking before code starts"
329
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-94a03a2f.cjs.js'); }).then((m) => m.command)));
329
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-c8baafea.cjs.js'); }).then((m) => m.command)));
330
330
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
331
331
  "--minify",
332
332
  "Minify the generated code. Does not apply to app or backend packages."
@@ -344,30 +344,30 @@ function registerScriptCommand(program) {
344
344
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
345
345
  (opt, opts) => opts ? [...opts, opt] : [opt],
346
346
  Array()
347
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-bbe1f825.cjs.js'); }).then((m) => m.command)));
347
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-7fb595d7.cjs.js'); }).then((m) => m.command)));
348
348
  command.command("lint [directories...]").option(
349
349
  "--format <format>",
350
350
  "Lint report output format",
351
351
  "eslint-formatter-friendly"
352
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-56fc5cb1.cjs.js'); }).then((m) => m.default)));
353
- 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-67368ae8.cjs.js'); }).then((m) => m.default)));
354
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-9950e487.cjs.js'); }).then((m) => m.default)));
355
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-264b3d20.cjs.js'); }).then((m) => m.pre)));
356
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-264b3d20.cjs.js'); }).then((m) => m.post)));
352
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-d60c8e5e.cjs.js'); }).then((m) => m.default)));
353
+ 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-ee9ef9ac.cjs.js'); }).then((m) => m.default)));
354
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-be11e54e.cjs.js'); }).then((m) => m.default)));
355
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-a8acbc38.cjs.js'); }).then((m) => m.pre)));
356
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-a8acbc38.cjs.js'); }).then((m) => m.post)));
357
357
  }
358
358
  function registerMigrateCommand(program) {
359
359
  const command = program.command("migrate [command]").description("Migration utilities");
360
- 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-80c1fea2.cjs.js'); }).then((m) => m.default)));
360
+ 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-95332386.cjs.js'); }).then((m) => m.default)));
361
361
  command.command("package-scripts").description("Set package scripts according to each package role").action(
362
362
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
363
363
  );
364
364
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
365
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-5463bc0b.cjs.js'); }).then((m) => m.command))
365
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-8094c363.cjs.js'); }).then((m) => m.command))
366
366
  );
367
367
  command.command("package-lint-configs").description(
368
368
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
369
369
  ).action(
370
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-900ce7db.cjs.js'); }).then((m) => m.command))
370
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-31135ac5.cjs.js'); }).then((m) => m.command))
371
371
  );
372
372
  command.command("react-router-deps").description(
373
373
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -392,7 +392,7 @@ function registerCommands(program) {
392
392
  ).option(
393
393
  "--baseVersion <version>",
394
394
  "The version to use for any new packages (default: 0.1.0)"
395
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-fdce3244.cjs.js'); }).then((m) => m.default)));
395
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-851e8634.cjs.js'); }).then((m) => m.default)));
396
396
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
397
397
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
398
398
  ).option(
@@ -406,30 +406,30 @@ function registerCommands(program) {
406
406
  ).option("--scope <scope>", "The scope to use for new packages").option(
407
407
  "--npm-registry <URL>",
408
408
  "The package registry to use for new packages"
409
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-fdce3244.cjs.js'); }).then((m) => m.default)));
409
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-851e8634.cjs.js'); }).then((m) => m.default)));
410
410
  program.command("create-plugin", { hidden: true }).option(
411
411
  "--backend",
412
412
  "Create plugin with the backend dependencies as default"
413
413
  ).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(
414
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-2f17e093.cjs.js'); }).then((m) => m.default))
414
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-f3bbf6ad.cjs.js'); }).then((m) => m.default))
415
415
  );
416
416
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
417
417
  "Diff an existing plugin with the creation template [DEPRECATED]"
418
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-cac578d9.cjs.js'); }).then((m) => m.default)));
418
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-74828ee5.cjs.js'); }).then((m) => m.default)));
419
419
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
420
420
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
421
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-67368ae8.cjs.js'); }).then((m) => m.default)));
421
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-ee9ef9ac.cjs.js'); }).then((m) => m.default)));
422
422
  program.command("config:docs").option(
423
423
  "--package <name>",
424
424
  "Only include the schema that applies to the given package"
425
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-48000b62.cjs.js'); }).then((m) => m.default)));
425
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-6e610690.cjs.js'); }).then((m) => m.default)));
426
426
  program.command("config:print").option(
427
427
  "--package <name>",
428
428
  "Only load config schema that applies to the given package"
429
429
  ).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(
430
430
  "--format <format>",
431
431
  "Format to print the configuration in, either json or yaml [yaml]"
432
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-fefdb61a.cjs.js'); }).then((m) => m.default)));
432
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-10072990.cjs.js'); }).then((m) => m.default)));
433
433
  program.command("config:check").option(
434
434
  "--package <name>",
435
435
  "Only load config schema that applies to the given package"
@@ -438,14 +438,14 @@ function registerCommands(program) {
438
438
  "Enable strict config validation, forbidding errors and unknown keys"
439
439
  ).option(...configOption).description(
440
440
  "Validate that the given configuration loads and matches schema"
441
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-c3642673.cjs.js'); }).then((m) => m.default)));
441
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-34d30a7a.cjs.js'); }).then((m) => m.default)));
442
442
  program.command("config:schema").option(
443
443
  "--package <name>",
444
444
  "Only output config schema that applies to the given package"
445
445
  ).option(
446
446
  "--format <format>",
447
447
  "Format to print the schema in, either json or yaml [yaml]"
448
- ).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-afd42266.cjs.js'); }).then((m) => m.default)));
448
+ ).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-f2b6ef9f.cjs.js'); }).then((m) => m.default)));
449
449
  registerRepoCommand(program);
450
450
  registerScriptCommand(program);
451
451
  registerMigrateCommand(program);
@@ -457,19 +457,19 @@ function registerCommands(program) {
457
457
  "--release <version|next|main>",
458
458
  "Bump to a specific Backstage release line or version",
459
459
  "main"
460
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-c5d60f43.cjs.js'); }).then((m) => m.default)));
461
- 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-0b781ed2.cjs.js'); }).then((m) => m.default)));
462
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-9950e487.cjs.js'); }).then((m) => m.default)));
460
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-618e1519.cjs.js'); }).then((m) => m.default)));
461
+ 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-8f7d7a30.cjs.js'); }).then((m) => m.default)));
462
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-be11e54e.cjs.js'); }).then((m) => m.default)));
463
463
  program.command("build-workspace <workspace-dir> [packages...]").option(
464
464
  "--alwaysYarnPack",
465
465
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
466
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-a2607a91.cjs.js'); }).then((m) => m.default)));
467
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-b0c49033.cjs.js'); }).then((m) => m.default)));
468
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-13b7e688.cjs.js'); }).then((m) => m.default)));
466
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-104cffcb.cjs.js'); }).then((m) => m.default)));
467
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-973cba06.cjs.js'); }).then((m) => m.default)));
468
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-1be542e6.cjs.js'); }).then((m) => m.default)));
469
469
  program.command("install [plugin-id]", { hidden: true }).option(
470
470
  "--from <packageJsonFilePath>",
471
471
  "Install from a local package.json containing the installation recipe"
472
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-48fd5304.cjs.js'); }).then((m) => m.default)));
472
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-30a0371c.cjs.js'); }).then((m) => m.default)));
473
473
  }
474
474
  function lazy(getActionFunc) {
475
475
  return async (...args) => {
@@ -513,4 +513,4 @@ exports.devDependencies = devDependencies;
513
513
  exports.paths = paths;
514
514
  exports.version = version;
515
515
  exports.version$1 = version$9;
516
- //# sourceMappingURL=index-7e5b10f7.cjs.js.map
516
+ //# sourceMappingURL=index-1e693063.cjs.js.map