@backstage/cli 0.12.0 → 0.13.0

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 (38) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/{build-14cbdf7a.cjs.js → build-411cb39c.cjs.js} +3 -3
  3. package/dist/cjs/{build-4b751d39.cjs.js → build-959e2ffa.cjs.js} +3 -3
  4. package/dist/cjs/{build-5edaf89e.cjs.js → build-b4301c17.cjs.js} +7 -10
  5. package/dist/cjs/{build-0c9d57c4.cjs.js → build-c7b2ea88.cjs.js} +3 -3
  6. package/dist/cjs/{buildWorkspace-2f199d77.cjs.js → buildWorkspace-df8a4418.cjs.js} +4 -4
  7. package/dist/cjs/{bump-1eca6ea2.cjs.js → bump-d7017b61.cjs.js} +5 -5
  8. package/dist/cjs/{bundle-5dd20114.cjs.js → bundle-a12319b7.cjs.js} +5 -5
  9. package/dist/cjs/{clean-d035fec9.cjs.js → clean-5638771f.cjs.js} +2 -2
  10. package/dist/cjs/{config-2b6069ac.cjs.js → config-199a492f.cjs.js} +2 -2
  11. package/dist/cjs/{create-569a6334.cjs.js → create-db02de74.cjs.js} +4 -4
  12. package/dist/cjs/{createPlugin-903347a6.cjs.js → createPlugin-10786f3f.cjs.js} +4 -4
  13. package/dist/cjs/{dev-652ccda8.cjs.js → dev-76979eca.cjs.js} +5 -4
  14. package/dist/cjs/{diff-43b96174.cjs.js → diff-49413933.cjs.js} +2 -2
  15. package/dist/cjs/{docs-f35800a9.cjs.js → docs-701e1b43.cjs.js} +3 -3
  16. package/dist/cjs/{index-75ca54b4.cjs.js → index-34d6a6a3.cjs.js} +44 -46
  17. package/dist/cjs/{index-51d9773a.cjs.js → index-d5e2da99.cjs.js} +2 -2
  18. package/dist/cjs/{index-646d7f9b.cjs.js → index-de296eda.cjs.js} +3 -3
  19. package/dist/cjs/{info-2ab087b6.cjs.js → info-82d6df9a.cjs.js} +3 -3
  20. package/dist/cjs/{install-5994c0d6.cjs.js → install-c1cc1699.cjs.js} +4 -4
  21. package/dist/cjs/{lint-e11ff942.cjs.js → lint-3a07e770.cjs.js} +3 -3
  22. package/dist/cjs/{lint-8565466a.cjs.js → lint-90b05512.cjs.js} +3 -3
  23. package/dist/cjs/{pack-3f32c628.cjs.js → pack-6d555709.cjs.js} +2 -2
  24. package/dist/cjs/{packager-1ced8d37.cjs.js → packager-b384ddb4.cjs.js} +2 -2
  25. package/dist/cjs/{packages-c5e13db7.cjs.js → packages-deee570e.cjs.js} +3 -3
  26. package/dist/cjs/{paths-bff7a8ee.cjs.js → paths-2c7f6dab.cjs.js} +13 -25
  27. package/dist/cjs/{print-4ef72f7a.cjs.js → print-e49ed821.cjs.js} +3 -3
  28. package/dist/cjs/{run-47e305d4.cjs.js → run-596a22b2.cjs.js} +2 -2
  29. package/dist/cjs/{schema-f3813c61.cjs.js → schema-cd5d09d2.cjs.js} +3 -3
  30. package/dist/cjs/{serve-827f4da7.cjs.js → serve-948b0129.cjs.js} +11 -10
  31. package/dist/cjs/{serve-ae256aeb.cjs.js → serve-a81d4924.cjs.js} +7 -6
  32. package/dist/cjs/{server-4137ea31.cjs.js → server-11842d16.cjs.js} +6 -3
  33. package/dist/cjs/{tasks-28b41a2b.cjs.js → tasks-47ef8136.cjs.js} +2 -2
  34. package/dist/cjs/{testCommand-c1337273.cjs.js → testCommand-c91c3e8a.cjs.js} +3 -3
  35. package/dist/cjs/{validate-2b813bb7.cjs.js → validate-ee0ea71a.cjs.js} +3 -3
  36. package/dist/index.cjs.js +1 -1
  37. package/package.json +13 -17
  38. package/dist/cjs/removePlugin-1319a40c.cjs.js +0 -175
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1ddf6d9d5a: Removes the previously deprecated `remove-plugin` command alongside the `--lax` option to `app:build`.
8
+
9
+ ### Patch Changes
10
+
11
+ - c372a5032f: chore(deps): bump `jest-transform-yaml` from 0.1.1 to 1.0.0
12
+ - 1b4ab0d44c: Updated the dependency warning that is baked into `app:serve` to only warn about packages that are not allowed to have duplicates.
13
+ - dc46efa2cc: Switched the `WebpackDevServer` configuration to use client-side detection of the WebSocket protocol.
14
+ - 10086f5873: Upgraded `webpack`, `webpack-dev-server`,`fork-ts-checker-webpack-plugin`, `react-dev-utils`, and `react-hot-loader`. Since `ForkTsCheckerWebpackPlugin` no longer runs ESLint, we now include the `ESLintPlugin` from `eslint-webpack-plugin` if the `--check` flag is passed.
15
+
3
16
  ## 0.12.0
