@backstage/cli 0.22.8-next.1 → 0.22.8-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/{build-35dca9e9.cjs.js → build-94b166b9.cjs.js} +7 -7
- package/dist/cjs/{buildBackend-9a35e487.cjs.js → buildBackend-1610ed47.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-089f788e.cjs.js → buildWorkspace-0729ac23.cjs.js} +4 -4
- package/dist/cjs/{bump-9aae289f.cjs.js → bump-2e41888b.cjs.js} +5 -5
- package/dist/cjs/{clean-00814511.cjs.js → clean-707fb954.cjs.js} +2 -2
- package/dist/cjs/{clean-9a826eb9.cjs.js → clean-fef9647d.cjs.js} +2 -2
- package/dist/cjs/{codeowners-2a307ab7.cjs.js → codeowners-5b10b186.cjs.js} +2 -2
- package/dist/cjs/{config-d36b4649.cjs.js → config-1d171d7e.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-4534a3aa.cjs.js → createDistWorkspace-6f0f28d5.cjs.js} +3 -3
- package/dist/cjs/{createPlugin-41dfb133.cjs.js → createPlugin-33d16874.cjs.js} +4 -4
- package/dist/cjs/{diff-4dad26b4.cjs.js → diff-c80533a8.cjs.js} +2 -2
- package/dist/cjs/{docs-a619fd5a.cjs.js → docs-c23fb420.cjs.js} +3 -3
- package/dist/cjs/{fix-bfd1c7d1.cjs.js → fix-7ed7159b.cjs.js} +2 -2
- package/dist/cjs/{index-c2e407b0.cjs.js → index-4438059a.cjs.js} +8 -8
- package/dist/cjs/{index-181bc0fa.cjs.js → index-7b1afb9b.cjs.js} +3 -3
- package/dist/cjs/{index-05bbfd22.cjs.js → index-a83455a6.cjs.js} +7 -7
- package/dist/cjs/{index-ea9b48ac.cjs.js → index-ad52f12e.cjs.js} +40 -40
- package/dist/cjs/{index-22ef6e6b.cjs.js → index-dc7cc004.cjs.js} +2 -2
- package/dist/cjs/{info-30e71876.cjs.js → info-5202a3df.cjs.js} +3 -3
- package/dist/cjs/{install-37c68b4c.cjs.js → install-ad1fcacf.cjs.js} +4 -4
- package/dist/cjs/{lint-f98521ff.cjs.js → lint-0c3133b5.cjs.js} +2 -2
- package/dist/cjs/{lint-0589cc7e.cjs.js → lint-733ca435.cjs.js} +3 -3
- package/dist/cjs/{lint-da8aff35.cjs.js → lint-784a0c3b.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-67bfbc9e.cjs.js → list-deprecations-9eac9ad6.cjs.js} +2 -2
- package/dist/cjs/{new-461e6cc9.cjs.js → new-dd994b5f.cjs.js} +4 -4
- package/dist/cjs/{pack-d699629f.cjs.js → pack-5a0cf2b2.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-cb25f165.cjs.js → packageLintConfigs-0041e26e.cjs.js} +3 -3
- package/dist/cjs/{packageRole-55642d7f.cjs.js → packageRole-908ff155.cjs.js} +2 -2
- package/dist/cjs/{packages-78b086ea.cjs.js → packages-93128416.cjs.js} +3 -3
- package/dist/cjs/{paths-d561e3b3.cjs.js → paths-82663f40.cjs.js} +3 -3
- package/dist/cjs/{print-86b616e7.cjs.js → print-64356633.cjs.js} +3 -3
- package/dist/cjs/{role-d9dbf82f.cjs.js → role-1007229a.cjs.js} +2 -2
- package/dist/cjs/{run-135ea3c4.cjs.js → run-b5198e24.cjs.js} +2 -2
- package/dist/cjs/{schema-88691315.cjs.js → schema-04967f8e.cjs.js} +3 -3
- package/dist/cjs/{test-0d3d63d8.cjs.js → test-dcc99d38.cjs.js} +3 -3
- package/dist/cjs/{test-53acdfb0.cjs.js → test-fc1fa743.cjs.js} +3 -3
- package/dist/cjs/{validate-4984be5e.cjs.js → validate-e8119f4f.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +7 -7
- package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +12 -18
- package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs +231 -18
|
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
|
|
|
46
46
|
|
|
47
47
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
48
|
|
|
49
|
-
var version$a = "0.19.0-next.
|
|
49
|
+
var version$a = "0.19.0-next.2";
|
|
50
50
|
|
|
51
|
-
var version$9 = "0.22.8-next.
|
|
51
|
+
var version$9 = "0.22.8-next.2";
|
|
52
52
|
var dependencies = {
|
|
53
53
|
"@backstage/catalog-model": "workspace:^",
|
|
54
54
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -195,17 +195,17 @@ var version$8 = "1.0.7";
|
|
|
195
195
|
|
|
196
196
|
var version$7 = "1.8.1-next.0";
|
|
197
197
|
|
|
198
|
-
var version$6 = "0.13.2-next.
|
|
198
|
+
var version$6 = "0.13.2-next.3";
|
|
199
199
|
|
|
200
200
|
var version$5 = "1.5.2-next.0";
|
|
201
201
|
|
|
202
|
-
var version$4 = "1.0.16-next.
|
|
202
|
+
var version$4 = "1.0.16-next.3";
|
|
203
203
|
|
|
204
|
-
var version$3 = "1.4.0-next.
|
|
204
|
+
var version$3 = "1.4.0-next.2";
|
|
205
205
|
|
|
206
|
-
var version$2 = "0.4.0-next.
|
|
206
|
+
var version$2 = "0.4.0-next.1";
|
|
207
207
|
|
|
208
|
-
var version$1 = "1.15.0-next.
|
|
208
|
+
var version$1 = "1.15.0-next.3";
|
|
209
209
|
|
|
210
210
|
const packageVersions = {
|
|
211
211
|
"@backstage/backend-common": version$a,
|
|
@@ -267,7 +267,7 @@ const configOption = [
|
|
|
267
267
|
Array()
|
|
268
268
|
];
|
|
269
269
|
function registerOnboardCommand(program) {
|
|
270
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
270
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-7b1afb9b.cjs.js'); }).then((m) => m.command)));
|
|
271
271
|
}
|
|
272
272
|
function registerRepoCommand(program) {
|
|
273
273
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -279,7 +279,7 @@ function registerRepoCommand(program) {
|
|
|
279
279
|
).option(
|
|
280
280
|
"--since <ref>",
|
|
281
281
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
282
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
282
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-94b166b9.cjs.js'); }).then((m) => m.command)));
|
|
283
283
|
command.command("lint").description("Lint all packages in the project").option(
|
|
284
284
|
"--format <format>",
|
|
285
285
|
"Lint report output format",
|
|
@@ -287,10 +287,10 @@ function registerRepoCommand(program) {
|
|
|
287
287
|
).option(
|
|
288
288
|
"--since <ref>",
|
|
289
289
|
"Only lint packages that changed since the specified ref"
|
|
290
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
291
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
290
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-0c3133b5.cjs.js'); }).then((m) => m.command)));
|
|
291
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-707fb954.cjs.js'); }).then((m) => m.command)));
|
|
292
292
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
293
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
293
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-9eac9ad6.cjs.js'); }).then((m) => m.command))
|
|
294
294
|
);
|
|
295
295
|
command.command("test").allowUnknownOption(true).option(
|
|
296
296
|
"--since <ref>",
|
|
@@ -298,14 +298,14 @@ function registerRepoCommand(program) {
|
|
|
298
298
|
).option(
|
|
299
299
|
"--jest-help",
|
|
300
300
|
"Show help for Jest CLI options, which are passed through"
|
|
301
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
301
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-dcc99d38.cjs.js'); }).then((m) => m.command)));
|
|
302
302
|
}
|
|
303
303
|
function registerScriptCommand(program) {
|
|
304
304
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
305
305
|
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(
|
|
306
306
|
"--inspect-brk",
|
|
307
307
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
308
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
308
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-a83455a6.cjs.js'); }).then((m) => m.command)));
|
|
309
309
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
310
310
|
"--minify",
|
|
311
311
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -323,21 +323,21 @@ function registerScriptCommand(program) {
|
|
|
323
323
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
324
324
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
325
325
|
Array()
|
|
326
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
326
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-4438059a.cjs.js'); }).then((m) => m.command)));
|
|
327
327
|
command.command("lint [directories...]").option(
|
|
328
328
|
"--format <format>",
|
|
329
329
|
"Lint report output format",
|
|
330
330
|
"eslint-formatter-friendly"
|
|
331
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
332
|
-
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-
|
|
333
|
-
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-
|
|
334
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
335
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
336
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
331
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-784a0c3b.cjs.js'); }).then((m) => m.default)));
|
|
332
|
+
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-fc1fa743.cjs.js'); }).then((m) => m.default)));
|
|
333
|
+
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-7ed7159b.cjs.js'); }).then((m) => m.command)));
|
|
334
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-fef9647d.cjs.js'); }).then((m) => m.default)));
|
|
335
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-5a0cf2b2.cjs.js'); }).then((m) => m.pre)));
|
|
336
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-5a0cf2b2.cjs.js'); }).then((m) => m.post)));
|
|
337
337
|
}
|
|
338
338
|
function registerMigrateCommand(program) {
|
|
339
339
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
340
|
-
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-
|
|
340
|
+
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-908ff155.cjs.js'); }).then((m) => m.default)));
|
|
341
341
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
342
342
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
|
|
343
343
|
);
|
|
@@ -347,7 +347,7 @@ function registerMigrateCommand(program) {
|
|
|
347
347
|
command.command("package-lint-configs").description(
|
|
348
348
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
349
349
|
).action(
|
|
350
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
350
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-0041e26e.cjs.js'); }).then((m) => m.command))
|
|
351
351
|
);
|
|
352
352
|
command.command("react-router-deps").description(
|
|
353
353
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -372,7 +372,7 @@ function registerCommands(program) {
|
|
|
372
372
|
).option(
|
|
373
373
|
"--baseVersion <version>",
|
|
374
374
|
"The version to use for any new packages (default: 0.1.0)"
|
|
375
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
375
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-dd994b5f.cjs.js'); }).then((m) => m.default)));
|
|
376
376
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
377
377
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
378
378
|
).option(
|
|
@@ -386,30 +386,30 @@ function registerCommands(program) {
|
|
|
386
386
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
387
387
|
"--npm-registry <URL>",
|
|
388
388
|
"The package registry to use for new packages"
|
|
389
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
389
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-dd994b5f.cjs.js'); }).then((m) => m.default)));
|
|
390
390
|
program.command("create-plugin", { hidden: true }).option(
|
|
391
391
|
"--backend",
|
|
392
392
|
"Create plugin with the backend dependencies as default"
|
|
393
393
|
).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(
|
|
394
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
394
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-33d16874.cjs.js'); }).then((m) => m.default))
|
|
395
395
|
);
|
|
396
396
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
397
397
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
398
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
398
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-c80533a8.cjs.js'); }).then((m) => m.default)));
|
|
399
399
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
400
400
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
401
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
401
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-fc1fa743.cjs.js'); }).then((m) => m.default)));
|
|
402
402
|
program.command("config:docs").option(
|
|
403
403
|
"--package <name>",
|
|
404
404
|
"Only include the schema that applies to the given package"
|
|
405
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
405
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-c23fb420.cjs.js'); }).then((m) => m.default)));
|
|
406
406
|
program.command("config:print").option(
|
|
407
407
|
"--package <name>",
|
|
408
408
|
"Only load config schema that applies to the given package"
|
|
409
409
|
).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(
|
|
410
410
|
"--format <format>",
|
|
411
411
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
412
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
412
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-64356633.cjs.js'); }).then((m) => m.default)));
|
|
413
413
|
program.command("config:check").option(
|
|
414
414
|
"--package <name>",
|
|
415
415
|
"Only load config schema that applies to the given package"
|
|
@@ -418,14 +418,14 @@ function registerCommands(program) {
|
|
|
418
418
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
419
419
|
).option(...configOption).description(
|
|
420
420
|
"Validate that the given configuration loads and matches schema"
|
|
421
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
421
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-e8119f4f.cjs.js'); }).then((m) => m.default)));
|
|
422
422
|
program.command("config:schema").option(
|
|
423
423
|
"--package <name>",
|
|
424
424
|
"Only output config schema that applies to the given package"
|
|
425
425
|
).option(
|
|
426
426
|
"--format <format>",
|
|
427
427
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
428
|
-
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
428
|
+
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-04967f8e.cjs.js'); }).then((m) => m.default)));
|
|
429
429
|
registerRepoCommand(program);
|
|
430
430
|
registerScriptCommand(program);
|
|
431
431
|
registerMigrateCommand(program);
|
|
@@ -437,16 +437,16 @@ function registerCommands(program) {
|
|
|
437
437
|
"--release <version|next|main>",
|
|
438
438
|
"Bump to a specific Backstage release line or version",
|
|
439
439
|
"main"
|
|
440
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
441
|
-
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-
|
|
442
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
443
|
-
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-
|
|
444
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
445
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
440
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-2e41888b.cjs.js'); }).then((m) => m.default)));
|
|
441
|
+
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-733ca435.cjs.js'); }).then((m) => m.default)));
|
|
442
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-fef9647d.cjs.js'); }).then((m) => m.default)));
|
|
443
|
+
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-0729ac23.cjs.js'); }).then((m) => m.default)));
|
|
444
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-dc7cc004.cjs.js'); }).then((m) => m.default)));
|
|
445
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-5202a3df.cjs.js'); }).then((m) => m.default)));
|
|
446
446
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
447
447
|
"--from <packageJsonFilePath>",
|
|
448
448
|
"Install from a local package.json containing the installation recipe"
|
|
449
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
449
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-ad1fcacf.cjs.js'); }).then((m) => m.default)));
|
|
450
450
|
}
|
|
451
451
|
function lazy(getActionFunc) {
|
|
452
452
|
return async (...args) => {
|
|
@@ -490,4 +490,4 @@ exports.devDependencies = devDependencies;
|
|
|
490
490
|
exports.paths = paths;
|
|
491
491
|
exports.version = version;
|
|
492
492
|
exports.version$1 = version$9;
|
|
493
|
-
//# sourceMappingURL=index-
|
|
493
|
+
//# sourceMappingURL=index-ad52f12e.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-ad52f12e.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-dc7cc004.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-b5198e24.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -58,4 +58,4 @@ var info = async () => {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
exports["default"] = info;
|
|
61
|
-
//# sourceMappingURL=info-
|
|
61
|
+
//# sourceMappingURL=info-5202a3df.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-93128416.cjs.js');
|
|
8
|
+
var index = require('./index-ad52f12e.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-b5198e24.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-ad1fcacf.cjs.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
7
7
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-0c3133b5.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-b5198e24.cjs.js');
|
|
9
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
11
|
var cliNode = require('@backstage/cli-node');
|
|
12
12
|
require('fs-extra');
|
|
@@ -112,4 +112,4 @@ function logArray(arr, header, each) {
|
|
|
112
112
|
exports["default"] = lint;
|
|
113
113
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
114
114
|
exports.includedFilter = includedFilter;
|
|
115
|
-
//# sourceMappingURL=lint-
|
|
115
|
+
//# sourceMappingURL=lint-733ca435.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-ad52f12e.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-784a0c3b.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var chalk = require('chalk');
|
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var cliNode = require('@backstage/cli-node');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -76,4 +76,4 @@ async function command(opts) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
exports.command = command;
|
|
79
|
-
//# sourceMappingURL=list-deprecations-
|
|
79
|
+
//# sourceMappingURL=list-deprecations-9eac9ad6.cjs.js.map
|
|
@@ -7,14 +7,14 @@ var chalk = require('chalk');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var camelCase = require('lodash/camelCase');
|
|
9
9
|
var upperFirst = require('lodash/upperFirst');
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var codeowners = require('./codeowners-
|
|
10
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
11
|
+
var codeowners = require('./codeowners-5b10b186.cjs.js');
|
|
12
12
|
var tasks = require('./tasks-84de240c.cjs.js');
|
|
13
13
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
14
14
|
require('minimatch');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
16
|
require('./yarn-6cd89e16.cjs.js');
|
|
17
|
-
require('./run-
|
|
17
|
+
require('./run-b5198e24.cjs.js');
|
|
18
18
|
var partition = require('lodash/partition');
|
|
19
19
|
var cliNode = require('@backstage/cli-node');
|
|
20
20
|
var errors = require('@backstage/errors');
|
|
@@ -625,4 +625,4 @@ var _new = async (opts) => {
|
|
|
625
625
|
};
|
|
626
626
|
|
|
627
627
|
exports["default"] = _new;
|
|
628
|
-
//# sourceMappingURL=new-
|
|
628
|
+
//# sourceMappingURL=new-dd994b5f.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-d569941a.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
5
5
|
require('fs-extra');
|
|
6
6
|
require('npm-packlist');
|
|
7
7
|
require('path');
|
|
@@ -21,4 +21,4 @@ const post = async () => {
|
|
|
21
21
|
|
|
22
22
|
exports.post = post;
|
|
23
23
|
exports.pre = pre;
|
|
24
|
-
//# sourceMappingURL=pack-
|
|
24
|
+
//# sourceMappingURL=pack-5a0cf2b2.cjs.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var run = require('./run-
|
|
6
|
+
var run = require('./run-b5198e24.cjs.js');
|
|
7
7
|
require('child_process');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-ad52f12e.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -79,4 +79,4 @@ async function command() {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
exports.command = command;
|
|
82
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
82
|
+
//# sourceMappingURL=packageLintConfigs-0041e26e.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
|
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var getPackages = require('@manypkg/get-packages');
|
|
6
6
|
var cliNode = require('@backstage/cli-node');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -55,4 +55,4 @@ var packageRole = async () => {
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
exports["default"] = packageRole;
|
|
58
|
-
//# sourceMappingURL=packageRole-
|
|
58
|
+
//# sourceMappingURL=packageRole-908ff155.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-ad52f12e.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6cd89e16.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
7
|
+
var run = require('./run-b5198e24.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-93128416.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-ad52f12e.cjs.js');
|
|
17
|
+
var run = require('./run-b5198e24.cjs.js');
|
|
18
18
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
19
19
|
var pickBy = require('lodash/pickBy');
|
|
20
20
|
var yn = require('yn');
|
|
@@ -603,4 +603,4 @@ exports.createBackendConfig = createBackendConfig;
|
|
|
603
603
|
exports.createConfig = createConfig;
|
|
604
604
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
605
605
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
606
|
-
//# sourceMappingURL=paths-
|
|
606
|
+
//# sourceMappingURL=paths-82663f40.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-1d171d7e.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-ad52f12e.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -58,4 +58,4 @@ function serializeConfigData(appConfigs, schema, visibility) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
exports["default"] = print;
|
|
61
|
-
//# sourceMappingURL=print-
|
|
61
|
+
//# sourceMappingURL=print-64356633.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-ad52f12e.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -22,4 +22,4 @@ async function findRoleFromCommand(opts) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
exports.findRoleFromCommand = findRoleFromCommand;
|
|
25
|
-
//# sourceMappingURL=role-
|
|
25
|
+
//# sourceMappingURL=role-1007229a.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-ad52f12e.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-b5198e24.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var yaml = require('yaml');
|
|
4
|
-
var config = require('./config-
|
|
4
|
+
var config = require('./config-1d171d7e.cjs.js');
|
|
5
5
|
var configLoader = require('@backstage/config-loader');
|
|
6
6
|
require('@backstage/config');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-ad52f12e.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -37,4 +37,4 @@ var schema = async (opts) => {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
exports["default"] = schema;
|
|
40
|
-
//# sourceMappingURL=schema-
|
|
40
|
+
//# sourceMappingURL=schema-04967f8e.cjs.js.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('os');
|
|
4
4
|
var cliNode = require('@backstage/cli-node');
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var run = require('./run-
|
|
5
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
6
|
+
var run = require('./run-b5198e24.cjs.js');
|
|
7
7
|
require('commander');
|
|
8
8
|
require('chalk');
|
|
9
9
|
require('fs-extra');
|
|
@@ -123,4 +123,4 @@ async function command(opts, cmd) {
|
|
|
123
123
|
|
|
124
124
|
exports.command = command;
|
|
125
125
|
exports.createFlagFinder = createFlagFinder;
|
|
126
|
-
//# sourceMappingURL=test-
|
|
126
|
+
//# sourceMappingURL=test-dcc99d38.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var run = require('./run-
|
|
3
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
4
|
+
var run = require('./run-b5198e24.cjs.js');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('fs-extra');
|
|
@@ -56,4 +56,4 @@ var test = async (_opts, cmd) => {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
exports["default"] = test;
|
|
59
|
-
//# sourceMappingURL=test-
|
|
59
|
+
//# sourceMappingURL=test-fc1fa743.cjs.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var config = require('./config-
|
|
3
|
+
var config = require('./config-1d171d7e.cjs.js');
|
|
4
4
|
require('@backstage/config-loader');
|
|
5
5
|
require('@backstage/config');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-ad52f12e.cjs.js');
|
|
7
7
|
require('commander');
|
|
8
8
|
require('chalk');
|
|
9
9
|
require('fs-extra');
|
|
@@ -25,4 +25,4 @@ var validate = async (opts) => {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
exports["default"] = validate;
|
|
28
|
-
//# sourceMappingURL=validate-
|
|
28
|
+
//# sourceMappingURL=validate-e8119f4f.cjs.js.map
|
package/dist/index.cjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/cli",
|
|
3
3
|
"description": "CLI for developing Backstage plugins and apps",
|
|
4
|
-
"version": "0.22.8-next.
|
|
4
|
+
"version": "0.22.8-next.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"backstage-cli": "bin/backstage-cli"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@backstage/catalog-model": "^1.4.0-next.
|
|
33
|
+
"@backstage/catalog-model": "^1.4.0-next.1",
|
|
34
34
|
"@backstage/cli-common": "^0.1.12",
|
|
35
35
|
"@backstage/cli-node": "^0.1.1-next.0",
|
|
36
36
|
"@backstage/config": "^1.0.7",
|
|
@@ -138,14 +138,14 @@
|
|
|
138
138
|
"zod": "^3.21.4"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
|
-
"@backstage/backend-common": "^0.19.0-next.
|
|
141
|
+
"@backstage/backend-common": "^0.19.0-next.2",
|
|
142
142
|
"@backstage/config": "^1.0.7",
|
|
143
143
|
"@backstage/core-app-api": "^1.8.1-next.0",
|
|
144
|
-
"@backstage/core-components": "^0.13.2-next.
|
|
144
|
+
"@backstage/core-components": "^0.13.2-next.3",
|
|
145
145
|
"@backstage/core-plugin-api": "^1.5.2-next.0",
|
|
146
|
-
"@backstage/dev-utils": "^1.0.16-next.
|
|
147
|
-
"@backstage/test-utils": "^1.4.0-next.
|
|
148
|
-
"@backstage/theme": "^0.4.0-next.
|
|
146
|
+
"@backstage/dev-utils": "^1.0.16-next.3",
|
|
147
|
+
"@backstage/test-utils": "^1.4.0-next.2",
|
|
148
|
+
"@backstage/theme": "^0.4.0-next.1",
|
|
149
149
|
"@types/cross-spawn": "^6.0.2",
|
|
150
150
|
"@types/diff": "^5.0.0",
|
|
151
151
|
"@types/express": "^4.17.6",
|