@backstage/cli 0.26.11-next.1 → 0.26.11
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 +28 -0
- package/dist/cjs/{build-fqzNfqa5.cjs.js → build-DwlXzIpR.cjs.js} +8 -7
- package/dist/cjs/{buildBackend-CrQ_GwBs.cjs.js → buildBackend-CrncxAY5.cjs.js} +52 -25
- package/dist/cjs/{buildWorkspace-Bv-xt2y-.cjs.js → buildWorkspace-D95Cv1QN.cjs.js} +4 -4
- package/dist/cjs/{bump-DG3jcOMS.cjs.js → bump-b90k9Vrg.cjs.js} +5 -5
- package/dist/cjs/{clean-BGNU8ShE.cjs.js → clean-Bev614vS.cjs.js} +2 -2
- package/dist/cjs/{clean-83xjoKEJ.cjs.js → clean-Cn9pRgoI.cjs.js} +2 -2
- package/dist/cjs/{codeowners-B-nGMoIG.cjs.js → codeowners-C_BzEYI6.cjs.js} +2 -2
- package/dist/cjs/{config-eLDUbNFK.cjs.js → config-EizsMYjy.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-vhWGDizr.cjs.js → createDistWorkspace-CqCdLqOV.cjs.js} +3 -3
- package/dist/cjs/{createPlugin-B1qnN0IC.cjs.js → createPlugin-Dp_zJ1vU.cjs.js} +5 -5
- package/dist/cjs/{diff-BU6vhJMf.cjs.js → diff-SflPPir6.cjs.js} +2 -2
- package/dist/cjs/{docs-GJmQNVkJ.cjs.js → docs-B0MlNQaZ.cjs.js} +3 -3
- package/dist/cjs/{fix-BhwlcHp_.cjs.js → fix-BoMIpogO.cjs.js} +2 -2
- package/dist/cjs/{index-DX-m2Ed0.cjs.js → index-7vT98W4X.cjs.js} +48 -47
- package/dist/cjs/{index-CYI5nGsH.cjs.js → index-D6bTzT6C.cjs.js} +27 -9
- package/dist/cjs/{index-CTTm1_x6.cjs.js → index-Do6EL2Yb.cjs.js} +4 -4
- package/dist/cjs/{index-D8nglRxA.cjs.js → index-JoytU5ZM.cjs.js} +2 -2
- package/dist/cjs/{index-pTrNn6sL.cjs.js → index-nl4fBJN1.cjs.js} +8 -7
- package/dist/cjs/{info-CSiHnHqF.cjs.js → info-BRPLyhql.cjs.js} +3 -3
- package/dist/cjs/{install-C6PA5oT4.cjs.js → install-DBTY3GMv.cjs.js} +4 -4
- package/dist/cjs/{lint-D0v-Gi6H.cjs.js → lint-6Ua9puez.cjs.js} +2 -2
- package/dist/cjs/{lint-DqMGmvsS.cjs.js → lint-CCzUmZcU.cjs.js} +3 -3
- package/dist/cjs/{lint-yikicfA4.cjs.js → lint-DmKqylEy.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-Coko6Rsb.cjs.js → list-deprecations-DNYfBnHZ.cjs.js} +2 -2
- package/dist/cjs/{new-Da1kvXDQ.cjs.js → new-WebKpNSz.cjs.js} +5 -5
- package/dist/cjs/{pack-D8b4JM6B.cjs.js → pack-5if7U6_6.cjs.js} +2 -2
- package/dist/cjs/{packageDetection-B6lJYBh9.cjs.js → packageDetection-DlDcN5Ll.cjs.js} +89 -17
- package/dist/cjs/{packageExports-DDff9ia4.cjs.js → packageExports-Ddqkury2.cjs.js} +3 -3
- package/dist/cjs/{packageLintConfigs-Bfvzg--7.cjs.js → packageLintConfigs-CrhcoEVX.cjs.js} +3 -3
- package/dist/cjs/{packageRole-CXerjPpL.cjs.js → packageRole-CBF_rIK0.cjs.js} +2 -2
- package/dist/cjs/{packages-BgyW9VKx.cjs.js → packages-RRALGdRj.cjs.js} +3 -3
- package/dist/cjs/{print-C5tbwB1-.cjs.js → print-Caq1MMDY.cjs.js} +3 -3
- package/dist/cjs/{role-BjmWpqH5.cjs.js → role-DNHddFRX.cjs.js} +2 -2
- package/dist/cjs/{run-ClbD5HPt.cjs.js → run-Dyr28990.cjs.js} +2 -2
- package/dist/cjs/{schema-DbqftE60.cjs.js → schema-CXKpYRvf.cjs.js} +3 -3
- package/dist/cjs/{tasks-XfFuuYgf.cjs.js → tasks-CMO3PrbZ.cjs.js} +2 -2
- package/dist/cjs/{test-BYKGLz-_.cjs.js → test-CTXtMelk.cjs.js} +3 -3
- package/dist/cjs/{test-BEyXOT0e.cjs.js → test-CyF0ge7_.cjs.js} +3 -3
- package/dist/cjs/{validate-D4vVgxsi.cjs.js → validate-CPunUthn.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +11 -10
- package/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.test.tsx.hbs +2 -2
|
@@ -47,13 +47,13 @@ class NotFoundError extends CustomError {
|
|
|
47
47
|
|
|
48
48
|
const paths = cliCommon.findPaths(__dirname);
|
|
49
49
|
|
|
50
|
-
var version$f = "0.23.3
|
|
50
|
+
var version$f = "0.23.3";
|
|
51
51
|
|
|
52
|
-
var version$e = "0.
|
|
52
|
+
var version$e = "0.7.0";
|
|
53
53
|
|
|
54
|
-
var version$d = "0.4.4
|
|
54
|
+
var version$d = "0.4.4";
|
|
55
55
|
|
|
56
|
-
var version$c = "0.26.11
|
|
56
|
+
var version$c = "0.26.11";
|
|
57
57
|
var dependencies = {
|
|
58
58
|
"@backstage/catalog-model": "workspace:^",
|
|
59
59
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -66,6 +66,7 @@ var dependencies = {
|
|
|
66
66
|
"@backstage/release-manifests": "workspace:^",
|
|
67
67
|
"@backstage/types": "workspace:^",
|
|
68
68
|
"@manypkg/get-packages": "^1.1.3",
|
|
69
|
+
"@module-federation/enhanced": "^0.1.19",
|
|
69
70
|
"@octokit/graphql": "^5.0.0",
|
|
70
71
|
"@octokit/graphql-schema": "^13.7.0",
|
|
71
72
|
"@octokit/oauth-app": "^4.2.0",
|
|
@@ -205,25 +206,25 @@ var devDependencies = {
|
|
|
205
206
|
|
|
206
207
|
var version$b = "1.2.0";
|
|
207
208
|
|
|
208
|
-
var version$a = "1.
|
|
209
|
+
var version$a = "1.14.0";
|
|
209
210
|
|
|
210
|
-
var version$9 = "0.14.9
|
|
211
|
+
var version$9 = "0.14.9";
|
|
211
212
|
|
|
212
213
|
var version$8 = "1.9.3";
|
|
213
214
|
|
|
214
|
-
var version$7 = "1.0.35
|
|
215
|
+
var version$7 = "1.0.35";
|
|
215
216
|
|
|
216
|
-
var version$6 = "1.5.8
|
|
217
|
+
var version$6 = "1.5.8";
|
|
217
218
|
|
|
218
|
-
var version$5 = "0.4.8
|
|
219
|
+
var version$5 = "0.4.8";
|
|
219
220
|
|
|
220
|
-
var version$4 = "0.22.9
|
|
221
|
+
var version$4 = "0.22.9";
|
|
221
222
|
|
|
222
|
-
var version$3 = "0.1.8
|
|
223
|
+
var version$3 = "0.1.8";
|
|
223
224
|
|
|
224
225
|
var version$2 = "0.5.6";
|
|
225
226
|
|
|
226
|
-
var version$1 = "0.
|
|
227
|
+
var version$1 = "0.4.0";
|
|
227
228
|
|
|
228
229
|
const packageVersions = {
|
|
229
230
|
"@backstage/backend-common": version$f,
|
|
@@ -289,7 +290,7 @@ const configOption = [
|
|
|
289
290
|
Array()
|
|
290
291
|
];
|
|
291
292
|
function registerOnboardCommand(program) {
|
|
292
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
293
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-Do6EL2Yb.cjs.js'); }).then((m) => m.command)));
|
|
293
294
|
}
|
|
294
295
|
function registerRepoCommand(program) {
|
|
295
296
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -301,7 +302,7 @@ function registerRepoCommand(program) {
|
|
|
301
302
|
).option(
|
|
302
303
|
"--since <ref>",
|
|
303
304
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
304
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
305
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-DwlXzIpR.cjs.js'); }).then((m) => m.command)));
|
|
305
306
|
command.command("lint").description("Lint all packages in the project").option(
|
|
306
307
|
"--format <format>",
|
|
307
308
|
"Lint report output format",
|
|
@@ -309,17 +310,17 @@ function registerRepoCommand(program) {
|
|
|
309
310
|
).option(
|
|
310
311
|
"--since <ref>",
|
|
311
312
|
"Only lint packages that changed since the specified ref"
|
|
312
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
313
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-6Ua9puez.cjs.js'); }).then((m) => m.command)));
|
|
313
314
|
command.command("fix").description("Automatically fix packages in the project").option(
|
|
314
315
|
"--publish",
|
|
315
316
|
"Enable additional fixes that only apply when publishing packages"
|
|
316
317
|
).option(
|
|
317
318
|
"--check",
|
|
318
319
|
"Fail if any packages would have been changed by the command"
|
|
319
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
320
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
320
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-BoMIpogO.cjs.js'); }).then((m) => m.command)));
|
|
321
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-Cn9pRgoI.cjs.js'); }).then((m) => m.command)));
|
|
321
322
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
322
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
323
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-DNYfBnHZ.cjs.js'); }).then((m) => m.command))
|
|
323
324
|
);
|
|
324
325
|
command.command("test").allowUnknownOption(true).option(
|
|
325
326
|
"--since <ref>",
|
|
@@ -327,14 +328,14 @@ function registerRepoCommand(program) {
|
|
|
327
328
|
).option(
|
|
328
329
|
"--jest-help",
|
|
329
330
|
"Show help for Jest CLI options, which are passed through"
|
|
330
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
331
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-CyF0ge7_.cjs.js'); }).then((m) => m.command)));
|
|
331
332
|
}
|
|
332
333
|
function registerScriptCommand(program) {
|
|
333
334
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
334
335
|
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 [host]", "Enable debugger in Node.js environments").option(
|
|
335
336
|
"--inspect-brk [host]",
|
|
336
337
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
337
|
-
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
338
|
+
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-nl4fBJN1.cjs.js'); }).then((m) => m.command)));
|
|
338
339
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
339
340
|
"--minify",
|
|
340
341
|
"Minify the generated code. Does not apply to app package (app is minified by default)."
|
|
@@ -349,30 +350,30 @@ function registerScriptCommand(program) {
|
|
|
349
350
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
350
351
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
351
352
|
Array()
|
|
352
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
353
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-D6bTzT6C.cjs.js'); }).then((m) => m.command)));
|
|
353
354
|
command.command("lint [directories...]").option(
|
|
354
355
|
"--format <format>",
|
|
355
356
|
"Lint report output format",
|
|
356
357
|
"eslint-formatter-friendly"
|
|
357
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
358
|
-
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-
|
|
359
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
360
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
361
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
358
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-DmKqylEy.cjs.js'); }).then((m) => m.default)));
|
|
359
|
+
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-CTXtMelk.cjs.js'); }).then((m) => m.default)));
|
|
360
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-Bev614vS.cjs.js'); }).then((m) => m.default)));
|
|
361
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-5if7U6_6.cjs.js'); }).then((m) => m.pre)));
|
|
362
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-5if7U6_6.cjs.js'); }).then((m) => m.post)));
|
|
362
363
|
}
|
|
363
364
|
function registerMigrateCommand(program) {
|
|
364
365
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
365
|
-
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-
|
|
366
|
+
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-CBF_rIK0.cjs.js'); }).then((m) => m.default)));
|
|
366
367
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
367
368
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-DX6dilK6.cjs.js'); }).then((m) => m.command))
|
|
368
369
|
);
|
|
369
370
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
370
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
371
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-Ddqkury2.cjs.js'); }).then((m) => m.command))
|
|
371
372
|
);
|
|
372
373
|
command.command("package-lint-configs").description(
|
|
373
374
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
374
375
|
).action(
|
|
375
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
376
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-CrhcoEVX.cjs.js'); }).then((m) => m.command))
|
|
376
377
|
);
|
|
377
378
|
command.command("react-router-deps").description(
|
|
378
379
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -397,7 +398,7 @@ function registerCommands(program) {
|
|
|
397
398
|
).option(
|
|
398
399
|
"--baseVersion <version>",
|
|
399
400
|
"The version to use for any new packages (default: 0.1.0)"
|
|
400
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
401
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-WebKpNSz.cjs.js'); }).then((m) => m.default)));
|
|
401
402
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
402
403
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
403
404
|
).option(
|
|
@@ -411,30 +412,30 @@ function registerCommands(program) {
|
|
|
411
412
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
412
413
|
"--npm-registry <URL>",
|
|
413
414
|
"The package registry to use for new packages"
|
|
414
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
415
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-WebKpNSz.cjs.js'); }).then((m) => m.default)));
|
|
415
416
|
program.command("create-plugin", { hidden: true }).option(
|
|
416
417
|
"--backend",
|
|
417
418
|
"Create plugin with the backend dependencies as default"
|
|
418
419
|
).description("Creates a new plugin in the current repository [DEPRECATED]").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(
|
|
419
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
420
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-Dp_zJ1vU.cjs.js'); }).then((m) => m.default))
|
|
420
421
|
);
|
|
421
422
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
422
423
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
423
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
424
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-SflPPir6.cjs.js'); }).then((m) => m.default)));
|
|
424
425
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
425
426
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
426
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
427
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-CTXtMelk.cjs.js'); }).then((m) => m.default)));
|
|
427
428
|
program.command("config:docs").option(
|
|
428
429
|
"--package <name>",
|
|
429
430
|
"Only include the schema that applies to the given package"
|
|
430
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
431
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-B0MlNQaZ.cjs.js'); }).then((m) => m.default)));
|
|
431
432
|
program.command("config:print").option(
|
|
432
433
|
"--package <name>",
|
|
433
434
|
"Only load config schema that applies to the given package"
|
|
434
435
|
).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(
|
|
435
436
|
"--format <format>",
|
|
436
437
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
437
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
438
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-Caq1MMDY.cjs.js'); }).then((m) => m.default)));
|
|
438
439
|
program.command("config:check").option(
|
|
439
440
|
"--package <name>",
|
|
440
441
|
"Only load config schema that applies to the given package"
|
|
@@ -443,14 +444,14 @@ function registerCommands(program) {
|
|
|
443
444
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
444
445
|
).option(...configOption).description(
|
|
445
446
|
"Validate that the given configuration loads and matches schema"
|
|
446
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
447
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-CPunUthn.cjs.js'); }).then((m) => m.default)));
|
|
447
448
|
program.command("config:schema").option(
|
|
448
449
|
"--package <name>",
|
|
449
450
|
"Only output config schema that applies to the given package"
|
|
450
451
|
).option(
|
|
451
452
|
"--format <format>",
|
|
452
453
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
453
|
-
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
454
|
+
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-CXKpYRvf.cjs.js'); }).then((m) => m.default)));
|
|
454
455
|
registerRepoCommand(program);
|
|
455
456
|
registerScriptCommand(program);
|
|
456
457
|
registerMigrateCommand(program);
|
|
@@ -462,8 +463,8 @@ function registerCommands(program) {
|
|
|
462
463
|
"--release <version|next|main>",
|
|
463
464
|
"Bump to a specific Backstage release line or version",
|
|
464
465
|
"main"
|
|
465
|
-
).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
466
|
-
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-
|
|
466
|
+
).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-b90k9Vrg.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
|
|
467
|
+
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-CCzUmZcU.cjs.js'); }).then((m) => m.default)));
|
|
467
468
|
program.command("versions:migrate").option(
|
|
468
469
|
"--pattern <glob>",
|
|
469
470
|
"Override glob for matching packages to upgrade"
|
|
@@ -472,18 +473,18 @@ function registerCommands(program) {
|
|
|
472
473
|
"Skip code changes and only update package.json files"
|
|
473
474
|
).description(
|
|
474
475
|
"Migrate any plugins that have been moved to the @backstage-community namespace automatically"
|
|
475
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
476
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
476
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-b90k9Vrg.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
|
|
477
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-Bev614vS.cjs.js'); }).then((m) => m.default)));
|
|
477
478
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
478
479
|
"--alwaysYarnPack",
|
|
479
480
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
480
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
481
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
482
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
481
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-D95Cv1QN.cjs.js'); }).then((m) => m.default)));
|
|
482
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-JoytU5ZM.cjs.js'); }).then((m) => m.default)));
|
|
483
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-BRPLyhql.cjs.js'); }).then((m) => m.default)));
|
|
483
484
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
484
485
|
"--from <packageJsonFilePath>",
|
|
485
486
|
"Install from a local package.json containing the installation recipe"
|
|
486
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
487
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-DBTY3GMv.cjs.js'); }).then((m) => m.default)));
|
|
487
488
|
}
|
|
488
489
|
function lazy(getActionFunc) {
|
|
489
490
|
return async (...args) => {
|
|
@@ -527,4 +528,4 @@ exports.devDependencies = devDependencies;
|
|
|
527
528
|
exports.paths = paths;
|
|
528
529
|
exports.version = version;
|
|
529
530
|
exports.version$1 = version$c;
|
|
530
|
-
//# sourceMappingURL=index-
|
|
531
|
+
//# sourceMappingURL=index-7vT98W4X.cjs.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var role = require('./role-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-CqCdLqOV.cjs.js');
|
|
4
|
+
var role = require('./role-DNHddFRX.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buildBackend = require('./buildBackend-
|
|
8
|
-
var config = require('./config-
|
|
9
|
-
require('chalk');
|
|
6
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
7
|
+
var buildBackend = require('./buildBackend-CrncxAY5.cjs.js');
|
|
8
|
+
var config = require('./config-EizsMYjy.cjs.js');
|
|
9
|
+
var chalk = require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('path');
|
|
12
12
|
require('p-limit');
|
|
13
13
|
require('os');
|
|
14
14
|
require('tar');
|
|
15
15
|
require('lodash/partition');
|
|
16
|
-
require('./run-
|
|
16
|
+
require('./run-Dyr28990.cjs.js');
|
|
17
17
|
require('child_process');
|
|
18
18
|
require('util');
|
|
19
19
|
require('@backstage/errors');
|
|
@@ -40,11 +40,12 @@ require('webpack');
|
|
|
40
40
|
require('eslint-webpack-plugin');
|
|
41
41
|
require('fork-ts-checker-webpack-plugin');
|
|
42
42
|
require('html-webpack-plugin');
|
|
43
|
+
require('@module-federation/enhanced/webpack');
|
|
43
44
|
require('react-dev-utils/ModuleScopePlugin');
|
|
44
45
|
require('run-script-webpack-plugin');
|
|
45
46
|
require('@manypkg/get-packages');
|
|
46
47
|
require('webpack-node-externals');
|
|
47
|
-
require('./packageDetection-
|
|
48
|
+
require('./packageDetection-DlDcN5Ll.cjs.js');
|
|
48
49
|
require('lodash/pickBy');
|
|
49
50
|
require('mini-css-extract-plugin');
|
|
50
51
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
@@ -63,6 +64,10 @@ require('minimatch');
|
|
|
63
64
|
require('./yarn-Ukl9MOS0.cjs.js');
|
|
64
65
|
require('@backstage/config-loader');
|
|
65
66
|
|
|
67
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
68
|
+
|
|
69
|
+
var chalk__default = /*#__PURE__*/_interopDefaultCompat(chalk);
|
|
70
|
+
|
|
66
71
|
async function command(opts) {
|
|
67
72
|
const role$1 = await role.findRoleFromCommand(opts);
|
|
68
73
|
if (role$1 === "frontend" || role$1 === "backend") {
|
|
@@ -86,6 +91,19 @@ async function command(opts) {
|
|
|
86
91
|
minify: Boolean(opts.minify)
|
|
87
92
|
});
|
|
88
93
|
}
|
|
94
|
+
if (role$1 === "frontend-dynamic-container") {
|
|
95
|
+
console.log(
|
|
96
|
+
chalk__default.default.yellow(
|
|
97
|
+
`\u26A0\uFE0F WARNING: The 'frontend-dynamic-container' package role is experimental and will receive immediate breaking changes in the future.`
|
|
98
|
+
)
|
|
99
|
+
);
|
|
100
|
+
return buildBackend.buildFrontend({
|
|
101
|
+
targetDir: index.paths.targetDir,
|
|
102
|
+
configPaths: [],
|
|
103
|
+
writeStats: Boolean(opts.stats),
|
|
104
|
+
isModuleFederationRemote: true
|
|
105
|
+
});
|
|
106
|
+
}
|
|
89
107
|
const roleInfo = cliNode.PackageRoles.getRoleInfo(role$1);
|
|
90
108
|
const outputs = /* @__PURE__ */ new Set();
|
|
91
109
|
if (roleInfo.output.includes("cjs")) {
|
|
@@ -104,4 +122,4 @@ async function command(opts) {
|
|
|
104
122
|
}
|
|
105
123
|
|
|
106
124
|
exports.command = command;
|
|
107
|
-
//# sourceMappingURL=index-
|
|
125
|
+
//# sourceMappingURL=index-D6bTzT6C.cjs.js.map
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var inquirer = require('inquirer');
|
|
5
|
-
var tasks = require('./tasks-
|
|
5
|
+
var tasks = require('./tasks-CMO3PrbZ.cjs.js');
|
|
6
6
|
var oauthApp = require('@octokit/oauth-app');
|
|
7
7
|
var fs = require('fs-extra');
|
|
8
8
|
var yaml = require('yaml');
|
|
9
9
|
var cliCommon = require('@backstage/cli-common');
|
|
10
10
|
var path = require('path');
|
|
11
11
|
var differ = require('diff');
|
|
12
|
-
var config = require('./config-
|
|
12
|
+
var config = require('./config-EizsMYjy.cjs.js');
|
|
13
13
|
var catalogModel = require('@backstage/catalog-model');
|
|
14
14
|
var z = require('zod');
|
|
15
15
|
var integration = require('@backstage/integration');
|
|
@@ -22,7 +22,7 @@ require('util');
|
|
|
22
22
|
require('recursive-readdir');
|
|
23
23
|
require('child_process');
|
|
24
24
|
require('@backstage/errors');
|
|
25
|
-
require('./index-
|
|
25
|
+
require('./index-7vT98W4X.cjs.js');
|
|
26
26
|
require('commander');
|
|
27
27
|
require('semver');
|
|
28
28
|
require('@backstage/config-loader');
|
|
@@ -1024,4 +1024,4 @@ async function command() {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
exports.command = command;
|
|
1027
|
-
//# sourceMappingURL=index-
|
|
1027
|
+
//# sourceMappingURL=index-Do6EL2Yb.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
|
|
|
4
4
|
var chalk = require('chalk');
|
|
5
5
|
var yaml = require('yaml');
|
|
6
6
|
var inquirer = require('inquirer');
|
|
7
|
-
var index$1 = require('./index-
|
|
7
|
+
var index$1 = require('./index-7vT98W4X.cjs.js');
|
|
8
8
|
var crypto = require('crypto');
|
|
9
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
10
10
|
var request = require('@octokit/request');
|
|
@@ -224,4 +224,4 @@ async function verifyGithubOrg(org) {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
exports.default = index;
|
|
227
|
-
//# sourceMappingURL=index-
|
|
227
|
+
//# sourceMappingURL=index-JoytU5ZM.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var role = require('./role-
|
|
3
|
+
var role = require('./role-DNHddFRX.cjs.js');
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
6
6
|
var webpack = require('webpack');
|
|
7
|
-
var packageDetection = require('./packageDetection-
|
|
7
|
+
var packageDetection = require('./packageDetection-DlDcN5Ll.cjs.js');
|
|
8
8
|
require('yn');
|
|
9
9
|
var path = require('path');
|
|
10
10
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -12,13 +12,14 @@ require('react-dev-utils/formatWebpackMessages');
|
|
|
12
12
|
require('eslint-webpack-plugin');
|
|
13
13
|
require('fork-ts-checker-webpack-plugin');
|
|
14
14
|
require('html-webpack-plugin');
|
|
15
|
+
require('@module-federation/enhanced/webpack');
|
|
15
16
|
require('@backstage/cli-common');
|
|
16
17
|
require('react-dev-utils/ModuleScopePlugin');
|
|
17
18
|
require('run-script-webpack-plugin');
|
|
18
19
|
require('@manypkg/get-packages');
|
|
19
20
|
require('webpack-node-externals');
|
|
20
21
|
require('lodash/pickBy');
|
|
21
|
-
require('./run-
|
|
22
|
+
require('./run-Dyr28990.cjs.js');
|
|
22
23
|
require('mini-css-extract-plugin');
|
|
23
24
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
24
25
|
var chalk = require('chalk');
|
|
@@ -40,8 +41,8 @@ var errors = require('@backstage/errors');
|
|
|
40
41
|
var debounce = require('lodash/debounce');
|
|
41
42
|
var url = require('url');
|
|
42
43
|
var spawn = require('cross-spawn');
|
|
43
|
-
var lint = require('./lint-
|
|
44
|
-
var config = require('./config-
|
|
44
|
+
var lint = require('./lint-CCzUmZcU.cjs.js');
|
|
45
|
+
var config = require('./config-EizsMYjy.cjs.js');
|
|
45
46
|
var Lockfile = require('./Lockfile-BndFvzHc.cjs.js');
|
|
46
47
|
require('commander');
|
|
47
48
|
require('./entryPoints-CoHH4lBA.cjs.js');
|
|
@@ -632,4 +633,4 @@ async function command(opts) {
|
|
|
632
633
|
}
|
|
633
634
|
|
|
634
635
|
exports.command = command;
|
|
635
|
-
//# sourceMappingURL=index-
|
|
636
|
+
//# sourceMappingURL=index-nl4fBJN1.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-Dyr28990.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-BndFvzHc.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-BRPLyhql.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-RRALGdRj.cjs.js');
|
|
8
|
+
var index = require('./index-7vT98W4X.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-Dyr28990.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('./yarn-Ukl9MOS0.cjs.js');
|
|
@@ -265,4 +265,4 @@ var install = async (pluginId, cmd) => {
|
|
|
265
265
|
};
|
|
266
266
|
|
|
267
267
|
exports.default = install;
|
|
268
|
-
//# sourceMappingURL=install-
|
|
268
|
+
//# sourceMappingURL=install-DBTY3GMv.cjs.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
7
7
|
var parallel = require('./parallel-BszNaKyc.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-6Ua9puez.cjs.js.map
|
|
@@ -5,8 +5,8 @@ require('minimatch');
|
|
|
5
5
|
require('@manypkg/get-packages');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('./yarn-Ukl9MOS0.cjs.js');
|
|
8
|
-
require('./run-
|
|
9
|
-
var index = require('./index-
|
|
8
|
+
require('./run-Dyr28990.cjs.js');
|
|
9
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
11
|
var cliNode = require('@backstage/cli-node');
|
|
12
12
|
require('fs-extra');
|
|
@@ -109,4 +109,4 @@ function logArray(arr, header, each) {
|
|
|
109
109
|
exports.default = lint;
|
|
110
110
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
111
111
|
exports.includedFilter = includedFilter;
|
|
112
|
-
//# sourceMappingURL=lint-
|
|
112
|
+
//# sourceMappingURL=lint-CCzUmZcU.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-7vT98W4X.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-DmKqylEy.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var chalk = require('chalk');
|
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var cliNode = require('@backstage/cli-node');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -76,4 +76,4 @@ async function command(opts) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
exports.command = command;
|
|
79
|
-
//# sourceMappingURL=list-deprecations-
|
|
79
|
+
//# sourceMappingURL=list-deprecations-DNYfBnHZ.cjs.js.map
|
|
@@ -7,14 +7,14 @@ var chalk = require('chalk');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var camelCase = require('lodash/camelCase');
|
|
9
9
|
var upperFirst = require('lodash/upperFirst');
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var codeowners = require('./codeowners-
|
|
12
|
-
var tasks = require('./tasks-
|
|
10
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
11
|
+
var codeowners = require('./codeowners-C_BzEYI6.cjs.js');
|
|
12
|
+
var tasks = require('./tasks-CMO3PrbZ.cjs.js');
|
|
13
13
|
var Lockfile = require('./Lockfile-BndFvzHc.cjs.js');
|
|
14
14
|
require('minimatch');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
16
|
require('./yarn-Ukl9MOS0.cjs.js');
|
|
17
|
-
require('./run-
|
|
17
|
+
require('./run-Dyr28990.cjs.js');
|
|
18
18
|
var partition = require('lodash/partition');
|
|
19
19
|
var cliNode = require('@backstage/cli-node');
|
|
20
20
|
var errors = require('@backstage/errors');
|
|
@@ -775,4 +775,4 @@ var _new = async (opts) => {
|
|
|
775
775
|
};
|
|
776
776
|
|
|
777
777
|
exports.default = _new;
|
|
778
|
-
//# sourceMappingURL=new-
|
|
778
|
+
//# sourceMappingURL=new-WebKpNSz.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-BWU8WkGs.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-7vT98W4X.cjs.js');
|
|
5
5
|
var fs = require('fs-extra');
|
|
6
6
|
var publishing = require('./publishing-DQtsKTbc.cjs.js');
|
|
7
7
|
require('npm-packlist');
|
|
@@ -30,4 +30,4 @@ const post = async () => {
|
|
|
30
30
|
|
|
31
31
|
exports.post = post;
|
|
32
32
|
exports.pre = pre;
|
|
33
|
-
//# sourceMappingURL=pack-
|
|
33
|
+
//# sourceMappingURL=pack-5if7U6_6.cjs.js.map
|