@backstage/cli 0.25.2-next.3 → 0.25.2

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 +36 -0
  2. package/dist/cjs/{build-cb8867a9.cjs.js → build-797c37c2.cjs.js} +7 -7
  3. package/dist/cjs/{buildBackend-e46a1d87.cjs.js → buildBackend-7159f89d.cjs.js} +6 -6
  4. package/dist/cjs/{buildWorkspace-63d3b824.cjs.js → buildWorkspace-6e3fd6b3.cjs.js} +4 -4
  5. package/dist/cjs/{bump-4b48514c.cjs.js → bump-73741307.cjs.js} +5 -5
  6. package/dist/cjs/{clean-c0480d6f.cjs.js → clean-10e8e501.cjs.js} +2 -2
  7. package/dist/cjs/{clean-86a237a2.cjs.js → clean-c704c806.cjs.js} +2 -2
  8. package/dist/cjs/{codeowners-04977d12.cjs.js → codeowners-29820c1f.cjs.js} +2 -2
  9. package/dist/cjs/{config-04b2d75f.cjs.js → config-3e45780c.cjs.js} +2 -2
  10. package/dist/cjs/{createDistWorkspace-9d97ab80.cjs.js → createDistWorkspace-18d0e79e.cjs.js} +3 -3
  11. package/dist/cjs/{createPlugin-3f75c8bf.cjs.js → createPlugin-25429b61.cjs.js} +4 -4
  12. package/dist/cjs/{diff-e5bafbe2.cjs.js → diff-e7307a27.cjs.js} +2 -2
  13. package/dist/cjs/{docs-04d7cc43.cjs.js → docs-fe99b6fb.cjs.js} +3 -3
  14. package/dist/cjs/{fix-11df7b5f.cjs.js → fix-b27e8b98.cjs.js} +2 -2
  15. package/dist/cjs/{index-4ecf7434.cjs.js → index-1273081e.cjs.js} +2 -2
  16. package/dist/cjs/{index-38118e8d.cjs.js → index-9dcc26d9.cjs.js} +51 -51
  17. package/dist/cjs/{index-909893e7.cjs.js → index-ab9d4051.cjs.js} +7 -7
  18. package/dist/cjs/{index-0756e762.cjs.js → index-ba9b18fc.cjs.js} +8 -8
  19. package/dist/cjs/{index-23b440c6.cjs.js → index-c4731ee8.cjs.js} +3 -3
  20. package/dist/cjs/{info-3041f932.cjs.js → info-c8138893.cjs.js} +3 -3
  21. package/dist/cjs/{install-c871aad8.cjs.js → install-59a20986.cjs.js} +4 -4
  22. package/dist/cjs/{lint-ed716c8c.cjs.js → lint-0192921f.cjs.js} +2 -2
  23. package/dist/cjs/{lint-df89a76a.cjs.js → lint-0be1c949.cjs.js} +3 -3
  24. package/dist/cjs/{lint-17df9ed4.cjs.js → lint-e09fa871.cjs.js} +2 -2
  25. package/dist/cjs/{list-deprecations-d9f9b07c.cjs.js → list-deprecations-14061bf3.cjs.js} +2 -2
  26. package/dist/cjs/{new-7ffc04bb.cjs.js → new-2603ba7a.cjs.js} +4 -4
  27. package/dist/cjs/{pack-612c60ea.cjs.js → pack-834ab42a.cjs.js} +2 -2
  28. package/dist/cjs/{packageDetection-58ee44b5.cjs.js → packageDetection-ff9a531a.cjs.js} +5 -5
  29. package/dist/cjs/{packageExports-766297d5.cjs.js → packageExports-2365ba6d.cjs.js} +3 -3
  30. package/dist/cjs/{packageLintConfigs-38b18f0c.cjs.js → packageLintConfigs-24b34055.cjs.js} +3 -3
  31. package/dist/cjs/{packageRole-c555aef7.cjs.js → packageRole-717c356a.cjs.js} +2 -2
  32. package/dist/cjs/{packages-2f3d0fb3.cjs.js → packages-2815f945.cjs.js} +3 -3
  33. package/dist/cjs/{print-ef752870.cjs.js → print-c94fb08d.cjs.js} +3 -3
  34. package/dist/cjs/{role-7c925b20.cjs.js → role-ab90969d.cjs.js} +2 -2
  35. package/dist/cjs/{run-883b2b68.cjs.js → run-2564ae62.cjs.js} +2 -2
  36. package/dist/cjs/{schema-996675e4.cjs.js → schema-0d5ba665.cjs.js} +3 -3
  37. package/dist/cjs/{test-6178a007.cjs.js → test-1d760b63.cjs.js} +3 -3
  38. package/dist/cjs/{test-21c52ea3.cjs.js → test-c6619984.cjs.js} +3 -3
  39. package/dist/cjs/{validate-c84edefb.cjs.js → validate-ec50df5d.cjs.js} +3 -3
  40. package/dist/index.cjs.js +1 -1
  41. package/package.json +22 -22
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.25.2
4
+
5
+ ### Patch Changes
6
+
7
+ - d557d47: Added check for the `repository` field in the `repo fix` command.
8
+ - b58673e: Upgrade jest
9
+ - c624938: Add experimental support for an optional `public` app entry point that lets users sign-in before being able to access the full app.
10
+ - c52e7d5: Make `http://localhost:3000` the default base URL for serving locally, and `/` the default public path for built apps. The app build no longer requires any configuration values to be present.
11
+ - 9a96ef2: Updated dependency `vite-plugin-node-polyfills` to `^0.21.0`.
12
+ - 6bb6f3e: Updated dependency `fs-extra` to `^11.2.0`.
13
+ Updated dependency `@types/fs-extra` to `^11.0.0`.
14
+ - 2f1f8fd: Updated dependency `esbuild-loader` to `^4.0.0`.
15
+ - fd20d5b: Updated dependency `eslint-config-prettier` to `^9.0.0`.
16
+ - acd2860: Updated dependency `vite-plugin-node-polyfills` to `^0.19.0`.
17
+ - 40c27f3: Updated dependency `eslint-webpack-plugin` to `^4.0.0`.
18
+ - 6ba64c4: Updated dependency `commander` to `^12.0.0`.
19
+ - ba56063: Updated dependency `fork-ts-checker-webpack-plugin` to `^9.0.0`.
20
+ - 1cae748: Updated dependency `git-url-parse` to `^14.0.0`.
21
+ - 52ae6b9: Updated dependency `esbuild` to `^0.20.0`.
22
+ - 404e82b: Updated dependency `eslint-plugin-deprecation` to `^2.0.0`.
23
+ - 5c05f8a: Harmonize the package naming and allow custom prefix
24
+ - 35725e2: Updated dependencies in frontend plugin templates
25
+ - c7259dc: Updated the backend module template to make the module instance the package default export.
26
+ - 08804c3: Fixed an issue that would cause an invalid `__backstage-autodetected-plugins__.js` to be written when using experimental module discovery.
27
+ - Updated dependencies
28
+ - @backstage/cli-node@0.2.3
29
+ - @backstage/catalog-model@1.4.4
30
+ - @backstage/integration@1.9.0
31
+ - @backstage/config-loader@1.6.2
32
+ - @backstage/eslint-plugin@0.1.5
33
+ - @backstage/cli-common@0.1.13
34
+ - @backstage/config@1.1.1
35
+ - @backstage/errors@1.2.3
36
+ - @backstage/release-manifests@0.0.11
37
+ - @backstage/types@1.1.1
38
+
3
39
  ## 0.25.2-next.3
