@backstage/cli 0.0.0-nightly-20230326022406 → 0.0.0-nightly-20230328022219

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 (43) hide show
  1. package/CHANGELOG.md +3 -2
  2. package/dist/cjs/{PackageGraph-6ab4b31e.cjs.js → PackageGraph-c3d29c32.cjs.js} +3 -3
  3. package/dist/cjs/{build-86756159.cjs.js → build-b248d6c9.cjs.js} +9 -9
  4. package/dist/cjs/{buildBackend-0fba65c5.cjs.js → buildBackend-dd1b7919.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-0174d550.cjs.js → buildWorkspace-ca9c1e9f.cjs.js} +6 -6
  6. package/dist/cjs/{bump-ad0f7e60.cjs.js → bump-0d62adbc.cjs.js} +6 -6
  7. package/dist/cjs/{clean-1106e9de.cjs.js → clean-040a1a6d.cjs.js} +4 -4
  8. package/dist/cjs/{clean-0d61c834.cjs.js → clean-bdbc4ee4.cjs.js} +2 -2
  9. package/dist/cjs/{codeowners-23559e5d.cjs.js → codeowners-6aae831a.cjs.js} +2 -2
  10. package/dist/cjs/{config-02661c13.cjs.js → config-958dd9fe.cjs.js} +3 -3
  11. package/dist/cjs/{createDistWorkspace-6d8d2408.cjs.js → createDistWorkspace-5e2a60d8.cjs.js} +5 -5
  12. package/dist/cjs/{createPlugin-94f4d2a8.cjs.js → createPlugin-e4638689.cjs.js} +4 -4
  13. package/dist/cjs/{diff-4b5b7c3c.cjs.js → diff-b7d7b934.cjs.js} +2 -2
  14. package/dist/cjs/{docs-112d97d1.cjs.js → docs-37139cec.cjs.js} +5 -5
  15. package/dist/cjs/{fix-eccec62b.cjs.js → fix-5f020e24.cjs.js} +4 -4
  16. package/dist/cjs/{index-df821526.cjs.js → index-0eb837e5.cjs.js} +2 -2
  17. package/dist/cjs/{index-ed72ef1e.cjs.js → index-94b9dbcf.cjs.js} +36 -36
  18. package/dist/cjs/{index-17531ad7.cjs.js → index-d62a2ab0.cjs.js} +8 -8
  19. package/dist/cjs/{index-4ff3db84.cjs.js → index-fee87a2c.cjs.js} +9 -9
  20. package/dist/cjs/{info-c317e9db.cjs.js → info-616c3412.cjs.js} +3 -3
  21. package/dist/cjs/{install-704bd82a.cjs.js → install-ff6a4d0d.cjs.js} +4 -4
  22. package/dist/cjs/{lint-e2c8e87e.cjs.js → lint-2f51f911.cjs.js} +4 -4
  23. package/dist/cjs/{lint-38e04c50.cjs.js → lint-98bb4807.cjs.js} +4 -4
  24. package/dist/cjs/{lint-43de112f.cjs.js → lint-b3c5d7dd.cjs.js} +2 -2
  25. package/dist/cjs/{list-deprecations-d929b761.cjs.js → list-deprecations-858b0bef.cjs.js} +4 -4
  26. package/dist/cjs/{new-a7a7002e.cjs.js → new-dfb9fd5f.cjs.js} +4 -4
  27. package/dist/cjs/{pack-b3cc9dfb.cjs.js → pack-6da34dc8.cjs.js} +2 -2
  28. package/dist/cjs/{packageExports-a72185a4.cjs.js → packageExports-fe4b3918.cjs.js} +4 -4
  29. package/dist/cjs/{packageLintConfigs-8e74247b.cjs.js → packageLintConfigs-c85040d5.cjs.js} +4 -4
  30. package/dist/cjs/{packageRole-b7a8587b.cjs.js → packageRole-4980fe86.cjs.js} +3 -3
  31. package/dist/cjs/{packageRoles-513e0398.cjs.js → packageRoles-39146cca.cjs.js} +2 -2
  32. package/dist/cjs/{packageScripts-10311c71.cjs.js → packageScripts-a0d90876.cjs.js} +5 -5
  33. package/dist/cjs/{packages-3202cfc1.cjs.js → packages-b787d5b0.cjs.js} +3 -3
  34. package/dist/cjs/{paths-495a89a2.cjs.js → paths-00f5d92c.cjs.js} +3 -3
  35. package/dist/cjs/{print-e0cfa0d6.cjs.js → print-47fce73a.cjs.js} +5 -5
  36. package/dist/cjs/{reactRouterDeps-dfbef2b6.cjs.js → reactRouterDeps-58955f7f.cjs.js} +5 -5
  37. package/dist/cjs/{run-daaa2e46.cjs.js → run-85d9eed3.cjs.js} +2 -2
  38. package/dist/cjs/{schema-fd1218ca.cjs.js → schema-5f89a51b.cjs.js} +5 -5
  39. package/dist/cjs/{test-346f77e1.cjs.js → test-2bd4ecf4.cjs.js} +3 -3
  40. package/dist/cjs/{test-ed5d0a5c.cjs.js → test-d3ce1a46.cjs.js} +4 -4
  41. package/dist/cjs/{validate-f063bd68.cjs.js → validate-a5344786.cjs.js} +5 -5
  42. package/dist/index.cjs.js +1 -1
  43. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,16 +1,17 @@
