@backstage/cli 0.23.0-next.1 → 0.23.0-next.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.
- package/CHANGELOG.md +40 -0
- package/asset-types/asset-types.d.ts +30 -0
- package/dist/cjs/{build-c6e45627.cjs.js → build-266b6426.cjs.js} +8 -8
- package/dist/cjs/{buildBackend-3c76db36.cjs.js → buildBackend-8019130f.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-a8976319.cjs.js → buildWorkspace-1433113e.cjs.js} +5 -5
- package/dist/cjs/{bump-f936d25d.cjs.js → bump-62013d22.cjs.js} +5 -5
- package/dist/cjs/{clean-51be9aac.cjs.js → clean-03de4134.cjs.js} +2 -2
- package/dist/cjs/{clean-8ec100aa.cjs.js → clean-f043613b.cjs.js} +2 -2
- package/dist/cjs/{codeowners-68f9a968.cjs.js → codeowners-1d7f21df.cjs.js} +2 -2
- package/dist/cjs/{config-e9866115.cjs.js → config-306bf5a2.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-3687e5db.cjs.js → createDistWorkspace-ffd6e7a2.cjs.js} +4 -4
- package/dist/cjs/{createPlugin-e04c48f2.cjs.js → createPlugin-f0cccf2e.cjs.js} +4 -4
- package/dist/cjs/{diff-1de5b392.cjs.js → diff-f698ae5f.cjs.js} +2 -2
- package/dist/cjs/{docs-ea08de57.cjs.js → docs-cc299e7c.cjs.js} +3 -3
- package/dist/cjs/{fix-18caaba3.cjs.js → fix-94798ad7.cjs.js} +2 -2
- package/dist/cjs/{index-8a266472.cjs.js → index-1c74d3d4.cjs.js} +3 -3
- package/dist/cjs/{index-eaf0d41e.cjs.js → index-56da7468.cjs.js} +48 -48
- package/dist/cjs/{index-c0278ae6.cjs.js → index-5f67cdfb.cjs.js} +9 -9
- package/dist/cjs/{index-a81da3bb.cjs.js → index-6cf6638f.cjs.js} +2 -2
- package/dist/cjs/{index-3dd8442a.cjs.js → index-96a9946a.cjs.js} +8 -8
- package/dist/cjs/{info-00cccf2c.cjs.js → info-5c3c252a.cjs.js} +3 -3
- package/dist/cjs/{install-1d1e2cdd.cjs.js → install-4907bfa0.cjs.js} +4 -4
- package/dist/cjs/{lint-6049747c.cjs.js → lint-01d4b10c.cjs.js} +2 -2
- package/dist/cjs/{lint-22f1cd8b.cjs.js → lint-47693b83.cjs.js} +2 -2
- package/dist/cjs/{lint-5289ba25.cjs.js → lint-a63bec2d.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-7da4b03c.cjs.js → list-deprecations-f4e44f85.cjs.js} +2 -2
- package/dist/cjs/{new-a08a732f.cjs.js → new-de8e682d.cjs.js} +4 -4
- package/dist/cjs/{pack-7a7defe7.cjs.js → pack-414d8d0d.cjs.js} +2 -2
- package/dist/cjs/{packageDetection-e0eef2b7.cjs.js → packageDetection-4af1c8ac.cjs.js} +4 -4
- package/dist/cjs/{packageExports-a28b219c.cjs.js → packageExports-eded9a5f.cjs.js} +3 -3
- package/dist/cjs/{packageLintConfigs-ceebbac3.cjs.js → packageLintConfigs-47676d49.cjs.js} +3 -3
- package/dist/cjs/{packageRole-a6bbf39c.cjs.js → packageRole-69a52f21.cjs.js} +2 -2
- package/dist/cjs/{packages-ffbbc844.cjs.js → packages-cd549fee.cjs.js} +3 -3
- package/dist/cjs/{print-4d371920.cjs.js → print-70faa981.cjs.js} +3 -3
- package/dist/cjs/{role-eac52f4b.cjs.js → role-829916a6.cjs.js} +2 -2
- package/dist/cjs/{run-9942d093.cjs.js → run-ea727d91.cjs.js} +2 -2
- package/dist/cjs/{schema-2f56feb9.cjs.js → schema-721e1c55.cjs.js} +3 -3
- package/dist/cjs/{svgrTemplate-550efce6.cjs.js → svgrTemplate-3549ea1c.cjs.js} +3 -1
- package/dist/cjs/{test-d90776ab.cjs.js → test-295e2ea3.cjs.js} +3 -3
- package/dist/cjs/{test-2e1ec526.cjs.js → test-8b333130.cjs.js} +3 -3
- package/dist/cjs/{validate-0bd6c265.cjs.js → validate-3f650475.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +19 -19
|
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
|
|
|
53
53
|
|
|
54
54
|
const paths = cliCommon.findPaths(__dirname);
|
|
55
55
|
|
|
56
|
-
var version$c = "0.19.
|
|
56
|
+
var version$c = "0.19.8-next.2";
|
|
57
57
|
|
|
58
|
-
var version$b = "0.6.
|
|
58
|
+
var version$b = "0.6.6-next.2";
|
|
59
59
|
|
|
60
|
-
var version$a = "0.2.
|
|
60
|
+
var version$a = "0.2.7-next.2";
|
|
61
61
|
|
|
62
|
-
var version$9 = "0.23.0-next.
|
|
62
|
+
var version$9 = "0.23.0-next.2";
|
|
63
63
|
var dependencies = {
|
|
64
64
|
"@backstage/catalog-model": "workspace:^",
|
|
65
65
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -97,8 +97,8 @@ var dependencies = {
|
|
|
97
97
|
"@swc/jest": "^0.2.22",
|
|
98
98
|
"@types/jest": "^29.0.0",
|
|
99
99
|
"@types/webpack-env": "^1.15.2",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "
|
|
101
|
-
"@typescript-eslint/parser": "^
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "6.7.2",
|
|
101
|
+
"@typescript-eslint/parser": "^6.7.2",
|
|
102
102
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
103
103
|
"@yarnpkg/parsers": "^3.0.0-rc.4",
|
|
104
104
|
bfj: "^7.0.2",
|
|
@@ -207,21 +207,21 @@ var devDependencies = {
|
|
|
207
207
|
"type-fest": "^2.19.0"
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
var version$8 = "1.1.0";
|
|
210
|
+
var version$8 = "1.1.1-next.0";
|
|
211
211
|
|
|
212
|
-
var version$7 = "1.
|
|
212
|
+
var version$7 = "1.11.0-next.2";
|
|
213
213
|
|
|
214
|
-
var version$6 = "0.13.6-next.
|
|
214
|
+
var version$6 = "0.13.6-next.2";
|
|
215
215
|
|
|
216
|
-
var version$5 = "1.7.0-next.
|
|
216
|
+
var version$5 = "1.7.0-next.1";
|
|
217
217
|
|
|
218
|
-
var version$4 = "1.0.22-next.
|
|
218
|
+
var version$4 = "1.0.22-next.2";
|
|
219
219
|
|
|
220
|
-
var version$3 = "1.4.4-next.
|
|
220
|
+
var version$3 = "1.4.4-next.2";
|
|
221
221
|
|
|
222
|
-
var version$2 = "0.4.
|
|
222
|
+
var version$2 = "0.4.3-next.0";
|
|
223
223
|
|
|
224
|
-
var version$1 = "1.18.0-next.
|
|
224
|
+
var version$1 = "1.18.0-next.2";
|
|
225
225
|
|
|
226
226
|
const packageVersions = {
|
|
227
227
|
"@backstage/backend-common": version$c,
|
|
@@ -285,7 +285,7 @@ const configOption = [
|
|
|
285
285
|
Array()
|
|
286
286
|
];
|
|
287
287
|
function registerOnboardCommand(program) {
|
|
288
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
288
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-1c74d3d4.cjs.js'); }).then((m) => m.command)));
|
|
289
289
|
}
|
|
290
290
|
function registerRepoCommand(program) {
|
|
291
291
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -297,7 +297,7 @@ function registerRepoCommand(program) {
|
|
|
297
297
|
).option(
|
|
298
298
|
"--since <ref>",
|
|
299
299
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
300
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
300
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-266b6426.cjs.js'); }).then((m) => m.command)));
|
|
301
301
|
command.command("lint").description("Lint all packages in the project").option(
|
|
302
302
|
"--format <format>",
|
|
303
303
|
"Lint report output format",
|
|
@@ -305,14 +305,14 @@ function registerRepoCommand(program) {
|
|
|
305
305
|
).option(
|
|
306
306
|
"--since <ref>",
|
|
307
307
|
"Only lint packages that changed since the specified ref"
|
|
308
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
308
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-47693b83.cjs.js'); }).then((m) => m.command)));
|
|
309
309
|
command.command("fix").description("Automatically fix packages in the project").option(
|
|
310
310
|
"--check",
|
|
311
311
|
"Fail if any packages would have been changed by the command"
|
|
312
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
313
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
312
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-94798ad7.cjs.js'); }).then((m) => m.command)));
|
|
313
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-f043613b.cjs.js'); }).then((m) => m.command)));
|
|
314
314
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
315
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
315
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-f4e44f85.cjs.js'); }).then((m) => m.command))
|
|
316
316
|
);
|
|
317
317
|
command.command("test").allowUnknownOption(true).option(
|
|
318
318
|
"--since <ref>",
|
|
@@ -320,14 +320,14 @@ function registerRepoCommand(program) {
|
|
|
320
320
|
).option(
|
|
321
321
|
"--jest-help",
|
|
322
322
|
"Show help for Jest CLI options, which are passed through"
|
|
323
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
323
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-8b333130.cjs.js'); }).then((m) => m.command)));
|
|
324
324
|
}
|
|
325
325
|
function registerScriptCommand(program) {
|
|
326
326
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
327
327
|
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(
|
|
328
328
|
"--inspect-brk [host]",
|
|
329
329
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
330
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
330
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-96a9946a.cjs.js'); }).then((m) => m.command)));
|
|
331
331
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
332
332
|
"--minify",
|
|
333
333
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -345,30 +345,30 @@ function registerScriptCommand(program) {
|
|
|
345
345
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
346
346
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
347
347
|
Array()
|
|
348
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
348
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-5f67cdfb.cjs.js'); }).then((m) => m.command)));
|
|
349
349
|
command.command("lint [directories...]").option(
|
|
350
350
|
"--format <format>",
|
|
351
351
|
"Lint report output format",
|
|
352
352
|
"eslint-formatter-friendly"
|
|
353
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
354
|
-
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-
|
|
355
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
356
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
357
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
353
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-01d4b10c.cjs.js'); }).then((m) => m.default)));
|
|
354
|
+
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-295e2ea3.cjs.js'); }).then((m) => m.default)));
|
|
355
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-03de4134.cjs.js'); }).then((m) => m.default)));
|
|
356
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-414d8d0d.cjs.js'); }).then((m) => m.pre)));
|
|
357
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-414d8d0d.cjs.js'); }).then((m) => m.post)));
|
|
358
358
|
}
|
|
359
359
|
function registerMigrateCommand(program) {
|
|
360
360
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
361
|
-
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-
|
|
361
|
+
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-69a52f21.cjs.js'); }).then((m) => m.default)));
|
|
362
362
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
363
363
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
|
|
364
364
|
);
|
|
365
365
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
366
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
366
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-eded9a5f.cjs.js'); }).then((m) => m.command))
|
|
367
367
|
);
|
|
368
368
|
command.command("package-lint-configs").description(
|
|
369
369
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
370
370
|
).action(
|
|
371
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
371
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-47676d49.cjs.js'); }).then((m) => m.command))
|
|
372
372
|
);
|
|
373
373
|
command.command("react-router-deps").description(
|
|
374
374
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -393,7 +393,7 @@ function registerCommands(program) {
|
|
|
393
393
|
).option(
|
|
394
394
|
"--baseVersion <version>",
|
|
395
395
|
"The version to use for any new packages (default: 0.1.0)"
|
|
396
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
396
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-de8e682d.cjs.js'); }).then((m) => m.default)));
|
|
397
397
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
398
398
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
399
399
|
).option(
|
|
@@ -407,30 +407,30 @@ function registerCommands(program) {
|
|
|
407
407
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
408
408
|
"--npm-registry <URL>",
|
|
409
409
|
"The package registry to use for new packages"
|
|
410
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
410
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-de8e682d.cjs.js'); }).then((m) => m.default)));
|
|
411
411
|
program.command("create-plugin", { hidden: true }).option(
|
|
412
412
|
"--backend",
|
|
413
413
|
"Create plugin with the backend dependencies as default"
|
|
414
414
|
).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(
|
|
415
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
415
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-f0cccf2e.cjs.js'); }).then((m) => m.default))
|
|
416
416
|
);
|
|
417
417
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
418
418
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
419
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
419
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-f698ae5f.cjs.js'); }).then((m) => m.default)));
|
|
420
420
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
421
421
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
422
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
422
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-295e2ea3.cjs.js'); }).then((m) => m.default)));
|
|
423
423
|
program.command("config:docs").option(
|
|
424
424
|
"--package <name>",
|
|
425
425
|
"Only include the schema that applies to the given package"
|
|
426
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
426
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-cc299e7c.cjs.js'); }).then((m) => m.default)));
|
|
427
427
|
program.command("config:print").option(
|
|
428
428
|
"--package <name>",
|
|
429
429
|
"Only load config schema that applies to the given package"
|
|
430
430
|
).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(
|
|
431
431
|
"--format <format>",
|
|
432
432
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
433
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
433
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-70faa981.cjs.js'); }).then((m) => m.default)));
|
|
434
434
|
program.command("config:check").option(
|
|
435
435
|
"--package <name>",
|
|
436
436
|
"Only load config schema that applies to the given package"
|
|
@@ -439,14 +439,14 @@ function registerCommands(program) {
|
|
|
439
439
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
440
440
|
).option(...configOption).description(
|
|
441
441
|
"Validate that the given configuration loads and matches schema"
|
|
442
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
442
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-3f650475.cjs.js'); }).then((m) => m.default)));
|
|
443
443
|
program.command("config:schema").option(
|
|
444
444
|
"--package <name>",
|
|
445
445
|
"Only output config schema that applies to the given package"
|
|
446
446
|
).option(
|
|
447
447
|
"--format <format>",
|
|
448
448
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
449
|
-
).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-
|
|
449
|
+
).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-721e1c55.cjs.js'); }).then((m) => m.default)));
|
|
450
450
|
registerRepoCommand(program);
|
|
451
451
|
registerScriptCommand(program);
|
|
452
452
|
registerMigrateCommand(program);
|
|
@@ -458,19 +458,19 @@ function registerCommands(program) {
|
|
|
458
458
|
"--release <version|next|main>",
|
|
459
459
|
"Bump to a specific Backstage release line or version",
|
|
460
460
|
"main"
|
|
461
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
462
|
-
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-
|
|
463
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
461
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-62013d22.cjs.js'); }).then((m) => m.default)));
|
|
462
|
+
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-a63bec2d.cjs.js'); }).then((m) => m.default)));
|
|
463
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-03de4134.cjs.js'); }).then((m) => m.default)));
|
|
464
464
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
465
465
|
"--alwaysYarnPack",
|
|
466
466
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
467
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
468
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
469
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
467
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-1433113e.cjs.js'); }).then((m) => m.default)));
|
|
468
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-6cf6638f.cjs.js'); }).then((m) => m.default)));
|
|
469
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-5c3c252a.cjs.js'); }).then((m) => m.default)));
|
|
470
470
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
471
471
|
"--from <packageJsonFilePath>",
|
|
472
472
|
"Install from a local package.json containing the installation recipe"
|
|
473
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
473
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-4907bfa0.cjs.js'); }).then((m) => m.default)));
|
|
474
474
|
}
|
|
475
475
|
function lazy(getActionFunc) {
|
|
476
476
|
return async (...args) => {
|
|
@@ -514,4 +514,4 @@ exports.devDependencies = devDependencies;
|
|
|
514
514
|
exports.paths = paths;
|
|
515
515
|
exports.version = version;
|
|
516
516
|
exports.version$1 = version$9;
|
|
517
|
-
//# sourceMappingURL=index-
|
|
517
|
+
//# sourceMappingURL=index-56da7468.cjs.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var role = require('./role-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-ffd6e7a2.cjs.js');
|
|
4
|
+
var role = require('./role-829916a6.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-
|
|
6
|
+
var index = require('./index-56da7468.cjs.js');
|
|
7
|
+
var buildBackend = require('./buildBackend-8019130f.cjs.js');
|
|
8
|
+
var config = require('./config-306bf5a2.cjs.js');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('path');
|
|
12
12
|
require('os');
|
|
13
13
|
require('tar');
|
|
14
14
|
require('lodash/partition');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-ea727d91.cjs.js');
|
|
16
16
|
require('child_process');
|
|
17
17
|
require('util');
|
|
18
18
|
require('@backstage/errors');
|
|
@@ -26,7 +26,7 @@ require('rollup-plugin-dts');
|
|
|
26
26
|
require('@rollup/plugin-json');
|
|
27
27
|
require('@rollup/plugin-yaml');
|
|
28
28
|
require('rollup-pluginutils');
|
|
29
|
-
require('./svgrTemplate-
|
|
29
|
+
require('./svgrTemplate-3549ea1c.cjs.js');
|
|
30
30
|
require('./entryPoints-0cc55995.cjs.js');
|
|
31
31
|
require('./parallel-a8f6219c.cjs.js');
|
|
32
32
|
require('worker_threads');
|
|
@@ -43,7 +43,7 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
43
43
|
require('run-script-webpack-plugin');
|
|
44
44
|
require('@manypkg/get-packages');
|
|
45
45
|
require('webpack-node-externals');
|
|
46
|
-
require('./packageDetection-
|
|
46
|
+
require('./packageDetection-4af1c8ac.cjs.js');
|
|
47
47
|
require('lodash/pickBy');
|
|
48
48
|
require('mini-css-extract-plugin');
|
|
49
49
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
@@ -102,4 +102,4 @@ async function command(opts) {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
exports.command = command;
|
|
105
|
-
//# sourceMappingURL=index-
|
|
105
|
+
//# sourceMappingURL=index-5f67cdfb.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-56da7468.cjs.js');
|
|
8
8
|
var crypto = require('crypto');
|
|
9
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
10
10
|
var request = require('@octokit/request');
|
|
@@ -230,4 +230,4 @@ async function verifyGithubOrg(org) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
exports["default"] = index;
|
|
233
|
-
//# sourceMappingURL=index-
|
|
233
|
+
//# sourceMappingURL=index-6cf6638f.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var role = require('./role-
|
|
3
|
+
var role = require('./role-829916a6.cjs.js');
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-56da7468.cjs.js');
|
|
6
6
|
var webpack = require('webpack');
|
|
7
|
-
var packageDetection = require('./packageDetection-
|
|
7
|
+
var packageDetection = require('./packageDetection-4af1c8ac.cjs.js');
|
|
8
8
|
require('yn');
|
|
9
9
|
var path = require('path');
|
|
10
10
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -18,7 +18,7 @@ require('run-script-webpack-plugin');
|
|
|
18
18
|
require('@manypkg/get-packages');
|
|
19
19
|
require('webpack-node-externals');
|
|
20
20
|
require('lodash/pickBy');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-ea727d91.cjs.js');
|
|
22
22
|
require('mini-css-extract-plugin');
|
|
23
23
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
24
24
|
var chalk = require('chalk');
|
|
@@ -40,12 +40,12 @@ var errors = require('@backstage/errors');
|
|
|
40
40
|
var debounce = require('lodash/debounce');
|
|
41
41
|
var url = require('url');
|
|
42
42
|
var spawn = require('cross-spawn');
|
|
43
|
-
var lint = require('./lint-
|
|
44
|
-
var config = require('./config-
|
|
43
|
+
var lint = require('./lint-a63bec2d.cjs.js');
|
|
44
|
+
var config = require('./config-306bf5a2.cjs.js');
|
|
45
45
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
46
46
|
require('commander');
|
|
47
47
|
require('./entryPoints-0cc55995.cjs.js');
|
|
48
|
-
require('./svgrTemplate-
|
|
48
|
+
require('./svgrTemplate-3549ea1c.cjs.js');
|
|
49
49
|
require('child_process');
|
|
50
50
|
require('util');
|
|
51
51
|
|
|
@@ -537,4 +537,4 @@ async function command(opts) {
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
exports.command = command;
|
|
540
|
-
//# sourceMappingURL=index-
|
|
540
|
+
//# sourceMappingURL=index-96a9946a.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-56da7468.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-ea727d91.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -58,4 +58,4 @@ var info = async () => {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
exports["default"] = info;
|
|
61
|
-
//# sourceMappingURL=info-
|
|
61
|
+
//# sourceMappingURL=info-5c3c252a.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-cd549fee.cjs.js');
|
|
8
|
+
var index = require('./index-56da7468.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-ea727d91.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('./yarn-6cd89e16.cjs.js');
|
|
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
exports["default"] = install;
|
|
271
|
-
//# sourceMappingURL=install-
|
|
271
|
+
//# sourceMappingURL=install-4907bfa0.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-56da7468.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-01d4b10c.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-56da7468.cjs.js');
|
|
7
7
|
var parallel = require('./parallel-a8f6219c.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-47693b83.cjs.js.map
|
|
@@ -5,8 +5,8 @@ require('minimatch');
|
|
|
5
5
|
require('@manypkg/get-packages');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('./yarn-6cd89e16.cjs.js');
|
|
8
|
-
require('./run-
|
|
9
|
-
var index = require('./index-
|
|
8
|
+
require('./run-ea727d91.cjs.js');
|
|
9
|
+
var index = require('./index-56da7468.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
11
|
var cliNode = require('@backstage/cli-node');
|
|
12
12
|
require('fs-extra');
|
|
@@ -112,4 +112,4 @@ function logArray(arr, header, each) {
|
|
|
112
112
|
exports["default"] = lint;
|
|
113
113
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
114
114
|
exports.includedFilter = includedFilter;
|
|
115
|
-
//# sourceMappingURL=lint-
|
|
115
|
+
//# sourceMappingURL=lint-a63bec2d.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-56da7468.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-f4e44f85.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-
|
|
10
|
+
var index = require('./index-56da7468.cjs.js');
|
|
11
|
+
var codeowners = require('./codeowners-1d7f21df.cjs.js');
|
|
12
12
|
var tasks = require('./tasks-84de240c.cjs.js');
|
|
13
13
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
14
14
|
require('minimatch');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
16
|
require('./yarn-6cd89e16.cjs.js');
|
|
17
|
-
require('./run-
|
|
17
|
+
require('./run-ea727d91.cjs.js');
|
|
18
18
|
var partition = require('lodash/partition');
|
|
19
19
|
var cliNode = require('@backstage/cli-node');
|
|
20
20
|
var errors = require('@backstage/errors');
|
|
@@ -736,4 +736,4 @@ var _new = async (opts) => {
|
|
|
736
736
|
};
|
|
737
737
|
|
|
738
738
|
exports["default"] = _new;
|
|
739
|
-
//# sourceMappingURL=new-
|
|
739
|
+
//# sourceMappingURL=new-de8e682d.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-d569941a.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-56da7468.cjs.js');
|
|
5
5
|
require('fs-extra');
|
|
6
6
|
require('npm-packlist');
|
|
7
7
|
require('path');
|
|
@@ -21,4 +21,4 @@ const post = async () => {
|
|
|
21
21
|
|
|
22
22
|
exports.post = post;
|
|
23
23
|
exports.pre = pre;
|
|
24
|
-
//# sourceMappingURL=pack-
|
|
24
|
+
//# sourceMappingURL=pack-414d8d0d.cjs.js.map
|
|
@@ -8,15 +8,15 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
|
8
8
|
var cliCommon = require('@backstage/cli-common');
|
|
9
9
|
var ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
|
10
10
|
var runScriptWebpackPlugin = require('run-script-webpack-plugin');
|
|
11
|
-
var index = require('./index-
|
|
11
|
+
var index = require('./index-56da7468.cjs.js');
|
|
12
12
|
var fs = require('fs-extra');
|
|
13
13
|
var getPackages = require('@manypkg/get-packages');
|
|
14
14
|
var nodeExternals = require('webpack-node-externals');
|
|
15
15
|
var pickBy = require('lodash/pickBy');
|
|
16
16
|
var entryPoints = require('./entryPoints-0cc55995.cjs.js');
|
|
17
|
-
var run = require('./run-
|
|
17
|
+
var run = require('./run-ea727d91.cjs.js');
|
|
18
18
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
19
|
-
var svgrTemplate = require('./svgrTemplate-
|
|
19
|
+
var svgrTemplate = require('./svgrTemplate-3549ea1c.cjs.js');
|
|
20
20
|
var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
21
21
|
var yn = require('yn');
|
|
22
22
|
var chokidar = require('chokidar');
|
|
@@ -690,4 +690,4 @@ exports.createConfig = createConfig;
|
|
|
690
690
|
exports.createDetectedModulesEntryPoint = createDetectedModulesEntryPoint;
|
|
691
691
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
692
692
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
693
|
-
//# sourceMappingURL=packageDetection-
|
|
693
|
+
//# sourceMappingURL=packageDetection-4af1c8ac.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var fix = require('./fix-
|
|
3
|
+
var fix = require('./fix-94798ad7.cjs.js');
|
|
4
4
|
require('@backstage/cli-node');
|
|
5
5
|
require('fs-extra');
|
|
6
6
|
require('path');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-56da7468.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -23,4 +23,4 @@ async function command() {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
exports.command = command;
|
|
26
|
-
//# sourceMappingURL=packageExports-
|
|
26
|
+
//# sourceMappingURL=packageExports-eded9a5f.cjs.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var run = require('./run-
|
|
6
|
+
var run = require('./run-ea727d91.cjs.js');
|
|
7
7
|
require('child_process');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-56da7468.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -79,4 +79,4 @@ async function command() {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
exports.command = command;
|
|
82
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
82
|
+
//# sourceMappingURL=packageLintConfigs-47676d49.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
|
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var getPackages = require('@manypkg/get-packages');
|
|
6
6
|
var cliNode = require('@backstage/cli-node');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-56da7468.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -55,4 +55,4 @@ var packageRole = async () => {
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
exports["default"] = packageRole;
|
|
58
|
-
//# sourceMappingURL=packageRole-
|
|
58
|
+
//# sourceMappingURL=packageRole-69a52f21.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var minimatch = require('minimatch');
|
|
4
4
|
var getPackages = require('@manypkg/get-packages');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-56da7468.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6cd89e16.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
7
|
+
var run = require('./run-ea727d91.cjs.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -80,4 +80,4 @@ async function mapDependencies(targetDir, pattern) {
|
|
|
80
80
|
|
|
81
81
|
exports.fetchPackageInfo = fetchPackageInfo;
|
|
82
82
|
exports.mapDependencies = mapDependencies;
|
|
83
|
-
//# sourceMappingURL=packages-
|
|
83
|
+
//# sourceMappingURL=packages-cd549fee.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var yaml = require('yaml');
|
|
4
4
|
var config$1 = require('@backstage/config');
|
|
5
|
-
var config = require('./config-
|
|
5
|
+
var config = require('./config-306bf5a2.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-56da7468.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -58,4 +58,4 @@ function serializeConfigData(appConfigs, schema, visibility) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
exports["default"] = print;
|
|
61
|
-
//# sourceMappingURL=print-
|
|
61
|
+
//# sourceMappingURL=print-70faa981.cjs.js.map
|