4
40
 
5
41
  ### Patch Changes
@@ -2,16 +2,16 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-9d97ab80.cjs.js');
6
- var index = require('./index-38118e8d.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-18d0e79e.cjs.js');
6
+ var index = require('./index-9dcc26d9.cjs.js');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
  var parallel = require('./parallel-2d9d247e.cjs.js');
9
- var buildBackend = require('./buildBackend-e46a1d87.cjs.js');
9
+ var buildBackend = require('./buildBackend-7159f89d.cjs.js');
10
10
  require('fs-extra');
11
11
  require('os');
12
12
  require('tar');
13
13
  require('lodash/partition');
14
- require('./run-883b2b68.cjs.js');
14
+ require('./run-2564ae62.cjs.js');
15
15
  require('child_process');
16
16
  require('util');
17
17
  require('@backstage/errors');
@@ -41,7 +41,7 @@ require('react-dev-utils/ModuleScopePlugin');
41
41
  require('run-script-webpack-plugin');
42
42
  require('@manypkg/get-packages');
43
43
  require('webpack-node-externals');
44
- require('./packageDetection-58ee44b5.cjs.js');
44
+ require('./packageDetection-ff9a531a.cjs.js');
45
45
  require('lodash/pickBy');
46
46
  require('mini-css-extract-plugin');
