@backstage/cli 0.22.8-next.0 → 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 +34 -0
- package/dist/cjs/{build-0f8f0f78.cjs.js → build-94b166b9.cjs.js} +7 -7
- package/dist/cjs/{buildBackend-b6668077.cjs.js → buildBackend-1610ed47.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-a1ad431d.cjs.js → buildWorkspace-0729ac23.cjs.js} +4 -4
- package/dist/cjs/{bump-d637f839.cjs.js → bump-2e41888b.cjs.js} +5 -5
- package/dist/cjs/{clean-03329c21.cjs.js → clean-707fb954.cjs.js} +2 -2
- package/dist/cjs/{clean-3ebe5831.cjs.js → clean-fef9647d.cjs.js} +2 -2
- package/dist/cjs/{codeowners-a1dfa089.cjs.js → codeowners-5b10b186.cjs.js} +2 -2
- package/dist/cjs/{config-5e07cd44.cjs.js → config-1d171d7e.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-e9c7663c.cjs.js → createDistWorkspace-6f0f28d5.cjs.js} +3 -3
- package/dist/cjs/{createPlugin-7387334c.cjs.js → createPlugin-33d16874.cjs.js} +4 -4
- package/dist/cjs/{diff-ca3e092b.cjs.js → diff-c80533a8.cjs.js} +2 -2
- package/dist/cjs/{docs-30d19467.cjs.js → docs-c23fb420.cjs.js} +3 -3
- package/dist/cjs/{fix-dad6e2d6.cjs.js → fix-7ed7159b.cjs.js} +2 -2
- package/dist/cjs/{index-f42dfc80.cjs.js → index-4438059a.cjs.js} +8 -8
- package/dist/cjs/index-7b1afb9b.cjs.js +1211 -0
- package/dist/cjs/{index-a8c49a1b.cjs.js → index-a83455a6.cjs.js} +7 -7
- package/dist/cjs/{index-b5e86b0d.cjs.js → index-ad52f12e.cjs.js} +47 -42
- package/dist/cjs/{index-28a697ef.cjs.js → index-dc7cc004.cjs.js} +2 -2
- package/dist/cjs/{info-76600f2a.cjs.js → info-5202a3df.cjs.js} +3 -3
- package/dist/cjs/{install-b198cdab.cjs.js → install-ad1fcacf.cjs.js} +4 -4
- package/dist/cjs/{lint-2ebffd14.cjs.js → lint-0c3133b5.cjs.js} +2 -2
- package/dist/cjs/{lint-a2342595.cjs.js → lint-733ca435.cjs.js} +3 -3
- package/dist/cjs/{lint-dfb472ac.cjs.js → lint-784a0c3b.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-87e249f0.cjs.js → list-deprecations-9eac9ad6.cjs.js} +2 -2
- package/dist/cjs/{new-5f99b9c8.cjs.js → new-dd994b5f.cjs.js} +4 -4
- package/dist/cjs/{pack-273421b1.cjs.js → pack-5a0cf2b2.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-87149dd5.cjs.js → packageLintConfigs-0041e26e.cjs.js} +3 -3
- package/dist/cjs/{packageRole-be3239ca.cjs.js → packageRole-908ff155.cjs.js} +2 -2
- package/dist/cjs/{packages-9fc68dee.cjs.js → packages-93128416.cjs.js} +3 -3
- package/dist/cjs/{paths-d8c1f54e.cjs.js → paths-82663f40.cjs.js} +3 -3
- package/dist/cjs/{print-ed7ecdb5.cjs.js → print-64356633.cjs.js} +3 -3
- package/dist/cjs/{role-a7faefb6.cjs.js → role-1007229a.cjs.js} +2 -2
- package/dist/cjs/{run-cdf3f08c.cjs.js → run-b5198e24.cjs.js} +2 -2
- package/dist/cjs/{schema-010879d0.cjs.js → schema-04967f8e.cjs.js} +3 -3
- package/dist/cjs/{test-09399c75.cjs.js → test-dcc99d38.cjs.js} +3 -3
- package/dist/cjs/{test-a7b87e2f.cjs.js → test-fc1fa743.cjs.js} +3 -3
- package/dist/cjs/{validate-81a7e4c3.cjs.js → validate-e8119f4f.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +16 -11
- 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
- package/dist/cjs/index-9b9f70f2.cjs.js +0 -471
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-ad52f12e.cjs.js');
|
|
5
5
|
var webpack = require('webpack');
|
|
6
|
-
var paths = require('./paths-
|
|
6
|
+
var paths = require('./paths-82663f40.cjs.js');
|
|
7
7
|
require('yn');
|
|
8
8
|
var path = require('path');
|
|
9
9
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -17,7 +17,7 @@ require('@backstage/cli-common');
|
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
18
|
require('mini-css-extract-plugin');
|
|
19
19
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-b5198e24.cjs.js');
|
|
21
21
|
require('eslint-webpack-plugin');
|
|
22
22
|
require('lodash/pickBy');
|
|
23
23
|
var chalk = require('chalk');
|
|
@@ -29,13 +29,13 @@ var errors = require('@backstage/errors');
|
|
|
29
29
|
var debounce = require('lodash/debounce');
|
|
30
30
|
var spawn = require('cross-spawn');
|
|
31
31
|
var uniq = require('lodash/uniq');
|
|
32
|
-
var config = require('./config-
|
|
32
|
+
var config = require('./config-1d171d7e.cjs.js');
|
|
33
33
|
var cliNode = require('@backstage/cli-node');
|
|
34
34
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
35
35
|
require('minimatch');
|
|
36
36
|
require('./yarn-6cd89e16.cjs.js');
|
|
37
|
-
var lint = require('./lint-
|
|
38
|
-
var role = require('./role-
|
|
37
|
+
var lint = require('./lint-733ca435.cjs.js');
|
|
38
|
+
var role = require('./role-1007229a.cjs.js');
|
|
39
39
|
require('commander');
|
|
40
40
|
require('semver');
|
|
41
41
|
require('./svgrTemplate-550efce6.cjs.js');
|
|
@@ -491,4 +491,4 @@ async function command(opts) {
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
exports.command = command;
|
|
494
|
-
//# sourceMappingURL=index-
|
|
494
|
+
//# sourceMappingURL=index-a83455a6.cjs.js.map
|
|
@@ -46,20 +46,24 @@ class NotFoundError extends CustomError {
|
|
|
46
46
|
|
|
47
47
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
48
|
|
|
49
|
-
var version$a = "0.
|
|
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
|
+
"@backstage/catalog-model": "workspace:^",
|
|
53
54
|
"@backstage/cli-common": "workspace:^",
|
|
54
55
|
"@backstage/cli-node": "workspace:^",
|
|
55
56
|
"@backstage/config": "workspace:^",
|
|
56
57
|
"@backstage/config-loader": "workspace:^",
|
|
57
58
|
"@backstage/errors": "workspace:^",
|
|
58
59
|
"@backstage/eslint-plugin": "workspace:^",
|
|
60
|
+
"@backstage/integration": "workspace:^",
|
|
59
61
|
"@backstage/release-manifests": "workspace:^",
|
|
60
62
|
"@backstage/types": "workspace:^",
|
|
61
63
|
"@esbuild-kit/cjs-loader": "^2.4.1",
|
|
62
64
|
"@manypkg/get-packages": "^1.1.3",
|
|
65
|
+
"@octokit/graphql": "^5.0.0",
|
|
66
|
+
"@octokit/graphql-schema": "^13.7.0",
|
|
63
67
|
"@octokit/oauth-app": "^4.2.0",
|
|
64
68
|
"@octokit/request": "^6.0.0",
|
|
65
69
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
@@ -108,6 +112,7 @@ var dependencies = {
|
|
|
108
112
|
express: "^4.17.1",
|
|
109
113
|
"fork-ts-checker-webpack-plugin": "^7.0.0-alpha.8",
|
|
110
114
|
"fs-extra": "10.1.0",
|
|
115
|
+
"git-url-parse": "^13.0.0",
|
|
111
116
|
glob: "^7.1.7",
|
|
112
117
|
"global-agent": "^3.0.0",
|
|
113
118
|
handlebars: "^4.7.3",
|
|
@@ -188,19 +193,19 @@ var devDependencies = {
|
|
|
188
193
|
|
|
189
194
|
var version$8 = "1.0.7";
|
|
190
195
|
|
|
191
|
-
var version$7 = "1.8.0";
|
|
196
|
+
var version$7 = "1.8.1-next.0";
|
|
192
197
|
|
|
193
|
-
var version$6 = "0.13.2-next.
|
|
198
|
+
var version$6 = "0.13.2-next.3";
|
|
194
199
|
|
|
195
|
-
var version$5 = "1.5.
|
|
200
|
+
var version$5 = "1.5.2-next.0";
|
|
196
201
|
|
|
197
|
-
var version$4 = "1.0.16-next.
|
|
202
|
+
var version$4 = "1.0.16-next.3";
|
|
198
203
|
|
|
199
|
-
var version$3 = "1.4.0-next.
|
|
204
|
+
var version$3 = "1.4.0-next.2";
|
|
200
205
|
|
|
201
|
-
var version$2 = "0.4.0-next.
|
|
206
|
+
var version$2 = "0.4.0-next.1";
|
|
202
207
|
|
|
203
|
-
var version$1 = "1.
|
|
208
|
+
var version$1 = "1.15.0-next.3";
|
|
204
209
|
|
|
205
210
|
const packageVersions = {
|
|
206
211
|
"@backstage/backend-common": version$a,
|
|
@@ -262,7 +267,7 @@ const configOption = [
|
|
|
262
267
|
Array()
|
|
263
268
|
];
|
|
264
269
|
function registerOnboardCommand(program) {
|
|
265
|
-
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)));
|
|
266
271
|
}
|
|
267
272
|
function registerRepoCommand(program) {
|
|
268
273
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -274,7 +279,7 @@ function registerRepoCommand(program) {
|
|
|
274
279
|
).option(
|
|
275
280
|
"--since <ref>",
|
|
276
281
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
277
|
-
).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)));
|
|
278
283
|
command.command("lint").description("Lint all packages in the project").option(
|
|
279
284
|
"--format <format>",
|
|
280
285
|
"Lint report output format",
|
|
@@ -282,10 +287,10 @@ function registerRepoCommand(program) {
|
|
|
282
287
|
).option(
|
|
283
288
|
"--since <ref>",
|
|
284
289
|
"Only lint packages that changed since the specified ref"
|
|
285
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
286
|
-
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)));
|
|
287
292
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
288
|
-
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))
|
|
289
294
|
);
|
|
290
295
|
command.command("test").allowUnknownOption(true).option(
|
|
291
296
|
"--since <ref>",
|
|
@@ -293,14 +298,14 @@ function registerRepoCommand(program) {
|
|
|
293
298
|
).option(
|
|
294
299
|
"--jest-help",
|
|
295
300
|
"Show help for Jest CLI options, which are passed through"
|
|
296
|
-
).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)));
|
|
297
302
|
}
|
|
298
303
|
function registerScriptCommand(program) {
|
|
299
304
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
300
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(
|
|
301
306
|
"--inspect-brk",
|
|
302
307
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
303
|
-
).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)));
|
|
304
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(
|
|
305
310
|
"--minify",
|
|
306
311
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -318,21 +323,21 @@ function registerScriptCommand(program) {
|
|
|
318
323
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
319
324
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
320
325
|
Array()
|
|
321
|
-
).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)));
|
|
322
327
|
command.command("lint [directories...]").option(
|
|
323
328
|
"--format <format>",
|
|
324
329
|
"Lint report output format",
|
|
325
330
|
"eslint-formatter-friendly"
|
|
326
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
327
|
-
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-
|
|
328
|
-
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-
|
|
329
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
330
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
331
|
-
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)));
|
|
332
337
|
}
|
|
333
338
|
function registerMigrateCommand(program) {
|
|
334
339
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
335
|
-
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)));
|
|
336
341
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
337
342
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
|
|
338
343
|
);
|
|
@@ -342,7 +347,7 @@ function registerMigrateCommand(program) {
|
|
|
342
347
|
command.command("package-lint-configs").description(
|
|
343
348
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
344
349
|
).action(
|
|
345
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
350
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-0041e26e.cjs.js'); }).then((m) => m.command))
|
|
346
351
|
);
|
|
347
352
|
command.command("react-router-deps").description(
|
|
348
353
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -367,7 +372,7 @@ function registerCommands(program) {
|
|
|
367
372
|
).option(
|
|
368
373
|
"--baseVersion <version>",
|
|
369
374
|
"The version to use for any new packages (default: 0.1.0)"
|
|
370
|
-
).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)));
|
|
371
376
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
372
377
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
373
378
|
).option(
|
|
@@ -381,30 +386,30 @@ function registerCommands(program) {
|
|
|
381
386
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
382
387
|
"--npm-registry <URL>",
|
|
383
388
|
"The package registry to use for new packages"
|
|
384
|
-
).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)));
|
|
385
390
|
program.command("create-plugin", { hidden: true }).option(
|
|
386
391
|
"--backend",
|
|
387
392
|
"Create plugin with the backend dependencies as default"
|
|
388
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(
|
|
389
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
394
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-33d16874.cjs.js'); }).then((m) => m.default))
|
|
390
395
|
);
|
|
391
396
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
392
397
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
393
|
-
).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)));
|
|
394
399
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
395
400
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
396
|
-
).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)));
|
|
397
402
|
program.command("config:docs").option(
|
|
398
403
|
"--package <name>",
|
|
399
404
|
"Only include the schema that applies to the given package"
|
|
400
|
-
).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)));
|
|
401
406
|
program.command("config:print").option(
|
|
402
407
|
"--package <name>",
|
|
403
408
|
"Only load config schema that applies to the given package"
|
|
404
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(
|
|
405
410
|
"--format <format>",
|
|
406
411
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
407
|
-
).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)));
|
|
408
413
|
program.command("config:check").option(
|
|
409
414
|
"--package <name>",
|
|
410
415
|
"Only load config schema that applies to the given package"
|
|
@@ -413,14 +418,14 @@ function registerCommands(program) {
|
|
|
413
418
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
414
419
|
).option(...configOption).description(
|
|
415
420
|
"Validate that the given configuration loads and matches schema"
|
|
416
|
-
).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)));
|
|
417
422
|
program.command("config:schema").option(
|
|
418
423
|
"--package <name>",
|
|
419
424
|
"Only output config schema that applies to the given package"
|
|
420
425
|
).option(
|
|
421
426
|
"--format <format>",
|
|
422
427
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
423
|
-
).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)));
|
|
424
429
|
registerRepoCommand(program);
|
|
425
430
|
registerScriptCommand(program);
|
|
426
431
|
registerMigrateCommand(program);
|
|
@@ -432,16 +437,16 @@ function registerCommands(program) {
|
|
|
432
437
|
"--release <version|next|main>",
|
|
433
438
|
"Bump to a specific Backstage release line or version",
|
|
434
439
|
"main"
|
|
435
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
436
|
-
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-
|
|
437
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
438
|
-
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-
|
|
439
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
440
|
-
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)));
|
|
441
446
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
442
447
|
"--from <packageJsonFilePath>",
|
|
443
448
|
"Install from a local package.json containing the installation recipe"
|
|
444
|
-
).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)));
|
|
445
450
|
}
|
|
446
451
|
function lazy(getActionFunc) {
|
|
447
452
|
return async (...args) => {
|
|
@@ -485,4 +490,4 @@ exports.devDependencies = devDependencies;
|
|
|
485
490
|
exports.paths = paths;
|
|
486
491
|
exports.version = version;
|
|
487
492
|
exports.version$1 = version$9;
|
|
488
|
-
//# 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
|