@backstage/cli 0.21.1 → 0.21.2-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -2
- package/dist/cjs/{PackageGraph-5171a7a0.cjs.js → PackageGraph-5b90b3d4.cjs.js} +2 -2
- package/dist/cjs/{build-0f6d8537.cjs.js → build-aaed4978.cjs.js} +9 -9
- package/dist/cjs/{buildBackend-a6435c07.cjs.js → buildBackend-62307305.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-0bfc1749.cjs.js → buildWorkspace-4c7bb368.cjs.js} +6 -6
- package/dist/cjs/{bump-828c7106.cjs.js → bump-0c98a386.cjs.js} +5 -5
- package/dist/cjs/{clean-ac906586.cjs.js → clean-c5faf8e8.cjs.js} +3 -3
- package/dist/cjs/{clean-9022327a.cjs.js → clean-db9f00f5.cjs.js} +2 -2
- package/dist/cjs/{config-0024efa1.cjs.js → config-70a6a9b8.cjs.js} +3 -3
- package/dist/cjs/{createDistWorkspace-9d21f1c1.cjs.js → createDistWorkspace-75d0f5e2.cjs.js} +5 -5
- package/dist/cjs/{createPlugin-8998eb11.cjs.js → createPlugin-b1c6b842.cjs.js} +4 -4
- package/dist/cjs/{diff-dc30fa2f.cjs.js → diff-ddcba9f1.cjs.js} +2 -2
- package/dist/cjs/{docs-f493311c.cjs.js → docs-c1f85b31.cjs.js} +4 -4
- package/dist/cjs/{fix-1e983187.cjs.js → fix-253556bf.cjs.js} +3 -3
- package/dist/cjs/{index-2b9df3ce.cjs.js → index-0515afa8.cjs.js} +8 -8
- package/dist/cjs/{index-b876ab51.cjs.js → index-65b3fa90.cjs.js} +2 -2
- package/dist/cjs/{index-882e66b6.cjs.js → index-8db58720.cjs.js} +44 -44
- package/dist/cjs/{index-84ac585b.cjs.js → index-fc8e5f24.cjs.js} +9 -9
- package/dist/cjs/{info-2037d34b.cjs.js → info-60805d50.cjs.js} +3 -3
- package/dist/cjs/{install-b67b5a8c.cjs.js → install-abb40655.cjs.js} +4 -4
- package/dist/cjs/{lint-d492facf.cjs.js → lint-9acc22e1.cjs.js} +3 -3
- package/dist/cjs/{lint-5cca9c67.cjs.js → lint-cb6b3b19.cjs.js} +2 -2
- package/dist/cjs/{lint-4796aeda.cjs.js → lint-fd14eb81.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-22086c45.cjs.js → list-deprecations-d9da1b6c.cjs.js} +3 -3
- package/dist/cjs/{new-b8f4da2f.cjs.js → new-8ad7704d.cjs.js} +4 -4
- package/dist/cjs/{pack-aca85dbb.cjs.js → pack-c4550cb0.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-0335bef7.cjs.js → packageLintConfigs-f89dbf20.cjs.js} +4 -4
- package/dist/cjs/{packageRole-3b9411b0.cjs.js → packageRole-a8d3f0f2.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-abec821e.cjs.js → packageRoles-13ebb20b.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-8438459a.cjs.js → packageScripts-f966ec51.cjs.js} +4 -4
- package/dist/cjs/{packages-50de74ed.cjs.js → packages-f5b51cb1.cjs.js} +3 -3
- package/dist/cjs/{paths-a9c09204.cjs.js → paths-57e7fbd3.cjs.js} +3 -3
- package/dist/cjs/{print-2db5d252.cjs.js → print-131f77e3.cjs.js} +4 -4
- package/dist/cjs/{reactRouterDeps-b591b716.cjs.js → reactRouterDeps-ccd42be9.cjs.js} +4 -4
- package/dist/cjs/{run-519762e1.cjs.js → run-0ef57f12.cjs.js} +2 -2
- package/dist/cjs/{schema-f28a4ffc.cjs.js → schema-cd931e7e.cjs.js} +4 -4
- package/dist/cjs/{tasks-b1102752.cjs.js → tasks-2e7b935e.cjs.js} +2 -2
- package/dist/cjs/{test-de9ec880.cjs.js → test-5c00b13b.cjs.js} +3 -3
- package/dist/cjs/{test-e3f3b59a.cjs.js → test-d5efcec9.cjs.js} +4 -4
- package/dist/cjs/{validate-88236e2f.cjs.js → validate-8b31bc7c.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +14 -14
- package/templates/default-backend-plugin/package.json.hbs +1 -1
- package/templates/default-plugin/package.json.hbs +1 -1
- package/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.test.tsx.hbs +3 -2
- package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +3 -3
|
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
|
|
|
46
46
|
|
|
47
47
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
48
|
|
|
49
|
-
var version$a = "0.16.0";
|
|
49
|
+
var version$a = "0.16.1-next.0";
|
|
50
50
|
|
|
51
|
-
var version$9 = "0.21.
|
|
51
|
+
var version$9 = "0.21.2-next.0";
|
|
52
52
|
var dependencies = {
|
|
53
53
|
"@backstage/cli-common": "workspace:^",
|
|
54
54
|
"@backstage/config": "workspace:^",
|
|
@@ -175,27 +175,27 @@ var devDependencies = {
|
|
|
175
175
|
"@types/yarnpkg__lockfile": "^1.1.4",
|
|
176
176
|
del: "^6.0.0",
|
|
177
177
|
"mock-fs": "^5.1.0",
|
|
178
|
-
msw: "^0.
|
|
178
|
+
msw: "^0.49.0",
|
|
179
179
|
nodemon: "^2.0.2",
|
|
180
180
|
"ts-node": "^10.0.0",
|
|
181
181
|
"type-fest": "^2.0.0"
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
var version$8 = "1.0.
|
|
184
|
+
var version$8 = "1.0.5-next.0";
|
|
185
185
|
|
|
186
|
-
var version$7 = "1.2.0";
|
|
186
|
+
var version$7 = "1.2.1-next.0";
|
|
187
187
|
|
|
188
|
-
var version$6 = "0.12.0";
|
|
188
|
+
var version$6 = "0.12.1-next.0";
|
|
189
189
|
|
|
190
|
-
var version$5 = "1.1.0";
|
|
190
|
+
var version$5 = "1.1.1-next.0";
|
|
191
191
|
|
|
192
|
-
var version$4 = "1.0.
|
|
192
|
+
var version$4 = "1.0.9-next.0";
|
|
193
193
|
|
|
194
|
-
var version$3 = "1.2.
|
|
194
|
+
var version$3 = "1.2.3-next.0";
|
|
195
195
|
|
|
196
196
|
var version$2 = "0.2.16";
|
|
197
197
|
|
|
198
|
-
var version$1 = "1.8.0";
|
|
198
|
+
var version$1 = "1.8.1-next.0";
|
|
199
199
|
|
|
200
200
|
const packageVersions = {
|
|
201
201
|
"@backstage/backend-common": version$a,
|
|
@@ -266,7 +266,7 @@ function registerRepoCommand(program) {
|
|
|
266
266
|
).option(
|
|
267
267
|
"--since <ref>",
|
|
268
268
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
269
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
269
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-aaed4978.cjs.js'); }).then((m) => m.command)));
|
|
270
270
|
command.command("lint").description("Lint all packages in the project").option(
|
|
271
271
|
"--format <format>",
|
|
272
272
|
"Lint report output format",
|
|
@@ -274,10 +274,10 @@ function registerRepoCommand(program) {
|
|
|
274
274
|
).option(
|
|
275
275
|
"--since <ref>",
|
|
276
276
|
"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-
|
|
277
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-9acc22e1.cjs.js'); }).then((m) => m.command)));
|
|
278
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c5faf8e8.cjs.js'); }).then((m) => m.command)));
|
|
279
279
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
280
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
280
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-d9da1b6c.cjs.js'); }).then((m) => m.command))
|
|
281
281
|
);
|
|
282
282
|
command.command("test").allowUnknownOption(true).option(
|
|
283
283
|
"--since <ref>",
|
|
@@ -285,14 +285,14 @@ function registerRepoCommand(program) {
|
|
|
285
285
|
).option(
|
|
286
286
|
"--jest-help",
|
|
287
287
|
"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-
|
|
288
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-d5efcec9.cjs.js'); }).then((m) => m.command)));
|
|
289
289
|
}
|
|
290
290
|
function registerScriptCommand(program) {
|
|
291
291
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
292
292
|
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
293
|
"--inspect-brk",
|
|
294
294
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
295
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
295
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-0515afa8.cjs.js'); }).then((m) => m.command)));
|
|
296
296
|
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
297
|
"--minify",
|
|
298
298
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -310,33 +310,33 @@ function registerScriptCommand(program) {
|
|
|
310
310
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
311
311
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
312
312
|
Array()
|
|
313
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
313
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-fc8e5f24.cjs.js'); }).then((m) => m.command)));
|
|
314
314
|
command.command("lint [directories...]").option(
|
|
315
315
|
"--format <format>",
|
|
316
316
|
"Lint report output format",
|
|
317
317
|
"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-
|
|
318
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-cb6b3b19.cjs.js'); }).then((m) => m.default)));
|
|
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-5c00b13b.cjs.js'); }).then((m) => m.default)));
|
|
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-253556bf.cjs.js'); }).then((m) => m.command)));
|
|
321
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-db9f00f5.cjs.js'); }).then((m) => m.default)));
|
|
322
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-c4550cb0.cjs.js'); }).then((m) => m.pre)));
|
|
323
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-c4550cb0.cjs.js'); }).then((m) => m.post)));
|
|
324
324
|
}
|
|
325
325
|
function registerMigrateCommand(program) {
|
|
326
326
|
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-
|
|
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-a8d3f0f2.cjs.js'); }).then((m) => m.default)));
|
|
328
328
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
329
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
329
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-f966ec51.cjs.js'); }).then((m) => m.command))
|
|
330
330
|
);
|
|
331
331
|
command.command("package-lint-configs").description(
|
|
332
332
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
333
333
|
).action(
|
|
334
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
334
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-f89dbf20.cjs.js'); }).then((m) => m.command))
|
|
335
335
|
);
|
|
336
336
|
command.command("react-router-deps").description(
|
|
337
337
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
338
338
|
).action(
|
|
339
|
-
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-
|
|
339
|
+
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-ccd42be9.cjs.js'); }).then((m) => m.command))
|
|
340
340
|
);
|
|
341
341
|
}
|
|
342
342
|
function registerCommands(program) {
|
|
@@ -356,7 +356,7 @@ function registerCommands(program) {
|
|
|
356
356
|
).option(
|
|
357
357
|
"--baseVersion <version>",
|
|
358
358
|
"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-
|
|
359
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-8ad7704d.cjs.js'); }).then((m) => m.default)));
|
|
360
360
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
361
361
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
362
362
|
).option(
|
|
@@ -370,43 +370,43 @@ function registerCommands(program) {
|
|
|
370
370
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
371
371
|
"--npm-registry <URL>",
|
|
372
372
|
"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-
|
|
373
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-8ad7704d.cjs.js'); }).then((m) => m.default)));
|
|
374
374
|
program.command("create-plugin", { hidden: true }).option(
|
|
375
375
|
"--backend",
|
|
376
376
|
"Create plugin with the backend dependencies as default"
|
|
377
377
|
).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-
|
|
378
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-b1c6b842.cjs.js'); }).then((m) => m.default))
|
|
379
379
|
);
|
|
380
380
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
381
381
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
382
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
382
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-ddcba9f1.cjs.js'); }).then((m) => m.default)));
|
|
383
383
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
384
384
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
385
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
385
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-5c00b13b.cjs.js'); }).then((m) => m.default)));
|
|
386
386
|
program.command("config:docs").option(
|
|
387
387
|
"--package <name>",
|
|
388
388
|
"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-
|
|
389
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-c1f85b31.cjs.js'); }).then((m) => m.default)));
|
|
390
390
|
program.command("config:print").option(
|
|
391
391
|
"--package <name>",
|
|
392
392
|
"Only load config schema that applies to the given package"
|
|
393
393
|
).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
394
|
"--format <format>",
|
|
395
395
|
"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-
|
|
396
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-131f77e3.cjs.js'); }).then((m) => m.default)));
|
|
397
397
|
program.command("config:check").option(
|
|
398
398
|
"--package <name>",
|
|
399
399
|
"Only load config schema that applies to the given package"
|
|
400
400
|
).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
401
|
"Validate that the given configuration loads and matches schema"
|
|
402
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
402
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-8b31bc7c.cjs.js'); }).then((m) => m.default)));
|
|
403
403
|
program.command("config:schema").option(
|
|
404
404
|
"--package <name>",
|
|
405
405
|
"Only output config schema that applies to the given package"
|
|
406
406
|
).option(
|
|
407
407
|
"--format <format>",
|
|
408
408
|
"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-
|
|
409
|
+
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-cd931e7e.cjs.js'); }).then((m) => m.default)));
|
|
410
410
|
registerRepoCommand(program);
|
|
411
411
|
registerScriptCommand(program);
|
|
412
412
|
registerMigrateCommand(program);
|
|
@@ -417,16 +417,16 @@ function registerCommands(program) {
|
|
|
417
417
|
"--release <version|next|main>",
|
|
418
418
|
"Bump to a specific Backstage release line or version",
|
|
419
419
|
"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-
|
|
420
|
+
).description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-0c98a386.cjs.js'); }).then((m) => m.default)));
|
|
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-fd14eb81.cjs.js'); }).then((m) => m.default)));
|
|
422
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-db9f00f5.cjs.js'); }).then((m) => m.default)));
|
|
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-4c7bb368.cjs.js'); }).then((m) => m.default)));
|
|
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-65b3fa90.cjs.js'); }).then((m) => m.default)));
|
|
425
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-60805d50.cjs.js'); }).then((m) => m.default)));
|
|
426
426
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
427
427
|
"--from <packageJsonFilePath>",
|
|
428
428
|
"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-
|
|
429
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-abb40655.cjs.js'); }).then((m) => m.default)));
|
|
430
430
|
}
|
|
431
431
|
function lazy(getActionFunc) {
|
|
432
432
|
return async (...args) => {
|
|
@@ -470,4 +470,4 @@ exports.devDependencies = devDependencies;
|
|
|
470
470
|
exports.paths = paths;
|
|
471
471
|
exports.version = version;
|
|
472
472
|
exports.version$1 = version$9;
|
|
473
|
-
//# sourceMappingURL=index-
|
|
473
|
+
//# sourceMappingURL=index-8db58720.cjs.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var buildBackend = require('./buildBackend-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-75d0f5e2.cjs.js');
|
|
4
|
+
var packageRoles = require('./packageRoles-13ebb20b.cjs.js');
|
|
5
|
+
var index = require('./index-8db58720.cjs.js');
|
|
6
|
+
var buildBackend = require('./buildBackend-62307305.cjs.js');
|
|
7
7
|
require('chalk');
|
|
8
8
|
require('fs-extra');
|
|
9
9
|
require('path');
|
|
10
10
|
require('os');
|
|
11
11
|
require('tar');
|
|
12
12
|
require('lodash/partition');
|
|
13
|
-
require('./run-
|
|
13
|
+
require('./run-0ef57f12.cjs.js');
|
|
14
14
|
require('child_process');
|
|
15
15
|
require('util');
|
|
16
16
|
require('@backstage/errors');
|
|
17
|
-
require('./PackageGraph-
|
|
17
|
+
require('./PackageGraph-5b90b3d4.cjs.js');
|
|
18
18
|
require('@manypkg/get-packages');
|
|
19
19
|
require('rollup');
|
|
20
20
|
require('@rollup/plugin-commonjs');
|
|
@@ -40,7 +40,7 @@ require('html-webpack-plugin');
|
|
|
40
40
|
require('react-dev-utils/ModuleScopePlugin');
|
|
41
41
|
require('run-script-webpack-plugin');
|
|
42
42
|
require('webpack-node-externals');
|
|
43
|
-
require('./paths-
|
|
43
|
+
require('./paths-57e7fbd3.cjs.js');
|
|
44
44
|
require('mini-css-extract-plugin');
|
|
45
45
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
46
46
|
require('eslint-webpack-plugin');
|
|
@@ -50,7 +50,7 @@ require('react-dev-utils/FileSizeReporter');
|
|
|
50
50
|
require('react-dev-utils/formatWebpackMessages');
|
|
51
51
|
require('webpack-dev-server');
|
|
52
52
|
require('react-dev-utils/openBrowser');
|
|
53
|
-
require('./config-
|
|
53
|
+
require('./config-70a6a9b8.cjs.js');
|
|
54
54
|
require('@backstage/config-loader');
|
|
55
55
|
require('@backstage/config');
|
|
56
56
|
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=index-
|
|
91
|
+
//# sourceMappingURL=index-fc8e5f24.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-8db58720.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-0ef57f12.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-60805d50.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-f5b51cb1.cjs.js');
|
|
8
|
+
var index = require('./index-8db58720.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-0ef57f12.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-abb40655.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-5b90b3d4.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-8db58720.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-9acc22e1.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-8db58720.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-cb6b3b19.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-0ef57f12.cjs.js');
|
|
9
|
+
var index = require('./index-8db58720.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-fd14eb81.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-8db58720.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-5b90b3d4.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-d9da1b6c.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-8db58720.cjs.js');
|
|
11
|
+
var tasks = require('./tasks-2e7b935e.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-0ef57f12.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-8ad7704d.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-8db58720.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-c4550cb0.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-5b90b3d4.cjs.js');
|
|
6
|
+
var run = require('./run-0ef57f12.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-8db58720.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-f89dbf20.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-8db58720.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-13ebb20b.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-a8d3f0f2.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-8db58720.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-13ebb20b.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-5b90b3d4.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-13ebb20b.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-8db58720.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-f966ec51.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-8db58720.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6cd89e16.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
7
|
+
var run = require('./run-0ef57f12.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-f5b51cb1.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-8db58720.cjs.js');
|
|
17
|
+
var run = require('./run-0ef57f12.cjs.js');
|
|
18
18
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
19
19
|
var pickBy = require('lodash/pickBy');
|
|
20
20
|
|
|
@@ -574,4 +574,4 @@ exports.createBackendConfig = createBackendConfig;
|
|
|
574
574
|
exports.createConfig = createConfig;
|
|
575
575
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
576
576
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
577
|
-
//# sourceMappingURL=paths-
|
|
577
|
+
//# sourceMappingURL=paths-57e7fbd3.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-70a6a9b8.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-8db58720.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-5b90b3d4.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-131f77e3.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-5b90b3d4.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-13ebb20b.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-8db58720.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -56,4 +56,4 @@ async function command() {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
exports.command = command;
|
|
59
|
-
//# sourceMappingURL=reactRouterDeps-
|
|
59
|
+
//# sourceMappingURL=reactRouterDeps-ccd42be9.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-8db58720.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-0ef57f12.cjs.js.map
|