@backstage/cli 0.15.0 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/config/eslint-factory.js +286 -0
  3. package/config/eslint.backend.js +4 -87
  4. package/config/eslint.js +4 -93
  5. package/dist/cjs/{Lockfile-35661afa.cjs.js → Lockfile-276d1251.cjs.js} +1 -1
  6. package/dist/cjs/{PackageGraph-b00df225.cjs.js → PackageGraph-f6a937a8.cjs.js} +23 -5
  7. package/dist/cjs/{backend-1b05daee.cjs.js → backend-ffe41596.cjs.js} +2 -2
  8. package/dist/cjs/{build-87df0d6b.cjs.js → build-5f2436dd.cjs.js} +15 -7
  9. package/dist/cjs/{build-83d881ea.cjs.js → build-9d05a2d3.cjs.js} +30 -15
  10. package/dist/cjs/{build-d4f2e2e8.cjs.js → build-ac68e868.cjs.js} +15 -7
  11. package/dist/cjs/{build-ff4f8608.cjs.js → build-f0107050.cjs.js} +18 -9
  12. package/dist/cjs/{buildBackend-aa0d412b.cjs.js → buildBackend-f89b6154.cjs.js} +9 -9
  13. package/dist/cjs/{buildWorkspace-e4801c14.cjs.js → buildWorkspace-253e9b22.cjs.js} +19 -10
  14. package/dist/cjs/{bump-3800b988.cjs.js → bump-b0b80a94.cjs.js} +16 -7
  15. package/dist/cjs/{bundle-09e400db.cjs.js → bundle-15774eca.cjs.js} +19 -10
  16. package/dist/cjs/{bundle-79d52b4b.cjs.js → bundle-a89334e0.cjs.js} +2 -2
  17. package/dist/cjs/{clean-a06b7d65.cjs.js → clean-0b52df42.cjs.js} +11 -2
  18. package/dist/cjs/{config-421162a7.cjs.js → config-42d905af.cjs.js} +3 -3
  19. package/dist/cjs/{create-aa1a9a17.cjs.js → create-dc30bea8.cjs.js} +14 -5
  20. package/dist/cjs/{createDistWorkspace-bb483aff.cjs.js → createDistWorkspace-88c2f703.cjs.js} +16 -11
  21. package/dist/cjs/{createPlugin-f2839d53.cjs.js → createPlugin-12344cb5.cjs.js} +14 -5
  22. package/dist/cjs/{dev-110686a9.cjs.js → dev-4f4d51f2.cjs.js} +15 -6
  23. package/dist/cjs/{diff-250bb472.cjs.js → diff-5340bddd.cjs.js} +11 -2
  24. package/dist/cjs/{docs-6b34ee96.cjs.js → docs-937fa501.cjs.js} +13 -4
  25. package/dist/cjs/{index-964b90f7.cjs.js → index-66539b3a.cjs.js} +21 -12
  26. package/dist/cjs/{index-87dfd82d.cjs.js → index-87c0c4a9.cjs.js} +62 -195
  27. package/dist/cjs/{index-af637b8d.cjs.js → index-95b0a069.cjs.js} +11 -2
  28. package/dist/cjs/{index-5a2e8d49.cjs.js → index-d153622b.cjs.js} +23 -14
  29. package/dist/cjs/{info-2072351a.cjs.js → info-4f3d07f6.cjs.js} +18 -8
  30. package/dist/cjs/{install-5cc80412.cjs.js → install-d645ecce.cjs.js} +13 -4
  31. package/dist/cjs/{lint-e407f973.cjs.js → lint-411c3274.cjs.js} +13 -4
  32. package/dist/cjs/{lint-50ee052a.cjs.js → lint-50ef8a16.cjs.js} +11 -2
  33. package/dist/cjs/{lint-dc4e7e6b.cjs.js → lint-ebc499ee.cjs.js} +13 -4
  34. package/dist/cjs/{oldBuild-638ec06b.cjs.js → oldBuild-39f60839.cjs.js} +15 -7
  35. package/dist/cjs/{pack-d77912d3.cjs.js → pack-50d3738a.cjs.js} +18 -5
  36. package/dist/cjs/package-3bc5c18e.cjs.js +129 -0
  37. package/dist/cjs/packageLintConfigs-a89150fb.cjs.js +84 -0
  38. package/dist/cjs/{packageRole-7767f94e.cjs.js → packageRole-0c959855.cjs.js} +12 -3
  39. package/dist/cjs/{packageRoles-88676cde.cjs.js → packageRoles-20a76382.cjs.js} +2 -2
  40. package/dist/cjs/{packageScripts-7bf31577.cjs.js → packageScripts-f9d082b8.cjs.js} +13 -4
  41. package/dist/cjs/{packager-60ad68c9.cjs.js → packager-7fc18d0d.cjs.js} +18 -12
  42. package/dist/cjs/{packages-a5011251.cjs.js → packages-193f9c73.cjs.js} +3 -3
  43. package/dist/cjs/{parallel-d8e5bcbf.cjs.js → parallel-8286d3fa.cjs.js} +1 -1
  44. package/dist/cjs/{paths-6bb65aa4.cjs.js → paths-1fe6dc51.cjs.js} +5 -5
  45. package/dist/cjs/{print-1ff6b34f.cjs.js → print-307fbd0b.cjs.js} +13 -4
  46. package/dist/cjs/{run-5fdca9d5.cjs.js → run-8a7ca1df.cjs.js} +2 -2
  47. package/dist/cjs/{schema-2cd77098.cjs.js → schema-41c4e7ee.cjs.js} +13 -4
  48. package/dist/cjs/{serve-f5d41d88.cjs.js → serve-b5c8a638.cjs.js} +19 -10
  49. package/dist/cjs/{serve-8736e644.cjs.js → serve-ee5b311f.cjs.js} +17 -8
  50. package/dist/cjs/{server-b7b23a16.cjs.js → server-0719667e.cjs.js} +2 -2
  51. package/dist/cjs/{svgrTemplate-b7a4ee52.cjs.js → svgrTemplate-550efce6.cjs.js} +1 -1
  52. package/dist/cjs/{tasks-eadc7947.cjs.js → tasks-97c97301.cjs.js} +2 -2
  53. package/dist/cjs/{testCommand-e79b231e.cjs.js → testCommand-5f331226.cjs.js} +12 -3
  54. package/dist/cjs/validate-9de1a38c.cjs.js +40 -0
  55. package/dist/index.cjs.js +10 -1
  56. package/package.json +9 -10
  57. package/templates/default-backend-plugin/.eslintrc.js +1 -3
  58. package/templates/default-backend-plugin/package.json.hbs +10 -7
  59. package/templates/default-common-plugin-package/.eslintrc.js +1 -3
  60. package/templates/default-common-plugin-package/package.json.hbs +9 -6
  61. package/templates/default-plugin/.eslintrc.js +1 -3
  62. package/templates/default-plugin/package.json.hbs +10 -8
  63. package/templates/scaffolder-module/.eslintrc.js +1 -3
  64. package/templates/scaffolder-module/package.json.hbs +10 -6
  65. package/dist/cjs/validate-fc5936ef.cjs.js +0 -31