4
17
 
5
18
  ### Minor Changes
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-1ced8d37.cjs.js');
3
+ var packager = require('./packager-b384ddb4.cjs.js');
4
4
  require('fs-extra');
5
5
  require('rollup');
6
6
  require('chalk');
7
7
  require('path');
8
- require('./index-75ca54b4.cjs.js');
8
+ require('./index-34d6a6a3.cjs.js');
9
9
  require('commander');
10
10
  require('semver');
11
11
  require('@backstage/cli-common');
@@ -45,4 +45,4 @@ var build = async (cmd) => {
45
45
  };
46
46
 
47
47
  exports["default"] = build;
48
- //# sourceMappingURL=build-14cbdf7a.cjs.js.map
48
+ //# sourceMappingURL=build-411cb39c.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-1ced8d37.cjs.js');
3
+ var packager = require('./packager-b384ddb4.cjs.js');
4
4
  require('fs-extra');
5
5
  require('rollup');
6
6
  require('chalk');
7
7
  require('path');
8
- require('./index-75ca54b4.cjs.js');
8
+ require('./index-34d6a6a3.cjs.js');
9
9
  require('commander');
10
10
  require('semver');
11
11
  require('@backstage/cli-common');
@@ -32,4 +32,4 @@ var build = async (cmd) => {
32
32
  };
33
33
 
34
34
  exports["default"] = build;
35
- //# sourceMappingURL=build-4b751d39.cjs.js.map
35
+ //# sourceMappingURL=build-959e2ffa.cjs.js.map
@@ -11,10 +11,11 @@ require('run-script-webpack-plugin');
11
11
  require('webpack-node-externals');
12
12
  require('@backstage/cli-common');
13
13
  require('@manypkg/get-packages');
14
- var paths = require('./paths-bff7a8ee.cjs.js');
14
+ var paths = require('./paths-2c7f6dab.cjs.js');
15
15
  require('mini-css-extract-plugin');
16
- var index = require('./index-75ca54b4.cjs.js');
17
- require('./run-47e305d4.cjs.js');
16
+ var index = require('./index-34d6a6a3.cjs.js');
17
+ require('./run-596a22b2.cjs.js');
18
+ require('eslint-webpack-plugin');
18
19
  require('lodash/pickBy');
19
20
  var yn = require('yn');
20
21
  var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
@@ -22,7 +23,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
22
23
  require('webpack-dev-server');
23
24
  require('react-dev-utils/openBrowser');
24
25
  var parallel = require('./parallel-7e32a8d0.cjs.js');
25
- var config = require('./config-2b6069ac.cjs.js');
26
+ var config = require('./config-199a492f.cjs.js');
26
27
  require('./svgrTemplate-f19e974c.cjs.js');
27
28
  require('commander');
28
29
  require('semver');
@@ -123,9 +124,6 @@ async function build$1(compiler, isCi) {
123
124
  }
124
125
 