1
1
  # @backstage/cli
2
2
 
3
- ## 0.0.0-nightly-20230326022406
3
+ ## 0.0.0-nightly-20230328022219
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 24432ae52fb: Fix the build for packages with multiple entry points to avoid duplicated modules.
8
8
  - 79e91d4c30a: Support importing `.md` files in build loader
9
9
  - b9839d7135c: Fixed backend start command on Windows by removing the use of platform dependent path joins.
10
+ - 1e4f5e91b8e: Bump `zod` and `zod-to-json-schema` dependencies.
10
11
  - 29ba8267d69: Updated dependency `@material-ui/lab` to `4.0.0-alpha.61`.
11
12
  - c07c3b7364b: Add `onboard` command. While still in development, this command aims to guide users in setting up their Backstage App.
12
13
  - Updated dependencies
13
- - @backstage/eslint-plugin@0.0.0-nightly-20230326022406
14
+ - @backstage/eslint-plugin@0.0.0-nightly-20230328022219
14
15
  - @backstage/cli-common@0.1.12
15
16
  - @backstage/config@1.0.7
16
17
  - @backstage/config-loader@1.1.9
@@ -2,7 +2,7 @@
2
2
 
3
3
  var path = require('path');
4
4
  var getPackages = require('@manypkg/get-packages');
5
- var index = require('./index-ed72ef1e.cjs.js');
5
+ var index = require('./index-94b9dbcf.cjs.js');
6
6
  var errors = require('@backstage/errors');
7
7
  var child_process = require('child_process');
8
8
  var util = require('util');
@@ -10,7 +10,7 @@ var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
10
10
  require('minimatch');
11
11
  require('chalk');
12
12
  require('./yarn-6cd89e16.cjs.js');
13
- require('./run-daaa2e46.cjs.js');
13
+ require('./run-85d9eed3.cjs.js');
14
14
 
15
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
16
 
@@ -247,4 +247,4 @@ class PackageGraph extends Map {
247
247
  }
248
248
 
249
249
  exports.PackageGraph = PackageGraph;
250
- //# sourceMappingURL=PackageGraph-6ab4b31e.cjs.js.map
250
+ //# sourceMappingURL=PackageGraph-c3d29c32.cjs.js.map
@@ -2,17 +2,17 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-6d8d2408.cjs.js');
6
- var PackageGraph = require('./PackageGraph-6ab4b31e.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-5e2a60d8.cjs.js');
6
+ var PackageGraph = require('./PackageGraph-c3d29c32.cjs.js');
7
7
  var parallel = require('./parallel-a8f6219c.cjs.js');