@@ -7,11 +7,20 @@ 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-87dfd82d.cjs.js');
10
+ var index = require('./index-87c0c4a9.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
+ require('@backstage/backend-common/package.json');
15
+ require('@backstage/cli/package.json');
14
16
  require('@backstage/config/package.json');
17
+ require('@backstage/core-app-api/package.json');
18
+ require('@backstage/core-components/package.json');
19
+ require('@backstage/core-plugin-api/package.json');
20
+ require('@backstage/dev-utils/package.json');
21
+ require('@backstage/test-utils/package.json');
22
+ require('@backstage/theme/package.json');
23
+ require('@backstage/plugin-scaffolder-backend/package.json');
15
24
  require('@backstage/errors');
16
25
 
17
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -381,4 +390,4 @@ async function readPluginData() {
381
390
  }
382
391
 
383
392
  exports["default"] = diff;
384
- //# sourceMappingURL=diff-250bb472.cjs.js.map
393
+ //# sourceMappingURL=diff-5340bddd.cjs.js.map
@@ -2,18 +2,27 @@
2
2
 
3
3
  var configLoader = require('@backstage/config-loader');
4
4
  var openBrowser = require('react-dev-utils/openBrowser');
5
- var config = require('./config-421162a7.cjs.js');
5
+ var config = require('./config-42d905af.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-87dfd82d.cjs.js');
7
+ require('./index-87c0c4a9.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
10
10
  require('fs-extra');
11
11
  require('semver');
12
12
  require('@backstage/cli-common');
13
+ require('@backstage/backend-common/package.json');
14
+ require('@backstage/cli/package.json');
13
15
  require('@backstage/config/package.json');
16
+ require('@backstage/core-app-api/package.json');
17
+ require('@backstage/core-components/package.json');
18
+ require('@backstage/core-plugin-api/package.json');
19
+ require('@backstage/dev-utils/package.json');
20
+ require('@backstage/test-utils/package.json');
21
+ require('@backstage/theme/package.json');
22
+ require('@backstage/plugin-scaffolder-backend/package.json');
14
23
  require('@backstage/errors');
15
24
  require('@manypkg/get-packages');
16
- require('./PackageGraph-b00df225.cjs.js');
25
+ require('./PackageGraph-f6a937a8.cjs.js');
17
26
  require('path');
18
27
  require('child_process');
19
28
  require('util');
@@ -34,4 +43,4 @@ var docs = async (cmd) => {
34
43
  };
35
44
 
36
45
  exports["default"] = docs;
37
- //# sourceMappingURL=docs-6b34ee96.cjs.js.map
46
+ //# sourceMappingURL=docs-937fa501.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-87dfd82d.cjs.js');
5
- var backend = require('./backend-1b05daee.cjs.js');
4
+ var index = require('./index-87c0c4a9.cjs.js');
5
+ var backend = require('./backend-ffe41596.cjs.js');
6
6
  require('yn');
7
7
  require('path');
8
8
  require('webpack');
@@ -15,31 +15,40 @@ 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-6bb65aa4.cjs.js');
18
+ require('./paths-1fe6dc51.cjs.js');
19
19
  require('mini-css-extract-plugin');
20
- require('./run-5fdca9d5.cjs.js');
20
+ require('./run-8a7ca1df.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-b7b23a16.cjs.js');
28
- var config = require('./config-421162a7.cjs.js');
29
- var Lockfile = require('./Lockfile-35661afa.cjs.js');
27
+ var server = require('./server-0719667e.cjs.js');
28
+ var config = require('./config-42d905af.cjs.js');
29
+ var Lockfile = require('./Lockfile-276d1251.cjs.js');
30
30
  require('minimatch');
31
- var lint = require('./lint-e407f973.cjs.js');
32
- var packageRoles = require('./packageRoles-88676cde.cjs.js');
31
+ var lint = require('./lint-411c3274.cjs.js');
32
+ var packageRoles = require('./packageRoles-20a76382.cjs.js');
33
33
  require('commander');
34
34
  require('semver');
35
+ require('@backstage/backend-common/package.json');
36
+ require('@backstage/cli/package.json');
35
37
  require('@backstage/config/package.json');
38
+ require('@backstage/core-app-api/package.json');
39
+ require('@backstage/core-components/package.json');
40
+ require('@backstage/core-plugin-api/package.json');
41
+ require('@backstage/dev-utils/package.json');
42
+ require('@backstage/test-utils/package.json');
43
+ require('@backstage/theme/package.json');
44
+ require('@backstage/plugin-scaffolder-backend/package.json');
36
45
  require('@backstage/errors');
37
- require('./svgrTemplate-b7a4ee52.cjs.js');
46
+ require('./svgrTemplate-550efce6.cjs.js');
38
47
  require('child_process');
39
48
  require('util');
40
49
  require('@backstage/config-loader');
41
50
  require('@backstage/config');
42
- require('./PackageGraph-b00df225.cjs.js');
51
+ require('./PackageGraph-f6a937a8.cjs.js');
43
52
  require('@yarnpkg/lockfile');
44
53
  require('lodash/partition');
45
54
  require('zod');
@@ -122,4 +131,4 @@ async function command(cmd) {
122
131
  }
123
132
 
124
133
  exports.command = command;
125
- //# sourceMappingURL=index-964b90f7.cjs.js.map
134
+ //# sourceMappingURL=index-66539b3a.cjs.js.map
@@ -5,7 +5,16 @@ var chalk = require('chalk');
5
5
  var fs = require('fs-extra');
6
6
  var semver = require('semver');
7
7
  var cliCommon = require('@backstage/cli-common');
8
- var package_json = require('@backstage/config/package.json');
8
+ var package_json = require('@backstage/backend-common/package.json');
9
+ var package_json$1 = require('@backstage/cli/package.json');
10
+ var package_json$2 = require('@backstage/config/package.json');
11
+ var package_json$3 = require('@backstage/core-app-api/package.json');
12
+ var package_json$4 = require('@backstage/core-components/package.json');
13
+ var package_json$5 = require('@backstage/core-plugin-api/package.json');
14
+ var package_json$6 = require('@backstage/dev-utils/package.json');
15
+ var package_json$7 = require('@backstage/test-utils/package.json');
16
+ var package_json$8 = require('@backstage/theme/package.json');
17
+ var package_json$9 = require('@backstage/plugin-scaffolder-backend/package.json');
9
18
  var errors = require('@backstage/errors');
10
19
 
11
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -46,157 +55,17 @@ class NotFoundError extends CustomError {
46
55
 
47
56
  const paths = cliCommon.findPaths(__dirname);
48
57
 
49
- var version$9 = "0.12.0";
50
-
51
- var version$8 = "0.15.0";
52
- var dependencies = {
53
- "@backstage/cli-common": "^0.1.8",
54
- "@backstage/config": "^0.1.15",
55
- "@backstage/config-loader": "^0.9.6",
56
- "@backstage/errors": "^0.2.2",
57
- "@backstage/release-manifests": "^0.0.2",
58
- "@backstage/types": "^0.1.3",
59
- "@hot-loader/react-dom-v16": "npm:@hot-loader/react-dom@^16.0.2",
60
- "@hot-loader/react-dom-v17": "npm:@hot-loader/react-dom@^17.0.2",
61
- "@manypkg/get-packages": "^1.1.3",
62
- "@octokit/request": "^5.4.12",
63
- "@rollup/plugin-commonjs": "^21.0.1",
64
- "@rollup/plugin-json": "^4.1.0",
65
- "@rollup/plugin-node-resolve": "^13.0.0",
66
- "@rollup/plugin-yaml": "^3.1.0",
67
- "@spotify/eslint-config-base": "^12.0.0",
68
- "@spotify/eslint-config-react": "^12.0.0",
69
- "@spotify/eslint-config-typescript": "^12.0.0",
70
- "@sucrase/jest-plugin": "^2.1.1",
71
- "@sucrase/webpack-loader": "^2.0.0",
72
- "@svgr/plugin-jsx": "6.2.x",
73
- "@svgr/plugin-svgo": "6.2.x",
74
- "@svgr/rollup": "6.2.x",
75
- "@svgr/webpack": "6.2.x",
76
- "@types/webpack-env": "^1.15.2",
77
- "@typescript-eslint/eslint-plugin": "^5.9.0",
78
- "@typescript-eslint/parser": "^5.9.0",
79
- "@yarnpkg/lockfile": "^1.1.0",
80
- bfj: "^7.0.2",
81
- buffer: "^6.0.3",
82
- chalk: "^4.0.0",
83
- chokidar: "^3.3.1",
84
- commander: "^6.1.0",
85
- "css-loader": "^6.5.1",
86
- diff: "^5.0.0",
87
- esbuild: "^0.14.10",
88
- "esbuild-loader": "^2.18.0",
89
- eslint: "^8.6.0",
90
- "eslint-webpack-plugin": "^2.6.0",
91
- "eslint-config-prettier": "^8.3.0",
92
- "eslint-formatter-friendly": "^7.0.0",
93
- "eslint-plugin-import": "^2.25.4",
94
- "eslint-plugin-jest": "^25.3.4",
95
- "eslint-plugin-jsx-a11y": "^6.5.1",
96
- "eslint-plugin-monorepo": "^0.3.2",
97
- "eslint-plugin-react": "^7.28.0",
98
- "eslint-plugin-react-hooks": "^4.3.0",
99
- express: "^4.17.1",
100
- "fork-ts-checker-webpack-plugin": "^7.0.0-alpha.8",
101
- "fs-extra": "9.1.0",
102
- glob: "^7.1.7",
103
- handlebars: "^4.7.3",
104
- "html-webpack-plugin": "^5.3.1",
105
- inquirer: "^8.2.0",
106
- jest: "^26.0.1",
107
- "jest-css-modules": "^2.1.0",
108
- "json-schema": "^0.4.0",
109
- "jest-transform-yaml": "^1.0.0",
110
- lodash: "^4.17.21",
111
- minimatch: "5.0.0",
112
- "mini-css-extract-plugin": "^2.4.2",
113
- "npm-packlist": "^3.0.0",
114
- "node-libs-browser": "^2.2.1",
115
- ora: "^5.3.0",
116
- postcss: "^8.1.0",
117
- process: "^0.11.10",
118
- "react-dev-utils": "^12.0.0-next.60",
119
- "react-hot-loader": "^4.13.0",
120
- "recursive-readdir": "^2.2.2",
121
- "replace-in-file": "^6.0.0",
122
- rollup: "^2.60.2",
123
- "rollup-plugin-dts": "^4.0.1",
124
- "rollup-plugin-esbuild": "^4.7.2",
125
- "rollup-plugin-peer-deps-external": "^2.2.2",
126
- "rollup-plugin-postcss": "^4.0.0",
127
- "rollup-pluginutils": "^2.8.2",
128
- "run-script-webpack-plugin": "^0.0.11",
129
- semver: "^7.3.2",
130
- "style-loader": "^3.3.1",
131
- sucrase: "^3.20.2",
132
- tar: "^6.1.2",
133
- "terser-webpack-plugin": "^5.1.3",
134
- util: "^0.12.3",
135
- webpack: "^5.66.0",
136
- "webpack-dev-server": "^4.7.3",
137
- "webpack-node-externals": "^3.0.0",
138
- yaml: "^1.10.0",
139
- "yml-loader": "^2.1.0",
140
- yn: "^4.0.0",
141
- zod: "^3.11.6"
142
- };
143
- var devDependencies = {
144
- "@backstage/backend-common": "^0.12.0",
145
- "@backstage/config": "^0.1.15",
146
- "@backstage/core-components": "^0.9.0",
147
- "@backstage/core-plugin-api": "^0.8.0",
148
- "@backstage/core-app-api": "^0.6.0",
149
- "@backstage/dev-utils": "^0.2.24",
150
- "@backstage/test-utils": "^0.3.0",
151
- "@backstage/theme": "^0.2.15",
152
- "@types/diff": "^5.0.0",
153
- "@types/express": "^4.17.6",
154
- "@types/fs-extra": "^9.0.1",
155
- "@types/http-proxy": "^1.17.4",
156
- "@types/inquirer": "^8.1.3",
157
- "@types/minimatch": "^3.0.5",
158
- "@types/mock-fs": "^4.13.0",
159
- "@types/node": "^14.14.32",
160
- "@types/npm-packlist": "^1.1.2",
161
- "@types/recursive-readdir": "^2.2.0",
162
- "@types/rollup-plugin-peer-deps-external": "^2.2.0",
163
- "@types/rollup-plugin-postcss": "^3.1.4",
164
- "@types/svgo": "^2.6.2",
165
- "@types/tar": "^6.1.1",
166
- "@types/terser-webpack-plugin": "^5.0.4",
167
- "@types/yarnpkg__lockfile": "^1.1.4",
168
- del: "^6.0.0",
169
- "mock-fs": "^5.1.0",
170
- nodemon: "^2.0.2",
171
- "ts-node": "^10.0.0",
172
- msw: "^0.35.0"
173
- };
174
-
175
- var version$7 = "0.6.0";
176
-
177
- var version$6 = "0.9.0";
178
-
179
- var version$5 = "0.8.0";
180
-
181
- var version$4 = "0.2.24";
182
-
183
- var version$3 = "0.3.0";
184
-
185
- var version$2 = "0.2.15";
186
-
187
- var version$1 = "0.17.3";
188
-
189
58
  const packageVersions = {
190
- "@backstage/backend-common": version$9,
191
- "@backstage/cli": version$8,
192
- "@backstage/config": package_json.version,
193
- "@backstage/core-app-api": version$7,
194
- "@backstage/core-components": version$6,
195
- "@backstage/core-plugin-api": version$5,
196
- "@backstage/dev-utils": version$4,
197
- "@backstage/test-utils": version$3,
198
- "@backstage/theme": version$2,
199
- "@backstage/plugin-scaffolder-backend": version$1
59
+ "@backstage/backend-common": package_json.version,
60
+ "@backstage/cli": package_json$1.version,
61
+ "@backstage/config": package_json$2.version,
62
+ "@backstage/core-app-api": package_json$3.version,
63
+ "@backstage/core-components": package_json$4.version,
64
+ "@backstage/core-plugin-api": package_json$5.version,
65
+ "@backstage/dev-utils": package_json$6.version,
66
+ "@backstage/test-utils": package_json$7.version,
67
+ "@backstage/theme": package_json$8.version,
68
+ "@backstage/plugin-scaffolder-backend": package_json$9.version
200
69
  };
201
70
  function findVersion() {
202
71
  const pkgContent = fs__default["default"].readFileSync(paths.resolveOwn("package.json"), "utf8");
@@ -238,55 +107,56 @@ const configOption = [
238
107
  Array()
239
108
  ];
240
109
  function registerRepoCommand(program) {
241
- const command = program.command("repo [command]", { hidden: true }).description("Command that run across an entire Backstage project [EXPERIMENTAL]");
242
- 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.").action(lazy(() => Promise.resolve().then(function () { return require('./build-83d881ea.cjs.js'); }).then((m) => m.command)));
243
- 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-dc4e7e6b.cjs.js'); }).then((m) => m.command)));
110
+ const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
111
+ 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-9d05a2d3.cjs.js'); }).then((m) => m.command)));
112
+ 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-ebc499ee.cjs.js'); }).then((m) => m.command)));
244
113
  }
245
114
  function registerScriptCommand(program) {
246
- const command = program.command("package [command]", { hidden: true }).description("Lifecycle scripts for individual packages [EXPERIMENTAL]");
247
- command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role [EXPERIMENTAL]").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-964b90f7.cjs.js'); }).then((m) => m.command)));
248
- command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role [EXPERIMENTAL]").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-5a2e8d49.cjs.js'); }).then((m) => m.command)));
249
- 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-50ee052a.cjs.js'); }).then((m) => m.default)));
250
- 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-e79b231e.cjs.js'); }).then((m) => m.default)));
251
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-a06b7d65.cjs.js'); }).then((m) => m.default)));
252
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d77912d3.cjs.js'); }).then((m) => m.pre)));
253
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d77912d3.cjs.js'); }).then((m) => m.post)));
115
+ const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
116
+ 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-66539b3a.cjs.js'); }).then((m) => m.command)));
117
+ 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-d153622b.cjs.js'); }).then((m) => m.command)));
118
+ 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-50ef8a16.cjs.js'); }).then((m) => m.default)));
119
+ 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-5f331226.cjs.js'); }).then((m) => m.default)));
120
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0b52df42.cjs.js'); }).then((m) => m.default)));
121
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-50d3738a.cjs.js'); }).then((m) => m.pre)));
122
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-50d3738a.cjs.js'); }).then((m) => m.post)));
254
123
  }
255
124
  function registerMigrateCommand(program) {
256
- const command = program.command("migrate [command]", { hidden: true }).description("Migration utilities [EXPERIMENTAL]");
257
- 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-7767f94e.cjs.js'); }).then((m) => m.default)));
258
- command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-7bf31577.cjs.js'); }).then((m) => m.command)));
125
+ const command = program.command("migrate [command]").description("Migration utilities");
126
+ 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-0c959855.cjs.js'); }).then((m) => m.default)));
127
+ command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-f9d082b8.cjs.js'); }).then((m) => m.command)));
128
+ 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-a89150fb.cjs.js'); }).then((m) => m.command)));
259
129
  }
260
130
  function registerCommands(program) {
261
- 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-ff4f8608.cjs.js'); }).then((m) => m.default)));
262
- 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-f5d41d88.cjs.js'); }).then((m) => m.default)));
263
- 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-87df0d6b.cjs.js'); }).then((m) => m.default)));
264
- 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-09e400db.cjs.js'); }).then((m) => m.default)));
265
- 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-110686a9.cjs.js'); }).then((m) => m.default)));
266
- 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-aa1a9a17.cjs.js'); }).then((m) => m.default)));
267
- 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-f2839d53.cjs.js'); }).then((m) => m.default)));
268
- 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-d4f2e2e8.cjs.js'); }).then((m) => m.default)));
269
- 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-8736e644.cjs.js'); }).then((m) => m.default)));
270
- 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-250bb472.cjs.js'); }).then((m) => m.default)));
271
- 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('./oldBuild-638ec06b.cjs.js'); }).then((m) => m.default)));
272
- 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-50ee052a.cjs.js'); }).then((m) => m.default)));
273
- 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-e79b231e.cjs.js'); }).then((m) => m.default)));
274
- 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-6b34ee96.cjs.js'); }).then((m) => m.default)));
275
- 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-1ff6b34f.cjs.js'); }).then((m) => m.default)));
276
- 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-fc5936ef.cjs.js'); }).then((m) => m.default)));
277
- 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-2cd77098.cjs.js'); }).then((m) => m.default)));
131
+ 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-f0107050.cjs.js'); }).then((m) => m.default)));
132
+ 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-b5c8a638.cjs.js'); }).then((m) => m.default)));
133
+ 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-5f2436dd.cjs.js'); }).then((m) => m.default)));
134
+ 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-15774eca.cjs.js'); }).then((m) => m.default)));
135
+ 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-4f4d51f2.cjs.js'); }).then((m) => m.default)));
136
+ 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-dc30bea8.cjs.js'); }).then((m) => m.default)));
137
+ 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-12344cb5.cjs.js'); }).then((m) => m.default)));
138
+ 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-ac68e868.cjs.js'); }).then((m) => m.default)));
139
+ 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-ee5b311f.cjs.js'); }).then((m) => m.default)));
140
+ 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-5340bddd.cjs.js'); }).then((m) => m.default)));
141
+ 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-39f60839.cjs.js'); }).then((m) => m.default)));
142
+ 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-50ef8a16.cjs.js'); }).then((m) => m.default)));
143
+ 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-5f331226.cjs.js'); }).then((m) => m.default)));
144
+ 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-937fa501.cjs.js'); }).then((m) => m.default)));
145
+ 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-307fbd0b.cjs.js'); }).then((m) => m.default)));
146
+ 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-9de1a38c.cjs.js'); }).then((m) => m.default)));
147
+ 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-41c4e7ee.cjs.js'); }).then((m) => m.default)));
278
148
  registerRepoCommand(program);
279
149
  registerScriptCommand(program);
280
150
  registerMigrateCommand(program);
281
- 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-3800b988.cjs.js'); }).then((m) => m.default)));
282
- 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-e407f973.cjs.js'); }).then((m) => m.default)));
283
- program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d77912d3.cjs.js'); }).then((m) => m.pre)));
284
- program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d77912d3.cjs.js'); }).then((m) => m.post)));
285
- program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-a06b7d65.cjs.js'); }).then((m) => m.default)));
286
- 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-e4801c14.cjs.js'); }).then((m) => m.default)));
287
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-af637b8d.cjs.js'); }).then((m) => m.default)));
288
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-2072351a.cjs.js'); }).then((m) => m.default)));
289
- 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-5cc80412.cjs.js'); }).then((m) => m.default)));
151
+ 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-b0b80a94.cjs.js'); }).then((m) => m.default)));
152
+ 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-411c3274.cjs.js'); }).then((m) => m.default)));
153
+ program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-50d3738a.cjs.js'); }).then((m) => m.pre)));
154
+ program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-50d3738a.cjs.js'); }).then((m) => m.post)));
155
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-0b52df42.cjs.js'); }).then((m) => m.default)));
156
+ 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-253e9b22.cjs.js'); }).then((m) => m.default)));
157
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-95b0a069.cjs.js'); }).then((m) => m.default)));
158
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-4f3d07f6.cjs.js'); }).then((m) => m.default)));
159
+ 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-d645ecce.cjs.js'); }).then((m) => m.default)));
290
160
  }
