@backstage/cli 0.17.0-next.1 → 0.17.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 (54) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/config/jest.js +13 -2
  3. package/config/jestCachingModuleLoader.js +81 -0
  4. package/dist/cjs/{PackageGraph-16f1061f.cjs.js → PackageGraph-3e77ee6e.cjs.js} +2 -2
  5. package/dist/cjs/{backend-f9f50e75.cjs.js → backend-bc67f880.cjs.js} +2 -2
  6. package/dist/cjs/{build-0513da0e.cjs.js → build-21b554f7.cjs.js} +4 -4
  7. package/dist/cjs/{build-b3e5bac5.cjs.js → build-877d1df6.cjs.js} +11 -11
  8. package/dist/cjs/{build-d4cd3a2e.cjs.js → build-ca08044a.cjs.js} +7 -7
  9. package/dist/cjs/{build-7bf42837.cjs.js → build-df327126.cjs.js} +4 -4
  10. package/dist/cjs/{buildBackend-8393555a.cjs.js → buildBackend-f6232b70.cjs.js} +8 -8
  11. package/dist/cjs/{buildWorkspace-d27545b1.cjs.js → buildWorkspace-dd63eb8f.cjs.js} +7 -7
  12. package/dist/cjs/{bump-e53bf082.cjs.js → bump-5b1d0872.cjs.js} +5 -5
  13. package/dist/cjs/{bundle-6dc25451.cjs.js → bundle-1756d113.cjs.js} +7 -7
  14. package/dist/cjs/{bundle-4387b584.cjs.js → bundle-c31e0e57.cjs.js} +2 -2
  15. package/dist/cjs/{clean-0167718f.cjs.js → clean-177bd68f.cjs.js} +2 -2
  16. package/dist/cjs/{config-c35fb146.cjs.js → config-7f37bd42.cjs.js} +3 -3
  17. package/dist/cjs/{create-29040913.cjs.js → create-f41f4bb5.cjs.js} +5 -5
  18. package/dist/cjs/{createDistWorkspace-78bc2423.cjs.js → createDistWorkspace-9fa09826.cjs.js} +6 -6
  19. package/dist/cjs/{createPlugin-61e47eb4.cjs.js → createPlugin-7d08c1c8.cjs.js} +4 -4
  20. package/dist/cjs/{dev-8a921c22.cjs.js → dev-135bd80e.cjs.js} +5 -5
  21. package/dist/cjs/{diff-04935f5e.cjs.js → diff-dcbdc556.cjs.js} +2 -2
  22. package/dist/cjs/{docs-3e2ba904.cjs.js → docs-15bbb0ba.cjs.js} +4 -4
  23. package/dist/cjs/{fix-dbb0b5a2.cjs.js → fix-506432ae.cjs.js} +3 -3
  24. package/dist/cjs/{index-b14c39a3.cjs.js → index-0872bb40.cjs.js} +10 -10
  25. package/dist/cjs/{index-f2710726.cjs.js → index-34888cb0.cjs.js} +2 -2
  26. package/dist/cjs/{index-4cae01fa.cjs.js → index-383b6870.cjs.js} +60 -59
  27. package/dist/cjs/{index-65f3429d.cjs.js → index-8ed5752d.cjs.js} +11 -11
  28. package/dist/cjs/{info-b7c8eddf.cjs.js → info-fba1c411.cjs.js} +3 -3
  29. package/dist/cjs/{install-26bfd33e.cjs.js → install-db0b287c.cjs.js} +4 -4
  30. package/dist/cjs/{lint-5c013111.cjs.js → lint-4f49679d.cjs.js} +2 -2
  31. package/dist/cjs/{lint-2e7aa33c.cjs.js → lint-6ee83912.cjs.js} +3 -3
  32. package/dist/cjs/{lint-da146035.cjs.js → lint-ef3857ec.cjs.js} +6 -4
  33. package/dist/cjs/{list-deprecations-175c706a.cjs.js → list-deprecations-0c924dc1.cjs.js} +3 -3
  34. package/dist/cjs/{oldBuild-f6ca0fac.cjs.js → oldBuild-26acc2c8.cjs.js} +4 -4
  35. package/dist/cjs/{pack-606a413e.cjs.js → pack-d58d933e.cjs.js} +2 -2
  36. package/dist/cjs/{packageLintConfigs-ec6faed6.cjs.js → packageLintConfigs-2fbc70fd.cjs.js} +4 -4
  37. package/dist/cjs/{packageRole-d01c1251.cjs.js → packageRole-4fedba85.cjs.js} +3 -3
  38. package/dist/cjs/{packageRoles-b3c0383d.cjs.js → packageRoles-374d8e8a.cjs.js} +2 -2
  39. package/dist/cjs/{packageScripts-890db0a6.cjs.js → packageScripts-20f6d232.cjs.js} +4 -4
  40. package/dist/cjs/{packager-0dae5dec.cjs.js → packager-31d63a18.cjs.js} +3 -3
  41. package/dist/cjs/{packages-c7fb6272.cjs.js → packages-93d09ae7.cjs.js} +3 -3
  42. package/dist/cjs/{paths-da2fc596.cjs.js → paths-330457b7.cjs.js} +6 -6
  43. package/dist/cjs/{print-b19d081a.cjs.js → print-7057a821.cjs.js} +4 -4
  44. package/dist/cjs/{run-a49a7d20.cjs.js → run-fc645f92.cjs.js} +2 -2
  45. package/dist/cjs/{schema-16bd5281.cjs.js → schema-30d5277a.cjs.js} +4 -4
  46. package/dist/cjs/{serve-3cb4b9ff.cjs.js → serve-a4add951.cjs.js} +7 -7
  47. package/dist/cjs/{serve-27398949.cjs.js → serve-fd338b99.cjs.js} +8 -8
  48. package/dist/cjs/{server-9fe8aded.cjs.js → server-a426dae8.cjs.js} +2 -2
  49. package/dist/cjs/{tasks-5a3ab3f9.cjs.js → tasks-02810e03.cjs.js} +2 -2
  50. package/dist/cjs/{testCommand-571f1af3.cjs.js → testCommand-a355f8df.cjs.js} +3 -3
  51. package/dist/cjs/{validate-df31b58e.cjs.js → validate-c0818020.cjs.js} +4 -4
  52. package/dist/index.cjs.js +1 -1
  53. package/package.json +14 -13
  54. package/templates/default-plugin/package.json.hbs +2 -2
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var index = require('./index-4cae01fa.cjs.js');
5
- var backend = require('./backend-f9f50e75.cjs.js');
4
+ var index = require('./index-383b6870.cjs.js');
5
+ var backend = require('./backend-bc67f880.cjs.js');
6
6
  require('commander');