8
- var index = require('./index-ed72ef1e.cjs.js');
9
- var packageRoles = require('./packageRoles-513e0398.cjs.js');
10
- var buildBackend = require('./buildBackend-0fba65c5.cjs.js');
8
+ var index = require('./index-94b9dbcf.cjs.js');
9
+ var packageRoles = require('./packageRoles-39146cca.cjs.js');
10
+ var buildBackend = require('./buildBackend-dd1b7919.cjs.js');
11
11
  require('fs-extra');
12
12
  require('os');
13
13
  require('tar');
14
14
  require('lodash/partition');
15
- require('./run-daaa2e46.cjs.js');
15
+ require('./run-85d9eed3.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('@backstage/errors');
@@ -47,7 +47,7 @@ require('html-webpack-plugin');
47
47
  require('react-dev-utils/ModuleScopePlugin');
48
48
  require('run-script-webpack-plugin');
49
49
  require('webpack-node-externals');
50
- require('./paths-495a89a2.cjs.js');
50
+ require('./paths-00f5d92c.cjs.js');
51
51
  require('mini-css-extract-plugin');
52
52
  require('@pmmmwh/react-refresh-webpack-plugin');
53
53
  require('eslint-webpack-plugin');
@@ -57,7 +57,7 @@ require('react-dev-utils/FileSizeReporter');
57
57
  require('react-dev-utils/formatWebpackMessages');
58
58
  require('webpack-dev-server');
59
59
  require('react-dev-utils/openBrowser');
60
- require('./config-02661c13.cjs.js');
60
+ require('./config-958dd9fe.cjs.js');
61
61
  require('@backstage/config-loader');
62
62
  require('@backstage/config');
63
63
 
@@ -195,4 +195,4 @@ async function command(opts, cmd) {
195
195
  }
196
196
 
197
197
  exports.command = command;
198
- //# sourceMappingURL=build-86756159.cjs.js.map
198
+ //# sourceMappingURL=build-b248d6c9.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-495a89a2.cjs.js');
13
+ var paths = require('./paths-00f5d92c.cjs.js');
14
14
  require('mini-css-extract-plugin');
15
15
  require('@pmmmwh/react-refresh-webpack-plugin');
16
- require('./index-ed72ef1e.cjs.js');
17
- require('./run-daaa2e46.cjs.js');
16
+ require('./index-94b9dbcf.cjs.js');
17
+ require('./run-85d9eed3.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-02661c13.cjs.js');
27
+ var config = require('./config-958dd9fe.cjs.js');
28
28
  var os = require('os');
29
29
  var tar = require('tar');
30
- var createDistWorkspace = require('./createDistWorkspace-6d8d2408.cjs.js');
30
+ var createDistWorkspace = require('./createDistWorkspace-5e2a60d8.cjs.js');
31
31
 
32
32
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
33
33
 
@@ -206,4 +206,4 @@ async function buildBackend(options) {
206
206
 
207
207
  exports.buildBackend = buildBackend;
208
208
  exports.buildFrontend = buildFrontend;
209
- //# sourceMappingURL=buildBackend-0fba65c5.cjs.js.map
209
+ //# sourceMappingURL=buildBackend-dd1b7919.cjs.js.map
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var createDistWorkspace = require('./createDistWorkspace-6d8d2408.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-5e2a60d8.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-ed72ef1e.cjs.js');
10
+ require('./index-94b9dbcf.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-daaa2e46.cjs.js');
15
+ require('./run-85d9eed3.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
- require('./PackageGraph-6ab4b31e.cjs.js');
18
+ require('./PackageGraph-c3d29c32.cjs.js');
19
19
  require('@manypkg/get-packages');
20
20
  require('./Lockfile-bc3a8337.cjs.js');
21
21
  require('@yarnpkg/parsers');
@@ -36,7 +36,7 @@ require('./svgrTemplate-550efce6.cjs.js');
36
36
  require('./entryPoints-5e73783d.cjs.js');
37
37
  require('./parallel-a8f6219c.cjs.js');
38
38
  require('worker_threads');
39
- require('./packageRoles-513e0398.cjs.js');
39
+ require('./packageRoles-39146cca.cjs.js');
40
40
  require('zod');
41
41
  require('./productionPack-d5eab366.cjs.js');
42
42
  require('npm-packlist');
@@ -55,4 +55,4 @@ var buildWorkspace = async (dir, packages) => {
55
55
  };
56
56
 
57
57
  exports["default"] = buildWorkspace;
58
- //# sourceMappingURL=buildWorkspace-0174d550.cjs.js.map
58
+ //# sourceMappingURL=buildWorkspace-ca9c1e9f.cjs.js.map
@@ -7,16 +7,16 @@ 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-daaa2e46.cjs.js');
11
- var index = require('./index-ed72ef1e.cjs.js');
10
+ var run = require('./run-85d9eed3.cjs.js');
11
+ var index = require('./index-94b9dbcf.cjs.js');
12
12
  var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
13
- var packages = require('./packages-3202cfc1.cjs.js');
14
- var lint = require('./lint-e2c8e87e.cjs.js');
13
+ var packages = require('./packages-b787d5b0.cjs.js');
14
+ var lint = require('./lint-2f51f911.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');
18
18
  require('global-agent/bootstrap');
19
- var PackageGraph = require('./PackageGraph-6ab4b31e.cjs.js');
19
+ var PackageGraph = require('./PackageGraph-c3d29c32.cjs.js');
20
20
  require('child_process');
21
21
  require('util');
22
22
  require('commander');
@@ -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-ad0f7e60.cjs.js.map
412
+ //# sourceMappingURL=bump-0d62adbc.cjs.js.map
@@ -4,8 +4,8 @@ var child_process = require('child_process');
4
4
  var fs = require('fs-extra');
5
5
  var path = require('path');
6
6
  var util = require('util');
7
- var PackageGraph = require('./PackageGraph-6ab4b31e.cjs.js');
8
- var index = require('./index-ed72ef1e.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-c3d29c32.cjs.js');
8
+ var index = require('./index-94b9dbcf.cjs.js');
9
9
  require('@manypkg/get-packages');
10
10
  require('@backstage/errors');
11
11
  require('./Lockfile-bc3a8337.cjs.js');
@@ -15,7 +15,7 @@ require('@yarnpkg/lockfile');
15
15
  require('minimatch');
16
16
  require('chalk');
17
17
  require('./yarn-6cd89e16.cjs.js');
18
- require('./run-daaa2e46.cjs.js');
18
+ require('./run-85d9eed3.cjs.js');
19
19
  require('commander');
20
20
  require('@backstage/cli-common');
21
21
 
@@ -53,4 +53,4 @@ async function command() {
53
53
  }
54
54
 
55
55
  exports.command = command;
56
- //# sourceMappingURL=clean-1106e9de.cjs.js.map
56
+ //# sourceMappingURL=clean-040a1a6d.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-ed72ef1e.cjs.js');
4
+ var index = require('./index-94b9dbcf.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-0d61c834.cjs.js.map
22
+ //# sourceMappingURL=clean-bdbc4ee4.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-ed72ef1e.cjs.js');
5
+ var index = require('./index-94b9dbcf.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-23559e5d.cjs.js.map
91
+ //# sourceMappingURL=codeowners-6aae831a.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var configLoader = require('@backstage/config-loader');
4
4
  var config = require('@backstage/config');
5
- var index = require('./index-ed72ef1e.cjs.js');
5
+ var index = require('./index-94b9dbcf.cjs.js');
6
6
  var getPackages = require('@manypkg/get-packages');
7
- var PackageGraph = require('./PackageGraph-6ab4b31e.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-c3d29c32.cjs.js');
8
8
 
9
9
  function isValidUrl(url) {
10
10
  try {
@@ -83,4 +83,4 @@ async function loadCliConfig(options) {
83
83
  }
84
84
 
85
85
  exports.loadCliConfig = loadCliConfig;
86
- //# sourceMappingURL=config-02661c13.cjs.js.map
86
+ //# sourceMappingURL=config-958dd9fe.cjs.js.map
@@ -6,9 +6,9 @@ var path = require('path');
6
6
  var os = require('os');
7
7
  var tar = require('tar');
8
8
  var partition = require('lodash/partition');
9
- var index = require('./index-ed72ef1e.cjs.js');
10
- var run = require('./run-daaa2e46.cjs.js');
11
- var PackageGraph = require('./PackageGraph-6ab4b31e.cjs.js');
9
+ var index = require('./index-94b9dbcf.cjs.js');
10
+ var run = require('./run-85d9eed3.cjs.js');
11
+ var PackageGraph = require('./PackageGraph-c3d29c32.cjs.js');
12
12
  var rollup = require('rollup');
13
13
  var commonjs = require('@rollup/plugin-commonjs');
14
14
  var resolve = require('@rollup/plugin-node-resolve');
@@ -22,7 +22,7 @@ var rollupPluginutils = require('rollup-pluginutils');
22
22
  var svgrTemplate = require('./svgrTemplate-550efce6.cjs.js');
23
23
  var entryPoints = require('./entryPoints-5e73783d.cjs.js');
24
24
  var parallel = require('./parallel-a8f6219c.cjs.js');
25
- var packageRoles = require('./packageRoles-513e0398.cjs.js');
25
+ var packageRoles = require('./packageRoles-39146cca.cjs.js');
26
26
  var productionPack = require('./productionPack-d5eab366.cjs.js');
27
27
 
28
28
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -707,4 +707,4 @@ exports.buildPackage = buildPackage;
707
707
  exports.buildPackages = buildPackages;
708
708
  exports.createDistWorkspace = createDistWorkspace;
709
709
  exports.getOutputsForRole = getOutputsForRole;
710
- //# sourceMappingURL=createDistWorkspace-6d8d2408.cjs.js.map
710
+ //# sourceMappingURL=createDistWorkspace-5e2a60d8.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-23559e5d.cjs.js');
14
- var index = require('./index-ed72ef1e.cjs.js');
13
+ var codeowners = require('./codeowners-6aae831a.cjs.js');
14
+ var index = require('./index-94b9dbcf.cjs.js');
15
15
  var tasks = require('./tasks-84de240c.cjs.js');
16
16
  var Lockfile = require('./Lockfile-bc3a8337.cjs.js');
17
17
  require('minimatch');
18
18
  require('@manypkg/get-packages');
19
19
  require('./yarn-6cd89e16.cjs.js');
20
- require('./run-daaa2e46.cjs.js');
20
+ require('./run-85d9eed3.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-94f4d2a8.cjs.js.map
279
+ //# sourceMappingURL=createPlugin-e4638689.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-ed72ef1e.cjs.js');
10
+ var index = require('./index-94b9dbcf.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-4b5b7c3c.cjs.js.map
437
+ //# sourceMappingURL=diff-b7d7b934.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-02661c13.cjs.js');
5
+ var config = require('./config-958dd9fe.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-ed72ef1e.cjs.js');
7
+ require('./index-94b9dbcf.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -12,7 +12,7 @@ require('semver');
12
12
  require('@backstage/cli-common');
13
13
  require('@backstage/errors');
14
14
  require('@manypkg/get-packages');
15
- require('./PackageGraph-6ab4b31e.cjs.js');
15
+ require('./PackageGraph-c3d29c32.cjs.js');
16
16
  require('path');
17
17
  require('child_process');
18
18
  require('util');
@@ -21,7 +21,7 @@ require('@yarnpkg/parsers');
21
21
  require('@yarnpkg/lockfile');
22
22
  require('minimatch');
23
23
  require('./yarn-6cd89e16.cjs.js');
24
- require('./run-daaa2e46.cjs.js');
24
+ require('./run-85d9eed3.cjs.js');
25
25
 
26
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
27
27
 
@@ -43,4 +43,4 @@ var docs = async (opts) => {
43
43
  };
44
44
 
45
45
  exports["default"] = docs;
46
- //# sourceMappingURL=docs-112d97d1.cjs.js.map
46
+ //# sourceMappingURL=docs-37139cec.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-ed72ef1e.cjs.js');
3
+ var index = require('./index-94b9dbcf.cjs.js');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
6
  var fs = require('fs-extra');
7
7
  var cliCommon = require('@backstage/cli-common');
8
- var PackageGraph = require('./PackageGraph-6ab4b31e.cjs.js');
8
+ var PackageGraph = require('./PackageGraph-c3d29c32.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -18,7 +18,7 @@ require('@yarnpkg/parsers');
18
18
  require('@yarnpkg/lockfile');
19
19
  require('minimatch');
20
20
  require('./yarn-6cd89e16.cjs.js');
21
- require('./run-daaa2e46.cjs.js');
21
+ require('./run-85d9eed3.cjs.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -129,4 +129,4 @@ async function command() {
129
129
  }
130
130
 
131
131
  exports.command = command;
132
- //# sourceMappingURL=fix-eccec62b.cjs.js.map
132
+ //# sourceMappingURL=fix-5f020e24.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-ed72ef1e.cjs.js');
7
+ var index$1 = require('./index-94b9dbcf.cjs.js');
8
8
  var crypto = require('crypto');
9
9
  var openBrowser = require('react-dev-utils/openBrowser');
10
10
  var request = require('@octokit/request');
@@ -222,4 +222,4 @@ async function verifyGithubOrg(org) {
222
222
  }
223
223
 
224
224
  exports["default"] = index;
225
- //# sourceMappingURL=index-df821526.cjs.js.map
225
+ //# sourceMappingURL=index-0eb837e5.cjs.js.map
@@ -148,7 +148,7 @@ var dependencies = {
148
148
  yaml: "^2.0.0",
149
149
  "yml-loader": "^2.1.0",
150
150
  yn: "^4.0.0",
151
- zod: "~3.18.0"
151
+ zod: "^3.21.4"
152
152
  };
153
153
  var devDependencies = {
154
154
  "@backstage/backend-common": "workspace:^",
@@ -271,7 +271,7 @@ function registerRepoCommand(program) {
271
271
  ).option(
272
272
  "--since <ref>",
273
273
  "Only build packages and their dev dependents that changed since the specified ref"
274
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-86756159.cjs.js'); }).then((m) => m.command)));
274
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-b248d6c9.cjs.js'); }).then((m) => m.command)));
275
275
  command.command("lint").description("Lint all packages in the project").option(
276
276
  "--format <format>",
277
277
  "Lint report output format",
@@ -279,10 +279,10 @@ function registerRepoCommand(program) {
279
279
  ).option(
280
280
  "--since <ref>",
281
281
  "Only lint packages that changed since the specified ref"
282
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-38e04c50.cjs.js'); }).then((m) => m.command)));
283
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1106e9de.cjs.js'); }).then((m) => m.command)));
282
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-98bb4807.cjs.js'); }).then((m) => m.command)));
283
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-040a1a6d.cjs.js'); }).then((m) => m.command)));
284
284
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
285
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-d929b761.cjs.js'); }).then((m) => m.command))
285
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-858b0bef.cjs.js'); }).then((m) => m.command))
286
286
  );
287
287
  command.command("test").allowUnknownOption(true).option(
288
288
  "--since <ref>",
@@ -290,14 +290,14 @@ function registerRepoCommand(program) {
290
290
  ).option(
291
291
  "--jest-help",
292
292
  "Show help for Jest CLI options, which are passed through"
293
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-ed5d0a5c.cjs.js'); }).then((m) => m.command)));
293
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-d3ce1a46.cjs.js'); }).then((m) => m.command)));
294
294
  }
295
295
  function registerScriptCommand(program) {
296
296
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
297
297
  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(
298
298
  "--inspect-brk",
299
299
  "Enable debugger in Node.js environments, breaking before code starts"
300
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-17531ad7.cjs.js'); }).then((m) => m.command)));
300
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-d62a2ab0.cjs.js'); }).then((m) => m.command)));
301
301
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
302
302
  "--minify",
303
303
  "Minify the generated code. Does not apply to app or backend packages."
@@ -315,36 +315,36 @@ function registerScriptCommand(program) {
315
315
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
316
316
  (opt, opts) => opts ? [...opts, opt] : [opt],
317
317
  Array()
318
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-4ff3db84.cjs.js'); }).then((m) => m.command)));
318
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-fee87a2c.cjs.js'); }).then((m) => m.command)));
319
319
  command.command("lint [directories...]").option(
320
320
  "--format <format>",
321
321
  "Lint report output format",
322
322
  "eslint-formatter-friendly"
323
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-43de112f.cjs.js'); }).then((m) => m.default)));
324
- 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-346f77e1.cjs.js'); }).then((m) => m.default)));
325
- 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-eccec62b.cjs.js'); }).then((m) => m.command)));
326
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0d61c834.cjs.js'); }).then((m) => m.default)));
327
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-b3cc9dfb.cjs.js'); }).then((m) => m.pre)));
328
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-b3cc9dfb.cjs.js'); }).then((m) => m.post)));
323
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-b3c5d7dd.cjs.js'); }).then((m) => m.default)));
324
+ 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-2bd4ecf4.cjs.js'); }).then((m) => m.default)));
325
+ 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-5f020e24.cjs.js'); }).then((m) => m.command)));
326
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-bdbc4ee4.cjs.js'); }).then((m) => m.default)));
327
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6da34dc8.cjs.js'); }).then((m) => m.pre)));
328
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6da34dc8.cjs.js'); }).then((m) => m.post)));
329
329
  }
330
330
  function registerMigrateCommand(program) {
331
331
  const command = program.command("migrate [command]").description("Migration utilities");
332
- 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-b7a8587b.cjs.js'); }).then((m) => m.default)));
332
+ 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-4980fe86.cjs.js'); }).then((m) => m.default)));
333
333
  command.command("package-scripts").description("Set package scripts according to each package role").action(
334
- lazy(() => Promise.resolve().then(function () { return require('./packageScripts-10311c71.cjs.js'); }).then((m) => m.command))
334
+ lazy(() => Promise.resolve().then(function () { return require('./packageScripts-a0d90876.cjs.js'); }).then((m) => m.command))
335
335
  );
336
336
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
337
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-a72185a4.cjs.js'); }).then((m) => m.command))
337
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-fe4b3918.cjs.js'); }).then((m) => m.command))
338
338
  );
339
339
  command.command("package-lint-configs").description(
340
340
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
341
341
  ).action(
342
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-8e74247b.cjs.js'); }).then((m) => m.command))
342
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-c85040d5.cjs.js'); }).then((m) => m.command))
343
343
  );
344
344
  command.command("react-router-deps").description(
345
345
  "Migrates the react-router dependencies for all packages to be peer dependencies"
346
346
  ).action(
347
- lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-dfbef2b6.cjs.js'); }).then((m) => m.command))
347
+ lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-58955f7f.cjs.js'); }).then((m) => m.command))
348
348
  );
349
349
  }
350
350
  function registerCommands(program) {
@@ -364,7 +364,7 @@ function registerCommands(program) {
364
364
  ).option(
365
365
  "--baseVersion <version>",
366
366
  "The version to use for any new packages (default: 0.1.0)"
367
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-a7a7002e.cjs.js'); }).then((m) => m.default)));
367
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-dfb9fd5f.cjs.js'); }).then((m) => m.default)));
368
368
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
369
369
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
370
370
  ).option(
@@ -378,43 +378,43 @@ function registerCommands(program) {
378
378
  ).option("--scope <scope>", "The scope to use for new packages").option(
379
379
  "--npm-registry <URL>",
380
380
  "The package registry to use for new packages"
381
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-a7a7002e.cjs.js'); }).then((m) => m.default)));
381
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-dfb9fd5f.cjs.js'); }).then((m) => m.default)));
382
382
  program.command("create-plugin", { hidden: true }).option(
383
383
  "--backend",
384
384
  "Create plugin with the backend dependencies as default"
385
385
  ).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(
386
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-94f4d2a8.cjs.js'); }).then((m) => m.default))
386
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-e4638689.cjs.js'); }).then((m) => m.default))
387
387
  );
388
388
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
389
389
  "Diff an existing plugin with the creation template [DEPRECATED]"
390
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-4b5b7c3c.cjs.js'); }).then((m) => m.default)));
390
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-b7d7b934.cjs.js'); }).then((m) => m.default)));
391
391
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
392
392
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
393
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-346f77e1.cjs.js'); }).then((m) => m.default)));
393
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-2bd4ecf4.cjs.js'); }).then((m) => m.default)));
394
394
  program.command("config:docs").option(
395
395
  "--package <name>",
396
396
  "Only include the schema that applies to the given package"
397
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-112d97d1.cjs.js'); }).then((m) => m.default)));
397
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-37139cec.cjs.js'); }).then((m) => m.default)));
398
398
  program.command("config:print").option(
399
399
  "--package <name>",
400
400
  "Only load config schema that applies to the given package"
401
401
  ).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(
402
402
  "--format <format>",
403
403
  "Format to print the configuration in, either json or yaml [yaml]"
404
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-e0cfa0d6.cjs.js'); }).then((m) => m.default)));
404
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-47fce73a.cjs.js'); }).then((m) => m.default)));
405
405
  program.command("config:check").option(
406
406
  "--package <name>",
407
407
  "Only load config schema that applies to the given package"
408
408
  ).option("--lax", "Do not require environment variables to be set").option("--frontend", "Only validate the frontend configuration").option("--deprecated", "Output deprecated configuration settings").option(...configOption).description(
409
409
  "Validate that the given configuration loads and matches schema"
410
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-f063bd68.cjs.js'); }).then((m) => m.default)));
410
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-a5344786.cjs.js'); }).then((m) => m.default)));
411
411
  program.command("config:schema").option(
412
412
  "--package <name>",
413
413
  "Only output config schema that applies to the given package"
414
414
  ).option(
415
415
  "--format <format>",
416
416
  "Format to print the schema in, either json or yaml [yaml]"
417
- ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-fd1218ca.cjs.js'); }).then((m) => m.default)));
417
+ ).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-5f89a51b.cjs.js'); }).then((m) => m.default)));
418
418
  registerRepoCommand(program);
419
419
  registerScriptCommand(program);
420
420
  registerMigrateCommand(program);
@@ -426,16 +426,16 @@ function registerCommands(program) {
426
426
  "--release <version|next|main>",
427
427
  "Bump to a specific Backstage release line or version",
428
428
  "main"
429
- ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-ad0f7e60.cjs.js'); }).then((m) => m.default)));
430
- 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-e2c8e87e.cjs.js'); }).then((m) => m.default)));
431
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0d61c834.cjs.js'); }).then((m) => m.default)));
432
- program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-0174d550.cjs.js'); }).then((m) => m.default)));
433
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-df821526.cjs.js'); }).then((m) => m.default)));
434
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-c317e9db.cjs.js'); }).then((m) => m.default)));
429
+ ).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-0d62adbc.cjs.js'); }).then((m) => m.default)));
430
+ 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-2f51f911.cjs.js'); }).then((m) => m.default)));
431
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-bdbc4ee4.cjs.js'); }).then((m) => m.default)));
432
+ program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-ca9c1e9f.cjs.js'); }).then((m) => m.default)));
433
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-0eb837e5.cjs.js'); }).then((m) => m.default)));
434
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-616c3412.cjs.js'); }).then((m) => m.default)));
435
435
  program.command("install [plugin-id]", { hidden: true }).option(
436
436
  "--from <packageJsonFilePath>",
437
437
  "Install from a local package.json containing the installation recipe"
438
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-704bd82a.cjs.js'); }).then((m) => m.default)));
438
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-ff6a4d0d.cjs.js'); }).then((m) => m.default)));
439
439
  }
440
440
  function lazy(getActionFunc) {
441
441
  return async (...args) => {
@@ -479,4 +479,4 @@ exports.devDependencies = devDependencies;
479
479
  exports.paths = paths;
480
480
  exports.version = version;
481
481
  exports.version$1 = version$9;
482
- //# sourceMappingURL=index-ed72ef1e.cjs.js.map
482
+ //# sourceMappingURL=index-94b9dbcf.cjs.js.map