291
161
  function lazy(getActionFunc) {
292
162
  return async (...args) => {
@@ -325,9 +195,6 @@ main(process.argv);
325
195
  exports.ExitCodeError = ExitCodeError;
326
196
  exports.NotFoundError = NotFoundError;
327
197
  exports.createPackageVersionProvider = createPackageVersionProvider;
328
- exports.dependencies = dependencies;
329
- exports.devDependencies = devDependencies;
330
198
  exports.paths = paths;
331
199
  exports.version = version;
332
- exports.version$1 = version$8;
333
- //# sourceMappingURL=index-87dfd82d.cjs.js.map
200
+ //# sourceMappingURL=index-87c0c4a9.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-87dfd82d.cjs.js');
6
+ var index$1 = require('./index-87c0c4a9.cjs.js');
7
7
  var crypto = require('crypto');
8
8
  var openBrowser = require('react-dev-utils/openBrowser');
9
9
  var request = require('@octokit/request');
@@ -11,7 +11,16 @@ var express = require('express');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
+ require('@backstage/backend-common/package.json');
15
+ require('@backstage/cli/package.json');
14
16
  require('@backstage/config/package.json');
17
+ require('@backstage/core-app-api/package.json');
18
+ require('@backstage/core-components/package.json');
19
+ require('@backstage/core-plugin-api/package.json');
20
+ require('@backstage/dev-utils/package.json');
21
+ require('@backstage/test-utils/package.json');
22
+ require('@backstage/theme/package.json');
23
+ require('@backstage/plugin-scaffolder-backend/package.json');
15
24
  require('@backstage/errors');
16
25
 
17
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -128,4 +137,4 @@ ${yaml.stringify(config)}`;
128
137
  };
129
138
 
130
139
  exports["default"] = index;
131
- //# sourceMappingURL=index-af637b8d.cjs.js.map
140
+ //# sourceMappingURL=index-95b0a069.cjs.js.map
@@ -1,14 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-60ad68c9.cjs.js');
4
- var packageRoles = require('./packageRoles-88676cde.cjs.js');
5
- var index = require('./index-87dfd82d.cjs.js');
6
- var buildBackend = require('./buildBackend-aa0d412b.cjs.js');
3
+ var packager = require('./packager-7fc18d0d.cjs.js');
4
+ var packageRoles = require('./packageRoles-20a76382.cjs.js');
5
+ var index = require('./index-87c0c4a9.cjs.js');
6
+ var buildBackend = require('./buildBackend-f89b6154.cjs.js');
7
7
  require('fs-extra');
8
8
  require('rollup');
9
9
  require('chalk');
10
10
  require('path');
11
- require('rollup-plugin-peer-deps-external');
12
11
  require('@rollup/plugin-commonjs');
13
12
  require('@rollup/plugin-node-resolve');
14
13
  require('rollup-plugin-postcss');
@@ -18,15 +17,24 @@ require('rollup-plugin-dts');
18
17
  require('@rollup/plugin-json');
19
18
  require('@rollup/plugin-yaml');
20
19
  require('rollup-pluginutils');
21
- require('./svgrTemplate-b7a4ee52.cjs.js');
22
- require('./parallel-d8e5bcbf.cjs.js');
20
+ require('./svgrTemplate-550efce6.cjs.js');
21
+ require('./parallel-8286d3fa.cjs.js');
23
22
  require('os');
24
23
  require('worker_threads');
25
24
  require('zod');
26
25
  require('commander');
27
26
  require('semver');
28
27
  require('@backstage/cli-common');
28
+ require('@backstage/backend-common/package.json');
29
+ require('@backstage/cli/package.json');
29
30
  require('@backstage/config/package.json');
31
+ require('@backstage/core-app-api/package.json');
32
+ require('@backstage/core-components/package.json');
33
+ require('@backstage/core-plugin-api/package.json');
34
+ require('@backstage/dev-utils/package.json');
35
+ require('@backstage/test-utils/package.json');
36
+ require('@backstage/theme/package.json');
37
+ require('@backstage/plugin-scaffolder-backend/package.json');
30
38
  require('@backstage/errors');
31
39
  require('webpack');
32
40
  require('fork-ts-checker-webpack-plugin');
@@ -35,26 +43,27 @@ require('react-dev-utils/ModuleScopePlugin');
35
43
  require('run-script-webpack-plugin');
36
44
  require('webpack-node-externals');
37
45
  require('@manypkg/get-packages');
38
- require('./paths-6bb65aa4.cjs.js');
46
+ require('./paths-1fe6dc51.cjs.js');
39
47
  require('mini-css-extract-plugin');
40
- require('./run-5fdca9d5.cjs.js');
48
+ require('./run-8a7ca1df.cjs.js');
41
49
  require('child_process');
42
50
  require('util');
43
51
  require('eslint-webpack-plugin');
44
52
  require('lodash/pickBy');
45
- require('./bundle-79d52b4b.cjs.js');
53
+ require('./bundle-a89334e0.cjs.js');
46
54
  require('yn');
47
55
  require('react-dev-utils/FileSizeReporter');
48
56
  require('react-dev-utils/formatWebpackMessages');
49
57
  require('webpack-dev-server');
50
58
  require('react-dev-utils/openBrowser');
51
- require('./config-421162a7.cjs.js');
59
+ require('./config-42d905af.cjs.js');
52
60
  require('@backstage/config-loader');
53
61
  require('@backstage/config');
54
- require('./PackageGraph-b00df225.cjs.js');
62
+ require('./PackageGraph-f6a937a8.cjs.js');
55
63
  require('tar');
56
- require('./createDistWorkspace-bb483aff.cjs.js');
64
+ require('./createDistWorkspace-88c2f703.cjs.js');
57
65
  require('lodash/partition');
66
+ require('./package-3bc5c18e.cjs.js');
58
67
  require('npm-packlist');
59
68
 
60
69
  async function command(cmd) {
@@ -91,4 +100,4 @@ async function command(cmd) {
91
100
  }
92
101
 
93
102
  exports.command = command;
94
- //# sourceMappingURL=index-5a2e8d49.cjs.js.map
103
+ //# sourceMappingURL=index-d153622b.cjs.js.map