@backstage/cli 0.18.1-next.0 → 0.18.2-next.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.
- package/CHANGELOG.md +85 -0
- package/config/eslint-factory.js +1 -1
- package/config/jest.js +3 -3
- package/config/jestSwcTransform.js +35 -0
- package/dist/cjs/{PackageGraph-6e1d4bd4.cjs.js → PackageGraph-217e30de.cjs.js} +2 -2
- package/dist/cjs/{build-3b11f7c9.cjs.js → build-9fe0dd38.cjs.js} +10 -9
- package/dist/cjs/{buildBackend-87996ad4.cjs.js → buildBackend-721dc09b.cjs.js} +7 -6
- package/dist/cjs/{buildWorkspace-425726da.cjs.js → buildWorkspace-7bf5809d.cjs.js} +6 -6
- package/dist/cjs/{bump-f3c6b3cd.cjs.js → bump-ea057f92.cjs.js} +5 -5
- package/dist/cjs/{clean-798512b5.cjs.js → clean-e5b3fb22.cjs.js} +2 -2
- package/dist/cjs/{config-4a59f918.cjs.js → config-c80d95cb.cjs.js} +3 -3
- package/dist/cjs/{create-a7269bb5.cjs.js → create-5c068df6.cjs.js} +4 -4
- package/dist/cjs/{createDistWorkspace-cb9a9a84.cjs.js → createDistWorkspace-90621e6f.cjs.js} +5 -5
- package/dist/cjs/{createPlugin-fca2c26e.cjs.js → createPlugin-ed921676.cjs.js} +4 -4
- package/dist/cjs/{diff-3dec490d.cjs.js → diff-3a421631.cjs.js} +2 -2
- package/dist/cjs/{docs-e60d4fe7.cjs.js → docs-adcfc128.cjs.js} +4 -4
- package/dist/cjs/{fix-b60a5395.cjs.js → fix-a6e61477.cjs.js} +3 -3
- package/dist/cjs/{index-7efbd23e.cjs.js → index-162b963f.cjs.js} +2 -2
- package/dist/cjs/{index-50703ee1.cjs.js → index-a01857b1.cjs.js} +55 -52
- package/dist/cjs/{index-131467e2.cjs.js → index-d27add40.cjs.js} +10 -9
- package/dist/cjs/{index-71d143d5.cjs.js → index-d61460b3.cjs.js} +10 -8
- package/dist/cjs/{info-04610119.cjs.js → info-425afef1.cjs.js} +3 -3
- package/dist/cjs/{install-589f1c25.cjs.js → install-803fbdd5.cjs.js} +4 -4
- package/dist/cjs/{lint-41010f96.cjs.js → lint-19934788.cjs.js} +3 -3
- package/dist/cjs/{lint-6fcb9a70.cjs.js → lint-1cd0572d.cjs.js} +2 -2
- package/dist/cjs/{lint-7f6b0d33.cjs.js → lint-bbc1280b.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-8aee2123.cjs.js → list-deprecations-caf6ac9b.cjs.js} +3 -3
- package/dist/cjs/{pack-91881c2f.cjs.js → pack-d3497e7e.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-f9e5fcc6.cjs.js → packageLintConfigs-1595d87f.cjs.js} +4 -4
- package/dist/cjs/{packageRole-16eb6c89.cjs.js → packageRole-f92040f4.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-96528891.cjs.js → packageRoles-17061f37.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-eb2443c2.cjs.js → packageScripts-1d479974.cjs.js} +4 -4
- package/dist/cjs/{packages-1b40c101.cjs.js → packages-4a3062f2.cjs.js} +3 -3
- package/dist/cjs/{paths-b34f135a.cjs.js → paths-75e8c849.cjs.js} +78 -42
- package/dist/cjs/{print-e99d7c2e.cjs.js → print-68e156e3.cjs.js} +4 -4
- package/dist/cjs/{run-722b1384.cjs.js → run-94823671.cjs.js} +2 -2
- package/dist/cjs/{schema-c636e913.cjs.js → schema-3d2e8fe5.cjs.js} +4 -4
- package/dist/cjs/{tasks-4776baa6.cjs.js → tasks-4dfbb510.cjs.js} +2 -2
- package/dist/cjs/{test-76539f57.cjs.js → test-3104a9d1.cjs.js} +3 -3
- package/dist/cjs/{validate-f9273594.cjs.js → validate-3ae83ea3.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +18 -15
- package/templates/default-backend-plugin/package.json.hbs +1 -1
- package/templates/default-plugin/package.json.hbs +1 -1
- package/config/jestEsmTransform.js +0 -19
|
@@ -46,20 +46,19 @@ class NotFoundError extends CustomError {
|
|
|
46
46
|
|
|
47
47
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
48
|
|
|
49
|
-
var version$a = "0.15.
|
|
49
|
+
var version$a = "0.15.1-next.0";
|
|
50
50
|
|
|
51
|
-
var version$9 = "0.18.
|
|
51
|
+
var version$9 = "0.18.2-next.0";
|
|
52
52
|
var dependencies = {
|
|
53
53
|
"@backstage/cli-common": "^0.1.9",
|
|
54
54
|
"@backstage/config": "^1.0.1",
|
|
55
|
-
"@backstage/config-loader": "^1.1.
|
|
55
|
+
"@backstage/config-loader": "^1.1.4-next.0",
|
|
56
56
|
"@backstage/errors": "^1.1.0",
|
|
57
|
-
"@backstage/release-manifests": "^0.0.
|
|
57
|
+
"@backstage/release-manifests": "^0.0.6-next.0",
|
|
58
58
|
"@backstage/types": "^1.0.0",
|
|
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
59
|
"@manypkg/get-packages": "^1.1.3",
|
|
62
60
|
"@octokit/request": "^6.0.0",
|
|
61
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
63
62
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
64
63
|
"@rollup/plugin-json": "^4.1.0",
|
|
65
64
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
@@ -73,6 +72,9 @@ var dependencies = {
|
|
|
73
72
|
"@svgr/plugin-svgo": "6.3.x",
|
|
74
73
|
"@svgr/rollup": "6.3.x",
|
|
75
74
|
"@svgr/webpack": "6.3.x",
|
|
75
|
+
"@swc/core": "^1.2.239",
|
|
76
|
+
"@swc/helpers": "^0.4.7",
|
|
77
|
+
"@swc/jest": "^0.2.22",
|
|
76
78
|
"@types/webpack-env": "^1.15.2",
|
|
77
79
|
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
78
80
|
"@typescript-eslint/parser": "^5.9.0",
|
|
@@ -107,8 +109,8 @@ var dependencies = {
|
|
|
107
109
|
"html-webpack-plugin": "^5.3.1",
|
|
108
110
|
inquirer: "^8.2.0",
|
|
109
111
|
jest: "^27.5.1",
|
|
110
|
-
"jest-runtime": "^27.5.1",
|
|
111
112
|
"jest-css-modules": "^2.1.0",
|
|
113
|
+
"jest-runtime": "^27.5.1",
|
|
112
114
|
"jest-transform-yaml": "^1.0.0",
|
|
113
115
|
"json-schema": "^0.4.0",
|
|
114
116
|
lodash: "^4.17.21",
|
|
@@ -121,7 +123,7 @@ var dependencies = {
|
|
|
121
123
|
postcss: "^8.1.0",
|
|
122
124
|
process: "^0.11.10",
|
|
123
125
|
"react-dev-utils": "^12.0.0-next.60",
|
|
124
|
-
"react-
|
|
126
|
+
"react-refresh": "^0.14.0",
|
|
125
127
|
"recursive-readdir": "^2.2.2",
|
|
126
128
|
"replace-in-file": "^6.0.0",
|
|
127
129
|
rollup: "^2.60.2",
|
|
@@ -133,10 +135,11 @@ var dependencies = {
|
|
|
133
135
|
semver: "^7.3.2",
|
|
134
136
|
"style-loader": "^3.3.1",
|
|
135
137
|
sucrase: "^3.20.2",
|
|
138
|
+
"swc-loader": "^0.2.3",
|
|
136
139
|
tar: "^6.1.2",
|
|
137
140
|
"terser-webpack-plugin": "^5.1.3",
|
|
138
141
|
util: "^0.12.3",
|
|
139
|
-
webpack: "^5.
|
|
142
|
+
webpack: "^5.70.0",
|
|
140
143
|
"webpack-dev-server": "^4.7.3",
|
|
141
144
|
"webpack-node-externals": "^3.0.0",
|
|
142
145
|
yaml: "^2.0.0",
|
|
@@ -145,13 +148,13 @@ var dependencies = {
|
|
|
145
148
|
zod: "^3.11.6"
|
|
146
149
|
};
|
|
147
150
|
var devDependencies = {
|
|
148
|
-
"@backstage/backend-common": "^0.15.
|
|
151
|
+
"@backstage/backend-common": "^0.15.1-next.0",
|
|
149
152
|
"@backstage/config": "^1.0.1",
|
|
150
|
-
"@backstage/core-app-api": "^1.0.
|
|
151
|
-
"@backstage/core-components": "^0.
|
|
152
|
-
"@backstage/core-plugin-api": "^1.0.
|
|
153
|
-
"@backstage/dev-utils": "^1.0.
|
|
154
|
-
"@backstage/test-utils": "^1.1.
|
|
153
|
+
"@backstage/core-app-api": "^1.0.6-next.0",
|
|
154
|
+
"@backstage/core-components": "^0.11.1-next.0",
|
|
155
|
+
"@backstage/core-plugin-api": "^1.0.6-next.0",
|
|
156
|
+
"@backstage/dev-utils": "^1.0.6-next.0",
|
|
157
|
+
"@backstage/test-utils": "^1.1.4-next.0",
|
|
155
158
|
"@backstage/theme": "^0.2.16",
|
|
156
159
|
"@types/diff": "^5.0.0",
|
|
157
160
|
"@types/express": "^4.17.6",
|
|
@@ -171,26 +174,26 @@ var devDependencies = {
|
|
|
171
174
|
"@types/yarnpkg__lockfile": "^1.1.4",
|
|
172
175
|
del: "^6.0.0",
|
|
173
176
|
"mock-fs": "^5.1.0",
|
|
174
|
-
msw: "^0.
|
|
177
|
+
msw: "^0.45.0",
|
|
175
178
|
nodemon: "^2.0.2",
|
|
176
179
|
"ts-node": "^10.0.0"
|
|
177
180
|
};
|
|
178
181
|
|
|
179
182
|
var version$8 = "1.0.1";
|
|
180
183
|
|
|
181
|
-
var version$7 = "1.0.
|
|
184
|
+
var version$7 = "1.0.6-next.0";
|
|
182
185
|
|
|
183
|
-
var version$6 = "0.
|
|
186
|
+
var version$6 = "0.11.1-next.0";
|
|
184
187
|
|
|
185
|
-
var version$5 = "1.0.
|
|
188
|
+
var version$5 = "1.0.6-next.0";
|
|
186
189
|
|
|
187
|
-
var version$4 = "1.0.
|
|
190
|
+
var version$4 = "1.0.6-next.0";
|
|
188
191
|
|
|
189
|
-
var version$3 = "1.1.
|
|
192
|
+
var version$3 = "1.1.4-next.0";
|
|
190
193
|
|
|
191
194
|
var version$2 = "0.2.16";
|
|
192
195
|
|
|
193
|
-
var version$1 = "1.
|
|
196
|
+
var version$1 = "1.6.0-next.0";
|
|
194
197
|
|
|
195
198
|
const packageVersions = {
|
|
196
199
|
"@backstage/backend-common": version$a,
|
|
@@ -255,7 +258,7 @@ function registerRepoCommand(program) {
|
|
|
255
258
|
).option(
|
|
256
259
|
"--since <ref>",
|
|
257
260
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
258
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
261
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-9fe0dd38.cjs.js'); }).then((m) => m.command)));
|
|
259
262
|
command.command("lint").description("Lint all packages in the project").option(
|
|
260
263
|
"--format <format>",
|
|
261
264
|
"Lint report output format",
|
|
@@ -263,9 +266,9 @@ function registerRepoCommand(program) {
|
|
|
263
266
|
).option(
|
|
264
267
|
"--since <ref>",
|
|
265
268
|
"Only lint packages that changed since the specified ref"
|
|
266
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
269
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-bbc1280b.cjs.js'); }).then((m) => m.command)));
|
|
267
270
|
command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(
|
|
268
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
271
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-caf6ac9b.cjs.js'); }).then((m) => m.command))
|
|
269
272
|
);
|
|
270
273
|
}
|
|
271
274
|
function registerScriptCommand(program) {
|
|
@@ -273,7 +276,7 @@ function registerScriptCommand(program) {
|
|
|
273
276
|
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(
|
|
274
277
|
"--inspect-brk",
|
|
275
278
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
276
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
279
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-d61460b3.cjs.js'); }).then((m) => m.command)));
|
|
277
280
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
278
281
|
"--minify",
|
|
279
282
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -291,28 +294,28 @@ function registerScriptCommand(program) {
|
|
|
291
294
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
292
295
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
293
296
|
Array()
|
|
294
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
297
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-d27add40.cjs.js'); }).then((m) => m.command)));
|
|
295
298
|
command.command("lint [directories...]").option(
|
|
296
299
|
"--format <format>",
|
|
297
300
|
"Lint report output format",
|
|
298
301
|
"eslint-formatter-friendly"
|
|
299
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
300
|
-
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
301
|
-
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-
|
|
302
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
303
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
304
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
302
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-1cd0572d.cjs.js'); }).then((m) => m.default)));
|
|
303
|
+
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-3104a9d1.cjs.js'); }).then((m) => m.default)));
|
|
304
|
+
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-a6e61477.cjs.js'); }).then((m) => m.command)));
|
|
305
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-e5b3fb22.cjs.js'); }).then((m) => m.default)));
|
|
306
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d3497e7e.cjs.js'); }).then((m) => m.pre)));
|
|
307
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-d3497e7e.cjs.js'); }).then((m) => m.post)));
|
|
305
308
|
}
|
|
306
309
|
function registerMigrateCommand(program) {
|
|
307
310
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
308
|
-
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-
|
|
311
|
+
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-f92040f4.cjs.js'); }).then((m) => m.default)));
|
|
309
312
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
310
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
313
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-1d479974.cjs.js'); }).then((m) => m.command))
|
|
311
314
|
);
|
|
312
315
|
command.command("package-lint-configs").description(
|
|
313
316
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
314
317
|
).action(
|
|
315
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
318
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-1595d87f.cjs.js'); }).then((m) => m.command))
|
|
316
319
|
);
|
|
317
320
|
}
|
|
318
321
|
function registerCommands(program) {
|
|
@@ -329,41 +332,41 @@ function registerCommands(program) {
|
|
|
329
332
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
330
333
|
"--npm-registry <URL>",
|
|
331
334
|
"The package registry to use for new packages"
|
|
332
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-
|
|
335
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-5c068df6.cjs.js'); }).then((m) => m.default)));
|
|
333
336
|
program.command("create-plugin").option(
|
|
334
337
|
"--backend",
|
|
335
338
|
"Create plugin with the backend dependencies as default"
|
|
336
339
|
).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(
|
|
337
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
340
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-ed921676.cjs.js'); }).then((m) => m.default))
|
|
338
341
|
);
|
|
339
|
-
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-
|
|
342
|
+
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-3a421631.cjs.js'); }).then((m) => m.default)));
|
|
340
343
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
341
344
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
342
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
345
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-3104a9d1.cjs.js'); }).then((m) => m.default)));
|
|
343
346
|
program.command("config:docs").option(
|
|
344
347
|
"--package <name>",
|
|
345
348
|
"Only include the schema that applies to the given package"
|
|
346
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
349
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-adcfc128.cjs.js'); }).then((m) => m.default)));
|
|
347
350
|
program.command("config:print").option(
|
|
348
351
|
"--package <name>",
|
|
349
352
|
"Only load config schema that applies to the given package"
|
|
350
353
|
).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(
|
|
351
354
|
"--format <format>",
|
|
352
355
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
353
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
356
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-68e156e3.cjs.js'); }).then((m) => m.default)));
|
|
354
357
|
program.command("config:check").option(
|
|
355
358
|
"--package <name>",
|
|
356
359
|
"Only load config schema that applies to the given package"
|
|
357
360
|
).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(
|
|
358
361
|
"Validate that the given configuration loads and matches schema"
|
|
359
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
362
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-3ae83ea3.cjs.js'); }).then((m) => m.default)));
|
|
360
363
|
program.command("config:schema").option(
|
|
361
364
|
"--package <name>",
|
|
362
365
|
"Only output config schema that applies to the given package"
|
|
363
366
|
).option(
|
|
364
367
|
"--format <format>",
|
|
365
368
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
366
|
-
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
369
|
+
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-3d2e8fe5.cjs.js'); }).then((m) => m.default)));
|
|
367
370
|
registerRepoCommand(program);
|
|
368
371
|
registerScriptCommand(program);
|
|
369
372
|
registerMigrateCommand(program);
|
|
@@ -374,16 +377,16 @@ function registerCommands(program) {
|
|
|
374
377
|
"--release <version|next|main>",
|
|
375
378
|
"Bump to a specific Backstage release line or version",
|
|
376
379
|
"main"
|
|
377
|
-
).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
378
|
-
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-
|
|
379
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
380
|
-
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-
|
|
381
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
382
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
380
|
+
).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-ea057f92.cjs.js'); }).then((m) => m.default)));
|
|
381
|
+
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-19934788.cjs.js'); }).then((m) => m.default)));
|
|
382
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-e5b3fb22.cjs.js'); }).then((m) => m.default)));
|
|
383
|
+
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-7bf5809d.cjs.js'); }).then((m) => m.default)));
|
|
384
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-162b963f.cjs.js'); }).then((m) => m.default)));
|
|
385
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-425afef1.cjs.js'); }).then((m) => m.default)));
|
|
383
386
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
384
387
|
"--from <packageJsonFilePath>",
|
|
385
388
|
"Install from a local package.json containing the installation recipe"
|
|
386
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
389
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-803fbdd5.cjs.js'); }).then((m) => m.default)));
|
|
387
390
|
}
|
|
388
391
|
function lazy(getActionFunc) {
|
|
389
392
|
return async (...args) => {
|
|
@@ -427,4 +430,4 @@ exports.devDependencies = devDependencies;
|
|
|
427
430
|
exports.paths = paths;
|
|
428
431
|
exports.version = version;
|
|
429
432
|
exports.version$1 = version$9;
|
|
430
|
-
//# sourceMappingURL=index-
|
|
433
|
+
//# sourceMappingURL=index-a01857b1.cjs.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var buildBackend = require('./buildBackend-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-90621e6f.cjs.js');
|
|
4
|
+
var packageRoles = require('./packageRoles-17061f37.cjs.js');
|
|
5
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
6
|
+
var buildBackend = require('./buildBackend-721dc09b.cjs.js');
|
|
7
7
|
require('chalk');
|
|
8
8
|
require('fs-extra');
|
|
9
9
|
require('path');
|
|
10
10
|
require('os');
|
|
11
11
|
require('tar');
|
|
12
12
|
require('lodash/partition');
|
|
13
|
-
require('./run-
|
|
13
|
+
require('./run-94823671.cjs.js');
|
|
14
14
|
require('child_process');
|
|
15
15
|
require('util');
|
|
16
16
|
require('@backstage/errors');
|
|
17
|
-
require('./PackageGraph-
|
|
17
|
+
require('./PackageGraph-217e30de.cjs.js');
|
|
18
18
|
require('@manypkg/get-packages');
|
|
19
19
|
require('rollup');
|
|
20
20
|
require('@rollup/plugin-commonjs');
|
|
@@ -40,8 +40,9 @@ require('html-webpack-plugin');
|
|
|
40
40
|
require('react-dev-utils/ModuleScopePlugin');
|
|
41
41
|
require('run-script-webpack-plugin');
|
|
42
42
|
require('webpack-node-externals');
|
|
43
|
-
require('./paths-
|
|
43
|
+
require('./paths-75e8c849.cjs.js');
|
|
44
44
|
require('mini-css-extract-plugin');
|
|
45
|
+
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
45
46
|
require('eslint-webpack-plugin');
|
|
46
47
|
require('lodash/pickBy');
|
|
47
48
|
require('yn');
|
|
@@ -49,7 +50,7 @@ require('react-dev-utils/FileSizeReporter');
|
|
|
49
50
|
require('react-dev-utils/formatWebpackMessages');
|
|
50
51
|
require('webpack-dev-server');
|
|
51
52
|
require('react-dev-utils/openBrowser');
|
|
52
|
-
require('./config-
|
|
53
|
+
require('./config-c80d95cb.cjs.js');
|
|
53
54
|
require('@backstage/config-loader');
|
|
54
55
|
require('@backstage/config');
|
|
55
56
|
|
|
@@ -87,4 +88,4 @@ async function command(opts) {
|
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
exports.command = command;
|
|
90
|
-
//# sourceMappingURL=index-
|
|
91
|
+
//# sourceMappingURL=index-d27add40.cjs.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
5
5
|
var webpack = require('webpack');
|
|
6
|
-
var paths = require('./paths-
|
|
6
|
+
var paths = require('./paths-75e8c849.cjs.js');
|
|
7
7
|
require('yn');
|
|
8
8
|
require('path');
|
|
9
9
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -16,18 +16,19 @@ require('webpack-node-externals');
|
|
|
16
16
|
require('@backstage/cli-common');
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
18
|
require('mini-css-extract-plugin');
|
|
19
|
-
require('
|
|
19
|
+
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
20
|
+
require('./run-94823671.cjs.js');
|
|
20
21
|
require('eslint-webpack-plugin');
|
|
21
22
|
require('lodash/pickBy');
|
|
22
23
|
var chalk = require('chalk');
|
|
23
24
|
var WebpackDevServer = require('webpack-dev-server');
|
|
24
25
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
25
26
|
var uniq = require('lodash/uniq');
|
|
26
|
-
var config = require('./config-
|
|
27
|
+
var config = require('./config-c80d95cb.cjs.js');
|
|
27
28
|
var Lockfile = require('./Lockfile-72b7072e.cjs.js');
|
|
28
29
|
require('minimatch');
|
|
29
|
-
var lint = require('./lint-
|
|
30
|
-
var packageRoles = require('./packageRoles-
|
|
30
|
+
var lint = require('./lint-19934788.cjs.js');
|
|
31
|
+
var packageRoles = require('./packageRoles-17061f37.cjs.js');
|
|
31
32
|
require('commander');
|
|
32
33
|
require('semver');
|
|
33
34
|
require('@backstage/errors');
|
|
@@ -36,7 +37,7 @@ require('child_process');
|
|
|
36
37
|
require('util');
|
|
37
38
|
require('@backstage/config-loader');
|
|
38
39
|
require('@backstage/config');
|
|
39
|
-
require('./PackageGraph-
|
|
40
|
+
require('./PackageGraph-217e30de.cjs.js');
|
|
40
41
|
require('@yarnpkg/parsers');
|
|
41
42
|
require('@yarnpkg/lockfile');
|
|
42
43
|
require('lodash/partition');
|
|
@@ -57,6 +58,7 @@ async function serveBackend(options) {
|
|
|
57
58
|
...options,
|
|
58
59
|
isDev: true
|
|
59
60
|
});
|
|
61
|
+
process.env.NODE_ENV = "development";
|
|
60
62
|
const compiler = webpack__default["default"](config, (err) => {
|
|
61
63
|
if (err) {
|
|
62
64
|
console.error(err);
|
|
@@ -239,4 +241,4 @@ async function command(opts) {
|
|
|
239
241
|
}
|
|
240
242
|
|
|
241
243
|
exports.command = command;
|
|
242
|
-
//# sourceMappingURL=index-
|
|
244
|
+
//# sourceMappingURL=index-d61460b3.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-94823671.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-72b7072e.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -57,4 +57,4 @@ var info = async () => {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
exports["default"] = info;
|
|
60
|
-
//# sourceMappingURL=info-
|
|
60
|
+
//# sourceMappingURL=info-425afef1.cjs.js.map
|
|
@@ -4,12 +4,12 @@ var fs = require('fs-extra');
|
|
|
4
4
|
require('semver');
|
|
5
5
|
require('@yarnpkg/parsers');
|
|
6
6
|
require('@yarnpkg/lockfile');
|
|
7
|
-
var packages = require('./packages-
|
|
8
|
-
var index = require('./index-
|
|
7
|
+
var packages = require('./packages-4a3062f2.cjs.js');
|
|
8
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
9
9
|
var chalk = require('chalk');
|
|
10
10
|
var sortBy = require('lodash/sortBy');
|
|
11
11
|
var groupBy = require('lodash/groupBy');
|
|
12
|
-
var run = require('./run-
|
|
12
|
+
var run = require('./run-94823671.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('commander');
|
|
@@ -267,4 +267,4 @@ var install = async (pluginId, cmd) => {
|
|
|
267
267
|
};
|
|
268
268
|
|
|
269
269
|
exports["default"] = install;
|
|
270
|
-
//# sourceMappingURL=install-
|
|
270
|
+
//# sourceMappingURL=install-803fbdd5.cjs.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var Lockfile = require('./Lockfile-72b7072e.cjs.js');
|
|
4
4
|
require('minimatch');
|
|
5
5
|
require('@manypkg/get-packages');
|
|
6
|
-
require('./run-
|
|
6
|
+
require('./run-94823671.cjs.js');
|
|
7
7
|
require('chalk');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
9
9
|
var partition = require('lodash/partition');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('semver');
|
|
@@ -104,4 +104,4 @@ function logArray(arr, header, each) {
|
|
|
104
104
|
exports["default"] = lint;
|
|
105
105
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
106
106
|
exports.includedFilter = includedFilter;
|
|
107
|
-
//# sourceMappingURL=lint-
|
|
107
|
+
//# sourceMappingURL=lint-19934788.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
@@ -33,4 +33,4 @@ var lint = async (directories, opts) => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
exports["default"] = lint;
|
|
36
|
-
//# sourceMappingURL=lint-
|
|
36
|
+
//# sourceMappingURL=lint-1cd0572d.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-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-a01857b1.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(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-bbc1280b.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-
|
|
7
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -79,4 +79,4 @@ async function command(opts) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
exports.command = command;
|
|
82
|
-
//# sourceMappingURL=list-deprecations-
|
|
82
|
+
//# sourceMappingURL=list-deprecations-caf6ac9b.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
require('commander');
|
|
7
7
|
require('chalk');
|
|
@@ -75,4 +75,4 @@ const post = async () => {
|
|
|
75
75
|
|
|
76
76
|
exports.post = post;
|
|
77
77
|
exports.pre = pre;
|
|
78
|
-
//# sourceMappingURL=pack-
|
|
78
|
+
//# sourceMappingURL=pack-d3497e7e.cjs.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
-
var run = require('./run-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
|
|
6
|
+
var run = require('./run-94823671.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-a01857b1.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -80,4 +80,4 @@ async function command() {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
exports.command = command;
|
|
83
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
83
|
+
//# sourceMappingURL=packageLintConfigs-1595d87f.cjs.js.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var getPackages = require('@manypkg/get-packages');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var packageRoles = require('./packageRoles-
|
|
6
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-17061f37.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -56,4 +56,4 @@ var packageRole = async () => {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
exports["default"] = packageRole;
|
|
59
|
-
//# sourceMappingURL=packageRole-
|
|
59
|
+
//# sourceMappingURL=packageRole-f92040f4.cjs.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -157,4 +157,4 @@ exports.detectRoleFromPackage = detectRoleFromPackage;
|
|
|
157
157
|
exports.findRoleFromCommand = findRoleFromCommand;
|
|
158
158
|
exports.getRoleFromPackage = getRoleFromPackage;
|
|
159
159
|
exports.getRoleInfo = getRoleInfo;
|
|
160
|
-
//# sourceMappingURL=packageRoles-
|
|
160
|
+
//# sourceMappingURL=packageRoles-17061f37.cjs.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-217e30de.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-17061f37.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-a01857b1.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -95,4 +95,4 @@ async function command() {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
exports.command = command;
|
|
98
|
-
//# sourceMappingURL=packageScripts-
|
|
98
|
+
//# sourceMappingURL=packageScripts-1d479974.cjs.js.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var minimatch = require('minimatch');
|
|
4
4
|
var getPackages = require('@manypkg/get-packages');
|
|
5
|
-
var run = require('./run-
|
|
6
|
-
var index = require('./index-
|
|
5
|
+
var run = require('./run-94823671.cjs.js');
|
|
6
|
+
var index = require('./index-a01857b1.cjs.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
9
|
|
|
@@ -56,4 +56,4 @@ async function mapDependencies(targetDir, pattern) {
|
|
|
56
56
|
|
|
57
57
|
exports.fetchPackageInfo = fetchPackageInfo;
|
|
58
58
|
exports.mapDependencies = mapDependencies;
|
|
59
|
-
//# sourceMappingURL=packages-
|
|
59
|
+
//# sourceMappingURL=packages-4a3062f2.cjs.js.map
|