7
7
  require('chalk');
8
8
  require('semver');
9
9
  require('@backstage/cli-common');
10
10
  require('@backstage/errors');
11
11
  require('webpack');
12
- require('./paths-da2fc596.cjs.js');
12
+ require('./paths-330457b7.cjs.js');
13
13
  require('path');
14
14
  require('fork-ts-checker-webpack-plugin');
15
15
  require('html-webpack-plugin');
@@ -19,7 +19,7 @@ require('webpack-node-externals');
19
19
  require('@manypkg/get-packages');
20
20
  require('mini-css-extract-plugin');
21
21
  require('./svgrTemplate-550efce6.cjs.js');
22
- require('./run-a49a7d20.cjs.js');
22
+ require('./run-fc645f92.cjs.js');
23
23
  require('child_process');
24
24
  require('util');
25
25
  require('eslint-webpack-plugin');
@@ -41,4 +41,4 @@ var dev = async (cmd) => {
41
41
  };
42
42
 
43
43
  exports["default"] = dev;
44
- //# sourceMappingURL=dev-8a921c22.cjs.js.map
44
+ //# sourceMappingURL=dev-135bd80e.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-4cae01fa.cjs.js');
10
+ var index = require('./index-383b6870.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
@@ -380,4 +380,4 @@ async function readPluginData() {
380
380
  }
381
381
 
382
382
  exports["default"] = diff;
383
- //# sourceMappingURL=diff-04935f5e.cjs.js.map
383
+ //# sourceMappingURL=diff-dcbdc556.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-c35fb146.cjs.js');
5
+ var config = require('./config-7f37bd42.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-4cae01fa.cjs.js');
7
+ require('./index-383b6870.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-16f1061f.cjs.js');
15
+ require('./PackageGraph-3e77ee6e.cjs.js');
16
16
  require('path');
17
17
  require('child_process');
18
18
  require('util');
@@ -33,4 +33,4 @@ var docs = async (cmd) => {
33
33
  };
34
34
 
35
35
  exports["default"] = docs;
36
- //# sourceMappingURL=docs-3e2ba904.cjs.js.map
36
+ //# sourceMappingURL=docs-15bbb0ba.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-4cae01fa.cjs.js');
3
+ var index = require('./index-383b6870.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-16f1061f.cjs.js');
8
+ var PackageGraph = require('./PackageGraph-3e77ee6e.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -113,4 +113,4 @@ async function command() {
113
113
  }
114
114
 
115
115
  exports.command = command;
116
- //# sourceMappingURL=fix-dbb0b5a2.cjs.js.map
116
+ //# sourceMappingURL=fix-506432ae.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var index = require('./index-4cae01fa.cjs.js');
5
- var backend = require('./backend-f9f50e75.cjs.js');
4
+ var index = require('./index-383b6870.cjs.js');
5
+ var backend = require('./backend-bc67f880.cjs.js');
6
6
  require('yn');
7
7
  require('path');
8
8
  require('webpack');
@@ -15,21 +15,21 @@ require('run-script-webpack-plugin');
15
15
  require('webpack-node-externals');
16
16
  require('@backstage/cli-common');
17
17
  require('@manypkg/get-packages');
18
- require('./paths-da2fc596.cjs.js');
18
+ require('./paths-330457b7.cjs.js');
19
19
  require('mini-css-extract-plugin');
20
- require('./run-a49a7d20.cjs.js');
20
+ require('./run-fc645f92.cjs.js');
21
21
  require('eslint-webpack-plugin');
22
22
  require('lodash/pickBy');
23
23
  var chalk = require('chalk');
24
24
  require('webpack-dev-server');
25
25
  require('react-dev-utils/openBrowser');
26
26
  var uniq = require('lodash/uniq');
27
- var server = require('./server-9fe8aded.cjs.js');
28
- var config = require('./config-c35fb146.cjs.js');
27
+ var server = require('./server-a426dae8.cjs.js');
28
+ var config = require('./config-7f37bd42.cjs.js');
29
29
  var Lockfile = require('./Lockfile-276d1251.cjs.js');
30
30
  require('minimatch');
31
- var lint = require('./lint-da146035.cjs.js');
32
- var packageRoles = require('./packageRoles-b3c0383d.cjs.js');
31
+ var lint = require('./lint-ef3857ec.cjs.js');
32
+ var packageRoles = require('./packageRoles-374d8e8a.cjs.js');
33
33
  require('commander');
34
34
  require('semver');
35
35
  require('@backstage/errors');
@@ -38,7 +38,7 @@ require('child_process');
38
38
  require('util');
39
39
  require('@backstage/config-loader');
40
40
  require('@backstage/config');
41
- require('./PackageGraph-16f1061f.cjs.js');
41
+ require('./PackageGraph-3e77ee6e.cjs.js');
42
42
  require('@yarnpkg/lockfile');
43
43
  require('lodash/partition');
44
44
  require('zod');
@@ -121,4 +121,4 @@ async function command(cmd) {
121
121
  }
122
122
 
123
123
  exports.command = command;
124
- //# sourceMappingURL=index-b14c39a3.cjs.js.map
124
+ //# sourceMappingURL=index-0872bb40.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-4cae01fa.cjs.js');
6
+ var index$1 = require('./index-383b6870.cjs.js');
7
7
  var crypto = require('crypto');
8
8
  var openBrowser = require('react-dev-utils/openBrowser');
9
9
  var request = require('@octokit/request');
@@ -127,4 +127,4 @@ ${yaml.stringify(config)}`;
127
127
  };
128
128
 
129
129
  exports["default"] = index;
130
- //# sourceMappingURL=index-f2710726.cjs.js.map
130
+ //# sourceMappingURL=index-34888cb0.cjs.js.map
@@ -45,13 +45,13 @@ class NotFoundError extends CustomError {
45
45
 
46
46
  const paths = cliCommon.findPaths(__dirname);
47
47
 
48
- var version$a = "0.13.2-next.1";
48
+ var version$a = "0.13.2";
49
49
 
50
- var version$9 = "0.17.0-next.1";
50
+ var version$9 = "0.17.0";
51
51
  var dependencies = {
52
52
  "@backstage/cli-common": "^0.1.8",
53
53
  "@backstage/config": "^1.0.0",
54
- "@backstage/config-loader": "^1.0.1-next.0",
54
+ "@backstage/config-loader": "^1.1.0",
55
55
  "@backstage/errors": "^1.0.0",
56
56
  "@backstage/release-manifests": "^0.0.2",
57
57
  "@backstage/types": "^1.0.0",
@@ -64,7 +64,7 @@ var dependencies = {
64
64
  "@rollup/plugin-node-resolve": "^13.0.0",
65
65
  "@rollup/plugin-yaml": "^3.1.0",
66
66
  "@spotify/eslint-config-base": "^13.0.0",
67
- "@spotify/eslint-config-react": "^12.0.0",
67
+ "@spotify/eslint-config-react": "^13.0.0",
68
68
  "@spotify/eslint-config-typescript": "^13.0.0",
69
69
  "@sucrase/jest-plugin": "^2.1.1",
70
70
  "@sucrase/webpack-loader": "^2.0.0",
@@ -104,6 +104,7 @@ var dependencies = {
104
104
  "html-webpack-plugin": "^5.3.1",
105
105
  inquirer: "^8.2.0",
106
106
  jest: "^27.5.1",
107
+ "jest-runtime": "^27.5.1",
107
108
  "jest-css-modules": "^2.1.0",
108
109
  "jest-transform-yaml": "^1.0.0",
109
110
  "json-schema": "^0.4.0",
@@ -111,7 +112,7 @@ var dependencies = {
111
112
  "mini-css-extract-plugin": "^2.4.2",
112
113
  minimatch: "5.0.1",
113
114
  "node-libs-browser": "^2.2.1",
114
- "npm-packlist": "^3.0.0",
115
+ "npm-packlist": "^5.0.0",
115
116
  ora: "^5.3.0",
116
117
  postcss: "^8.1.0",
117
118
  process: "^0.11.10",
@@ -140,13 +141,13 @@ var dependencies = {
140
141
  zod: "^3.11.6"
141
142
  };
142
143
  var devDependencies = {
143
- "@backstage/backend-common": "^0.13.2-next.1",
144
+ "@backstage/backend-common": "^0.13.2",
144
145
  "@backstage/config": "^1.0.0",
145
- "@backstage/core-app-api": "^1.0.1-next.0",
146
- "@backstage/core-components": "^0.9.3-next.0",
147
- "@backstage/core-plugin-api": "^1.0.0",
148
- "@backstage/dev-utils": "^1.0.1-next.0",
149
- "@backstage/test-utils": "^1.0.1-next.1",
146
+ "@backstage/core-app-api": "^1.0.1",
147
+ "@backstage/core-components": "^0.9.3",
148
+ "@backstage/core-plugin-api": "^1.0.1",
149
+ "@backstage/dev-utils": "^1.0.1",
150
+ "@backstage/test-utils": "^1.0.1",
150
151
  "@backstage/theme": "^0.2.15",
151
152
  "@types/diff": "^5.0.0",
152
153
  "@types/express": "^4.17.6",
@@ -155,7 +156,7 @@ var devDependencies = {
155
156
  "@types/inquirer": "^8.1.3",
156
157
  "@types/minimatch": "^3.0.5",
157
158
  "@types/mock-fs": "^4.13.0",
158
- "@types/node": "^14.14.32",
159
+ "@types/node": "^16.11.26",
159
160
  "@types/npm-packlist": "^3.0.0",
160
161
  "@types/recursive-readdir": "^2.2.0",
161
162
  "@types/rollup-plugin-peer-deps-external": "^2.2.0",
@@ -173,19 +174,19 @@ var devDependencies = {
173
174
 
174
175
  var version$8 = "1.0.0";
175
176
 
176
- var version$7 = "1.0.1-next.0";
177
+ var version$7 = "1.0.1";
177
178
 
178
- var version$6 = "0.9.3-next.0";
179
+ var version$6 = "0.9.3";
179
180
 
180
- var version$5 = "1.0.0";
181
+ var version$5 = "1.0.1";
181
182
 
182
- var version$4 = "1.0.1-next.0";
183
+ var version$4 = "1.0.1";
183
184
 
184
- var version$3 = "1.0.1-next.1";
185
+ var version$3 = "1.0.1";
185
186
 
186
187
  var version$2 = "0.2.15";
187
188
 
188
- var version$1 = "1.1.0-next.1";
189
+ var version$1 = "1.1.0";
189
190
 
190
191
  const packageVersions = {
191
192
  "@backstage/backend-common": version$a,
@@ -240,57 +241,57 @@ const configOption = [
240
241
  ];
241
242
  function registerRepoCommand(program) {
242
243
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
243
- command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-b3e5bac5.cjs.js'); }).then((m) => m.command)));
244
- command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-2e7aa33c.cjs.js'); }).then((m) => m.command)));
245
- command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-175c706a.cjs.js'); }).then((m) => m.command)));
244
+ command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-877d1df6.cjs.js'); }).then((m) => m.command)));
245
+ command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-6ee83912.cjs.js'); }).then((m) => m.command)));
246
+ command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-0c924dc1.cjs.js'); }).then((m) => m.command)));
246
247
  }
247
248
  function registerScriptCommand(program) {
248
249
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
249
- 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("--inspect-brk", "Enable debugger in Node.js environments, breaking before code starts").action(lazy(() => Promise.resolve().then(function () { return require('./index-b14c39a3.cjs.js'); }).then((m) => m.command)));
250
- command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => [...opts, opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-65f3429d.cjs.js'); }).then((m) => m.command)));
251
- command.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-5c013111.cjs.js'); }).then((m) => m.default)));
252
- 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('./testCommand-571f1af3.cjs.js'); }).then((m) => m.default)));
253
- 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-dbb0b5a2.cjs.js'); }).then((m) => m.command)));
254
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0167718f.cjs.js'); }).then((m) => m.default)));
255
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-606a413e.cjs.js'); }).then((m) => m.pre)));
256
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-606a413e.cjs.js'); }).then((m) => m.post)));
250
+ 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("--inspect-brk", "Enable debugger in Node.js environments, breaking before code starts").action(lazy(() => Promise.resolve().then(function () { return require('./index-0872bb40.cjs.js'); }).then((m) => m.command)));
251
+ command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => [...opts, opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-8ed5752d.cjs.js'); }).then((m) => m.command)));
252
+ command.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-4f49679d.cjs.js'); }).then((m) => m.default)));
253
+ 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('./testCommand-a355f8df.cjs.js'); }).then((m) => m.default)));
254
+ 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-506432ae.cjs.js'); }).then((m) => m.command)));
255
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-177bd68f.cjs.js'); }).then((m) => m.default)));
256
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d58d933e.cjs.js'); }).then((m) => m.pre)));
257
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d58d933e.cjs.js'); }).then((m) => m.post)));
257
258
  }
258
259
  function registerMigrateCommand(program) {
259
260
  const command = program.command("migrate [command]").description("Migration utilities");
260
- 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-d01c1251.cjs.js'); }).then((m) => m.default)));
261
- command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-890db0a6.cjs.js'); }).then((m) => m.command)));
262
- command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-ec6faed6.cjs.js'); }).then((m) => m.command)));
261
+ 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-4fedba85.cjs.js'); }).then((m) => m.default)));
262
+ command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-20f6d232.cjs.js'); }).then((m) => m.command)));
263
+ command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-2fbc70fd.cjs.js'); }).then((m) => m.command)));
263
264
  }
264
265
  function registerCommands(program) {
265
- program.command("app:build").description("Build an app for a production release [DEPRECATED]").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-d4cd3a2e.cjs.js'); }).then((m) => m.default)));
266
- program.command("app:serve").description("Serve an app for local development [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-27398949.cjs.js'); }).then((m) => m.default)));
267
- program.command("backend:build").description("Build a backend plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-0513da0e.cjs.js'); }).then((m) => m.default)));
268
- program.command("backend:bundle").description("Bundle the backend into a deployment archive [DEPRECATED]").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-6dc25451.cjs.js'); }).then((m) => m.default)));
269
- program.command("backend:dev").description("Start local development server with HMR for the backend [DEPRECATED]").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-8a921c22.cjs.js'); }).then((m) => m.default)));
270
- 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-29040913.cjs.js'); }).then((m) => m.default)));
271
- 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-61e47eb4.cjs.js'); }).then((m) => m.default)));
272
- program.command("plugin:build").description("Build a plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-7bf42837.cjs.js'); }).then((m) => m.default)));
273
- program.command("plugin:serve").description("Serves the dev/ folder of a plugin [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-3cb4b9ff.cjs.js'); }).then((m) => m.default)));
274
- 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-04935f5e.cjs.js'); }).then((m) => m.default)));
275
- program.command("build").description("Build a package for publishing [DEPRECATED]").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('./oldBuild-f6ca0fac.cjs.js'); }).then((m) => m.default)));
276
- program.command("lint").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./lint-5c013111.cjs.js'); }).then((m) => m.default)));
277
- program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./testCommand-571f1af3.cjs.js'); }).then((m) => m.default)));
278
- 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-3e2ba904.cjs.js'); }).then((m) => m.default)));
279
- 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-b19d081a.cjs.js'); }).then((m) => m.default)));
280
- 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-df31b58e.cjs.js'); }).then((m) => m.default)));
281
- 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-16bd5281.cjs.js'); }).then((m) => m.default)));
266
+ program.command("app:build").description("Build an app for a production release [DEPRECATED]").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-ca08044a.cjs.js'); }).then((m) => m.default)));
267
+ program.command("app:serve").description("Serve an app for local development [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-fd338b99.cjs.js'); }).then((m) => m.default)));
268
+ program.command("backend:build").description("Build a backend plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-21b554f7.cjs.js'); }).then((m) => m.default)));
269
+ program.command("backend:bundle").description("Bundle the backend into a deployment archive [DEPRECATED]").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-1756d113.cjs.js'); }).then((m) => m.default)));
270
+ program.command("backend:dev").description("Start local development server with HMR for the backend [DEPRECATED]").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-135bd80e.cjs.js'); }).then((m) => m.default)));
271
+ 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-f41f4bb5.cjs.js'); }).then((m) => m.default)));
272
+ 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-7d08c1c8.cjs.js'); }).then((m) => m.default)));
273
+ program.command("plugin:build").description("Build a plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-df327126.cjs.js'); }).then((m) => m.default)));
274
+ program.command("plugin:serve").description("Serves the dev/ folder of a plugin [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-a4add951.cjs.js'); }).then((m) => m.default)));
275
+ 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-dcbdc556.cjs.js'); }).then((m) => m.default)));
276
+ program.command("build").description("Build a package for publishing [DEPRECATED]").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('./oldBuild-26acc2c8.cjs.js'); }).then((m) => m.default)));
277
+ program.command("lint").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./lint-4f49679d.cjs.js'); }).then((m) => m.default)));
278
+ program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./testCommand-a355f8df.cjs.js'); }).then((m) => m.default)));
279
+ 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-15bbb0ba.cjs.js'); }).then((m) => m.default)));
280
+ 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-7057a821.cjs.js'); }).then((m) => m.default)));
281
+ 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-c0818020.cjs.js'); }).then((m) => m.default)));
282
+ 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-30d5277a.cjs.js'); }).then((m) => m.default)));
282
283
  registerRepoCommand(program);
283
284
  registerScriptCommand(program);
284
285
  registerMigrateCommand(program);
285
- program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-e53bf082.cjs.js'); }).then((m) => m.default)));
286
- 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-da146035.cjs.js'); }).then((m) => m.default)));
287
- program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-606a413e.cjs.js'); }).then((m) => m.pre)));
288
- program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-606a413e.cjs.js'); }).then((m) => m.post)));
289
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0167718f.cjs.js'); }).then((m) => m.default)));
290
- 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-d27545b1.cjs.js'); }).then((m) => m.default)));
291
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-f2710726.cjs.js'); }).then((m) => m.default)));
292
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-b7c8eddf.cjs.js'); }).then((m) => m.default)));
293
- 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-26bfd33e.cjs.js'); }).then((m) => m.default)));
286
+ program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-5b1d0872.cjs.js'); }).then((m) => m.default)));
287
+ 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-ef3857ec.cjs.js'); }).then((m) => m.default)));
288
+ program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d58d933e.cjs.js'); }).then((m) => m.pre)));
289
+ program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d58d933e.cjs.js'); }).then((m) => m.post)));
290
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-177bd68f.cjs.js'); }).then((m) => m.default)));
291
+ 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-dd63eb8f.cjs.js'); }).then((m) => m.default)));
292
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-34888cb0.cjs.js'); }).then((m) => m.default)));
293
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-fba1c411.cjs.js'); }).then((m) => m.default)));
294
+ 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-db0b287c.cjs.js'); }).then((m) => m.default)));
294
295
  }
295
296
  function lazy(getActionFunc) {
296
297
  return async (...args) => {
@@ -334,4 +335,4 @@ exports.devDependencies = devDependencies;
334
335
  exports.paths = paths;
335
336
  exports.version = version;
336
337
  exports.version$1 = version$9;
337
- //# sourceMappingURL=index-4cae01fa.cjs.js.map
338
+ //# sourceMappingURL=index-383b6870.cjs.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-0dae5dec.cjs.js');
4
- var packageRoles = require('./packageRoles-b3c0383d.cjs.js');
5
- var index = require('./index-4cae01fa.cjs.js');
6
- var buildBackend = require('./buildBackend-8393555a.cjs.js');
3
+ var packager = require('./packager-31d63a18.cjs.js');
4
+ var packageRoles = require('./packageRoles-374d8e8a.cjs.js');
5
+ var index = require('./index-383b6870.cjs.js');
6
+ var buildBackend = require('./buildBackend-f6232b70.cjs.js');
7
7
  require('fs-extra');
8
8
  require('rollup');
9
9
  require('chalk');
@@ -33,25 +33,25 @@ require('react-dev-utils/ModuleScopePlugin');
33
33
  require('run-script-webpack-plugin');
34
34
  require('webpack-node-externals');
35
35
  require('@manypkg/get-packages');
36
- require('./paths-da2fc596.cjs.js');
36
+ require('./paths-330457b7.cjs.js');
37
37
  require('mini-css-extract-plugin');
38
- require('./run-a49a7d20.cjs.js');
38
+ require('./run-fc645f92.cjs.js');
39
39
  require('child_process');
40
40
  require('util');
41
41
  require('eslint-webpack-plugin');
42
42
  require('lodash/pickBy');
43
- require('./bundle-4387b584.cjs.js');
43
+ require('./bundle-c31e0e57.cjs.js');
44
44
  require('yn');
45
45
  require('react-dev-utils/FileSizeReporter');
46
46
  require('react-dev-utils/formatWebpackMessages');
47
47
  require('webpack-dev-server');
48
48
  require('react-dev-utils/openBrowser');
49
- require('./config-c35fb146.cjs.js');
49
+ require('./config-7f37bd42.cjs.js');
50
50
  require('@backstage/config-loader');
51
51
  require('@backstage/config');
52
- require('./PackageGraph-16f1061f.cjs.js');
52
+ require('./PackageGraph-3e77ee6e.cjs.js');
53
53
  require('tar');
54
- require('./createDistWorkspace-78bc2423.cjs.js');
54
+ require('./createDistWorkspace-9fa09826.cjs.js');
55
55
  require('lodash/partition');
56
56
  require('npm-packlist');
57
57
 
@@ -89,4 +89,4 @@ async function command(cmd) {
89
89
  }
90
90
 
91
91
  exports.command = command;
92
- //# sourceMappingURL=index-65f3429d.cjs.js.map
92
+ //# sourceMappingURL=index-8ed5752d.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-4cae01fa.cjs.js');
3
+ var index = require('./index-383b6870.cjs.js');
4
4
  var os = require('os');
5
- var run = require('./run-a49a7d20.cjs.js');
5
+ var run = require('./run-fc645f92.cjs.js');
6
6
  var Lockfile = require('./Lockfile-276d1251.cjs.js');
7
7
  require('minimatch');
8
8
  require('@manypkg/get-packages');
@@ -42,4 +42,4 @@ var info = async () => {
42
42
  };
43
43
 
44
44
  exports["default"] = info;
45
- //# sourceMappingURL=info-b7c8eddf.cjs.js.map
45
+ //# sourceMappingURL=info-fba1c411.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-c7fb6272.cjs.js');
7
- var index = require('./index-4cae01fa.cjs.js');
6
+ var packages = require('./packages-93d09ae7.cjs.js');
7
+ var index = require('./index-383b6870.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-a49a7d20.cjs.js');
11
+ var run = require('./run-fc645f92.cjs.js');
12
12
  require('minimatch');
13
13
  require('@manypkg/get-packages');
14
14
  require('commander');
@@ -239,4 +239,4 @@ var install = async (pluginId, cmd) => {
239
239
  };
240
240
 
241
241
  exports["default"] = install;
242
- //# sourceMappingURL=install-26bfd33e.cjs.js.map
242
+ //# sourceMappingURL=install-db0b287c.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-4cae01fa.cjs.js');
3
+ var index = require('./index-383b6870.cjs.js');
4
4
  var eslint = require('eslint');
5
5
  require('commander');
6
6
  require('chalk');
@@ -31,4 +31,4 @@ var lint = async (cmd, cmdArgs) => {
31
31
  };
32
32
 
33
33
  exports["default"] = lint;
34
- //# sourceMappingURL=lint-5c013111.cjs.js.map
34
+ //# sourceMappingURL=lint-4f49679d.cjs.js.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var PackageGraph = require('./PackageGraph-16f1061f.cjs.js');
5
+ var PackageGraph = require('./PackageGraph-3e77ee6e.cjs.js');
6
6
  var parallel = require('./parallel-8286d3fa.cjs.js');
7
- var index = require('./index-4cae01fa.cjs.js');
7
+ var index = require('./index-383b6870.cjs.js');
8
8
  require('@manypkg/get-packages');
9
9
  require('@backstage/errors');
10
10
  require('child_process');
@@ -88,4 +88,4 @@ async function command(cmd) {
88
88
  }
89
89
 
90
90
  exports.command = command;
91
- //# sourceMappingURL=lint-2e7aa33c.cjs.js.map
91
+ //# sourceMappingURL=lint-6ee83912.cjs.js.map
@@ -3,9 +3,9 @@
3
3
  var Lockfile = require('./Lockfile-276d1251.cjs.js');
4
4
  require('minimatch');
5
5
  require('@manypkg/get-packages');
6
- require('./run-a49a7d20.cjs.js');
6
+ require('./run-fc645f92.cjs.js');
7
7
  require('chalk');
8
- var index = require('./index-4cae01fa.cjs.js');
8
+ var index = require('./index-383b6870.cjs.js');
9
9
  var partition = require('lodash/partition');
10
10
  require('fs-extra');
11
11
  require('semver');
@@ -28,7 +28,9 @@ const FORBID_DUPLICATES = [
28
28
  ];
29
29
  const ALLOW_DUPLICATES = [
30
30
  /^@backstage\/core-plugin-api$/,
31
- /^@backstage\/plugin-catalog-react$/
31
+ /^@backstage\/plugin-.*-react$/,
32
+ /^@backstage\/plugin-.*-node$/,
33
+ /^@backstage\/plugin-.*-common$/
32
34
  ];
33
35
  const forbiddenDuplicatesFilter = (name) => FORBID_DUPLICATES.some((pattern) => pattern.test(name)) && !ALLOW_DUPLICATES.some((pattern) => pattern.test(name));
34
36
  var lint = async (cmd) => {
@@ -75,4 +77,4 @@ function logArray(arr, header, each) {
75
77
  exports["default"] = lint;
76
78
  exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
77
79
  exports.includedFilter = includedFilter;
78
- //# sourceMappingURL=lint-da146035.cjs.js.map
80
+ //# sourceMappingURL=lint-ef3857ec.cjs.js.map
@@ -3,8 +3,8 @@
3
3
  var chalk = require('chalk');
4
4
  var eslint = require('eslint');
5
5
  var path = require('path');
6
- var index = require('./index-4cae01fa.cjs.js');
7
- var PackageGraph = require('./PackageGraph-16f1061f.cjs.js');
6
+ var index = require('./index-383b6870.cjs.js');
7
+ var PackageGraph = require('./PackageGraph-3e77ee6e.cjs.js');
8
8
  require('commander');
9
9
  require('fs-extra');
10
10
  require('semver');
@@ -79,4 +79,4 @@ async function command(cmd) {
79
79
  }
80
80
 
81
81
  exports.command = command;
82
- //# sourceMappingURL=list-deprecations-175c706a.cjs.js.map
82
+ //# sourceMappingURL=list-deprecations-0c924dc1.cjs.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-0dae5dec.cjs.js');
3
+ var packager = require('./packager-31d63a18.cjs.js');
4
4
  require('fs-extra');
5
5
  require('rollup');
6
6
  require('chalk');
7
7
  require('path');
8
- require('./index-4cae01fa.cjs.js');
8
+ require('./index-383b6870.cjs.js');
9
9
  require('commander');
10
10
  require('semver');
11
11
  require('@backstage/cli-common');
@@ -23,7 +23,7 @@ require('./svgrTemplate-550efce6.cjs.js');
23
23
  require('./parallel-8286d3fa.cjs.js');
24
24
  require('os');
25
25
  require('worker_threads');
26
- require('./packageRoles-b3c0383d.cjs.js');
26
+ require('./packageRoles-374d8e8a.cjs.js');
27
27
  require('zod');
28
28
 
29
29
  var oldBuild = async (cmd) => {
@@ -48,4 +48,4 @@ var oldBuild = async (cmd) => {
48
48
  };
49
49
 
50
50
  exports["default"] = oldBuild;
51
- //# sourceMappingURL=oldBuild-f6ca0fac.cjs.js.map
51
+ //# sourceMappingURL=oldBuild-26acc2c8.cjs.js.map