@backstage/cli 0.21.2-next.1 → 0.21.2-next.3
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 +31 -0
- package/config/eslint-factory.js +1 -1
- package/config/jest.js +1 -1
- package/config/jestSucraseTransform.js +0 -4
- package/dist/cjs/{PackageGraph-0d0c51da.cjs.js → PackageGraph-b187c4c2.cjs.js} +2 -2
- package/dist/cjs/{build-ace0c2f7.cjs.js → build-caa5d380.cjs.js} +9 -9
- package/dist/cjs/{buildBackend-a2ee5de8.cjs.js → buildBackend-83d304bf.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-7a65d74f.cjs.js → buildWorkspace-dd9f0405.cjs.js} +6 -6
- package/dist/cjs/{bump-aaac6046.cjs.js → bump-ff1aa5f7.cjs.js} +5 -5
- package/dist/cjs/{clean-94b4e851.cjs.js → clean-6ccccc8f.cjs.js} +2 -2
- package/dist/cjs/{clean-2338b78d.cjs.js → clean-8208071e.cjs.js} +3 -3
- package/dist/cjs/{config-44f3d6b1.cjs.js → config-6b90664b.cjs.js} +3 -3
- package/dist/cjs/{createDistWorkspace-8a25a023.cjs.js → createDistWorkspace-2d235301.cjs.js} +5 -5
- package/dist/cjs/{createPlugin-db7a371d.cjs.js → createPlugin-ae00f058.cjs.js} +4 -4
- package/dist/cjs/{diff-b3a30e94.cjs.js → diff-49acf3aa.cjs.js} +2 -2
- package/dist/cjs/{docs-9ab5dc03.cjs.js → docs-f70c4007.cjs.js} +4 -4
- package/dist/cjs/{fix-8af69ac5.cjs.js → fix-63800ab2.cjs.js} +3 -3
- package/dist/cjs/{index-9b29e2d3.cjs.js → index-02c1bb9a.cjs.js} +9 -9
- package/dist/cjs/{index-51126e59.cjs.js → index-895cff2a.cjs.js} +46 -47
- package/dist/cjs/{index-e2fbfd55.cjs.js → index-b19a0f69.cjs.js} +11 -10
- package/dist/cjs/{index-3afb36f3.cjs.js → index-b2dd0409.cjs.js} +2 -2
- package/dist/cjs/{info-cca41696.cjs.js → info-b452e94e.cjs.js} +3 -3
- package/dist/cjs/{install-7006a147.cjs.js → install-ad10e451.cjs.js} +4 -4
- package/dist/cjs/{lint-6ebdbcfa.cjs.js → lint-3a0288b2.cjs.js} +2 -2
- package/dist/cjs/{lint-8dc909a0.cjs.js → lint-d5dac8ba.cjs.js} +3 -3
- package/dist/cjs/{lint-4725ac4c.cjs.js → lint-e9c0cd2e.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-8f407cae.cjs.js → list-deprecations-ac54c958.cjs.js} +3 -3
- package/dist/cjs/{new-0e9bb515.cjs.js → new-6bcbe2cf.cjs.js} +4 -4
- package/dist/cjs/{pack-9144065a.cjs.js → pack-279cc308.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-250d2a71.cjs.js → packageLintConfigs-69457cf1.cjs.js} +4 -4
- package/dist/cjs/{packageRole-307aa03e.cjs.js → packageRole-6a712bd0.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-7d4386db.cjs.js → packageRoles-d4625ae6.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-426d63b5.cjs.js → packageScripts-da91796c.cjs.js} +4 -4
- package/dist/cjs/{packages-ae0057b4.cjs.js → packages-5b4ca5dd.cjs.js} +3 -3
- package/dist/cjs/{paths-6085ee40.cjs.js → paths-c047f109.cjs.js} +3 -3
- package/dist/cjs/{print-1abc18c4.cjs.js → print-4e1147d0.cjs.js} +4 -4
- package/dist/cjs/{reactRouterDeps-3e4f35c1.cjs.js → reactRouterDeps-70f1a36a.cjs.js} +4 -4
- package/dist/cjs/{run-7bd02a3a.cjs.js → run-fa542d4f.cjs.js} +2 -2
- package/dist/cjs/{schema-dc879966.cjs.js → schema-32b73742.cjs.js} +4 -4
- package/dist/cjs/{tasks-bfb68900.cjs.js → tasks-2a2c6d92.cjs.js} +2 -2
- package/dist/cjs/{test-856865b0.cjs.js → test-0c153677.cjs.js} +3 -3
- package/dist/cjs/{test-3ea4376a.cjs.js → test-b39d139e.cjs.js} +4 -4
- package/dist/cjs/{validate-76d32fcf.cjs.js → validate-016313d0.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +13 -14
|
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
|
|
|
46
46
|
|
|
47
47
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
48
|
|
|
49
|
-
var version$a = "0.17.0-next.
|
|
49
|
+
var version$a = "0.17.0-next.2";
|
|
50
50
|
|
|
51
|
-
var version$9 = "0.21.2-next.
|
|
51
|
+
var version$9 = "0.21.2-next.3";
|
|
52
52
|
var dependencies = {
|
|
53
53
|
"@backstage/cli-common": "workspace:^",
|
|
54
54
|
"@backstage/config": "workspace:^",
|
|
@@ -59,14 +59,13 @@ var dependencies = {
|
|
|
59
59
|
"@manypkg/get-packages": "^1.1.3",
|
|
60
60
|
"@octokit/request": "^6.0.0",
|
|
61
61
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
62
|
-
"@rollup/plugin-commonjs": "^
|
|
63
|
-
"@rollup/plugin-json": "^
|
|
62
|
+
"@rollup/plugin-commonjs": "^23.0.0",
|
|
63
|
+
"@rollup/plugin-json": "^5.0.0",
|
|
64
64
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
65
|
-
"@rollup/plugin-yaml": "^
|
|
65
|
+
"@rollup/plugin-yaml": "^4.0.0",
|
|
66
66
|
"@spotify/eslint-config-base": "^14.0.0",
|
|
67
67
|
"@spotify/eslint-config-react": "^14.0.0",
|
|
68
68
|
"@spotify/eslint-config-typescript": "^14.0.0",
|
|
69
|
-
"@sucrase/jest-plugin": "^2.1.1",
|
|
70
69
|
"@sucrase/webpack-loader": "^2.0.0",
|
|
71
70
|
"@svgr/plugin-jsx": "6.5.x",
|
|
72
71
|
"@svgr/plugin-svgo": "6.5.x",
|
|
@@ -116,7 +115,7 @@ var dependencies = {
|
|
|
116
115
|
"json-schema": "^0.4.0",
|
|
117
116
|
lodash: "^4.17.21",
|
|
118
117
|
"mini-css-extract-plugin": "^2.4.2",
|
|
119
|
-
minimatch: "5.1.
|
|
118
|
+
minimatch: "^5.1.1",
|
|
120
119
|
"node-fetch": "^2.6.7",
|
|
121
120
|
"node-libs-browser": "^2.2.1",
|
|
122
121
|
"npm-packlist": "^5.0.0",
|
|
@@ -183,19 +182,19 @@ var devDependencies = {
|
|
|
183
182
|
|
|
184
183
|
var version$8 = "1.0.5-next.1";
|
|
185
184
|
|
|
186
|
-
var version$7 = "1.2.1-next.
|
|
185
|
+
var version$7 = "1.2.1-next.3";
|
|
187
186
|
|
|
188
|
-
var version$6 = "0.12.1-next.
|
|
187
|
+
var version$6 = "0.12.1-next.3";
|
|
189
188
|
|
|
190
|
-
var version$5 = "1.
|
|
189
|
+
var version$5 = "1.2.0-next.2";
|
|
191
190
|
|
|
192
|
-
var version$4 = "1.0.9-next.
|
|
191
|
+
var version$4 = "1.0.9-next.3";
|
|
193
192
|
|
|
194
|
-
var version$3 = "1.2.3-next.
|
|
193
|
+
var version$3 = "1.2.3-next.3";
|
|
195
194
|
|
|
196
195
|
var version$2 = "0.2.16";
|
|
197
196
|
|
|
198
|
-
var version$1 = "1.
|
|
197
|
+
var version$1 = "1.9.0-next.2";
|
|
199
198
|
|
|
200
199
|
const packageVersions = {
|
|
201
200
|
"@backstage/backend-common": version$a,
|
|
@@ -266,7 +265,7 @@ function registerRepoCommand(program) {
|
|
|
266
265
|
).option(
|
|
267
266
|
"--since <ref>",
|
|
268
267
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
269
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
268
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-caa5d380.cjs.js'); }).then((m) => m.command)));
|
|
270
269
|
command.command("lint").description("Lint all packages in the project").option(
|
|
271
270
|
"--format <format>",
|
|
272
271
|
"Lint report output format",
|
|
@@ -274,10 +273,10 @@ function registerRepoCommand(program) {
|
|
|
274
273
|
).option(
|
|
275
274
|
"--since <ref>",
|
|
276
275
|
"Only lint packages that changed since the specified ref"
|
|
277
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
278
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
276
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-d5dac8ba.cjs.js'); }).then((m) => m.command)));
|
|
277
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-8208071e.cjs.js'); }).then((m) => m.command)));
|
|
279
278
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
280
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
279
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-ac54c958.cjs.js'); }).then((m) => m.command))
|
|
281
280
|
);
|
|
282
281
|
command.command("test").allowUnknownOption(true).option(
|
|
283
282
|
"--since <ref>",
|
|
@@ -285,14 +284,14 @@ function registerRepoCommand(program) {
|
|
|
285
284
|
).option(
|
|
286
285
|
"--jest-help",
|
|
287
286
|
"Show help for Jest CLI options, which are passed through"
|
|
288
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
287
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-b39d139e.cjs.js'); }).then((m) => m.command)));
|
|
289
288
|
}
|
|
290
289
|
function registerScriptCommand(program) {
|
|
291
290
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
292
291
|
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(
|
|
293
292
|
"--inspect-brk",
|
|
294
293
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
295
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
294
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-b19a0f69.cjs.js'); }).then((m) => m.command)));
|
|
296
295
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
297
296
|
"--minify",
|
|
298
297
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -310,33 +309,33 @@ function registerScriptCommand(program) {
|
|
|
310
309
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
311
310
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
312
311
|
Array()
|
|
313
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
312
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-02c1bb9a.cjs.js'); }).then((m) => m.command)));
|
|
314
313
|
command.command("lint [directories...]").option(
|
|
315
314
|
"--format <format>",
|
|
316
315
|
"Lint report output format",
|
|
317
316
|
"eslint-formatter-friendly"
|
|
318
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
319
|
-
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-
|
|
320
|
-
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-
|
|
321
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
322
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
323
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
317
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-3a0288b2.cjs.js'); }).then((m) => m.default)));
|
|
318
|
+
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-0c153677.cjs.js'); }).then((m) => m.default)));
|
|
319
|
+
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-63800ab2.cjs.js'); }).then((m) => m.command)));
|
|
320
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-6ccccc8f.cjs.js'); }).then((m) => m.default)));
|
|
321
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-279cc308.cjs.js'); }).then((m) => m.pre)));
|
|
322
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-279cc308.cjs.js'); }).then((m) => m.post)));
|
|
324
323
|
}
|
|
325
324
|
function registerMigrateCommand(program) {
|
|
326
325
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
327
|
-
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-
|
|
326
|
+
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-6a712bd0.cjs.js'); }).then((m) => m.default)));
|
|
328
327
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
329
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
328
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-da91796c.cjs.js'); }).then((m) => m.command))
|
|
330
329
|
);
|
|
331
330
|
command.command("package-lint-configs").description(
|
|
332
331
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
333
332
|
).action(
|
|
334
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
333
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-69457cf1.cjs.js'); }).then((m) => m.command))
|
|
335
334
|
);
|
|
336
335
|
command.command("react-router-deps").description(
|
|
337
336
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
338
337
|
).action(
|
|
339
|
-
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-
|
|
338
|
+
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-70f1a36a.cjs.js'); }).then((m) => m.command))
|
|
340
339
|
);
|
|
341
340
|
}
|
|
342
341
|
function registerCommands(program) {
|
|
@@ -356,7 +355,7 @@ function registerCommands(program) {
|
|
|
356
355
|
).option(
|
|
357
356
|
"--baseVersion <version>",
|
|
358
357
|
"The version to use for any new packages (default: 0.1.0)"
|
|
359
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
358
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-6bcbe2cf.cjs.js'); }).then((m) => m.default)));
|
|
360
359
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
361
360
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
362
361
|
).option(
|
|
@@ -370,43 +369,43 @@ function registerCommands(program) {
|
|
|
370
369
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
371
370
|
"--npm-registry <URL>",
|
|
372
371
|
"The package registry to use for new packages"
|
|
373
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
372
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-6bcbe2cf.cjs.js'); }).then((m) => m.default)));
|
|
374
373
|
program.command("create-plugin", { hidden: true }).option(
|
|
375
374
|
"--backend",
|
|
376
375
|
"Create plugin with the backend dependencies as default"
|
|
377
376
|
).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(
|
|
378
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
377
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-ae00f058.cjs.js'); }).then((m) => m.default))
|
|
379
378
|
);
|
|
380
379
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
381
380
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
382
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
381
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-49acf3aa.cjs.js'); }).then((m) => m.default)));
|
|
383
382
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
384
383
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
385
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
384
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-0c153677.cjs.js'); }).then((m) => m.default)));
|
|
386
385
|
program.command("config:docs").option(
|
|
387
386
|
"--package <name>",
|
|
388
387
|
"Only include the schema that applies to the given package"
|
|
389
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
388
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-f70c4007.cjs.js'); }).then((m) => m.default)));
|
|
390
389
|
program.command("config:print").option(
|
|
391
390
|
"--package <name>",
|
|
392
391
|
"Only load config schema that applies to the given package"
|
|
393
392
|
).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(
|
|
394
393
|
"--format <format>",
|
|
395
394
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
396
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
395
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-4e1147d0.cjs.js'); }).then((m) => m.default)));
|
|
397
396
|
program.command("config:check").option(
|
|
398
397
|
"--package <name>",
|
|
399
398
|
"Only load config schema that applies to the given package"
|
|
400
399
|
).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(
|
|
401
400
|
"Validate that the given configuration loads and matches schema"
|
|
402
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
401
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-016313d0.cjs.js'); }).then((m) => m.default)));
|
|
403
402
|
program.command("config:schema").option(
|
|
404
403
|
"--package <name>",
|
|
405
404
|
"Only output config schema that applies to the given package"
|
|
406
405
|
).option(
|
|
407
406
|
"--format <format>",
|
|
408
407
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
409
|
-
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
408
|
+
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-32b73742.cjs.js'); }).then((m) => m.default)));
|
|
410
409
|
registerRepoCommand(program);
|
|
411
410
|
registerScriptCommand(program);
|
|
412
411
|
registerMigrateCommand(program);
|
|
@@ -417,16 +416,16 @@ function registerCommands(program) {
|
|
|
417
416
|
"--release <version|next|main>",
|
|
418
417
|
"Bump to a specific Backstage release line or version",
|
|
419
418
|
"main"
|
|
420
|
-
).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
421
|
-
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-
|
|
422
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
423
|
-
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-
|
|
424
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
425
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
419
|
+
).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-ff1aa5f7.cjs.js'); }).then((m) => m.default)));
|
|
420
|
+
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-e9c0cd2e.cjs.js'); }).then((m) => m.default)));
|
|
421
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-6ccccc8f.cjs.js'); }).then((m) => m.default)));
|
|
422
|
+
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-dd9f0405.cjs.js'); }).then((m) => m.default)));
|
|
423
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-b2dd0409.cjs.js'); }).then((m) => m.default)));
|
|
424
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-b452e94e.cjs.js'); }).then((m) => m.default)));
|
|
426
425
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
427
426
|
"--from <packageJsonFilePath>",
|
|
428
427
|
"Install from a local package.json containing the installation recipe"
|
|
429
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
428
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-ad10e451.cjs.js'); }).then((m) => m.default)));
|
|
430
429
|
}
|
|
431
430
|
function lazy(getActionFunc) {
|
|
432
431
|
return async (...args) => {
|
|
@@ -470,4 +469,4 @@ exports.devDependencies = devDependencies;
|
|
|
470
469
|
exports.paths = paths;
|
|
471
470
|
exports.version = version;
|
|
472
471
|
exports.version$1 = version$9;
|
|
473
|
-
//# sourceMappingURL=index-
|
|
472
|
+
//# sourceMappingURL=index-895cff2a.cjs.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-895cff2a.cjs.js');
|
|
5
5
|
var webpack = require('webpack');
|
|
6
|
-
var paths = require('./paths-
|
|
6
|
+
var paths = require('./paths-c047f109.cjs.js');
|
|
7
7
|
require('yn');
|
|
8
8
|
require('path');
|
|
9
9
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -17,19 +17,19 @@ require('@backstage/cli-common');
|
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
18
|
require('mini-css-extract-plugin');
|
|
19
19
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-fa542d4f.cjs.js');
|
|
21
21
|
require('eslint-webpack-plugin');
|
|
22
22
|
require('lodash/pickBy');
|
|
23
23
|
var chalk = require('chalk');
|
|
24
24
|
var WebpackDevServer = require('webpack-dev-server');
|
|
25
25
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
26
26
|
var uniq = require('lodash/uniq');
|
|
27
|
-
var config = require('./config-
|
|
27
|
+
var config = require('./config-6b90664b.cjs.js');
|
|
28
28
|
var Lockfile = require('./Lockfile-6785964d.cjs.js');
|
|
29
29
|
require('minimatch');
|
|
30
30
|
require('./yarn-6cd89e16.cjs.js');
|
|
31
|
-
var lint = require('./lint-
|
|
32
|
-
var packageRoles = require('./packageRoles-
|
|
31
|
+
var lint = require('./lint-e9c0cd2e.cjs.js');
|
|
32
|
+
var packageRoles = require('./packageRoles-d4625ae6.cjs.js');
|
|
33
33
|
require('commander');
|
|
34
34
|
require('semver');
|
|
35
35
|
require('@backstage/errors');
|
|
@@ -38,7 +38,7 @@ require('child_process');
|
|
|
38
38
|
require('util');
|
|
39
39
|
require('@backstage/config-loader');
|
|
40
40
|
require('@backstage/config');
|
|
41
|
-
require('./PackageGraph-
|
|
41
|
+
require('./PackageGraph-b187c4c2.cjs.js');
|
|
42
42
|
require('@yarnpkg/parsers');
|
|
43
43
|
require('@yarnpkg/lockfile');
|
|
44
44
|
require('lodash/partition');
|
|
@@ -79,7 +79,7 @@ async function serveBackend(options) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
async function serveBundle(options) {
|
|
82
|
-
var _a, _b;
|
|
82
|
+
var _a, _b, _c;
|
|
83
83
|
const url = paths.resolveBaseUrl(options.frontendConfig);
|
|
84
84
|
const host = options.frontendConfig.getOptionalString("app.listen.host") || url.hostname;
|
|
85
85
|
const port = options.frontendConfig.getOptionalNumber("app.listen.port") || Number(url.port) || (url.protocol === "https:" ? 443 : 80);
|
|
@@ -104,7 +104,8 @@ async function serveBundle(options) {
|
|
|
104
104
|
directory: paths$1.targetPublic
|
|
105
105
|
} : void 0,
|
|
106
106
|
historyApiFallback: {
|
|
107
|
-
disableDotRule: true
|
|
107
|
+
disableDotRule: true,
|
|
108
|
+
index: `${(_c = config.output) == null ? void 0 : _c.publicPath}index.html`
|
|
108
109
|
},
|
|
109
110
|
https: url.protocol === "https:" ? {
|
|
110
111
|
cert: options.fullConfig.getString("app.https.certificate.cert"),
|
|
@@ -245,4 +246,4 @@ async function command(opts) {
|
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
exports.command = command;
|
|
248
|
-
//# sourceMappingURL=index-
|
|
249
|
+
//# sourceMappingURL=index-b19a0f69.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-895cff2a.cjs.js');
|
|
8
8
|
var crypto = require('crypto');
|
|
9
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
10
10
|
var request = require('@octokit/request');
|
|
@@ -222,4 +222,4 @@ async function verifyGithubOrg(org) {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
exports["default"] = index;
|
|
225
|
-
//# sourceMappingURL=index-
|
|
225
|
+
//# sourceMappingURL=index-b2dd0409.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-895cff2a.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-fa542d4f.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-6785964d.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-b452e94e.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-5b4ca5dd.cjs.js');
|
|
8
|
+
var index = require('./index-895cff2a.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-fa542d4f.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-ad10e451.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-895cff2a.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-3a0288b2.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-b187c4c2.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-895cff2a.cjs.js');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
9
9
|
require('@backstage/errors');
|
|
10
10
|
require('child_process');
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-d5dac8ba.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-fa542d4f.cjs.js');
|
|
9
|
+
var index = require('./index-895cff2a.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
11
|
require('fs-extra');
|
|
12
12
|
require('semver');
|
|
@@ -105,4 +105,4 @@ function logArray(arr, header, each) {
|
|
|
105
105
|
exports["default"] = lint;
|
|
106
106
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
107
107
|
exports.includedFilter = includedFilter;
|
|
108
|
-
//# sourceMappingURL=lint-
|
|
108
|
+
//# sourceMappingURL=lint-e9c0cd2e.cjs.js.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
+
var index = require('./index-895cff2a.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-b187c4c2.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -79,4 +79,4 @@ async function command(opts) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
exports.command = command;
|
|
82
|
-
//# sourceMappingURL=list-deprecations-
|
|
82
|
+
//# sourceMappingURL=list-deprecations-ac54c958.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-895cff2a.cjs.js');
|
|
11
|
+
var tasks = require('./tasks-2a2c6d92.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-6785964d.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('./yarn-6cd89e16.cjs.js');
|
|
16
|
-
require('./run-
|
|
16
|
+
require('./run-fa542d4f.cjs.js');
|
|
17
17
|
var partition = require('lodash/partition');
|
|
18
18
|
var errors = require('@backstage/errors');
|
|
19
19
|
require('commander');
|
|
@@ -523,4 +523,4 @@ var _new = async (opts) => {
|
|
|
523
523
|
};
|
|
524
524
|
|
|
525
525
|
exports["default"] = _new;
|
|
526
|
-
//# sourceMappingURL=new-
|
|
526
|
+
//# sourceMappingURL=new-6bcbe2cf.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-895cff2a.cjs.js');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
require('commander');
|
|
7
7
|
require('chalk');
|
|
@@ -75,4 +75,4 @@ const post = async () => {
|
|
|
75
75
|
|
|
76
76
|
exports.post = post;
|
|
77
77
|
exports.pre = pre;
|
|
78
|
-
//# sourceMappingURL=pack-
|
|
78
|
+
//# sourceMappingURL=pack-279cc308.cjs.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
-
var run = require('./run-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-b187c4c2.cjs.js');
|
|
6
|
+
var run = require('./run-fa542d4f.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-895cff2a.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -80,4 +80,4 @@ async function command() {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
exports.command = command;
|
|
83
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
83
|
+
//# sourceMappingURL=packageLintConfigs-69457cf1.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-895cff2a.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-d4625ae6.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-6a712bd0.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-895cff2a.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-d4625ae6.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-b187c4c2.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-d4625ae6.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-895cff2a.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -95,4 +95,4 @@ async function command() {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
exports.command = command;
|
|
98
|
-
//# sourceMappingURL=packageScripts-
|
|
98
|
+
//# sourceMappingURL=packageScripts-da91796c.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-895cff2a.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6cd89e16.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
7
|
+
var run = require('./run-fa542d4f.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-5b4ca5dd.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-550efce6.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-895cff2a.cjs.js');
|
|
17
|
+
var run = require('./run-fa542d4f.cjs.js');
|
|
18
18
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
19
19
|
var pickBy = require('lodash/pickBy');
|
|
20
20
|
|
|
@@ -576,4 +576,4 @@ exports.createBackendConfig = createBackendConfig;
|
|
|
576
576
|
exports.createConfig = createConfig;
|
|
577
577
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
578
578
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
579
|
-
//# sourceMappingURL=paths-
|
|
579
|
+
//# sourceMappingURL=paths-c047f109.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-6b90664b.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-895cff2a.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-b187c4c2.cjs.js');
|
|
16
16
|
require('path');
|
|
17
17
|
require('child_process');
|
|
18
18
|
require('util');
|
|
@@ -61,4 +61,4 @@ function serializeConfigData(appConfigs, schema, visibility) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
exports["default"] = print;
|
|
64
|
-
//# sourceMappingURL=print-
|
|
64
|
+
//# sourceMappingURL=print-4e1147d0.cjs.js.map
|