47
47
  require('@pmmmwh/react-refresh-webpack-plugin');
@@ -58,7 +58,7 @@ require('@yarnpkg/parsers');
58
58
  require('@yarnpkg/lockfile');
59
59
  require('minimatch');
60
60
  require('./yarn-6cd89e16.cjs.js');
61
- require('./config-04b2d75f.cjs.js');
61
+ require('./config-3e45780c.cjs.js');
62
62
  require('@backstage/config-loader');
63
63
 
64
64
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -194,4 +194,4 @@ async function command(opts, cmd) {
194
194
  }
195
195
 
196
196
  exports.command = command;
197
- //# sourceMappingURL=build-cb8867a9.cjs.js.map
197
+ //# sourceMappingURL=build-797c37c2.cjs.js.map
@@ -9,12 +9,12 @@ require('html-webpack-plugin');
9
9
  require('@backstage/cli-common');
10
10
  require('react-dev-utils/ModuleScopePlugin');
11
11
  require('run-script-webpack-plugin');
12
- require('./index-38118e8d.cjs.js');
12
+ require('./index-9dcc26d9.cjs.js');
13
13
  require('@manypkg/get-packages');
14
14
  require('webpack-node-externals');
15
- var packageDetection = require('./packageDetection-58ee44b5.cjs.js');
15
+ var packageDetection = require('./packageDetection-ff9a531a.cjs.js');
16
16
  require('lodash/pickBy');
17
- require('./run-883b2b68.cjs.js');
17
+ require('./run-2564ae62.cjs.js');
18
18
  require('mini-css-extract-plugin');
19
19
  require('@pmmmwh/react-refresh-webpack-plugin');
20
20
  var yn = require('yn');
@@ -31,11 +31,11 @@ require('@yarnpkg/lockfile');
31
31
  require('minimatch');
32
32
  require('./yarn-6cd89e16.cjs.js');
33
33
  require('lodash/partition');
34
- var config = require('./config-04b2d75f.cjs.js');
34
+ var config = require('./config-3e45780c.cjs.js');
35
35
  var parallel = require('./parallel-2d9d247e.cjs.js');
36
36
  var os = require('os');
37
37
  var tar = require('tar');
38
- var createDistWorkspace = require('./createDistWorkspace-9d97ab80.cjs.js');
38
+ var createDistWorkspace = require('./createDistWorkspace-18d0e79e.cjs.js');
39
39
 
40
40
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
41
41
 
