@backstage/cli 0.22.1-next.2 → 0.22.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 +37 -0
- package/config/jest.js +0 -5
- package/dist/cjs/{PackageGraph-d9da7b23.cjs.js → PackageGraph-e616fa94.cjs.js} +3 -3
- package/dist/cjs/{build-6779a61a.cjs.js → build-1dbdfe5b.cjs.js} +9 -9
- package/dist/cjs/{buildBackend-9d91bb6d.cjs.js → buildBackend-0ed67e88.cjs.js} +28 -17
- package/dist/cjs/{buildWorkspace-b8998009.cjs.js → buildWorkspace-b953f523.cjs.js} +6 -6
- package/dist/cjs/{bump-b3792b9f.cjs.js → bump-5f65d9a2.cjs.js} +6 -6
- package/dist/cjs/{clean-bc937296.cjs.js → clean-5bd88470.cjs.js} +4 -4
- package/dist/cjs/{clean-acf50f3a.cjs.js → clean-c2d50507.cjs.js} +2 -2
- package/dist/cjs/{config-a681b4d3.cjs.js → config-0427e3b2.cjs.js} +3 -3
- package/dist/cjs/{createDistWorkspace-9fdb27fb.cjs.js → createDistWorkspace-c65adf78.cjs.js} +5 -5
- package/dist/cjs/{createPlugin-823c2eda.cjs.js → createPlugin-1406a48f.cjs.js} +4 -4
- package/dist/cjs/{diff-aa4a4f88.cjs.js → diff-2c0e3f56.cjs.js} +2 -2
- package/dist/cjs/{docs-bf1a1e9d.cjs.js → docs-5e42347e.cjs.js} +5 -5
- package/dist/cjs/{fix-1cea568e.cjs.js → fix-6814d7d4.cjs.js} +4 -4
- package/dist/cjs/{index-37128a30.cjs.js → index-1e9cb6b4.cjs.js} +2 -2
- package/dist/cjs/{index-55d157d2.cjs.js → index-38e61eff.cjs.js} +8 -8
- package/dist/cjs/{index-87524caa.cjs.js → index-6a9ea3ac.cjs.js} +9 -9
- package/dist/cjs/{index-8acf6249.cjs.js → index-def5ead7.cjs.js} +44 -44
- package/dist/cjs/{info-095a8cec.cjs.js → info-0e9d1dd7.cjs.js} +3 -3
- package/dist/cjs/{install-9f819fe7.cjs.js → install-867fe702.cjs.js} +4 -4
- package/dist/cjs/{lint-e82970e9.cjs.js → lint-6be0160b.cjs.js} +4 -4
- package/dist/cjs/{lint-17f6aab2.cjs.js → lint-e49bf460.cjs.js} +2 -2
- package/dist/cjs/{lint-467da923.cjs.js → lint-fbbe6554.cjs.js} +4 -4
- package/dist/cjs/{list-deprecations-543ffee8.cjs.js → list-deprecations-e7a1cfb0.cjs.js} +4 -4
- package/dist/cjs/{new-700afe05.cjs.js → new-4ac9108a.cjs.js} +8 -7
- package/dist/cjs/{pack-a6012ad4.cjs.js → pack-4414ffab.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-fb3b621c.cjs.js → packageLintConfigs-2fed5677.cjs.js} +4 -4
- package/dist/cjs/{packageRole-af8ea0bc.cjs.js → packageRole-24afcd93.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-2010a10e.cjs.js → packageRoles-717b0ca3.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-9d94f906.cjs.js → packageScripts-f97c8f90.cjs.js} +5 -5
- package/dist/cjs/{packages-69e88f30.cjs.js → packages-1a9a6254.cjs.js} +3 -3
- package/dist/cjs/{paths-86c86a11.cjs.js → paths-5782f241.cjs.js} +3 -3
- package/dist/cjs/{print-e52610e3.cjs.js → print-9cea81ad.cjs.js} +5 -5
- package/dist/cjs/{reactRouterDeps-d1e177ae.cjs.js → reactRouterDeps-88fb2936.cjs.js} +5 -5
- package/dist/cjs/{run-c41b9e63.cjs.js → run-ac0b620b.cjs.js} +2 -2
- package/dist/cjs/{schema-ff978f86.cjs.js → schema-670284f2.cjs.js} +5 -5
- package/dist/cjs/{tasks-6e4c0619.cjs.js → tasks-90e4e523.cjs.js} +2 -2
- package/dist/cjs/{test-6c4f80c4.cjs.js → test-7b42290d.cjs.js} +3 -3
- package/dist/cjs/{test-c3d76800.cjs.js → test-8bb2b2f9.cjs.js} +41 -15
- package/dist/cjs/{validate-fe982015.cjs.js → validate-331f4ecc.cjs.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/package.json +11 -11
|
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
|
|
|
46
46
|
|
|
47
47
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
48
|
|
|
49
|
-
var version$a = "0.18.
|
|
49
|
+
var version$a = "0.18.2-next.1";
|
|
50
50
|
|
|
51
|
-
var version$9 = "0.22.
|
|
51
|
+
var version$9 = "0.22.2-next.0";
|
|
52
52
|
var dependencies = {
|
|
53
53
|
"@backstage/cli-common": "workspace:^",
|
|
54
54
|
"@backstage/config": "workspace:^",
|
|
@@ -87,7 +87,7 @@ var dependencies = {
|
|
|
87
87
|
commander: "^9.1.0",
|
|
88
88
|
"css-loader": "^6.5.1",
|
|
89
89
|
diff: "^5.0.0",
|
|
90
|
-
esbuild: "^0.
|
|
90
|
+
esbuild: "^0.17.0",
|
|
91
91
|
"esbuild-loader": "^2.18.0",
|
|
92
92
|
eslint: "^8.6.0",
|
|
93
93
|
"eslint-config-prettier": "^8.3.0",
|
|
@@ -179,21 +179,21 @@ var devDependencies = {
|
|
|
179
179
|
"ts-node": "^10.0.0"
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
var version$8 = "1.0.6
|
|
182
|
+
var version$8 = "1.0.6";
|
|
183
183
|
|
|
184
|
-
var version$7 = "1.4.
|
|
184
|
+
var version$7 = "1.4.1-next.0";
|
|
185
185
|
|
|
186
|
-
var version$6 = "0.12.
|
|
186
|
+
var version$6 = "0.12.4-next.0";
|
|
187
187
|
|
|
188
|
-
var version$5 = "1.3.0
|
|
188
|
+
var version$5 = "1.3.0";
|
|
189
189
|
|
|
190
|
-
var version$4 = "1.0.
|
|
190
|
+
var version$4 = "1.0.12-next.1";
|
|
191
191
|
|
|
192
|
-
var version$3 = "1.2.
|
|
192
|
+
var version$3 = "1.2.5-next.0";
|
|
193
193
|
|
|
194
194
|
var version$2 = "0.2.16";
|
|
195
195
|
|
|
196
|
-
var version$1 = "1.
|
|
196
|
+
var version$1 = "1.11.0-next.1";
|
|
197
197
|
|
|
198
198
|
const packageVersions = {
|
|
199
199
|
"@backstage/backend-common": version$a,
|
|
@@ -264,7 +264,7 @@ function registerRepoCommand(program) {
|
|
|
264
264
|
).option(
|
|
265
265
|
"--since <ref>",
|
|
266
266
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
267
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
267
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-1dbdfe5b.cjs.js'); }).then((m) => m.command)));
|
|
268
268
|
command.command("lint").description("Lint all packages in the project").option(
|
|
269
269
|
"--format <format>",
|
|
270
270
|
"Lint report output format",
|
|
@@ -272,10 +272,10 @@ function registerRepoCommand(program) {
|
|
|
272
272
|
).option(
|
|
273
273
|
"--since <ref>",
|
|
274
274
|
"Only lint packages that changed since the specified ref"
|
|
275
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
276
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
275
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-6be0160b.cjs.js'); }).then((m) => m.command)));
|
|
276
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5bd88470.cjs.js'); }).then((m) => m.command)));
|
|
277
277
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
278
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
278
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-e7a1cfb0.cjs.js'); }).then((m) => m.command))
|
|
279
279
|
);
|
|
280
280
|
command.command("test").allowUnknownOption(true).option(
|
|
281
281
|
"--since <ref>",
|
|
@@ -283,14 +283,14 @@ function registerRepoCommand(program) {
|
|
|
283
283
|
).option(
|
|
284
284
|
"--jest-help",
|
|
285
285
|
"Show help for Jest CLI options, which are passed through"
|
|
286
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
286
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-8bb2b2f9.cjs.js'); }).then((m) => m.command)));
|
|
287
287
|
}
|
|
288
288
|
function registerScriptCommand(program) {
|
|
289
289
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
290
290
|
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(
|
|
291
291
|
"--inspect-brk",
|
|
292
292
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
293
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
293
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-38e61eff.cjs.js'); }).then((m) => m.command)));
|
|
294
294
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
295
295
|
"--minify",
|
|
296
296
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -308,33 +308,33 @@ function registerScriptCommand(program) {
|
|
|
308
308
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
309
309
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
310
310
|
Array()
|
|
311
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
311
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-6a9ea3ac.cjs.js'); }).then((m) => m.command)));
|
|
312
312
|
command.command("lint [directories...]").option(
|
|
313
313
|
"--format <format>",
|
|
314
314
|
"Lint report output format",
|
|
315
315
|
"eslint-formatter-friendly"
|
|
316
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
317
|
-
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-
|
|
318
|
-
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-
|
|
319
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
320
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
321
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
316
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-e49bf460.cjs.js'); }).then((m) => m.default)));
|
|
317
|
+
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-7b42290d.cjs.js'); }).then((m) => m.default)));
|
|
318
|
+
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-6814d7d4.cjs.js'); }).then((m) => m.command)));
|
|
319
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c2d50507.cjs.js'); }).then((m) => m.default)));
|
|
320
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-4414ffab.cjs.js'); }).then((m) => m.pre)));
|
|
321
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-4414ffab.cjs.js'); }).then((m) => m.post)));
|
|
322
322
|
}
|
|
323
323
|
function registerMigrateCommand(program) {
|
|
324
324
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
325
|
-
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-
|
|
325
|
+
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-24afcd93.cjs.js'); }).then((m) => m.default)));
|
|
326
326
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
327
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
327
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-f97c8f90.cjs.js'); }).then((m) => m.command))
|
|
328
328
|
);
|
|
329
329
|
command.command("package-lint-configs").description(
|
|
330
330
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
331
331
|
).action(
|
|
332
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
332
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-2fed5677.cjs.js'); }).then((m) => m.command))
|
|
333
333
|
);
|
|
334
334
|
command.command("react-router-deps").description(
|
|
335
335
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
336
336
|
).action(
|
|
337
|
-
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-
|
|
337
|
+
lazy(() => Promise.resolve().then(function () { return require('./reactRouterDeps-88fb2936.cjs.js'); }).then((m) => m.command))
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
340
|
function registerCommands(program) {
|
|
@@ -354,7 +354,7 @@ function registerCommands(program) {
|
|
|
354
354
|
).option(
|
|
355
355
|
"--baseVersion <version>",
|
|
356
356
|
"The version to use for any new packages (default: 0.1.0)"
|
|
357
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
357
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-4ac9108a.cjs.js'); }).then((m) => m.default)));
|
|
358
358
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
359
359
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
360
360
|
).option(
|
|
@@ -368,43 +368,43 @@ function registerCommands(program) {
|
|
|
368
368
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
369
369
|
"--npm-registry <URL>",
|
|
370
370
|
"The package registry to use for new packages"
|
|
371
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
371
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-4ac9108a.cjs.js'); }).then((m) => m.default)));
|
|
372
372
|
program.command("create-plugin", { hidden: true }).option(
|
|
373
373
|
"--backend",
|
|
374
374
|
"Create plugin with the backend dependencies as default"
|
|
375
375
|
).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(
|
|
376
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
376
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-1406a48f.cjs.js'); }).then((m) => m.default))
|
|
377
377
|
);
|
|
378
378
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
379
379
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
380
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
380
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-2c0e3f56.cjs.js'); }).then((m) => m.default)));
|
|
381
381
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
382
382
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
383
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
383
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-7b42290d.cjs.js'); }).then((m) => m.default)));
|
|
384
384
|
program.command("config:docs").option(
|
|
385
385
|
"--package <name>",
|
|
386
386
|
"Only include the schema that applies to the given package"
|
|
387
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
387
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-5e42347e.cjs.js'); }).then((m) => m.default)));
|
|
388
388
|
program.command("config:print").option(
|
|
389
389
|
"--package <name>",
|
|
390
390
|
"Only load config schema that applies to the given package"
|
|
391
391
|
).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(
|
|
392
392
|
"--format <format>",
|
|
393
393
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
394
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
394
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-9cea81ad.cjs.js'); }).then((m) => m.default)));
|
|
395
395
|
program.command("config:check").option(
|
|
396
396
|
"--package <name>",
|
|
397
397
|
"Only load config schema that applies to the given package"
|
|
398
398
|
).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(
|
|
399
399
|
"Validate that the given configuration loads and matches schema"
|
|
400
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
400
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-331f4ecc.cjs.js'); }).then((m) => m.default)));
|
|
401
401
|
program.command("config:schema").option(
|
|
402
402
|
"--package <name>",
|
|
403
403
|
"Only output config schema that applies to the given package"
|
|
404
404
|
).option(
|
|
405
405
|
"--format <format>",
|
|
406
406
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
407
|
-
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
407
|
+
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-670284f2.cjs.js'); }).then((m) => m.default)));
|
|
408
408
|
registerRepoCommand(program);
|
|
409
409
|
registerScriptCommand(program);
|
|
410
410
|
registerMigrateCommand(program);
|
|
@@ -415,16 +415,16 @@ function registerCommands(program) {
|
|
|
415
415
|
"--release <version|next|main>",
|
|
416
416
|
"Bump to a specific Backstage release line or version",
|
|
417
417
|
"main"
|
|
418
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
419
|
-
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-
|
|
420
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
421
|
-
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-
|
|
422
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
423
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
418
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-5f65d9a2.cjs.js'); }).then((m) => m.default)));
|
|
419
|
+
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-fbbe6554.cjs.js'); }).then((m) => m.default)));
|
|
420
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c2d50507.cjs.js'); }).then((m) => m.default)));
|
|
421
|
+
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-b953f523.cjs.js'); }).then((m) => m.default)));
|
|
422
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-1e9cb6b4.cjs.js'); }).then((m) => m.default)));
|
|
423
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-0e9d1dd7.cjs.js'); }).then((m) => m.default)));
|
|
424
424
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
425
425
|
"--from <packageJsonFilePath>",
|
|
426
426
|
"Install from a local package.json containing the installation recipe"
|
|
427
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
427
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-867fe702.cjs.js'); }).then((m) => m.default)));
|
|
428
428
|
}
|
|
429
429
|
function lazy(getActionFunc) {
|
|
430
430
|
return async (...args) => {
|
|
@@ -468,4 +468,4 @@ exports.devDependencies = devDependencies;
|
|
|
468
468
|
exports.paths = paths;
|
|
469
469
|
exports.version = version;
|
|
470
470
|
exports.version$1 = version$9;
|
|
471
|
-
//# sourceMappingURL=index-
|
|
471
|
+
//# sourceMappingURL=index-def5ead7.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-def5ead7.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-ac0b620b.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-bc3a8337.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-0e9d1dd7.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-1a9a6254.cjs.js');
|
|
8
|
+
var index = require('./index-def5ead7.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-ac0b620b.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-867fe702.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-e616fa94.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-def5ead7.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-6cd89e16.cjs.js');
|
|
19
|
-
require('./run-
|
|
19
|
+
require('./run-ac0b620b.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-6be0160b.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-def5ead7.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-e49bf460.cjs.js.map
|
|
@@ -5,10 +5,10 @@ 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-ac0b620b.cjs.js');
|
|
9
|
+
var index = require('./index-def5ead7.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
|
-
var PackageGraph = require('./PackageGraph-
|
|
11
|
+
var PackageGraph = require('./PackageGraph-e616fa94.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-fbbe6554.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-def5ead7.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-e616fa94.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-6cd89e16.cjs.js');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-ac0b620b.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-e7a1cfb0.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-def5ead7.cjs.js');
|
|
11
|
+
var tasks = require('./tasks-90e4e523.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-bc3a8337.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-ac0b620b.cjs.js');
|
|
17
17
|
var partition = require('lodash/partition');
|
|
18
18
|
var errors = require('@backstage/errors');
|
|
19
19
|
require('commander');
|
|
@@ -208,11 +208,12 @@ const backendPlugin = createFactory({
|
|
|
208
208
|
}),
|
|
209
209
|
optionsPrompts: [pluginIdPrompt(), ownerPrompt()],
|
|
210
210
|
async create(options, ctx) {
|
|
211
|
-
const id =
|
|
212
|
-
const
|
|
211
|
+
const { id } = options;
|
|
212
|
+
const pluginId = `${id}-backend`;
|
|
213
|
+
const name = ctx.scope ? `@${ctx.scope}/plugin-${pluginId}` : `backstage-plugin-${pluginId}`;
|
|
213
214
|
tasks.Task.log();
|
|
214
215
|
tasks.Task.log(`Creating backend plugin ${chalk__default["default"].cyan(name)}`);
|
|
215
|
-
const targetDir = ctx.isMonoRepo ? index.paths.resolveTargetRoot("plugins",
|
|
216
|
+
const targetDir = ctx.isMonoRepo ? index.paths.resolveTargetRoot("plugins", pluginId) : index.paths.resolveTargetRoot(`backstage-plugin-${pluginId}`);
|
|
216
217
|
await executePluginPackageTemplate(ctx, {
|
|
217
218
|
targetDir,
|
|
218
219
|
templateName: "default-backend-plugin",
|
|
@@ -559,4 +560,4 @@ var _new = async (opts) => {
|
|
|
559
560
|
};
|
|
560
561
|
|
|
561
562
|
exports["default"] = _new;
|
|
562
|
-
//# sourceMappingURL=new-
|
|
563
|
+
//# sourceMappingURL=new-4ac9108a.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-def5ead7.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-4414ffab.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-e616fa94.cjs.js');
|
|
6
|
+
var run = require('./run-ac0b620b.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-def5ead7.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-2fed5677.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-def5ead7.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-717b0ca3.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-24afcd93.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-def5ead7.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-717b0ca3.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-e616fa94.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-717b0ca3.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-def5ead7.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-6cd89e16.cjs.js');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-ac0b620b.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-f97c8f90.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-def5ead7.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6cd89e16.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
7
|
+
var run = require('./run-ac0b620b.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-1a9a6254.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-def5ead7.cjs.js');
|
|
17
|
+
var run = require('./run-ac0b620b.cjs.js');
|
|
18
18
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
19
19
|
var pickBy = require('lodash/pickBy');
|
|
20
20
|
var yn = require('yn');
|
|
@@ -598,4 +598,4 @@ exports.createBackendConfig = createBackendConfig;
|
|
|
598
598
|
exports.createConfig = createConfig;
|
|
599
599
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
600
600
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
601
|
-
//# sourceMappingURL=paths-
|
|
601
|
+
//# sourceMappingURL=paths-5782f241.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-0427e3b2.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-def5ead7.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-e616fa94.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-6cd89e16.cjs.js');
|
|
24
|
-
require('./run-
|
|
24
|
+
require('./run-ac0b620b.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-9cea81ad.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-e616fa94.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-717b0ca3.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-def5ead7.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-6cd89e16.cjs.js');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-ac0b620b.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-88fb2936.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-def5ead7.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-ac0b620b.cjs.js.map
|