@backstage/cli 0.22.9-next.0 → 0.22.9

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 (41) hide show
  1. package/CHANGELOG.md +41 -2
  2. package/config/eslint-factory.js +1 -1
  3. package/dist/cjs/{build-3da54115.cjs.js → build-590646be.cjs.js} +7 -7
  4. package/dist/cjs/{buildBackend-274775f7.cjs.js → buildBackend-0fda89a5.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-b6df7296.cjs.js → buildWorkspace-51e8b970.cjs.js} +4 -4
  6. package/dist/cjs/{bump-08aba1b9.cjs.js → bump-362ace97.cjs.js} +5 -5
  7. package/dist/cjs/{clean-f7ec15f2.cjs.js → clean-89f13eb2.cjs.js} +2 -2
  8. package/dist/cjs/{clean-20390fa5.cjs.js → clean-f1a9313b.cjs.js} +2 -2
  9. package/dist/cjs/{codeowners-0223b5b6.cjs.js → codeowners-af2b19ab.cjs.js} +2 -2
  10. package/dist/cjs/{config-d26577c3.cjs.js → config-047ca467.cjs.js} +2 -2
  11. package/dist/cjs/{createDistWorkspace-ad1b1629.cjs.js → createDistWorkspace-2795a508.cjs.js} +3 -3
  12. package/dist/cjs/{createPlugin-e3369a16.cjs.js → createPlugin-5982428b.cjs.js} +4 -4
  13. package/dist/cjs/{diff-dfabe21f.cjs.js → diff-81c1af20.cjs.js} +2 -2
  14. package/dist/cjs/{docs-46853035.cjs.js → docs-2d638390.cjs.js} +3 -3
  15. package/dist/cjs/{fix-f87a0c1f.cjs.js → fix-6f38bad0.cjs.js} +2 -2
  16. package/dist/cjs/{index-ac42ba95.cjs.js → index-0c4615aa.cjs.js} +51 -44
  17. package/dist/cjs/{index-d11b414f.cjs.js → index-2071d6b7.cjs.js} +7 -7
  18. package/dist/cjs/{index-90eafbe0.cjs.js → index-780140f9.cjs.js} +7 -7
  19. package/dist/cjs/{index-91b0b56a.cjs.js → index-c5426670.cjs.js} +12 -4
  20. package/dist/cjs/{index-67e84808.cjs.js → index-f4083826.cjs.js} +8 -8
  21. package/dist/cjs/{info-72a55001.cjs.js → info-75481607.cjs.js} +3 -3
  22. package/dist/cjs/{install-c791e2e4.cjs.js → install-c6b5bb97.cjs.js} +4 -4
  23. package/dist/cjs/{lint-5b088c32.cjs.js → lint-09ae0a1e.cjs.js} +2 -2
  24. package/dist/cjs/{lint-f6b0eb1d.cjs.js → lint-4ffa0aee.cjs.js} +2 -2
  25. package/dist/cjs/{lint-3a42bc9d.cjs.js → lint-76af12c0.cjs.js} +3 -3
  26. package/dist/cjs/{list-deprecations-cdb978af.cjs.js → list-deprecations-a33640da.cjs.js} +2 -2
  27. package/dist/cjs/{new-3692bcdc.cjs.js → new-07fc19c4.cjs.js} +12 -6
  28. package/dist/cjs/{pack-9262d13f.cjs.js → pack-582d9135.cjs.js} +2 -2
  29. package/dist/cjs/{packageLintConfigs-3f37beef.cjs.js → packageLintConfigs-6f3d0cb2.cjs.js} +3 -3
  30. package/dist/cjs/{packageRole-e3a218f3.cjs.js → packageRole-7d012e37.cjs.js} +2 -2
  31. package/dist/cjs/{packages-8749cdc2.cjs.js → packages-7676a13c.cjs.js} +3 -3
  32. package/dist/cjs/{paths-cfd70158.cjs.js → paths-207f93b0.cjs.js} +3 -3
  33. package/dist/cjs/{print-b6033a67.cjs.js → print-437a8e96.cjs.js} +3 -3
  34. package/dist/cjs/{role-1aeaada1.cjs.js → role-3a0fc4db.cjs.js} +2 -2
  35. package/dist/cjs/{run-9908e123.cjs.js → run-39b684b0.cjs.js} +2 -2
  36. package/dist/cjs/{schema-0b3cf2ad.cjs.js → schema-bc76cc36.cjs.js} +3 -3
  37. package/dist/cjs/{test-e187a0f7.cjs.js → test-624f826e.cjs.js} +3 -3
  38. package/dist/cjs/{test-23a84675.cjs.js → test-b3244489.cjs.js} +3 -3
  39. package/dist/cjs/{validate-d3d2dd58.cjs.js → validate-e618d3d9.cjs.js} +3 -3
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +15 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.22.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 6adb6f41711a: Fixed the `--alwaysYarnPack` flag on the`backstage-cli build-workspace` command.
8
+ - 4edd1ef71453: semver upgrade to 7.5.3
9
+ - ff45cb559e49: Updated dependency `esbuild` to `^0.18.0`.
10
+ - 8174cf4c0edf: Fixing MUI / Material UI references
11
+ - Updated dependencies
12
+ - @backstage/errors@1.2.1
13
+ - @backstage/cli-node@0.1.2
14
+ - @backstage/catalog-model@1.4.1
15
+ - @backstage/cli-common@0.1.12
16
+ - @backstage/config@1.0.8
17
+ - @backstage/config-loader@1.3.2
18
+ - @backstage/eslint-plugin@0.1.3
19
+ - @backstage/integration@1.5.1
20
+ - @backstage/release-manifests@0.0.9
21
+ - @backstage/types@1.1.0
22
+
23
+ ## 0.22.9-next.1
24
+
25
+ ### Patch Changes
26
+
27
+ - 4edd1ef71453: semver upgrade to 7.5.3
28
+ - ff45cb559e49: Updated dependency `esbuild` to `^0.18.0`.
29
+ - 8174cf4c0edf: Fixing MUI / Material UI references
30
+ - Updated dependencies
31
+ - @backstage/cli-node@0.1.2-next.1
32
+ - @backstage/catalog-model@1.4.1-next.0
33
+ - @backstage/cli-common@0.1.12
34
+ - @backstage/config@1.0.8
35
+ - @backstage/config-loader@1.3.2-next.0
36
+ - @backstage/errors@1.2.1-next.0
37
+ - @backstage/eslint-plugin@0.1.3
38
+ - @backstage/integration@1.5.1-next.0
39
+ - @backstage/release-manifests@0.0.9
40
+ - @backstage/types@1.1.0
41
+
3
42
  ## 0.22.9-next.0