@@ -253,4 +253,4 @@ async function buildBackend(options) {
253
253
 
254
254
  exports.buildBackend = buildBackend;
255
255
  exports.buildFrontend = buildFrontend;
256
- //# sourceMappingURL=buildBackend-e46a1d87.cjs.js.map
256
+ //# sourceMappingURL=buildBackend-7159f89d.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-9d97ab80.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-18d0e79e.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-38118e8d.cjs.js');
10
+ require('./index-9dcc26d9.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-883b2b68.cjs.js');
15
+ require('./run-2564ae62.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-63d3b824.cjs.js.map
51
+ //# sourceMappingURL=buildWorkspace-6e3fd6b3.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-883b2b68.cjs.js');
11
- var index = require('./index-38118e8d.cjs.js');
10
+ var run = require('./run-2564ae62.cjs.js');
11
+ var index = require('./index-9dcc26d9.cjs.js');
12
12
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
13
- var packages = require('./packages-2f3d0fb3.cjs.js');
14
- var lint = require('./lint-df89a76a.cjs.js');
13
+ var packages = require('./packages-2815f945.cjs.js');
14
+ var lint = require('./lint-0be1c949.cjs.js');
15
15
  var cliCommon = require('@backstage/cli-common');
16
16
  var parallel = require('./parallel-2d9d247e.cjs.js');
17
17
  var releaseManifests = require('@backstage/release-manifests');
@@ -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-4b48514c.cjs.js.map
420
+ //# sourceMappingURL=bump-73741307.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-38118e8d.cjs.js');
8
+ var index = require('./index-9dcc26d9.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-c0480d6f.cjs.js.map
49
+ //# sourceMappingURL=clean-10e8e501.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-38118e8d.cjs.js');
4
+ var index = require('./index-9dcc26d9.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-86a237a2.cjs.js.map
22
+ //# sourceMappingURL=clean-c704c806.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-38118e8d.cjs.js');
5
+ var index = require('./index-9dcc26d9.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-04977d12.cjs.js.map
91
+ //# sourceMappingURL=codeowners-29820c1f.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-38118e8d.cjs.js');
5
+ var index = require('./index-9dcc26d9.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-04b2d75f.cjs.js.map
101
+ //# sourceMappingURL=config-3e45780c.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-38118e8d.cjs.js');
10
- var run = require('./run-883b2b68.cjs.js');
9
+ var index = require('./index-9dcc26d9.cjs.js');
10
+ var run = require('./run-2564ae62.cjs.js');
11
11
  var rollup = require('rollup');
12
12
  var commonjs = require('@rollup/plugin-commonjs');
13
13
  var resolve = require('@rollup/plugin-node-resolve');
@@ -565,4 +565,4 @@ exports.buildPackage = buildPackage;
565
565
  exports.buildPackages = buildPackages;
566
566
  exports.createDistWorkspace = createDistWorkspace;
567
567
  exports.getOutputsForRole = getOutputsForRole;
568
- //# sourceMappingURL=createDistWorkspace-9d97ab80.cjs.js.map
568
+ //# sourceMappingURL=createDistWorkspace-18d0e79e.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-04977d12.cjs.js');
14
- var index = require('./index-38118e8d.cjs.js');
13
+ var codeowners = require('./codeowners-29820c1f.cjs.js');
14
+ var index = require('./index-9dcc26d9.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-883b2b68.cjs.js');
20
+ require('./run-2564ae62.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-3f75c8bf.cjs.js.map
279
+ //# sourceMappingURL=createPlugin-25429b61.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-38118e8d.cjs.js');
10
+ var index = require('./index-9dcc26d9.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-e5bafbe2.cjs.js.map
437
+ //# sourceMappingURL=diff-e7307a27.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-04b2d75f.cjs.js');
5
+ var config = require('./config-3e45780c.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-38118e8d.cjs.js');
7
+ require('./index-9dcc26d9.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-04d7cc43.cjs.js.map
37
+ //# sourceMappingURL=docs-fe99b6fb.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-38118e8d.cjs.js');
6
+ var index = require('./index-9dcc26d9.cjs.js');
7
7
  require('commander');
8
8
  require('chalk');
9
9
  require('semver');
@@ -208,4 +208,4 @@ exports.fixSideEffects = fixSideEffects;
208
208
  exports.printPackageFixHint = printPackageFixHint;
209
209
  exports.readFixablePackages = readFixablePackages;
210
210
  exports.writeFixedPackages = writeFixedPackages;
211
- //# sourceMappingURL=fix-11df7b5f.cjs.js.map
211
+ //# sourceMappingURL=fix-b27e8b98.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-38118e8d.cjs.js');
7
+ var index$1 = require('./index-9dcc26d9.cjs.js');
8
8
  var crypto = require('crypto');
9
9
  var openBrowser = require('react-dev-utils/openBrowser');
10
10
  var request = require('@octokit/request');
@@ -230,4 +230,4 @@ async function verifyGithubOrg(org) {
230
230
  }
231
231
 
232
232
  exports["default"] = index;
233
- //# sourceMappingURL=index-4ecf7434.cjs.js.map
233
+ //# sourceMappingURL=index-1273081e.cjs.js.map
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
53
53
 
54
54
  const paths = cliCommon.findPaths(__dirname);
55
55
 
56
- var version$c = "0.21.0-next.3";
56
+ var version$c = "0.21.0";
57
57
 
58
- var version$b = "0.6.10-next.3";
58
+ var version$b = "0.6.10";
59
59
 
60
- var version$a = "0.3.0-next.3";
60
+ var version$a = "0.3.0";
61
61
 
62
- var version$9 = "0.25.2-next.3";
62
+ var version$9 = "0.25.2";
63
63
  var dependencies = {
64
64
  "@backstage/catalog-model": "workspace:^",
65
65
  "@backstage/cli-common": "workspace:^",
@@ -103,16 +103,16 @@ var dependencies = {
103
103
  buffer: "^6.0.3",
104
104
  chalk: "^4.0.0",
105
105
  chokidar: "^3.3.1",
106
- commander: "^9.1.0",
106
+ commander: "^12.0.0",
107
107
  "cross-fetch": "^4.0.0",
108
108
  "cross-spawn": "^7.0.3",
109
109
  "css-loader": "^6.5.1",
110
110
  "ctrlc-windows": "^2.1.0",
111
111
  diff: "^5.0.0",
112
112
  esbuild: "^0.20.0",
113
- "esbuild-loader": "^2.18.0",
113
+ "esbuild-loader": "^4.0.0",
114
114
  eslint: "^8.6.0",
115
- "eslint-config-prettier": "^8.3.0",
115
+ "eslint-config-prettier": "^9.0.0",
116
116
  "eslint-formatter-friendly": "^7.0.0",
117
117
  "eslint-plugin-deprecation": "^2.0.0",
118
118
  "eslint-plugin-import": "^2.25.4",
@@ -121,10 +121,10 @@ var dependencies = {
121
121
  "eslint-plugin-react": "^7.28.0",
122
122
  "eslint-plugin-react-hooks": "^4.3.0",
123
123
  "eslint-plugin-unused-imports": "^3.0.0",
124
- "eslint-webpack-plugin": "^3.1.1",
124
+ "eslint-webpack-plugin": "^4.0.0",
125
125
  express: "^4.17.1",
126
126
  "fork-ts-checker-webpack-plugin": "^9.0.0",
127
- "fs-extra": "10.1.0",
127
+ "fs-extra": "^11.2.0",
128
128
  "git-url-parse": "^14.0.0",
129
129
  glob: "^7.1.7",
130
130
  "global-agent": "^3.0.0",
@@ -187,7 +187,7 @@ var devDependencies = {
187
187
  "@types/diff": "^5.0.0",
188
188
  "@types/ejs": "^3.1.3",
189
189
  "@types/express": "^4.17.6",
190
- "@types/fs-extra": "^9.0.1",
190
+ "@types/fs-extra": "^11.0.0",
191
191
  "@types/http-proxy": "^1.17.4",
192
192
  "@types/inquirer": "^8.1.3",
193
193
  "@types/minimatch": "^5.0.0",
@@ -208,19 +208,19 @@ var devDependencies = {
208
208
 
209
209
  var version$8 = "1.1.1";
210
210
 
211
- var version$7 = "1.12.0-next.1";
211
+ var version$7 = "1.12.0";
212
212
 
213
- var version$6 = "0.14.0-next.2";
213
+ var version$6 = "0.14.0";
214
214
 
215
- var version$5 = "1.9.0-next.1";
215
+ var version$5 = "1.9.0";
216
216
 
217
- var version$4 = "1.0.27-next.3";
217
+ var version$4 = "1.0.27";
218
218
 
219
- var version$3 = "1.5.0-next.3";
219
+ var version$3 = "1.5.0";
220
220
 
221
- var version$2 = "0.3.0-next.3";
221
+ var version$2 = "0.3.0";
222
222
 
223
- var version$1 = "0.5.1-next.1";
223
+ var version$1 = "0.5.1";
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-23b440c6.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-c4731ee8.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-cb8867a9.cjs.js'); }).then((m) => m.command)));
299
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-797c37c2.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-ed716c8c.cjs.js'); }).then((m) => m.command)));
307
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-0192921f.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-11df7b5f.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-c0480d6f.cjs.js'); }).then((m) => m.command)));
311
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-b27e8b98.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-10e8e501.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-d9f9b07c.cjs.js'); }).then((m) => m.command))
314
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-14061bf3.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-6178a007.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-1d760b63.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
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
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-909893e7.cjs.js'); }).then((m) => m.command)));
329
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-ab9d4051.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."
@@ -341,30 +341,30 @@ function registerScriptCommand(program) {
341
341
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
342
342
  (opt, opts) => opts ? [...opts, opt] : [opt],
343
343
  Array()
344
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-0756e762.cjs.js'); }).then((m) => m.command)));
344
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-ba9b18fc.cjs.js'); }).then((m) => m.command)));
345
345
  command.command("lint [directories...]").option(
346
346
  "--format <format>",
347
347
  "Lint report output format",
348
348
  "eslint-formatter-friendly"
349
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-17df9ed4.cjs.js'); }).then((m) => m.default)));
350
- 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-21c52ea3.cjs.js'); }).then((m) => m.default)));
351
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-86a237a2.cjs.js'); }).then((m) => m.default)));
352
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-612c60ea.cjs.js'); }).then((m) => m.pre)));
353
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-612c60ea.cjs.js'); }).then((m) => m.post)));
349
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-e09fa871.cjs.js'); }).then((m) => m.default)));
350
+ 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-c6619984.cjs.js'); }).then((m) => m.default)));
351
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c704c806.cjs.js'); }).then((m) => m.default)));
352
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-834ab42a.cjs.js'); }).then((m) => m.pre)));
353
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-834ab42a.cjs.js'); }).then((m) => m.post)));
354
354
  }
355
355
  function registerMigrateCommand(program) {
356
356
  const command = program.command("migrate [command]").description("Migration utilities");
357
- 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-c555aef7.cjs.js'); }).then((m) => m.default)));
357
+ 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-717c356a.cjs.js'); }).then((m) => m.default)));
358
358
  command.command("package-scripts").description("Set package scripts according to each package role").action(
359
359
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-bb7b6de2.cjs.js'); }).then((m) => m.command))
360
360
  );
361
361
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
362
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-766297d5.cjs.js'); }).then((m) => m.command))
362
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-2365ba6d.cjs.js'); }).then((m) => m.command))
363
363
  );
364
364
  command.command("package-lint-configs").description(
365
365
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
366
366
  ).action(
367
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-38b18f0c.cjs.js'); }).then((m) => m.command))
367
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-24b34055.cjs.js'); }).then((m) => m.command))
368
368
  );
369
369
  command.command("react-router-deps").description(
370
370
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -389,7 +389,7 @@ function registerCommands(program) {
389
389
  ).option(
390
390
  "--baseVersion <version>",
391
391
  "The version to use for any new packages (default: 0.1.0)"
392
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-7ffc04bb.cjs.js'); }).then((m) => m.default)));
392
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-2603ba7a.cjs.js'); }).then((m) => m.default)));
393
393
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
394
394
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
395
395
  ).option(
@@ -403,30 +403,30 @@ function registerCommands(program) {
403
403
  ).option("--scope <scope>", "The scope to use for new packages").option(
404
404
  "--npm-registry <URL>",
405
405
  "The package registry to use for new packages"
406
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-7ffc04bb.cjs.js'); }).then((m) => m.default)));
406
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-2603ba7a.cjs.js'); }).then((m) => m.default)));
407
407
  program.command("create-plugin", { hidden: true }).option(
408
408
  "--backend",
409
409
  "Create plugin with the backend dependencies as default"
410
410
  ).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(
411
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-3f75c8bf.cjs.js'); }).then((m) => m.default))
411
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-25429b61.cjs.js'); }).then((m) => m.default))
412
412
  );
413
413
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
414
414
  "Diff an existing plugin with the creation template [DEPRECATED]"
415
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-e5bafbe2.cjs.js'); }).then((m) => m.default)));
415
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-e7307a27.cjs.js'); }).then((m) => m.default)));
416
416
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
417
417
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
418
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-21c52ea3.cjs.js'); }).then((m) => m.default)));
418
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-c6619984.cjs.js'); }).then((m) => m.default)));
419
419
  program.command("config:docs").option(
420
420
  "--package <name>",
421
421
  "Only include the schema that applies to the given package"
422
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-04d7cc43.cjs.js'); }).then((m) => m.default)));
422
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-fe99b6fb.cjs.js'); }).then((m) => m.default)));
423
423
  program.command("config:print").option(
424
424
  "--package <name>",
425
425
  "Only load config schema that applies to the given package"
426
426
  ).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(
427
427
  "--format <format>",
428
428
  "Format to print the configuration in, either json or yaml [yaml]"
429
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-ef752870.cjs.js'); }).then((m) => m.default)));
429
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-c94fb08d.cjs.js'); }).then((m) => m.default)));
430
430
  program.command("config:check").option(
431
431
  "--package <name>",
432
432
  "Only load config schema that applies to the given package"
@@ -435,14 +435,14 @@ function registerCommands(program) {
435
435
  "Enable strict config validation, forbidding errors and unknown keys"
436
436
  ).option(...configOption).description(
437
437
  "Validate that the given configuration loads and matches schema"
438
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-c84edefb.cjs.js'); }).then((m) => m.default)));
438
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-ec50df5d.cjs.js'); }).then((m) => m.default)));
439
439
  program.command("config:schema").option(
440
440
  "--package <name>",
441
441
  "Only output config schema that applies to the given package"
442
442
  ).option(
443
443
  "--format <format>",
444
444
  "Format to print the schema in, either json or yaml [yaml]"
445
- ).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-996675e4.cjs.js'); }).then((m) => m.default)));
445
+ ).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-0d5ba665.cjs.js'); }).then((m) => m.default)));
446
446
  registerRepoCommand(program);
447
447
  registerScriptCommand(program);
448
448
  registerMigrateCommand(program);
@@ -454,19 +454,19 @@ function registerCommands(program) {
454
454
  "--release <version|next|main>",
455
455
  "Bump to a specific Backstage release line or version",
456
456
  "main"
457
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-4b48514c.cjs.js'); }).then((m) => m.default)));
458
- 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-df89a76a.cjs.js'); }).then((m) => m.default)));
459
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-86a237a2.cjs.js'); }).then((m) => m.default)));
457
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-73741307.cjs.js'); }).then((m) => m.default)));
458
+ 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-0be1c949.cjs.js'); }).then((m) => m.default)));
459
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c704c806.cjs.js'); }).then((m) => m.default)));
460
460
  program.command("build-workspace <workspace-dir> [packages...]").option(
461
461
  "--alwaysYarnPack",
462
462
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
463
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-63d3b824.cjs.js'); }).then((m) => m.default)));
464
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-4ecf7434.cjs.js'); }).then((m) => m.default)));
465
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-3041f932.cjs.js'); }).then((m) => m.default)));
463
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-6e3fd6b3.cjs.js'); }).then((m) => m.default)));
464
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-1273081e.cjs.js'); }).then((m) => m.default)));
465
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-c8138893.cjs.js'); }).then((m) => m.default)));
466
466
  program.command("install [plugin-id]", { hidden: true }).option(
467
467
  "--from <packageJsonFilePath>",
468
468
  "Install from a local package.json containing the installation recipe"
469
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-c871aad8.cjs.js'); }).then((m) => m.default)));
469
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-59a20986.cjs.js'); }).then((m) => m.default)));
470
470
  }
471
471
  function lazy(getActionFunc) {
472
472
  return async (...args) => {
@@ -510,4 +510,4 @@ exports.devDependencies = devDependencies;
510
510
  exports.paths = paths;
511
511
  exports.version = version;
512
512
  exports.version$1 = version$9;
513
- //# sourceMappingURL=index-38118e8d.cjs.js.map
513
+ //# sourceMappingURL=index-9dcc26d9.cjs.js.map