125
126
  var build = async (cmd) => {
126
- if (cmd.lax) {
127
- console.warn(chalk__default["default"].yellow(`[DEPRECATED] - The --lax option is deprecated and will be removed in the future. Please open an issue towards https://github.com/backstage/backstage that describes your use-case if you need the flag to stay around.`));
128
- }
129
127
  const { name } = await fs__default["default"].readJson(index.paths.resolveTarget("package.json"));
130
128
  await buildBundle({
131
129
  entry: "src/index",
@@ -133,11 +131,10 @@ var build = async (cmd) => {
133
131
  statsJsonEnabled: cmd.stats,
134
132
  ...await config.loadCliConfig({
135
133
  args: cmd.config,
136
- fromPackage: name,
137
- mockEnv: cmd.lax
134
+ fromPackage: name
138
135
  })
139
136
  });
140
137
  };
141
138
 
142
139
  exports["default"] = build;
143
- //# sourceMappingURL=build-5edaf89e.cjs.js.map
140
+ //# sourceMappingURL=build-b4301c17.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-1ced8d37.cjs.js');
3
+ var packager = require('./packager-b384ddb4.cjs.js');
4
4
  require('fs-extra');
5
5
  require('rollup');
6
6
  require('chalk');
7
7
  require('path');
8
- require('./index-75ca54b4.cjs.js');
8
+ require('./index-34d6a6a3.cjs.js');
9
9
  require('commander');
10
10
  require('semver');
11
11
  require('@backstage/cli-common');
@@ -32,4 +32,4 @@ var build = async (cmd) => {
32
32
  };
33
33
 
34
34
  exports["default"] = build;
35
- //# sourceMappingURL=build-0c9d57c4.cjs.js.map
35
+ //# sourceMappingURL=build-c7b2ea88.cjs.js.map
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var index = require('./index-646d7f9b.cjs.js');
4
+ var index = require('./index-de296eda.cjs.js');
5
5
  require('path');
6
6
  require('os');
7
7
  require('tar');
8
- require('./index-75ca54b4.cjs.js');
8
+ require('./index-34d6a6a3.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
12
12
  require('@backstage/cli-common');
13
13
  require('@backstage/config/package.json');
14
14
  require('@backstage/errors');
15
- require('./run-47e305d4.cjs.js');
15
+ require('./run-596a22b2.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('@manypkg/get-packages');
@@ -32,4 +32,4 @@ var buildWorkspace = async (dir, _cmd, packages) => {
32
32
  };
33
33
 
34
34
  exports["default"] = buildWorkspace;
35
- //# sourceMappingURL=buildWorkspace-2f199d77.cjs.js.map
35
+ //# sourceMappingURL=buildWorkspace-df8a4418.cjs.js.map
@@ -6,11 +6,11 @@ var semver = require('semver');
6
6
  var minimatch = require('minimatch');
7
7
  var errors = require('@backstage/errors');
8
8
  var path = require('path');
9
- var run = require('./run-47e305d4.cjs.js');
10
- var index = require('./index-75ca54b4.cjs.js');
9
+ var run = require('./run-596a22b2.cjs.js');
10
+ var index = require('./index-34d6a6a3.cjs.js');
11
11
  var Lockfile = require('./Lockfile-35661afa.cjs.js');
12
- var packages = require('./packages-c5e13db7.cjs.js');
13
- var lint = require('./lint-8565466a.cjs.js');
12
+ var packages = require('./packages-deee570e.cjs.js');
13
+ var lint = require('./lint-90b05512.cjs.js');
14
14
  var cliCommon = require('@backstage/cli-common');
15
15
  require('child_process');
16
16
  require('util');
@@ -237,4 +237,4 @@ async function workerThreads(count, items, fn) {
237
237
 
238
238
  exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
239
239
  exports["default"] = bump;
240
- //# sourceMappingURL=bump-1eca6ea2.cjs.js.map
240
+ //# sourceMappingURL=bump-d7017b61.cjs.js.map
@@ -4,11 +4,11 @@ var os = require('os');
4
4
  var fs = require('fs-extra');
5
5
  var path = require('path');
6
6
  var tar = require('tar');
7
- var index$1 = require('./index-646d7f9b.cjs.js');
8
- var index = require('./index-75ca54b4.cjs.js');
7
+ var index$1 = require('./index-de296eda.cjs.js');
8
+ var index = require('./index-34d6a6a3.cjs.js');
9
9
  var parallel = require('./parallel-7e32a8d0.cjs.js');
10
- var packager = require('./packager-1ced8d37.cjs.js');
11
- require('./run-47e305d4.cjs.js');
10
+ var packager = require('./packager-b384ddb4.cjs.js');
11
+ require('./run-596a22b2.cjs.js');
12
12
  require('child_process');
13
13
  require('util');
14
14
  require('@backstage/errors');
@@ -69,4 +69,4 @@ var bundle = async (cmd) => {
69
69
  };
70
70
 
71
71
  exports["default"] = bundle;
72
- //# sourceMappingURL=bundle-5dd20114.cjs.js.map
72
+ //# sourceMappingURL=bundle-a12319b7.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-75ca54b4.cjs.js');
4
+ var index = require('./index-34d6a6a3.cjs.js');
5
5
  require('commander');
6
6
  require('chalk');
7
7
  require('semver');
@@ -20,4 +20,4 @@ async function clean() {
20
20
  }
21
21
 
22
22
  exports["default"] = clean;
23
- //# sourceMappingURL=clean-d035fec9.cjs.js.map
23
+ //# sourceMappingURL=clean-5638771f.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-75ca54b4.cjs.js');
5
+ var index = require('./index-34d6a6a3.cjs.js');
6
6
  var getPackages = require('@manypkg/get-packages');
7
7
  var PackageGraph = require('./PackageGraph-7a0d3a83.cjs.js');
8
8
 
@@ -76,4 +76,4 @@ async function loadCliConfig(options) {
76
76
  }
77
77
 
78
78
  exports.loadCliConfig = loadCliConfig;
79
- //# sourceMappingURL=config-2b6069ac.cjs.js.map
79
+ //# sourceMappingURL=config-199a492f.cjs.js.map
@@ -7,12 +7,12 @@ var chalk = require('chalk');
7
7
  var inquirer = require('inquirer');
8
8
  var camelCase = require('lodash/camelCase');
9
9
  var upperFirst = require('lodash/upperFirst');
10
- var index = require('./index-75ca54b4.cjs.js');
11
- var tasks = require('./tasks-28b41a2b.cjs.js');
10
+ var index = require('./index-34d6a6a3.cjs.js');
11
+ var tasks = require('./tasks-47ef8136.cjs.js');
12
12
  var Lockfile = require('./Lockfile-35661afa.cjs.js');
13
13
  require('minimatch');
14
14
  require('@manypkg/get-packages');
15
- require('./run-47e305d4.cjs.js');
15
+ require('./run-596a22b2.cjs.js');
16
16
  var partition = require('lodash/partition');
17
17
  var errors = require('@backstage/errors');
18
18
  require('commander');
@@ -482,4 +482,4 @@ var create = async (cmd) => {
482
482
  };
483
483
 
484
484
  exports["default"] = create;
485
- //# sourceMappingURL=create-569a6334.cjs.js.map
485
+ //# sourceMappingURL=create-db02de74.cjs.js.map
@@ -10,12 +10,12 @@ var camelCase = require('lodash/camelCase');
10
10
  var upperFirst = require('lodash/upperFirst');
11
11
  var os = require('os');
12
12
  var errors = require('@backstage/errors');
13
- var tasks = require('./tasks-28b41a2b.cjs.js');
14
- var index = require('./index-75ca54b4.cjs.js');
13
+ var tasks = require('./tasks-47ef8136.cjs.js');
14
+ var index = require('./index-34d6a6a3.cjs.js');
15
15
  var Lockfile = require('./Lockfile-35661afa.cjs.js');
16
16
  require('minimatch');
17
17
  require('@manypkg/get-packages');
18
- require('./run-47e305d4.cjs.js');
18
+ require('./run-596a22b2.cjs.js');
19
19
  require('handlebars');
20
20
  require('ora');
21
21
  require('recursive-readdir');
@@ -234,4 +234,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
234
234
  exports.capitalize = capitalize;
235
235
  exports["default"] = createPlugin;
236
236
  exports.movePlugin = movePlugin;
237
- //# sourceMappingURL=createPlugin-903347a6.cjs.js.map
237
+ //# sourceMappingURL=createPlugin-10786f3f.cjs.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var index = require('./index-75ca54b4.cjs.js');
4
+ var index = require('./index-34d6a6a3.cjs.js');
5
5
  var webpack = require('webpack');
6
- var paths = require('./paths-bff7a8ee.cjs.js');
6
+ var paths = require('./paths-2c7f6dab.cjs.js');
7
7
  require('commander');
8
8
  require('chalk');
9
9
  require('semver');
@@ -19,9 +19,10 @@ require('webpack-node-externals');
19
19
  require('@manypkg/get-packages');
20
20
  require('mini-css-extract-plugin');
21
21
  require('./svgrTemplate-f19e974c.cjs.js');
22
- require('./run-47e305d4.cjs.js');
22
+ require('./run-596a22b2.cjs.js');
23
23
  require('child_process');
24
24
  require('util');
25
+ require('eslint-webpack-plugin');
25
26
  require('lodash/pickBy');
26
27
 
27
28
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -66,4 +67,4 @@ var dev = async (cmd) => {
66
67
  };
67
68
 
68
69
  exports["default"] = dev;
69
- //# sourceMappingURL=dev-652ccda8.cjs.js.map
70
+ //# sourceMappingURL=dev-76979eca.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-75ca54b4.cjs.js');
10
+ var index = require('./index-34d6a6a3.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
@@ -381,4 +381,4 @@ async function readPluginData() {
381
381
  }
382
382
 
383
383
  exports["default"] = diff;
384
- //# sourceMappingURL=diff-43b96174.cjs.js.map
384
+ //# sourceMappingURL=diff-49413933.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-2b6069ac.cjs.js');
5
+ var config = require('./config-199a492f.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-75ca54b4.cjs.js');
7
+ require('./index-34d6a6a3.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
@@ -31,4 +31,4 @@ var docs = async (cmd) => {
31
31
  };
32
32
 
33
33
  exports["default"] = docs;
34
- //# sourceMappingURL=docs-f35800a9.cjs.js.map
34
+ //# sourceMappingURL=docs-701e1b43.cjs.js.map
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
46
46
 
47
47
  const paths = cliCommon.findPaths(__dirname);
48
48
 
49
- var version$9 = "0.10.4";
49
+ var version$9 = "0.10.5";
50
50
 
51
- var version$8 = "0.12.0";
51
+ var version$8 = "0.13.0";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "^0.1.6",
54
54
  "@backstage/config": "^0.1.13",
@@ -85,6 +85,7 @@ var dependencies = {
85
85
  esbuild: "^0.14.10",
86
86
  "esbuild-loader": "^2.18.0",
87
87
  eslint: "^8.6.0",
88
+ "eslint-webpack-plugin": "^2.6.0",
88
89
  "eslint-config-prettier": "^8.3.0",
89
90
  "eslint-formatter-friendly": "^7.0.0",
90
91
  "eslint-plugin-import": "^2.25.4",
@@ -94,7 +95,7 @@ var dependencies = {
94
95
  "eslint-plugin-react": "^7.28.0",
95
96
  "eslint-plugin-react-hooks": "^4.3.0",
96
97
  express: "^4.17.1",
97
- "fork-ts-checker-webpack-plugin": "^4.0.5",
98
+ "fork-ts-checker-webpack-plugin": "^7.0.0-alpha.8",
98
99
  "fs-extra": "9.1.0",
99
100
  glob: "^7.1.7",
100
101
  handlebars: "^4.7.3",
@@ -103,7 +104,7 @@ var dependencies = {
103
104
  jest: "^26.0.1",
104
105
  "jest-css-modules": "^2.1.0",
105
106
  "json-schema": "^0.4.0",
106
- "jest-transform-yaml": "^0.1.1",
107
+ "jest-transform-yaml": "^1.0.0",
107
108
  lodash: "^4.17.21",
108
109
  minimatch: "3.0.4",
109
110
  "mini-css-extract-plugin": "^2.4.2",
@@ -111,8 +112,8 @@ var dependencies = {
111
112
  ora: "^5.3.0",
112
113
  postcss: "^8.1.0",
113
114
  process: "^0.11.10",
114
- "react-dev-utils": "^12.0.0-next.47",
115
- "react-hot-loader": "^4.12.21",
115
+ "react-dev-utils": "^12.0.0-next.60",
116
+ "react-hot-loader": "^4.13.0",
116
117
  "recursive-readdir": "^2.2.2",
117
118
  "replace-in-file": "^6.0.0",
118
119
  rollup: "^2.60.2",
@@ -128,20 +129,20 @@ var dependencies = {
128
129
  tar: "^6.1.2",
129
130
  "terser-webpack-plugin": "^5.1.3",
130
131
  util: "^0.12.3",
131
- webpack: "^5.48.0",
132
- "webpack-dev-server": "4.3.1",
132
+ webpack: "^5.66.0",
133
+ "webpack-dev-server": "^4.7.3",
133
134
  "webpack-node-externals": "^3.0.0",
134
135
  yaml: "^1.10.0",
135
136
  "yml-loader": "^2.1.0",
136
137
  yn: "^4.0.0"
137
138
  };
138
139
  var devDependencies = {
139
- "@backstage/backend-common": "^0.10.4",
140
+ "@backstage/backend-common": "^0.10.5",
140
141
  "@backstage/config": "^0.1.13",
141
- "@backstage/core-components": "^0.8.5",
142
+ "@backstage/core-components": "^0.8.6",
142
143
  "@backstage/core-plugin-api": "^0.6.0",
143
- "@backstage/core-app-api": "^0.5.0",
144
- "@backstage/dev-utils": "^0.2.18",
144
+ "@backstage/core-app-api": "^0.5.1",
145
+ "@backstage/dev-utils": "^0.2.19",
145
146
  "@backstage/test-utils": "^0.2.3",
146
147
  "@backstage/theme": "^0.2.14",
147
148
  "@types/diff": "^5.0.0",
@@ -157,8 +158,6 @@ var devDependencies = {
157
158
  "@types/rollup-plugin-postcss": "^2.0.0",
158
159
  "@types/tar": "^6.1.1",
159
160
  "@types/terser-webpack-plugin": "^5.0.4",
160
- "@types/webpack": "^5.28.0",
161
- "@types/webpack-dev-server": "^3.11.5",
162
161
  "@types/yarnpkg__lockfile": "^1.1.4",
163
162
  del: "^6.0.0",
164
163
  "mock-fs": "^5.1.0",
@@ -166,19 +165,19 @@ var devDependencies = {
166
165
  "ts-node": "^10.0.0"
167
166
  };
168
167
 
169
- var version$7 = "0.5.0";
168
+ var version$7 = "0.5.1";
170
169
 
171
- var version$6 = "0.8.5";
170
+ var version$6 = "0.8.6";
172
171
 
173
172
  var version$5 = "0.6.0";
174
173
 
175
- var version$4 = "0.2.18";
174
+ var version$4 = "0.2.19";
176
175
 
177
176
  var version$3 = "0.2.3";
178
177
 
179
178
  var version$2 = "0.2.14";
180
179
 
181
- var version$1 = "0.15.21";
180
+ var version$1 = "0.15.22";
182
181
 
183
182
  const packageVersions = {
184
183
  "@backstage/backend-common": version$9,
@@ -232,33 +231,32 @@ function registerCommands(program) {
232
231
  (opt, opts) => [...opts, opt],
233
232
  Array()
234
233
  ];
235
- program.command("app:build").description("Build an app for a production release").option("--stats", "Write bundle stats to output directory").option("--lax", "[DEPRECATED] - Do not require environment variables to be set").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-5edaf89e.cjs.js'); }).then((m) => m.default)));
236
- program.command("app:serve").description("Serve an app for local development").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-827f4da7.cjs.js'); }).then((m) => m.default)));
237
- program.command("backend:build").description("Build a backend plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-4b751d39.cjs.js'); }).then((m) => m.default)));
238
- program.command("backend:bundle").description("Bundle the backend into a deployment archive").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-5dd20114.cjs.js'); }).then((m) => m.default)));
239
- program.command("backend:dev").description("Start local development server with HMR for the backend").option("--check", "Enable type checking and linting").option("--inspect", "Enable debugger").option("--inspect-brk", "Enable debugger with await to attach debugger").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./dev-652ccda8.cjs.js'); }).then((m) => m.default)));
240
- program.command("create").storeOptionsAsProperties(false).description("Open up an interactive guide to creating new things in your app").option("--select <name>", "Select the thing you want to be creating upfront").option("--option <name>=<value>", "Pre-fill options for the creation process", (opt, arr) => [...arr, opt], []).option("--scope <scope>", "The scope to use for new packages").option("--npm-registry <URL>", "The package registry to use for new packages").option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-569a6334.cjs.js'); }).then((m) => m.default)));
241
- program.command("create-plugin").option("--backend", "Create plugin with the backend dependencies as default").description("Creates a new plugin in the current repository").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(lazy(() => Promise.resolve().then(function () { return require('./createPlugin-903347a6.cjs.js'); }).then((m) => m.default)));
242
- program.command("remove-plugin").description("[DEPRECATED] - Removes plugin in the current repository").action(lazy(() => Promise.resolve().then(function () { return require('./removePlugin-1319a40c.cjs.js'); }).then((m) => m.default)));
243
- program.command("plugin:build").description("Build a plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-0c9d57c4.cjs.js'); }).then((m) => m.default)));
244
- program.command("plugin:serve").description("Serves the dev/ folder of a plugin").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-ae256aeb.cjs.js'); }).then((m) => m.default)));
245
- program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-43b96174.cjs.js'); }).then((m) => m.default)));
246
- program.command("build").description("Build a package for publishing").option("--outputs <formats>", "List of formats to output [types,cjs,esm]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-14cbdf7a.cjs.js'); }).then((m) => m.default)));
247
- program.command("lint").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-e11ff942.cjs.js'); }).then((m) => m.default)));
248
- program.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('./testCommand-c1337273.cjs.js'); }).then((m) => m.default)));
249
- program.command("config:docs").option("--package <name>", "Only include the schema that applies to the given package").description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-f35800a9.cjs.js'); }).then((m) => m.default)));
250
- program.command("config:print").option("--package <name>", "Only load config schema that applies to the given package").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("--format <format>", "Format to print the configuration in, either json or yaml [yaml]").option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-4ef72f7a.cjs.js'); }).then((m) => m.default)));
251
- program.command("config:check").option("--package <name>", "Only load config schema that applies to the given package").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("Validate that the given configuration loads and matches schema").action(lazy(() => Promise.resolve().then(function () { return require('./validate-2b813bb7.cjs.js'); }).then((m) => m.default)));
252
- program.command("config:schema").option("--package <name>", "Only output config schema that applies to the given package").option("--format <format>", "Format to print the schema in, either json or yaml [yaml]").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-f3813c61.cjs.js'); }).then((m) => m.default)));
253
- program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-1eca6ea2.cjs.js'); }).then((m) => m.default)));
254
- 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-8565466a.cjs.js'); }).then((m) => m.default)));
255
- program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-3f32c628.cjs.js'); }).then((m) => m.pre)));
256
- program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-3f32c628.cjs.js'); }).then((m) => m.post)));
257
- program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-d035fec9.cjs.js'); }).then((m) => m.default)));
258
- 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-2f199d77.cjs.js'); }).then((m) => m.default)));
259
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-51d9773a.cjs.js'); }).then((m) => m.default)));
260
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-2ab087b6.cjs.js'); }).then((m) => m.default)));
261
- program.command("install [plugin-id]", { hidden: true }).option("--from <packageJsonFilePath>", "Install from a local package.json containing the installation recipe").description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-5994c0d6.cjs.js'); }).then((m) => m.default)));
234
+ program.command("app:build").description("Build an app for a production release").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-b4301c17.cjs.js'); }).then((m) => m.default)));
235
+ program.command("app:serve").description("Serve an app for local development").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-948b0129.cjs.js'); }).then((m) => m.default)));
236
+ program.command("backend:build").description("Build a backend plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-959e2ffa.cjs.js'); }).then((m) => m.default)));
237
+ program.command("backend:bundle").description("Bundle the backend into a deployment archive").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-a12319b7.cjs.js'); }).then((m) => m.default)));
238
+ program.command("backend:dev").description("Start local development server with HMR for the backend").option("--check", "Enable type checking and linting").option("--inspect", "Enable debugger").option("--inspect-brk", "Enable debugger with await to attach debugger").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./dev-76979eca.cjs.js'); }).then((m) => m.default)));
239
+ program.command("create").storeOptionsAsProperties(false).description("Open up an interactive guide to creating new things in your app").option("--select <name>", "Select the thing you want to be creating upfront").option("--option <name>=<value>", "Pre-fill options for the creation process", (opt, arr) => [...arr, opt], []).option("--scope <scope>", "The scope to use for new packages").option("--npm-registry <URL>", "The package registry to use for new packages").option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-db02de74.cjs.js'); }).then((m) => m.default)));
240
+ program.command("create-plugin").option("--backend", "Create plugin with the backend dependencies as default").description("Creates a new plugin in the current repository").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(lazy(() => Promise.resolve().then(function () { return require('./createPlugin-10786f3f.cjs.js'); }).then((m) => m.default)));
241
+ program.command("plugin:build").description("Build a plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-c7b2ea88.cjs.js'); }).then((m) => m.default)));
242
+ program.command("plugin:serve").description("Serves the dev/ folder of a plugin").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-a81d4924.cjs.js'); }).then((m) => m.default)));
243
+ program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-49413933.cjs.js'); }).then((m) => m.default)));
244
+ program.command("build").description("Build a package for publishing").option("--outputs <formats>", "List of formats to output [types,cjs,esm]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-411cb39c.cjs.js'); }).then((m) => m.default)));
245
+ program.command("lint").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-3a07e770.cjs.js'); }).then((m) => m.default)));
246
+ program.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('./testCommand-c91c3e8a.cjs.js'); }).then((m) => m.default)));
247
+ program.command("config:docs").option("--package <name>", "Only include the schema that applies to the given package").description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-701e1b43.cjs.js'); }).then((m) => m.default)));
248
+ program.command("config:print").option("--package <name>", "Only load config schema that applies to the given package").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("--format <format>", "Format to print the configuration in, either json or yaml [yaml]").option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-e49ed821.cjs.js'); }).then((m) => m.default)));
249
+ program.command("config:check").option("--package <name>", "Only load config schema that applies to the given package").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("Validate that the given configuration loads and matches schema").action(lazy(() => Promise.resolve().then(function () { return require('./validate-ee0ea71a.cjs.js'); }).then((m) => m.default)));
250
+ program.command("config:schema").option("--package <name>", "Only output config schema that applies to the given package").option("--format <format>", "Format to print the schema in, either json or yaml [yaml]").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-cd5d09d2.cjs.js'); }).then((m) => m.default)));
251
+ program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-d7017b61.cjs.js'); }).then((m) => m.default)));
252
+ 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-90b05512.cjs.js'); }).then((m) => m.default)));
253
+ program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6d555709.cjs.js'); }).then((m) => m.pre)));
254
+ program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6d555709.cjs.js'); }).then((m) => m.post)));
255
+ program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5638771f.cjs.js'); }).then((m) => m.default)));
256
+ 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-df8a4418.cjs.js'); }).then((m) => m.default)));
257
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-d5e2da99.cjs.js'); }).then((m) => m.default)));
258
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-82d6df9a.cjs.js'); }).then((m) => m.default)));
259
+ program.command("install [plugin-id]", { hidden: true }).option("--from <packageJsonFilePath>", "Install from a local package.json containing the installation recipe").description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-c1cc1699.cjs.js'); }).then((m) => m.default)));
262
260
  }
263
261
  function lazy(getActionFunc) {
264
262
  return async (...args) => {
@@ -302,4 +300,4 @@ exports.devDependencies = devDependencies;
302
300
  exports.paths = paths;
303
301
  exports.version = version;
304
302
  exports.version$1 = version$8;
305
- //# sourceMappingURL=index-75ca54b4.cjs.js.map
303
+ //# sourceMappingURL=index-34d6a6a3.cjs.js.map
@@ -3,7 +3,7 @@
3
3
  var fs = require('fs-extra');
4
4
  var chalk = require('chalk');
5
5
  var yaml = require('yaml');
6
- var index$1 = require('./index-75ca54b4.cjs.js');
6
+ var index$1 = require('./index-34d6a6a3.cjs.js');
7
7
  var crypto = require('crypto');
8
8
  var openBrowser = require('react-dev-utils/openBrowser');
9
9
  var request = require('@octokit/request');
@@ -128,4 +128,4 @@ ${yaml.stringify(config)}`;
128
128
  };
129
129
 
130
130
  exports["default"] = index;
131
- //# sourceMappingURL=index-51d9773a.cjs.js.map
131
+ //# sourceMappingURL=index-d5e2da99.cjs.js.map
@@ -4,8 +4,8 @@ var fs = require('fs-extra');
4
4
  var path = require('path');
5
5
  var os = require('os');
6
6
  var tar = require('tar');
7
- var index = require('./index-75ca54b4.cjs.js');
8
- var run = require('./run-47e305d4.cjs.js');
7
+ var index = require('./index-34d6a6a3.cjs.js');
8
+ var run = require('./run-596a22b2.cjs.js');
9
9
  var getPackages = require('@manypkg/get-packages');
10
10
  var PackageGraph = require('./PackageGraph-7a0d3a83.cjs.js');
11
11
 
@@ -103,4 +103,4 @@ async function moveToDistWorkspace(workspaceDir, localPackages) {
103
103
  }
104
104
 
105
105
  exports.createDistWorkspace = createDistWorkspace;
106
- //# sourceMappingURL=index-646d7f9b.cjs.js.map
106
+ //# sourceMappingURL=index-de296eda.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-75ca54b4.cjs.js');
3
+ var index = require('./index-34d6a6a3.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-47e305d4.cjs.js');
5
+ var run = require('./run-596a22b2.cjs.js');
6
6
  var Lockfile = require('./Lockfile-35661afa.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -43,4 +43,4 @@ var info = async () => {
43
43
  };
44
44
 
45
45
  exports["default"] = info;
46
- //# sourceMappingURL=info-2ab087b6.cjs.js.map
46
+ //# sourceMappingURL=info-82d6df9a.cjs.js.map
@@ -3,12 +3,12 @@
3
3
  var fs = require('fs-extra');
4
4
  require('semver');
5
5
  require('@yarnpkg/lockfile');
6
- var packages = require('./packages-c5e13db7.cjs.js');
7
- var index = require('./index-75ca54b4.cjs.js');
6
+ var packages = require('./packages-deee570e.cjs.js');
7
+ var index = require('./index-34d6a6a3.cjs.js');
8
8
  var chalk = require('chalk');
9
9
  var sortBy = require('lodash/sortBy');
10
10
  var groupBy = require('lodash/groupBy');
11
- var run = require('./run-47e305d4.cjs.js');
11
+ var run = require('./run-596a22b2.cjs.js');
12
12
  require('minimatch');
13
13
  require('@manypkg/get-packages');
14
14
  require('commander');
@@ -240,4 +240,4 @@ var install = async (pluginId, cmd) => {
240
240
  };
241
241
 
242
242
  exports["default"] = install;
243
- //# sourceMappingURL=install-5994c0d6.cjs.js.map
243
+ //# sourceMappingURL=install-c1cc1699.cjs.js.map