4
43
 
5
44
  ### Patch Changes
@@ -26,7 +65,7 @@
26
65
  - 75540599124a: Updated example component for a newly scaffolded app.
27
66
  - 5d692f72ebfb: Make sure to include a `fetch` environment for `jsdom` in `jest` tests
28
67
  - 6816352500a7: Add discovery feature to the onboard cli command.
29
- - 20b7da6f1311: Enforcing MUI v5 specific linting to minimize bundle size.
68
+ - 20b7da6f1311: Enforcing Material UI v5 specific linting to minimize bundle size.
30
69
  - Updated dependencies
31
70
  - @backstage/types@1.1.0
32
71
  - @backstage/config-loader@1.3.1
@@ -77,7 +116,7 @@
77
116
 
78
117
  ### Patch Changes
79
118
 
80
- - 20b7da6f1311: Enforcing MUI v5 specific linting to minimize bundle size.
119
+ - 20b7da6f1311: Enforcing Material UI v5 specific linting to minimize bundle size.
81
120
  - Updated dependencies
82
121
  - @backstage/config-loader@1.3.1-next.0
83
122
  - @backstage/config@1.0.7
@@ -203,7 +203,7 @@ function createConfigForRole(dir, role, extraConfig = {}) {
203
203
  },
204
204
  restrictedImports: [
205
205
  {
206
- // Importing the entire MUI icons packages impedes build performance as the list of icons is huge.
206
+ // Importing the entire Material UI icons packages impedes build performance as the list of icons is huge.
207
207
  name: '@material-ui/icons',
208
208
  message: "Please import '@material-ui/icons/<Icon>' instead.",
209
209
  },
@@ -2,16 +2,16 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-ad1b1629.cjs.js');
6
- var index = require('./index-ac42ba95.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-2795a508.cjs.js');
6
+ var index = require('./index-0c4615aa.cjs.js');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
  var parallel = require('./parallel-a8f6219c.cjs.js');
9
- var buildBackend = require('./buildBackend-274775f7.cjs.js');
9
+ var buildBackend = require('./buildBackend-0fda89a5.cjs.js');
10
10
  require('fs-extra');
11
11
  require('os');
12
12
  require('tar');
13
13
  require('lodash/partition');
14
- require('./run-9908e123.cjs.js');
14
+ require('./run-39b684b0.cjs.js');
15
15
  require('child_process');
16
16
  require('util');
17
17
  require('@backstage/errors');
@@ -40,7 +40,7 @@ require('react-dev-utils/ModuleScopePlugin');
40
40
  require('run-script-webpack-plugin');
41
41
  require('webpack-node-externals');
42
42
  require('@manypkg/get-packages');
43
- require('./paths-cfd70158.cjs.js');
43
+ require('./paths-207f93b0.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-d26577c3.cjs.js');
53
+ require('./config-047ca467.cjs.js');
54
54
  require('@backstage/config-loader');
55
55
  require('@backstage/config');
56
56
 
@@ -188,4 +188,4 @@ async function command(opts, cmd) {
188
188
  }
189
189
 
190
190
  exports.command = command;
191
- //# sourceMappingURL=build-3da54115.cjs.js.map
191
+ //# sourceMappingURL=build-590646be.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-cfd70158.cjs.js');
13
+ var paths = require('./paths-207f93b0.cjs.js');
14
14
  require('mini-css-extract-plugin');
15
15
  require('@pmmmwh/react-refresh-webpack-plugin');
16
- require('./index-ac42ba95.cjs.js');
17
- require('./run-9908e123.cjs.js');
16
+ require('./index-0c4615aa.cjs.js');
17
+ require('./run-39b684b0.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-d26577c3.cjs.js');
27
+ var config = require('./config-047ca467.cjs.js');
28
28
  var os = require('os');
29
29
  var tar = require('tar');
30
- var createDistWorkspace = require('./createDistWorkspace-ad1b1629.cjs.js');
30
+ var createDistWorkspace = require('./createDistWorkspace-2795a508.cjs.js');
31
31
 
32
32
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
33
33
 
@@ -207,4 +207,4 @@ async function buildBackend(options) {
207
207
 
208
208
  exports.buildBackend = buildBackend;
209
209
  exports.buildFrontend = buildFrontend;
210
- //# sourceMappingURL=buildBackend-274775f7.cjs.js.map
210
+ //# sourceMappingURL=buildBackend-0fda89a5.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-ad1b1629.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-2795a508.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-ac42ba95.cjs.js');
10
+ require('./index-0c4615aa.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-9908e123.cjs.js');
15
+ require('./run-39b684b0.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-b6df7296.cjs.js.map
51
+ //# sourceMappingURL=buildWorkspace-51e8b970.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-9908e123.cjs.js');
11
- var index = require('./index-ac42ba95.cjs.js');
10
+ var run = require('./run-39b684b0.cjs.js');
11
+ var index = require('./index-0c4615aa.cjs.js');
12
12
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
13
- var packages = require('./packages-8749cdc2.cjs.js');
14
- var lint = require('./lint-3a42bc9d.cjs.js');
13
+ var packages = require('./packages-7676a13c.cjs.js');
14
+ var lint = require('./lint-76af12c0.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');
@@ -409,4 +409,4 @@ exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
409
409
  exports.createStrictVersionFinder = createStrictVersionFinder;
410
410
  exports.createVersionFinder = createVersionFinder;
411
411
  exports["default"] = bump;
412
- //# sourceMappingURL=bump-08aba1b9.cjs.js.map
412
+ //# sourceMappingURL=bump-362ace97.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-ac42ba95.cjs.js');
4
+ var index = require('./index-0c4615aa.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-f7ec15f2.cjs.js.map
22
+ //# sourceMappingURL=clean-89f13eb2.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-ac42ba95.cjs.js');
8
+ var index = require('./index-0c4615aa.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-20390fa5.cjs.js.map
49
+ //# sourceMappingURL=clean-f1a9313b.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-ac42ba95.cjs.js');
5
+ var index = require('./index-0c4615aa.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-0223b5b6.cjs.js.map
91
+ //# sourceMappingURL=codeowners-af2b19ab.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-ac42ba95.cjs.js');
5
+ var index = require('./index-0c4615aa.cjs.js');
6
6
  var getPackages = require('@manypkg/get-packages');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
 
@@ -86,4 +86,4 @@ async function loadCliConfig(options) {
86
86
 
87
87
  exports.isValidUrl = isValidUrl;
88
88
  exports.loadCliConfig = loadCliConfig;
89
- //# sourceMappingURL=config-d26577c3.cjs.js.map
89
+ //# sourceMappingURL=config-047ca467.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-ac42ba95.cjs.js');
10
- var run = require('./run-9908e123.cjs.js');
9
+ var index = require('./index-0c4615aa.cjs.js');
10
+ var run = require('./run-39b684b0.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-ad1b1629.cjs.js.map
715
+ //# sourceMappingURL=createDistWorkspace-2795a508.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-0223b5b6.cjs.js');
14
- var index = require('./index-ac42ba95.cjs.js');
13
+ var codeowners = require('./codeowners-af2b19ab.cjs.js');
14
+ var index = require('./index-0c4615aa.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-9908e123.cjs.js');
20
+ require('./run-39b684b0.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-e3369a16.cjs.js.map
279
+ //# sourceMappingURL=createPlugin-5982428b.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-ac42ba95.cjs.js');
10
+ var index = require('./index-0c4615aa.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-dfabe21f.cjs.js.map
437
+ //# sourceMappingURL=diff-81c1af20.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-d26577c3.cjs.js');
5
+ var config = require('./config-047ca467.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-ac42ba95.cjs.js');
7
+ require('./index-0c4615aa.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-46853035.cjs.js.map
37
+ //# sourceMappingURL=docs-2d638390.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-ac42ba95.cjs.js');
3
+ var index = require('./index-0c4615aa.cjs.js');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
6
  var fs = require('fs-extra');
@@ -120,4 +120,4 @@ async function command() {
120
120
  }
121
121
 
122
122
  exports.command = command;
123
- //# sourceMappingURL=fix-f87a0c1f.cjs.js.map
123
+ //# sourceMappingURL=fix-6f38bad0.cjs.js.map
@@ -13,6 +13,12 @@ var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
13
13
  var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
14
14
  var semver__default = /*#__PURE__*/_interopDefaultLegacy(semver);
15
15
 
16
+ var __defProp = Object.defineProperty;
17
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
18
+ var __publicField = (obj, key, value) => {
19
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
20
+ return value;
21
+ };
16
22
  class CustomError extends Error {
17
23
  get name() {
18
24
  return this.constructor.name;
@@ -23,6 +29,7 @@ class ExitCodeError extends CustomError {
23
29
  super(
24
30
  command ? `Command '${command}' exited with code ${code}` : `Child exited with code ${code}`
25
31
  );
32
+ __publicField(this, "code");
26
33
  this.code = code;
27
34
  }
28
35
  }
@@ -46,9 +53,9 @@ class NotFoundError extends CustomError {
46
53
 
47
54
  const paths = cliCommon.findPaths(__dirname);
48
55
 
49
- var version$a = "0.19.1-next.0";
56
+ var version$a = "0.19.1";
50
57
 
51
- var version$9 = "0.22.9-next.0";
58
+ var version$9 = "0.22.9";
52
59
  var dependencies = {
53
60
  "@backstage/catalog-model": "workspace:^",
54
61
  "@backstage/cli-common": "workspace:^",
@@ -98,7 +105,7 @@ var dependencies = {
98
105
  "cross-spawn": "^7.0.3",
99
106
  "css-loader": "^6.5.1",
100
107
  diff: "^5.0.0",
101
- esbuild: "^0.17.0",
108
+ esbuild: "^0.18.0",
102
109
  "esbuild-loader": "^2.18.0",
103
110
  eslint: "^8.6.0",
104
111
  "eslint-config-prettier": "^8.3.0",
@@ -143,7 +150,7 @@ var dependencies = {
143
150
  "rollup-plugin-postcss": "^4.0.0",
144
151
  "rollup-pluginutils": "^2.8.2",
145
152
  "run-script-webpack-plugin": "^0.1.0",
146
- semver: "^7.3.2",
153
+ semver: "^7.5.3",
147
154
  "style-loader": "^3.3.1",
148
155
  sucrase: "^3.20.2",
149
156
  "swc-loader": "^0.2.3",
@@ -194,19 +201,19 @@ var devDependencies = {
194
201
 
195
202
  var version$8 = "1.0.8";
196
203
 
197
- var version$7 = "1.8.1";
204
+ var version$7 = "1.9.0";
198
205
 
199
- var version$6 = "0.13.3-next.0";
206
+ var version$6 = "0.13.3";
200
207
 
201
- var version$5 = "1.5.2";
208
+ var version$5 = "1.5.3";
202
209
 
203
- var version$4 = "1.0.17-next.0";
210
+ var version$4 = "1.0.17";
204
211
 
205
- var version$3 = "1.4.1-next.0";
212
+ var version$3 = "1.4.1";
206
213
 
207
- var version$2 = "0.4.0";
214
+ var version$2 = "0.4.1";
208
215
 
209
- var version$1 = "1.15.1-next.0";
216
+ var version$1 = "1.15.1";
210
217
 
211
218
  const packageVersions = {
212
219
  "@backstage/backend-common": version$a,
@@ -268,7 +275,7 @@ const configOption = [
268
275
  Array()
269
276
  ];
270
277
  function registerOnboardCommand(program) {
271
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-d11b414f.cjs.js'); }).then((m) => m.command)));
278
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-2071d6b7.cjs.js'); }).then((m) => m.command)));
272
279
  }
273
280
  function registerRepoCommand(program) {
274
281
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -280,7 +287,7 @@ function registerRepoCommand(program) {
280
287
  ).option(
281
288
  "--since <ref>",
282
289
  "Only build packages and their dev dependents that changed since the specified ref"
283
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-3da54115.cjs.js'); }).then((m) => m.command)));
290
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-590646be.cjs.js'); }).then((m) => m.command)));
284
291
  command.command("lint").description("Lint all packages in the project").option(
285
292
  "--format <format>",
286
293
  "Lint report output format",
@@ -288,10 +295,10 @@ function registerRepoCommand(program) {
288
295
  ).option(
289
296
  "--since <ref>",
290
297
  "Only lint packages that changed since the specified ref"
291
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-5b088c32.cjs.js'); }).then((m) => m.command)));
292
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-20390fa5.cjs.js'); }).then((m) => m.command)));
298
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-09ae0a1e.cjs.js'); }).then((m) => m.command)));
299
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f1a9313b.cjs.js'); }).then((m) => m.command)));
293
300
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
294
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-cdb978af.cjs.js'); }).then((m) => m.command))
301
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-a33640da.cjs.js'); }).then((m) => m.command))
295
302
  );
296
303
  command.command("test").allowUnknownOption(true).option(
297
304
  "--since <ref>",
@@ -299,14 +306,14 @@ function registerRepoCommand(program) {
299
306
  ).option(
300
307
  "--jest-help",
301
308
  "Show help for Jest CLI options, which are passed through"
302
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-e187a0f7.cjs.js'); }).then((m) => m.command)));
309
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-624f826e.cjs.js'); }).then((m) => m.command)));
303
310
  }
304
311
  function registerScriptCommand(program) {
305
312
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
306
313
  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(
307
314
  "--inspect-brk",
308
315
  "Enable debugger in Node.js environments, breaking before code starts"
309
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-90eafbe0.cjs.js'); }).then((m) => m.command)));
316
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-780140f9.cjs.js'); }).then((m) => m.command)));
310
317
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
311
318
  "--minify",
312
319
  "Minify the generated code. Does not apply to app or backend packages."
@@ -324,21 +331,21 @@ function registerScriptCommand(program) {
324
331
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
325
332
  (opt, opts) => opts ? [...opts, opt] : [opt],
326
333
  Array()
327
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-67e84808.cjs.js'); }).then((m) => m.command)));
334
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-f4083826.cjs.js'); }).then((m) => m.command)));
328
335
  command.command("lint [directories...]").option(
329
336
  "--format <format>",
330
337
  "Lint report output format",
331
338
  "eslint-formatter-friendly"
332
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-f6b0eb1d.cjs.js'); }).then((m) => m.default)));
333
- 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-23a84675.cjs.js'); }).then((m) => m.default)));
334
- 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-f87a0c1f.cjs.js'); }).then((m) => m.command)));
335
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f7ec15f2.cjs.js'); }).then((m) => m.default)));
336
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9262d13f.cjs.js'); }).then((m) => m.pre)));
337
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9262d13f.cjs.js'); }).then((m) => m.post)));
339
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-4ffa0aee.cjs.js'); }).then((m) => m.default)));
340
+ 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-b3244489.cjs.js'); }).then((m) => m.default)));
341
+ 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-6f38bad0.cjs.js'); }).then((m) => m.command)));
342
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-89f13eb2.cjs.js'); }).then((m) => m.default)));
343
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-582d9135.cjs.js'); }).then((m) => m.pre)));
344
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-582d9135.cjs.js'); }).then((m) => m.post)));
338
345
  }
339
346
  function registerMigrateCommand(program) {
340
347
  const command = program.command("migrate [command]").description("Migration utilities");
341
- 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-e3a218f3.cjs.js'); }).then((m) => m.default)));
348
+ 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-7d012e37.cjs.js'); }).then((m) => m.default)));
342
349
  command.command("package-scripts").description("Set package scripts according to each package role").action(
343
350
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
344
351
  );
@@ -348,7 +355,7 @@ function registerMigrateCommand(program) {
348
355
  command.command("package-lint-configs").description(
349
356
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
350
357
  ).action(
351
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-3f37beef.cjs.js'); }).then((m) => m.command))
358
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-6f3d0cb2.cjs.js'); }).then((m) => m.command))
352
359
  );
353
360
  command.command("react-router-deps").description(
354
361
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -373,7 +380,7 @@ function registerCommands(program) {
373
380
  ).option(
374
381
  "--baseVersion <version>",
375
382
  "The version to use for any new packages (default: 0.1.0)"
376
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3692bcdc.cjs.js'); }).then((m) => m.default)));
383
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-07fc19c4.cjs.js'); }).then((m) => m.default)));
377
384
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
378
385
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
379
386
  ).option(
@@ -387,30 +394,30 @@ function registerCommands(program) {
387
394
  ).option("--scope <scope>", "The scope to use for new packages").option(
388
395
  "--npm-registry <URL>",
389
396
  "The package registry to use for new packages"
390
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3692bcdc.cjs.js'); }).then((m) => m.default)));
397
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-07fc19c4.cjs.js'); }).then((m) => m.default)));
391
398
  program.command("create-plugin", { hidden: true }).option(
392
399
  "--backend",
393
400
  "Create plugin with the backend dependencies as default"
394
401
  ).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(
395
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-e3369a16.cjs.js'); }).then((m) => m.default))
402
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-5982428b.cjs.js'); }).then((m) => m.default))
396
403
  );
397
404
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
398
405
  "Diff an existing plugin with the creation template [DEPRECATED]"
399
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-dfabe21f.cjs.js'); }).then((m) => m.default)));
406
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-81c1af20.cjs.js'); }).then((m) => m.default)));
400
407
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
401
408
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
402
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-23a84675.cjs.js'); }).then((m) => m.default)));
409
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-b3244489.cjs.js'); }).then((m) => m.default)));
403
410
  program.command("config:docs").option(
404
411
  "--package <name>",
405
412
  "Only include the schema that applies to the given package"
406
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-46853035.cjs.js'); }).then((m) => m.default)));
413
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-2d638390.cjs.js'); }).then((m) => m.default)));
407
414
  program.command("config:print").option(
408
415
  "--package <name>",
409
416
  "Only load config schema that applies to the given package"
410
417
  ).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(
411
418
  "--format <format>",
412
419
  "Format to print the configuration in, either json or yaml [yaml]"
413
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-b6033a67.cjs.js'); }).then((m) => m.default)));
420
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-437a8e96.cjs.js'); }).then((m) => m.default)));
414
421
  program.command("config:check").option(
415
422
  "--package <name>",
416
423
  "Only load config schema that applies to the given package"
@@ -419,14 +426,14 @@ function registerCommands(program) {
419
426
  "Enable strict config validation, forbidding errors and unknown keys"
420
427
  ).option(...configOption).description(
421
428
  "Validate that the given configuration loads and matches schema"
422
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-d3d2dd58.cjs.js'); }).then((m) => m.default)));
429
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-e618d3d9.cjs.js'); }).then((m) => m.default)));
423
430
  program.command("config:schema").option(
424
431
  "--package <name>",
425
432
  "Only output config schema that applies to the given package"
426
433
  ).option(
427
434
  "--format <format>",
428
435
  "Format to print the schema in, either json or yaml [yaml]"
429
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-0b3cf2ad.cjs.js'); }).then((m) => m.default)));
436
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-bc76cc36.cjs.js'); }).then((m) => m.default)));
430
437
  registerRepoCommand(program);
431
438
  registerScriptCommand(program);
432
439
  registerMigrateCommand(program);
@@ -438,19 +445,19 @@ function registerCommands(program) {
438
445
  "--release <version|next|main>",
439
446
  "Bump to a specific Backstage release line or version",
440
447
  "main"
441
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-08aba1b9.cjs.js'); }).then((m) => m.default)));
442
- 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-3a42bc9d.cjs.js'); }).then((m) => m.default)));
443
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f7ec15f2.cjs.js'); }).then((m) => m.default)));
448
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-362ace97.cjs.js'); }).then((m) => m.default)));
449
+ 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-76af12c0.cjs.js'); }).then((m) => m.default)));
450
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-89f13eb2.cjs.js'); }).then((m) => m.default)));
444
451
  program.command("build-workspace <workspace-dir> [packages...]").option(
445
452
  "--alwaysYarnPack",
446
453
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
447
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-b6df7296.cjs.js'); }).then((m) => m.default)));
448
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-91b0b56a.cjs.js'); }).then((m) => m.default)));
449
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-72a55001.cjs.js'); }).then((m) => m.default)));
454
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-51e8b970.cjs.js'); }).then((m) => m.default)));
455
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-c5426670.cjs.js'); }).then((m) => m.default)));
456
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-75481607.cjs.js'); }).then((m) => m.default)));
450
457
  program.command("install [plugin-id]", { hidden: true }).option(
451
458
  "--from <packageJsonFilePath>",
452
459
  "Install from a local package.json containing the installation recipe"
453
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-c791e2e4.cjs.js'); }).then((m) => m.default)));
460
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-c6b5bb97.cjs.js'); }).then((m) => m.default)));
454
461
  }
455
462
  function lazy(getActionFunc) {
456
463
  return async (...args) => {
@@ -494,4 +501,4 @@ exports.devDependencies = devDependencies;
494
501
  exports.paths = paths;
495
502
  exports.version = version;
496
503
  exports.version$1 = version$9;
497
- //# sourceMappingURL=index-ac42ba95.cjs.js.map
504
+ //# sourceMappingURL=index-0c4615aa.cjs.js.map