@backstage/cli 0.28.0-next.0 → 0.28.0-next.1
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 +23 -0
- package/config/jest.js +114 -68
- package/dist/cjs/{build-gNEKjjhr.cjs.js → build-CQdcGuBr.cjs.js} +9 -9
- package/dist/cjs/{buildBackend-DXvz7jvh.cjs.js → buildBackend-CkhZWCz1.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-DLfI3EjD.cjs.js → buildWorkspace-CZPp9oRm.cjs.js} +6 -6
- package/dist/cjs/{bump-d9dS56p9.cjs.js → bump-BHEh5ytx.cjs.js} +3 -3
- package/dist/cjs/{clean-Dpgqc3P2.cjs.js → clean-W6nxsHeK.cjs.js} +2 -2
- package/dist/cjs/{clean-bdpRw-oZ.cjs.js → clean-a6Q4k9Vm.cjs.js} +2 -2
- package/dist/cjs/{config-nCB2LQK-.cjs.js → config-DBpmZirN.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-DKzy-L-f.cjs.js → createDistWorkspace-DdHPGSMS.cjs.js} +5 -5
- package/dist/cjs/{docs-CDE82fWG.cjs.js → docs-BGyA6jwW.cjs.js} +3 -3
- package/dist/cjs/{entryPoints-CoHH4lBA.cjs.js → entryPoints-coip0t-x.cjs.js} +4 -1
- package/dist/cjs/{fix-BTjof5XT.cjs.js → fix-COitqgqm.cjs.js} +2 -2
- package/dist/cjs/{index-7LxfekFu.cjs.js → index-BXv4Xa2e.cjs.js} +7 -7
- package/dist/cjs/{index-DsP5wbju.cjs.js → index-CGuAP7nv.cjs.js} +10 -10
- package/dist/cjs/{index-v57xnvgT.cjs.js → index-b1ouG3q6.cjs.js} +37 -39
- package/dist/cjs/{index-DVDDx3pk.cjs.js → index-j193pV_Y.cjs.js} +2 -2
- package/dist/cjs/{info-CB7ln5K_.cjs.js → info-DuAv1Tsx.cjs.js} +3 -3
- package/dist/cjs/{lint-6_0f9f26.cjs.js → lint-BwiDJkjE.cjs.js} +2 -2
- package/dist/cjs/{lint-DYO_SeK3.cjs.js → lint-Dsiocf9K.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-DFgQENam.cjs.js → list-deprecations-CtUaQgaP.cjs.js} +2 -2
- package/dist/cjs/{moduleFederation-Dq0n1quT.cjs.js → moduleFederation-DmStnvEg.cjs.js} +4 -4
- package/dist/cjs/{new-C0D_k25O.cjs.js → new-CEnFhTT-.cjs.js} +3 -3
- package/dist/cjs/{pack-D8AK7Uem.cjs.js → pack-XLRcGJqH.cjs.js} +4 -4
- package/dist/cjs/{packageExports-bg4mFuFZ.cjs.js → packageExports-BJBwdvUH.cjs.js} +3 -3
- package/dist/cjs/{packageLintConfigs-BBvQehRd.cjs.js → packageLintConfigs-DeUGBP17.cjs.js} +3 -3
- package/dist/cjs/{packageRole-CkpKfhJA.cjs.js → packageRole-Iuv9NRii.cjs.js} +2 -2
- package/dist/cjs/{print-BX8-7Nzg.cjs.js → print-Dd6aChXU.cjs.js} +3 -3
- package/dist/cjs/{productionPack-Dfl28j3c.cjs.js → productionPack-BxoMbBkH.cjs.js} +3 -3
- package/dist/cjs/{role-e0emQj8q.cjs.js → role-BjiBExhi.cjs.js} +2 -2
- package/dist/cjs/{run-HW3lfDbM.cjs.js → run-CpZGNJQr.cjs.js} +2 -2
- package/dist/cjs/{schema-Cabm6I6c.cjs.js → schema-D93FRhBL.cjs.js} +3 -3
- package/dist/cjs/{test-YJMOGqXG.cjs.js → test-COxIko8N.cjs.js} +3 -3
- package/dist/cjs/{test-5bQM0VRL.cjs.js → test-JcLI2pPM.cjs.js} +3 -3
- package/dist/cjs/{validate-DKBlShmI.cjs.js → validate-CELljsEX.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +20 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var role = require('./role-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-DdHPGSMS.cjs.js');
|
|
4
|
+
var role = require('./role-BjiBExhi.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buildBackend = require('./buildBackend-
|
|
6
|
+
var index = require('./index-b1ouG3q6.cjs.js');
|
|
7
|
+
var buildBackend = require('./buildBackend-CkhZWCz1.cjs.js');
|
|
8
8
|
var chalk = require('chalk');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('path');
|
|
@@ -12,7 +12,7 @@ require('p-limit');
|
|
|
12
12
|
require('os');
|
|
13
13
|
require('tar');
|
|
14
14
|
require('lodash/partition');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-CpZGNJQr.cjs.js');
|
|
16
16
|
require('child_process');
|
|
17
17
|
require('util');
|
|
18
18
|
require('@backstage/errors');
|
|
@@ -27,10 +27,10 @@ require('@rollup/plugin-json');
|
|
|
27
27
|
require('@rollup/plugin-yaml');
|
|
28
28
|
require('rollup-pluginutils');
|
|
29
29
|
require('./svgrTemplate-BTjBQ3by.cjs.js');
|
|
30
|
-
require('./entryPoints-
|
|
30
|
+
require('./entryPoints-coip0t-x.cjs.js');
|
|
31
31
|
require('./parallel-BszNaKyc.cjs.js');
|
|
32
32
|
require('worker_threads');
|
|
33
|
-
require('./productionPack-
|
|
33
|
+
require('./productionPack-BxoMbBkH.cjs.js');
|
|
34
34
|
require('npm-packlist');
|
|
35
35
|
require('ts-morph');
|
|
36
36
|
require('commander');
|
|
@@ -46,7 +46,7 @@ require('run-script-webpack-plugin');
|
|
|
46
46
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
47
47
|
require('@manypkg/get-packages');
|
|
48
48
|
require('webpack-node-externals');
|
|
49
|
-
require('./moduleFederation-
|
|
49
|
+
require('./moduleFederation-DmStnvEg.cjs.js');
|
|
50
50
|
require('lodash/pickBy');
|
|
51
51
|
require('mini-css-extract-plugin');
|
|
52
52
|
require('yn');
|
|
@@ -57,7 +57,7 @@ require('react-dev-utils/FileSizeReporter');
|
|
|
57
57
|
require('react-dev-utils/formatWebpackMessages');
|
|
58
58
|
require('react-dev-utils/openBrowser');
|
|
59
59
|
require('webpack-dev-server');
|
|
60
|
-
require('./config-
|
|
60
|
+
require('./config-DBpmZirN.cjs.js');
|
|
61
61
|
require('@backstage/config-loader');
|
|
62
62
|
|
|
63
63
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -128,4 +128,4 @@ async function command(opts) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
exports.command = command;
|
|
131
|
-
//# sourceMappingURL=index-
|
|
131
|
+
//# sourceMappingURL=index-CGuAP7nv.cjs.js.map
|
|
@@ -49,9 +49,9 @@ const paths = cliCommon.findPaths(__dirname);
|
|
|
49
49
|
|
|
50
50
|
var version$e = "1.0.1-next.0";
|
|
51
51
|
|
|
52
|
-
var version$d = "1.0.1-next.
|
|
52
|
+
var version$d = "1.0.1-next.1";
|
|
53
53
|
|
|
54
|
-
var version$c = "0.28.0-next.
|
|
54
|
+
var version$c = "0.28.0-next.1";
|
|
55
55
|
var dependencies = {
|
|
56
56
|
"@backstage/catalog-model": "workspace:^",
|
|
57
57
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -101,7 +101,6 @@ var dependencies = {
|
|
|
101
101
|
"cross-spawn": "^7.0.3",
|
|
102
102
|
"css-loader": "^6.5.1",
|
|
103
103
|
"ctrlc-windows": "^2.1.0",
|
|
104
|
-
diff: "^5.0.0",
|
|
105
104
|
esbuild: "^0.23.0",
|
|
106
105
|
"esbuild-loader": "^4.0.0",
|
|
107
106
|
eslint: "^8.6.0",
|
|
@@ -180,7 +179,6 @@ var devDependencies = {
|
|
|
180
179
|
"@backstage/test-utils": "workspace:^",
|
|
181
180
|
"@backstage/theme": "workspace:^",
|
|
182
181
|
"@types/cross-spawn": "^6.0.2",
|
|
183
|
-
"@types/diff": "^5.0.0",
|
|
184
182
|
"@types/ejs": "^3.1.3",
|
|
185
183
|
"@types/express": "^4.17.6",
|
|
186
184
|
"@types/fs-extra": "^11.0.0",
|
|
@@ -206,25 +204,25 @@ var devDependencies = {
|
|
|
206
204
|
|
|
207
205
|
var version$b = "1.2.0";
|
|
208
206
|
|
|
209
|
-
var version$a = "1.15.1-next.
|
|
207
|
+
var version$a = "1.15.1-next.1";
|
|
210
208
|
|
|
211
|
-
var version$9 = "0.15.1-next.
|
|
209
|
+
var version$9 = "0.15.1-next.1";
|
|
212
210
|
|
|
213
|
-
var version$8 = "1.10.0-next.
|
|
211
|
+
var version$8 = "1.10.0-next.1";
|
|
214
212
|
|
|
215
|
-
var version$7 = "1.1.
|
|
213
|
+
var version$7 = "1.1.2-next.1";
|
|
216
214
|
|
|
217
|
-
var version$6 = "1.6.1-next.
|
|
215
|
+
var version$6 = "1.6.1-next.1";
|
|
218
216
|
|
|
219
|
-
var version$5 = "0.5.0-next.
|
|
217
|
+
var version$5 = "0.5.0-next.1";
|
|
220
218
|
|
|
221
219
|
var version$4 = "0.23.1-next.0";
|
|
222
220
|
|
|
223
221
|
var version$3 = "0.2.1-next.0";
|
|
224
222
|
|
|
225
|
-
var version$2 = "0.5.
|
|
223
|
+
var version$2 = "0.5.8-next.0";
|
|
226
224
|
|
|
227
|
-
var version$1 = "0.5.1-next.
|
|
225
|
+
var version$1 = "0.5.1-next.1";
|
|
228
226
|
|
|
229
227
|
const packageVersions = {
|
|
230
228
|
"@backstage/backend-defaults": version$1,
|
|
@@ -301,7 +299,7 @@ function registerRepoCommand(program) {
|
|
|
301
299
|
).option(
|
|
302
300
|
"--minify",
|
|
303
301
|
"Minify the generated code. Does not apply to app package (app is minified by default)."
|
|
304
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
302
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-CQdcGuBr.cjs.js'); }).then((m) => m.command)));
|
|
305
303
|
command.command("lint").description("Lint all packages in the project").option(
|
|
306
304
|
"--format <format>",
|
|
307
305
|
"Lint report output format",
|
|
@@ -309,17 +307,17 @@ function registerRepoCommand(program) {
|
|
|
309
307
|
).option(
|
|
310
308
|
"--since <ref>",
|
|
311
309
|
"Only lint packages that changed since the specified ref"
|
|
312
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
310
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Dsiocf9K.cjs.js'); }).then((m) => m.command)));
|
|
313
311
|
command.command("fix").description("Automatically fix packages in the project").option(
|
|
314
312
|
"--publish",
|
|
315
313
|
"Enable additional fixes that only apply when publishing packages"
|
|
316
314
|
).option(
|
|
317
315
|
"--check",
|
|
318
316
|
"Fail if any packages would have been changed by the command"
|
|
319
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
320
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
317
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-COitqgqm.cjs.js'); }).then((m) => m.command)));
|
|
318
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-a6Q4k9Vm.cjs.js'); }).then((m) => m.command)));
|
|
321
319
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
322
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
320
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-CtUaQgaP.cjs.js'); }).then((m) => m.command))
|
|
323
321
|
);
|
|
324
322
|
command.command("test").allowUnknownOption(true).option(
|
|
325
323
|
"--since <ref>",
|
|
@@ -327,14 +325,14 @@ function registerRepoCommand(program) {
|
|
|
327
325
|
).option(
|
|
328
326
|
"--jest-help",
|
|
329
327
|
"Show help for Jest CLI options, which are passed through"
|
|
330
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
328
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-JcLI2pPM.cjs.js'); }).then((m) => m.command)));
|
|
331
329
|
}
|
|
332
330
|
function registerScriptCommand(program) {
|
|
333
331
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
334
332
|
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 [host]", "Enable debugger in Node.js environments").option(
|
|
335
333
|
"--inspect-brk [host]",
|
|
336
334
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
337
|
-
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
335
|
+
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-BXv4Xa2e.cjs.js'); }).then((m) => m.command)));
|
|
338
336
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
339
337
|
"--minify",
|
|
340
338
|
"Minify the generated code. Does not apply to app package (app is minified by default)."
|
|
@@ -349,30 +347,30 @@ function registerScriptCommand(program) {
|
|
|
349
347
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
350
348
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
351
349
|
Array()
|
|
352
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
350
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-CGuAP7nv.cjs.js'); }).then((m) => m.command)));
|
|
353
351
|
command.command("lint [directories...]").option(
|
|
354
352
|
"--format <format>",
|
|
355
353
|
"Lint report output format",
|
|
356
354
|
"eslint-formatter-friendly"
|
|
357
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
358
|
-
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-
|
|
359
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
360
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
361
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
355
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-BwiDJkjE.cjs.js'); }).then((m) => m.default)));
|
|
356
|
+
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-COxIko8N.cjs.js'); }).then((m) => m.default)));
|
|
357
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-W6nxsHeK.cjs.js'); }).then((m) => m.default)));
|
|
358
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-XLRcGJqH.cjs.js'); }).then((m) => m.pre)));
|
|
359
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-XLRcGJqH.cjs.js'); }).then((m) => m.post)));
|
|
362
360
|
}
|
|
363
361
|
function registerMigrateCommand(program) {
|
|
364
362
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
365
|
-
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-
|
|
363
|
+
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-Iuv9NRii.cjs.js'); }).then((m) => m.default)));
|
|
366
364
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
367
365
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-DX6dilK6.cjs.js'); }).then((m) => m.command))
|
|
368
366
|
);
|
|
369
367
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
370
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
368
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-BJBwdvUH.cjs.js'); }).then((m) => m.command))
|
|
371
369
|
);
|
|
372
370
|
command.command("package-lint-configs").description(
|
|
373
371
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
374
372
|
).action(
|
|
375
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
373
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-DeUGBP17.cjs.js'); }).then((m) => m.command))
|
|
376
374
|
);
|
|
377
375
|
command.command("react-router-deps").description(
|
|
378
376
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -400,18 +398,18 @@ function registerCommands(program) {
|
|
|
400
398
|
).option(
|
|
401
399
|
"--license <license>",
|
|
402
400
|
"The license to use for any new packages (default: Apache-2.0)"
|
|
403
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
401
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-CEnFhTT-.cjs.js'); }).then((m) => m.default)));
|
|
404
402
|
program.command("config:docs").option(
|
|
405
403
|
"--package <name>",
|
|
406
404
|
"Only include the schema that applies to the given package"
|
|
407
|
-
).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-BGyA6jwW.cjs.js'); }).then((m) => m.default)));
|
|
408
406
|
program.command("config:print").option(
|
|
409
407
|
"--package <name>",
|
|
410
408
|
"Only load config schema that applies to the given package"
|
|
411
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(
|
|
412
410
|
"--format <format>",
|
|
413
411
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
414
|
-
).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-Dd6aChXU.cjs.js'); }).then((m) => m.default)));
|
|
415
413
|
program.command("config:check").option(
|
|
416
414
|
"--package <name>",
|
|
417
415
|
"Only load config schema that applies to the given package"
|
|
@@ -420,14 +418,14 @@ function registerCommands(program) {
|
|
|
420
418
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
421
419
|
).option(...configOption).description(
|
|
422
420
|
"Validate that the given configuration loads and matches schema"
|
|
423
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
421
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-CELljsEX.cjs.js'); }).then((m) => m.default)));
|
|
424
422
|
program.command("config:schema").option(
|
|
425
423
|
"--package <name>",
|
|
426
424
|
"Only output config schema that applies to the given package"
|
|
427
425
|
).option(
|
|
428
426
|
"--format <format>",
|
|
429
427
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
430
|
-
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
428
|
+
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-D93FRhBL.cjs.js'); }).then((m) => m.default)));
|
|
431
429
|
registerRepoCommand(program);
|
|
432
430
|
registerScriptCommand(program);
|
|
433
431
|
registerMigrateCommand(program);
|
|
@@ -438,7 +436,7 @@ function registerCommands(program) {
|
|
|
438
436
|
"--release <version|next|main>",
|
|
439
437
|
"Bump to a specific Backstage release line or version",
|
|
440
438
|
"main"
|
|
441
|
-
).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
439
|
+
).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-BHEh5ytx.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
|
|
442
440
|
program.command("versions:migrate").option(
|
|
443
441
|
"--pattern <glob>",
|
|
444
442
|
"Override glob for matching packages to upgrade"
|
|
@@ -447,13 +445,13 @@ function registerCommands(program) {
|
|
|
447
445
|
"Skip code changes and only update package.json files"
|
|
448
446
|
).description(
|
|
449
447
|
"Migrate any plugins that have been moved to the @backstage-community namespace automatically"
|
|
450
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
448
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-BHEh5ytx.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
|
|
451
449
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
452
450
|
"--alwaysYarnPack",
|
|
453
451
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
454
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
455
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
456
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
452
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-CZPp9oRm.cjs.js'); }).then((m) => m.default)));
|
|
453
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-j193pV_Y.cjs.js'); }).then((m) => m.default)));
|
|
454
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-DuAv1Tsx.cjs.js'); }).then((m) => m.default)));
|
|
457
455
|
program.command("create").allowUnknownOption(true).action(removed("use 'backstage-cli new' instead"));
|
|
458
456
|
program.command("create-plugin").allowUnknownOption(true).action(removed("use 'backstage-cli new' instead"));
|
|
459
457
|
program.command("plugin:diff").allowUnknownOption(true).action(removed("use 'backstage-cli fix' instead"));
|
|
@@ -517,4 +515,4 @@ exports.devDependencies = devDependencies;
|
|
|
517
515
|
exports.paths = paths;
|
|
518
516
|
exports.version = version;
|
|
519
517
|
exports.version$1 = version$c;
|
|
520
|
-
//# sourceMappingURL=index-
|
|
518
|
+
//# sourceMappingURL=index-b1ouG3q6.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-b1ouG3q6.cjs.js');
|
|
8
8
|
var crypto = require('crypto');
|
|
9
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
10
10
|
var request = require('@octokit/request');
|
|
@@ -230,4 +230,4 @@ async function verifyGithubOrg(org) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
exports.default = index;
|
|
233
|
-
//# sourceMappingURL=index-
|
|
233
|
+
//# sourceMappingURL=index-j193pV_Y.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-b1ouG3q6.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-CpZGNJQr.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6FNAgNBK.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -56,4 +56,4 @@ var info = async () => {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
exports.default = info;
|
|
59
|
-
//# sourceMappingURL=info-
|
|
59
|
+
//# sourceMappingURL=info-DuAv1Tsx.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-b1ouG3q6.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-BwiDJkjE.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-b1ouG3q6.cjs.js');
|
|
7
7
|
var parallel = require('./parallel-BszNaKyc.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-Dsiocf9K.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-b1ouG3q6.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-CtUaQgaP.cjs.js.map
|
|
@@ -11,13 +11,13 @@ var cliCommon = require('@backstage/cli-common');
|
|
|
11
11
|
var ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
|
12
12
|
var runScriptWebpackPlugin = require('run-script-webpack-plugin');
|
|
13
13
|
var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
14
|
-
var index = require('./index-
|
|
14
|
+
var index = require('./index-b1ouG3q6.cjs.js');
|
|
15
15
|
var fs = require('fs-extra');
|
|
16
16
|
var getPackages = require('@manypkg/get-packages');
|
|
17
17
|
var nodeExternals = require('webpack-node-externals');
|
|
18
18
|
var pickBy = require('lodash/pickBy');
|
|
19
|
-
var entryPoints = require('./entryPoints-
|
|
20
|
-
var run = require('./run-
|
|
19
|
+
var entryPoints = require('./entryPoints-coip0t-x.cjs.js');
|
|
20
|
+
var run = require('./run-CpZGNJQr.cjs.js');
|
|
21
21
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
22
22
|
var svgrTemplate = require('./svgrTemplate-BTjBQ3by.cjs.js');
|
|
23
23
|
var yn = require('yn');
|
|
@@ -907,4 +907,4 @@ exports.resolveBaseUrl = resolveBaseUrl;
|
|
|
907
907
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
908
908
|
exports.resolveEndpoint = resolveEndpoint;
|
|
909
909
|
exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
|
|
910
|
-
//# sourceMappingURL=moduleFederation-
|
|
910
|
+
//# sourceMappingURL=moduleFederation-DmStnvEg.cjs.js.map
|
|
@@ -7,7 +7,7 @@ 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-
|
|
10
|
+
var index = require('./index-b1ouG3q6.cjs.js');
|
|
11
11
|
var handlebars = require('handlebars');
|
|
12
12
|
var ora = require('ora');
|
|
13
13
|
var util = require('util');
|
|
@@ -17,7 +17,7 @@ var errors = require('@backstage/errors');
|
|
|
17
17
|
var yarn = require('./yarn-6FNAgNBK.cjs.js');
|
|
18
18
|
require('minimatch');
|
|
19
19
|
require('@manypkg/get-packages');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-CpZGNJQr.cjs.js');
|
|
21
21
|
var partition = require('lodash/partition');
|
|
22
22
|
var cliNode = require('@backstage/cli-node');
|
|
23
23
|
require('commander');
|
|
@@ -1040,4 +1040,4 @@ var _new = async (opts) => {
|
|
|
1040
1040
|
};
|
|
1041
1041
|
|
|
1042
1042
|
exports.default = _new;
|
|
1043
|
-
//# sourceMappingURL=new-
|
|
1043
|
+
//# sourceMappingURL=new-CEnFhTT-.cjs.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var productionPack = require('./productionPack-
|
|
4
|
-
var index = require('./index-
|
|
3
|
+
var productionPack = require('./productionPack-BxoMbBkH.cjs.js');
|
|
4
|
+
var index = require('./index-b1ouG3q6.cjs.js');
|
|
5
5
|
var fs = require('fs-extra');
|
|
6
6
|
var publishing = require('./publishing-DQtsKTbc.cjs.js');
|
|
7
7
|
require('npm-packlist');
|
|
8
8
|
require('path');
|
|
9
|
-
require('./entryPoints-
|
|
9
|
+
require('./entryPoints-coip0t-x.cjs.js');
|
|
10
10
|
require('ts-morph');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('chalk');
|
|
@@ -31,4 +31,4 @@ const post = async () => {
|
|
|
31
31
|
|
|
32
32
|
exports.post = post;
|
|
33
33
|
exports.pre = pre;
|
|
34
|
-
//# sourceMappingURL=pack-
|
|
34
|
+
//# sourceMappingURL=pack-XLRcGJqH.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var fix = require('./fix-
|
|
3
|
+
var fix = require('./fix-COitqgqm.cjs.js');
|
|
4
4
|
require('@backstage/cli-node');
|
|
5
5
|
require('fs-extra');
|
|
6
6
|
require('path');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-b1ouG3q6.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -24,4 +24,4 @@ async function command() {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
exports.command = command;
|
|
27
|
-
//# sourceMappingURL=packageExports-
|
|
27
|
+
//# sourceMappingURL=packageExports-BJBwdvUH.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-CpZGNJQr.cjs.js');
|
|
7
7
|
require('child_process');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-b1ouG3q6.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -78,4 +78,4 @@ async function command() {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
exports.command = command;
|
|
81
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
81
|
+
//# sourceMappingURL=packageLintConfigs-DeUGBP17.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-b1ouG3q6.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-Iuv9NRii.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-DBpmZirN.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-b1ouG3q6.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-Dd6aChXU.cjs.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var npmPackList = require('npm-packlist');
|
|
5
5
|
var path = require('path');
|
|
6
|
-
var entryPoints = require('./entryPoints-
|
|
6
|
+
var entryPoints = require('./entryPoints-coip0t-x.cjs.js');
|
|
7
7
|
var tsMorph = require('ts-morph');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-b1ouG3q6.cjs.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
@@ -258,4 +258,4 @@ async function prepareExportsEntryPoints(pkg, packageDir, commonProject) {
|
|
|
258
258
|
exports.createTypeDistProject = createTypeDistProject;
|
|
259
259
|
exports.productionPack = productionPack;
|
|
260
260
|
exports.revertProductionPack = revertProductionPack;
|
|
261
|
-
//# sourceMappingURL=productionPack-
|
|
261
|
+
//# sourceMappingURL=productionPack-BxoMbBkH.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-b1ouG3q6.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -21,4 +21,4 @@ async function findRoleFromCommand(opts) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
exports.findRoleFromCommand = findRoleFromCommand;
|
|
24
|
-
//# sourceMappingURL=role-
|
|
24
|
+
//# sourceMappingURL=role-BjiBExhi.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-b1ouG3q6.cjs.js');
|
|
5
5
|
var util = require('util');
|
|
6
6
|
var errors = require('@backstage/errors');
|
|
7
7
|
|
|
@@ -78,4 +78,4 @@ exports.execFile = execFile;
|
|
|
78
78
|
exports.run = run;
|
|
79
79
|
exports.runCheck = runCheck;
|
|
80
80
|
exports.runPlain = runPlain;
|
|
81
|
-
//# sourceMappingURL=run-
|
|
81
|
+
//# sourceMappingURL=run-CpZGNJQr.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-DBpmZirN.cjs.js');
|
|
5
5
|
var configLoader = require('@backstage/config-loader');
|
|
6
6
|
require('@backstage/config');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-b1ouG3q6.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -42,4 +42,4 @@ var schema = async (opts) => {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
exports.default = schema;
|
|
45
|
-
//# sourceMappingURL=schema-
|
|
45
|
+
//# sourceMappingURL=schema-D93FRhBL.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-b1ouG3q6.cjs.js');
|
|
4
|
+
var run = require('./run-CpZGNJQr.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-COxIko8N.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-b1ouG3q6.cjs.js');
|
|
6
|
+
var run = require('./run-CpZGNJQr.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-JcLI2pPM.cjs.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var config = require('./config-
|
|
3
|
+
var config = require('./config-DBpmZirN.cjs.js');
|
|
4
4
|
require('@backstage/config-loader');
|
|
5
5
|
require('@backstage/config');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-b1ouG3q6.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-CELljsEX.cjs.js.map
|