@backstage/cli 0.22.4 → 0.22.5
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 +6 -0
- package/dist/cjs/index/{PackageGraph-6ffddac0.cjs.js → PackageGraph-84e587f4.cjs.js} +3 -3
- package/dist/cjs/index/{build-690455c7.cjs.js → build-994f0f45.cjs.js} +9 -9
- package/dist/cjs/index/{buildBackend-18a71bf8.cjs.js → buildBackend-32a4adb3.cjs.js} +6 -6
- package/dist/cjs/index/{buildWorkspace-73cc4f62.cjs.js → buildWorkspace-62f3c38b.cjs.js} +6 -6
- package/dist/cjs/index/{bump-908de0a7.cjs.js → bump-cebb4e25.cjs.js} +6 -6
- package/dist/cjs/index/{clean-dbaf1912.cjs.js → clean-7292aa76.cjs.js} +2 -2
- package/dist/cjs/index/{clean-bcaa2bce.cjs.js → clean-cd01f9dc.cjs.js} +4 -4
- package/dist/cjs/index/{config-91c020e8.cjs.js → config-7ca1db14.cjs.js} +3 -3
- package/dist/cjs/index/{createDistWorkspace-7a2e4e7c.cjs.js → createDistWorkspace-4f496e3c.cjs.js} +5 -5
- package/dist/cjs/index/{createPlugin-1f3076dd.cjs.js → createPlugin-563b25e0.cjs.js} +4 -4
- package/dist/cjs/index/{diff-1b811a3f.cjs.js → diff-07d125d5.cjs.js} +2 -2
- package/dist/cjs/index/{docs-b4ed46bc.cjs.js → docs-d67987f6.cjs.js} +5 -5
- package/dist/cjs/index/{fix-32f89b30.cjs.js → fix-2a45060f.cjs.js} +4 -4
- package/dist/cjs/index/{index-1490ba2b.cjs.js → index-58c4e51a.cjs.js} +8 -8
- package/dist/cjs/index/{index-bf0fa947.cjs.js → index-7bc3de78.cjs.js} +9 -9
- package/dist/cjs/index/{index-0e97de8a.cjs.js → index-9a88f8b3.cjs.js} +2 -2
- package/dist/cjs/index/{index-701ec917.cjs.js → index-d2845aa8.cjs.js} +36 -36
- package/dist/cjs/index/{info-87cec93d.cjs.js → info-72504c62.cjs.js} +3 -3
- package/dist/cjs/index/{install-470924e3.cjs.js → install-f459a872.cjs.js} +4 -4
- package/dist/cjs/index/{lint-f1c44a12.cjs.js → lint-3d8a5df3.cjs.js} +2 -2
- package/dist/cjs/index/{lint-98d3c2e6.cjs.js → lint-8cdaff63.cjs.js} +4 -4
- package/dist/cjs/index/{lint-b441473e.cjs.js → lint-9dba226e.cjs.js} +4 -4
- package/dist/cjs/index/{list-deprecations-3667c4a5.cjs.js → list-deprecations-4413fefd.cjs.js} +4 -4
- package/dist/cjs/index/{new-8809aa5e.cjs.js → new-8be05be5.cjs.js} +4 -4
- package/dist/cjs/index/{pack-1a98c41d.cjs.js → pack-f16d52a7.cjs.js} +2 -2
- package/dist/cjs/index/{packageExports-6ec50196.cjs.js → packageExports-7d9657bc.cjs.js} +4 -4
- package/dist/cjs/index/{packageLintConfigs-2940d9d4.cjs.js → packageLintConfigs-13a336dd.cjs.js} +4 -4
- package/dist/cjs/index/{packageRole-0b957d76.cjs.js → packageRole-0687b5de.cjs.js} +3 -3
- package/dist/cjs/index/{packageRoles-9bc5d41a.cjs.js → packageRoles-54e27ede.cjs.js} +2 -2
- package/dist/cjs/index/{packageScripts-a21a7d39.cjs.js → packageScripts-fe4c5394.cjs.js} +5 -5
- package/dist/cjs/index/{packages-5184c06b.cjs.js → packages-09267997.cjs.js} +3 -3
- package/dist/cjs/index/{paths-e450a0ff.cjs.js → paths-a7d52d4f.cjs.js} +4 -4
- package/dist/cjs/index/{print-14e7144f.cjs.js → print-077f44be.cjs.js} +5 -5
- package/dist/cjs/index/{reactRouterDeps-7b459c9c.cjs.js → reactRouterDeps-844874fe.cjs.js} +5 -5
- package/dist/cjs/index/{run-8a335c20.cjs.js → run-eac5f3ab.cjs.js} +2 -2
- package/dist/cjs/index/{schema-2462c29a.cjs.js → schema-6314e4c8.cjs.js} +5 -5
- package/dist/cjs/index/{tasks-7a221be0.cjs.js → tasks-6771fb2c.cjs.js} +2 -2
- package/dist/cjs/index/{test-1fada493.cjs.js → test-364cf6e1.cjs.js} +4 -4
- package/dist/cjs/index/{test-5f854226.cjs.js → test-a49240ec.cjs.js} +3 -3
- package/dist/cjs/index/{validate-8b9a3ee1.cjs.js → validate-3f8e5d78.cjs.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ const paths = cliCommon.findPaths(__dirname);
|
|
|
48
48
|
|
|
49
49
|
var version$a = "0.18.3";
|
|
50
50
|
|
|
51
|
-
var version$9 = "0.22.
|
|
51
|
+
var version$9 = "0.22.5";
|
|
52
52
|
var dependencies = {
|
|
53
53
|
"@backstage/cli-common": "workspace:^",
|
|
54
54
|
"@backstage/config": "workspace:^",
|
|
@@ -267,7 +267,7 @@ function registerRepoCommand(program) {
|
|
|
267
267
|
).option(
|
|
268
268
|
"--since <ref>",
|
|
269
269
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
270
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
270
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-994f0f45.cjs.js'); }).then((m) => m.command)));
|
|
271
271
|
command.command("lint").description("Lint all packages in the project").option(
|
|
272
272
|
"--format <format>",
|
|
273
273
|
"Lint report output format",
|
|
@@ -275,10 +275,10 @@ function registerRepoCommand(program) {
|
|
|
275
275
|
).option(
|
|
276
276
|
"--since <ref>",
|
|
277
277
|
"Only lint packages that changed since the specified ref"
|
|
278
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
279
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
278
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-9dba226e.cjs.js'); }).then((m) => m.command)));
|
|
279
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-cd01f9dc.cjs.js'); }).then((m) => m.command)));
|
|
280
280
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
281
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
281
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-4413fefd.cjs.js'); }).then((m) => m.command))
|
|
282
282
|
);
|
|
283
283
|
command.command("test").allowUnknownOption(true).option(
|
|
284
284
|
"--since <ref>",
|
|
@@ -286,14 +286,14 @@ function registerRepoCommand(program) {
|
|
|
286
286
|
).option(
|
|
287
287
|
"--jest-help",
|
|
288
288
|
"Show help for Jest CLI options, which are passed through"
|
|
289
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
289
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-364cf6e1.cjs.js'); }).then((m) => m.command)));
|
|
290
290
|
}
|
|
291
291
|
function registerScriptCommand(program) {
|
|
292
292
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
293
293
|
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(
|
|
294
294
|
"--inspect-brk",
|
|
295
295
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
296
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
296
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-58c4e51a.cjs.js'); }).then((m) => m.command)));
|
|
297
297
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
298
298
|
"--minify",
|
|
299
299
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -311,36 +311,36 @@ function registerScriptCommand(program) {
|
|
|
311
311
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
312
312
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
313
313
|
Array()
|
|
314
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
314
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-7bc3de78.cjs.js'); }).then((m) => m.command)));
|
|
315
315
|
command.command("lint [directories...]").option(
|
|
316
316
|
"--format <format>",
|
|
317
317
|
"Lint report output format",
|
|
318
318
|
"eslint-formatter-friendly"
|
|
319
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
320
|
-
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-
|
|
321
|
-
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-
|
|
322
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
323
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
324
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
319
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-3d8a5df3.cjs.js'); }).then((m) => m.default)));
|
|
320
|
+
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-a49240ec.cjs.js'); }).then((m) => m.default)));
|
|
321
|
+
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-2a45060f.cjs.js'); }).then((m) => m.command)));
|
|
322
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-7292aa76.cjs.js'); }).then((m) => m.default)));
|
|
323
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-f16d52a7.cjs.js'); }).then((m) => m.pre)));
|
|
324
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-f16d52a7.cjs.js'); }).then((m) => m.post)));
|
|
325
325
|
}
|
|
326
326
|
function registerMigrateCommand(program) {
|
|
327
327
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
328
|
-
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-
|
|
328
|
+
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-0687b5de.cjs.js'); }).then((m) => m.default)));
|
|
329
329
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
330
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
330
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-fe4c5394.cjs.js'); }).then((m) => m.command))
|
|
331
331
|
);
|
|
332
332
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
333
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
333
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-7d9657bc.cjs.js'); }).then((m) => m.command))
|
|
334
334
|
);
|
|
335
335
|
command.command("package-lint-configs").description(
|
|
336
336
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
337
337
|
).action(
|
|
338
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
338
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-13a336dd.cjs.js'); }).then((m) => m.command))
|
|
339
339
|
);
|
|
340
340
|
command.command("react-router-deps").description(
|
|
341
341
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
342
342
|
).action(
|
|
343
|
-
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-
|
|
343
|
+
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-844874fe.cjs.js'); }).then((m) => m.command))
|
|
344
344
|
);
|
|
345
345
|
}
|
|
346
346
|
function registerCommands(program) {
|
|
@@ -360,7 +360,7 @@ function registerCommands(program) {
|
|
|
360
360
|
).option(
|
|
361
361
|
"--baseVersion <version>",
|
|
362
362
|
"The version to use for any new packages (default: 0.1.0)"
|
|
363
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
363
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-8be05be5.cjs.js'); }).then((m) => m.default)));
|
|
364
364
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
365
365
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
366
366
|
).option(
|
|
@@ -374,43 +374,43 @@ function registerCommands(program) {
|
|
|
374
374
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
375
375
|
"--npm-registry <URL>",
|
|
376
376
|
"The package registry to use for new packages"
|
|
377
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
377
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-8be05be5.cjs.js'); }).then((m) => m.default)));
|
|
378
378
|
program.command("create-plugin", { hidden: true }).option(
|
|
379
379
|
"--backend",
|
|
380
380
|
"Create plugin with the backend dependencies as default"
|
|
381
381
|
).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(
|
|
382
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
382
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-563b25e0.cjs.js'); }).then((m) => m.default))
|
|
383
383
|
);
|
|
384
384
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
385
385
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
386
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
386
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-07d125d5.cjs.js'); }).then((m) => m.default)));
|
|
387
387
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
388
388
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
389
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
389
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-a49240ec.cjs.js'); }).then((m) => m.default)));
|
|
390
390
|
program.command("config:docs").option(
|
|
391
391
|
"--package <name>",
|
|
392
392
|
"Only include the schema that applies to the given package"
|
|
393
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
393
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-d67987f6.cjs.js'); }).then((m) => m.default)));
|
|
394
394
|
program.command("config:print").option(
|
|
395
395
|
"--package <name>",
|
|
396
396
|
"Only load config schema that applies to the given package"
|
|
397
397
|
).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(
|
|
398
398
|
"--format <format>",
|
|
399
399
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
400
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
400
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-077f44be.cjs.js'); }).then((m) => m.default)));
|
|
401
401
|
program.command("config:check").option(
|
|
402
402
|
"--package <name>",
|
|
403
403
|
"Only load config schema that applies to the given package"
|
|
404
404
|
).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(
|
|
405
405
|
"Validate that the given configuration loads and matches schema"
|
|
406
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
406
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-3f8e5d78.cjs.js'); }).then((m) => m.default)));
|
|
407
407
|
program.command("config:schema").option(
|
|
408
408
|
"--package <name>",
|
|
409
409
|
"Only output config schema that applies to the given package"
|
|
410
410
|
).option(
|
|
411
411
|
"--format <format>",
|
|
412
412
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
413
|
-
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
413
|
+
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-6314e4c8.cjs.js'); }).then((m) => m.default)));
|
|
414
414
|
registerRepoCommand(program);
|
|
415
415
|
registerScriptCommand(program);
|
|
416
416
|
registerMigrateCommand(program);
|
|
@@ -421,16 +421,16 @@ function registerCommands(program) {
|
|
|
421
421
|
"--release <version|next|main>",
|
|
422
422
|
"Bump to a specific Backstage release line or version",
|
|
423
423
|
"main"
|
|
424
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
425
|
-
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-
|
|
426
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
427
|
-
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-
|
|
428
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
429
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
424
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-cebb4e25.cjs.js'); }).then((m) => m.default)));
|
|
425
|
+
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-8cdaff63.cjs.js'); }).then((m) => m.default)));
|
|
426
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-7292aa76.cjs.js'); }).then((m) => m.default)));
|
|
427
|
+
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-62f3c38b.cjs.js'); }).then((m) => m.default)));
|
|
428
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-9a88f8b3.cjs.js'); }).then((m) => m.default)));
|
|
429
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-72504c62.cjs.js'); }).then((m) => m.default)));
|
|
430
430
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
431
431
|
"--from <packageJsonFilePath>",
|
|
432
432
|
"Install from a local package.json containing the installation recipe"
|
|
433
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
433
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-f459a872.cjs.js'); }).then((m) => m.default)));
|
|
434
434
|
}
|
|
435
435
|
function lazy(getActionFunc) {
|
|
436
436
|
return async (...args) => {
|
|
@@ -474,4 +474,4 @@ exports.devDependencies = devDependencies;
|
|
|
474
474
|
exports.paths = paths;
|
|
475
475
|
exports.version = version;
|
|
476
476
|
exports.version$1 = version$9;
|
|
477
|
-
//# sourceMappingURL=index-
|
|
477
|
+
//# sourceMappingURL=index-d2845aa8.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-d2845aa8.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-eac5f3ab.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-e5943b84.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-72504c62.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-09267997.cjs.js');
|
|
8
|
+
var index = require('./index-d2845aa8.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-eac5f3ab.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('./yarn-8315d2ff.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-f459a872.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-d2845aa8.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-3d8a5df3.cjs.js.map
|
|
@@ -5,10 +5,10 @@ require('minimatch');
|
|
|
5
5
|
require('@manypkg/get-packages');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('./yarn-8315d2ff.cjs.js');
|
|
8
|
-
require('./run-
|
|
9
|
-
var index = require('./index-
|
|
8
|
+
require('./run-eac5f3ab.cjs.js');
|
|
9
|
+
var index = require('./index-d2845aa8.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
|
-
var PackageGraph = require('./PackageGraph-
|
|
11
|
+
var PackageGraph = require('./PackageGraph-84e587f4.cjs.js');
|
|
12
12
|
require('fs-extra');
|
|
13
13
|
require('semver');
|
|
14
14
|
require('@yarnpkg/parsers');
|
|
@@ -113,4 +113,4 @@ function logArray(arr, header, each) {
|
|
|
113
113
|
exports["default"] = lint;
|
|
114
114
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
115
115
|
exports.includedFilter = includedFilter;
|
|
116
|
-
//# sourceMappingURL=lint-
|
|
116
|
+
//# sourceMappingURL=lint-8cdaff63.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-84e587f4.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-4af834f6.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-d2845aa8.cjs.js');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
9
9
|
require('@backstage/errors');
|
|
10
10
|
require('child_process');
|
|
@@ -16,7 +16,7 @@ require('@yarnpkg/parsers');
|
|
|
16
16
|
require('@yarnpkg/lockfile');
|
|
17
17
|
require('minimatch');
|
|
18
18
|
require('./yarn-8315d2ff.cjs.js');
|
|
19
|
-
require('./run-
|
|
19
|
+
require('./run-eac5f3ab.cjs.js');
|
|
20
20
|
require('os');
|
|
21
21
|
require('worker_threads');
|
|
22
22
|
require('commander');
|
|
@@ -97,4 +97,4 @@ async function command(opts) {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
exports.command = command;
|
|
100
|
-
//# sourceMappingURL=lint-
|
|
100
|
+
//# sourceMappingURL=lint-9dba226e.cjs.js.map
|
package/dist/cjs/index/{list-deprecations-3667c4a5.cjs.js → list-deprecations-4413fefd.cjs.js}
RENAMED
|
@@ -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-d2845aa8.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-84e587f4.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -18,7 +18,7 @@ require('@yarnpkg/parsers');
|
|
|
18
18
|
require('@yarnpkg/lockfile');
|
|
19
19
|
require('minimatch');
|
|
20
20
|
require('./yarn-8315d2ff.cjs.js');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-eac5f3ab.cjs.js');
|
|
22
22
|
|
|
23
23
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
24
24
|
|
|
@@ -85,4 +85,4 @@ async function command(opts) {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
exports.command = command;
|
|
88
|
-
//# sourceMappingURL=list-deprecations-
|
|
88
|
+
//# sourceMappingURL=list-deprecations-4413fefd.cjs.js.map
|
|
@@ -7,13 +7,13 @@ 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 tasks = require('./tasks-
|
|
10
|
+
var index = require('./index-d2845aa8.cjs.js');
|
|
11
|
+
var tasks = require('./tasks-6771fb2c.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-e5943b84.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('./yarn-8315d2ff.cjs.js');
|
|
16
|
-
require('./run-
|
|
16
|
+
require('./run-eac5f3ab.cjs.js');
|
|
17
17
|
var partition = require('lodash/partition');
|
|
18
18
|
var errors = require('@backstage/errors');
|
|
19
19
|
require('commander');
|
|
@@ -634,4 +634,4 @@ var _new = async (opts) => {
|
|
|
634
634
|
};
|
|
635
635
|
|
|
636
636
|
exports["default"] = _new;
|
|
637
|
-
//# sourceMappingURL=new-
|
|
637
|
+
//# sourceMappingURL=new-8be05be5.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-2038bfcf.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-d2845aa8.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-f16d52a7.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-84e587f4.cjs.js');
|
|
6
6
|
require('@manypkg/get-packages');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-d2845aa8.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -17,7 +17,7 @@ require('@yarnpkg/parsers');
|
|
|
17
17
|
require('@yarnpkg/lockfile');
|
|
18
18
|
require('minimatch');
|
|
19
19
|
require('./yarn-8315d2ff.cjs.js');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-eac5f3ab.cjs.js');
|
|
21
21
|
|
|
22
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
23
23
|
|
|
@@ -105,4 +105,4 @@ async function command() {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
exports.command = command;
|
|
108
|
-
//# sourceMappingURL=packageExports-
|
|
108
|
+
//# sourceMappingURL=packageExports-7d9657bc.cjs.js.map
|
package/dist/cjs/index/{packageLintConfigs-2940d9d4.cjs.js → packageLintConfigs-13a336dd.cjs.js}
RENAMED
|
@@ -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-84e587f4.cjs.js');
|
|
6
|
+
var run = require('./run-eac5f3ab.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-d2845aa8.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -85,4 +85,4 @@ async function command() {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
exports.command = command;
|
|
88
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
88
|
+
//# sourceMappingURL=packageLintConfigs-13a336dd.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-d2845aa8.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-54e27ede.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-0687b5de.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-d2845aa8.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-54e27ede.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-84e587f4.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-54e27ede.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-d2845aa8.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -18,7 +18,7 @@ require('@yarnpkg/parsers');
|
|
|
18
18
|
require('@yarnpkg/lockfile');
|
|
19
19
|
require('minimatch');
|
|
20
20
|
require('./yarn-8315d2ff.cjs.js');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-eac5f3ab.cjs.js');
|
|
22
22
|
require('zod');
|
|
23
23
|
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -101,4 +101,4 @@ async function command() {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
exports.command = command;
|
|
104
|
-
//# sourceMappingURL=packageScripts-
|
|
104
|
+
//# sourceMappingURL=packageScripts-fe4c5394.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-d2845aa8.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-8315d2ff.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
7
|
+
var run = require('./run-eac5f3ab.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-09267997.cjs.js.map
|
|
@@ -13,8 +13,8 @@ var getPackages = require('@manypkg/get-packages');
|
|
|
13
13
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
14
14
|
var svgrTemplate = require('./svgrTemplate-d1dad6d3.cjs.js');
|
|
15
15
|
var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
16
|
-
var index = require('./index-
|
|
17
|
-
var run = require('./run-
|
|
16
|
+
var index = require('./index-d2845aa8.cjs.js');
|
|
17
|
+
var run = require('./run-eac5f3ab.cjs.js');
|
|
18
18
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
19
19
|
var pickBy = require('lodash/pickBy');
|
|
20
20
|
var yn = require('yn');
|
|
@@ -452,7 +452,7 @@ async function createBackendConfig(paths, options) {
|
|
|
452
452
|
const { packages } = await getPackages.getPackages(index.paths.targetDir);
|
|
453
453
|
const localPackageEntryPoints = packages.flatMap((p) => {
|
|
454
454
|
const entryPoints$1 = entryPoints.readEntryPoints(p.packageJson);
|
|
455
|
-
return entryPoints$1.map((e) => path.join(p.packageJson.name, e.mount));
|
|
455
|
+
return entryPoints$1.map((e) => path.posix.join(p.packageJson.name, e.mount));
|
|
456
456
|
});
|
|
457
457
|
const moduleDirs = packages.map((p) => path.resolve(p.dir, "node_modules"));
|
|
458
458
|
const externalPkgs = packages.filter((p) => !cliCommon.isChildPath(paths.root, p.dir));
|
|
@@ -603,4 +603,4 @@ exports.createBackendConfig = createBackendConfig;
|
|
|
603
603
|
exports.createConfig = createConfig;
|
|
604
604
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
605
605
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
606
|
-
//# sourceMappingURL=paths-
|
|
606
|
+
//# sourceMappingURL=paths-a7d52d4f.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-7ca1db14.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-d2845aa8.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -12,7 +12,7 @@ require('semver');
|
|
|
12
12
|
require('@backstage/cli-common');
|
|
13
13
|
require('@backstage/errors');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
|
-
require('./PackageGraph-
|
|
15
|
+
require('./PackageGraph-84e587f4.cjs.js');
|
|
16
16
|
require('path');
|
|
17
17
|
require('child_process');
|
|
18
18
|
require('util');
|
|
@@ -21,7 +21,7 @@ require('@yarnpkg/parsers');
|
|
|
21
21
|
require('@yarnpkg/lockfile');
|
|
22
22
|
require('minimatch');
|
|
23
23
|
require('./yarn-8315d2ff.cjs.js');
|
|
24
|
-
require('./run-
|
|
24
|
+
require('./run-eac5f3ab.cjs.js');
|
|
25
25
|
|
|
26
26
|
var print = async (opts) => {
|
|
27
27
|
const { schema, appConfigs } = await config.loadCliConfig({
|
|
@@ -67,4 +67,4 @@ function serializeConfigData(appConfigs, schema, visibility) {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
exports["default"] = print;
|
|
70
|
-
//# sourceMappingURL=print-
|
|
70
|
+
//# sourceMappingURL=print-077f44be.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-84e587f4.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-54e27ede.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-d2845aa8.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -18,7 +18,7 @@ require('@yarnpkg/parsers');
|
|
|
18
18
|
require('@yarnpkg/lockfile');
|
|
19
19
|
require('minimatch');
|
|
20
20
|
require('./yarn-8315d2ff.cjs.js');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-eac5f3ab.cjs.js');
|
|
22
22
|
require('zod');
|
|
23
23
|
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -62,4 +62,4 @@ async function command() {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
exports.command = command;
|
|
65
|
-
//# sourceMappingURL=reactRouterDeps-
|
|
65
|
+
//# sourceMappingURL=reactRouterDeps-844874fe.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var child_process = require('child_process');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-d2845aa8.cjs.js');
|
|
5
5
|
var util = require('util');
|
|
6
6
|
var errors = require('@backstage/errors');
|
|
7
7
|
|
|
@@ -79,4 +79,4 @@ exports.execFile = execFile;
|
|
|
79
79
|
exports.run = run;
|
|
80
80
|
exports.runCheck = runCheck;
|
|
81
81
|
exports.runPlain = runPlain;
|
|
82
|
-
//# sourceMappingURL=run-
|
|
82
|
+
//# sourceMappingURL=run-eac5f3ab.cjs.js.map
|