@backstage/cli 0.26.4 → 0.26.5-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 +16 -3
- package/config/tsconfig.json +2 -2
- package/dist/cjs/{build-utVvLEah.cjs.js → build-D66oGHOO.cjs.js} +8 -8
- package/dist/cjs/{buildBackend-Cv6N14cB.cjs.js → buildBackend-we2Ba62t.cjs.js} +7 -7
- package/dist/cjs/{buildWorkspace-DGKvYFIj.cjs.js → buildWorkspace-C6qBqMwe.cjs.js} +4 -4
- package/dist/cjs/{bump-XGQA1gKg.cjs.js → bump-5cKD_8oo.cjs.js} +16 -14
- package/dist/cjs/{clean-C6SPRIp1.cjs.js → clean-BsjbtMUW.cjs.js} +2 -2
- package/dist/cjs/{clean-DCboBDiG.cjs.js → clean-CPw0dNE0.cjs.js} +2 -2
- package/dist/cjs/{codeowners-BYrqMw1o.cjs.js → codeowners-DvK_j4Tq.cjs.js} +2 -2
- package/dist/cjs/{config-OeQcmdz6.cjs.js → config-BuuxVw_w.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-CLrZPAfL.cjs.js → createDistWorkspace-DwUb2OGs.cjs.js} +6 -4
- package/dist/cjs/{createPlugin-CYmaPNu_.cjs.js → createPlugin-DOLMfwjD.cjs.js} +5 -5
- package/dist/cjs/{diff-BY86Taqq.cjs.js → diff-B-i5TSqo.cjs.js} +2 -2
- package/dist/cjs/{docs-B0CQkEw9.cjs.js → docs-Bpn7hI2X.cjs.js} +3 -3
- package/dist/cjs/{fix-FWgJ8c2m.cjs.js → fix-5g9C20X3.cjs.js} +3 -3
- package/dist/cjs/{index-BGjvavg9.cjs.js → index-B_1_hXOx.cjs.js} +15 -15
- package/dist/cjs/{index-B7dlVlWC.cjs.js → index-Cjmdbgff.cjs.js} +9 -9
- package/dist/cjs/{index-CCLafGQH.cjs.js → index-D_pjpDix.cjs.js} +48 -48
- package/dist/cjs/{index-BVuheGHy.cjs.js → index-DncCYByV.cjs.js} +23 -15
- package/dist/cjs/{index-BEAuaU6W.cjs.js → index-fxIvYG3M.cjs.js} +2 -2
- package/dist/cjs/{info-CpkBUBIC.cjs.js → info-BHiDvCg2.cjs.js} +4 -4
- package/dist/cjs/{install-a70I9AV7.cjs.js → install-CK_D5n3K.cjs.js} +5 -5
- package/dist/cjs/{lint-D1cUQzlq.cjs.js → lint-B8OIZt3F.cjs.js} +2 -2
- package/dist/cjs/{lint-CxL5YvXa.cjs.js → lint-CNZy4apS.cjs.js} +2 -2
- package/dist/cjs/{lint-BHw1vR1K.cjs.js → lint-LAlja4Wa.cjs.js} +5 -8
- package/dist/cjs/{list-deprecations-CJyw8gP3.cjs.js → list-deprecations-DJvZCDiX.cjs.js} +2 -2
- package/dist/cjs/{new-CfGQG6Qx.cjs.js → new-CcqlZCp_.cjs.js} +6 -6
- package/dist/cjs/{pack-BWpG6Q1Q.cjs.js → pack-BL0qUp0J.cjs.js} +2 -2
- package/dist/cjs/{packageDetection-C__AGK-g.cjs.js → packageDetection-zhqJ-m-A.cjs.js} +6 -3
- package/dist/cjs/{packageExports-BWXuj98y.cjs.js → packageExports-GUmRFcjL.cjs.js} +3 -3
- package/dist/cjs/{packageLintConfigs-DfJEbmNy.cjs.js → packageLintConfigs-s5Xf7QSi.cjs.js} +3 -3
- package/dist/cjs/{packageRole-DqT0OXAm.cjs.js → packageRole-D5JpCRDM.cjs.js} +2 -2
- package/dist/cjs/{packages-O225IQzG.cjs.js → packages-CHIGCvQ0.cjs.js} +4 -4
- package/dist/cjs/{print-Brf_w0UC.cjs.js → print-CmGRME-Z.cjs.js} +3 -3
- package/dist/cjs/{role-6YZbMsXe.cjs.js → role-DzCJuRau.cjs.js} +2 -2
- package/dist/cjs/{run-BcxUFacd.cjs.js → run-C1b3EDE9.cjs.js} +2 -2
- package/dist/cjs/{schema-_RJzkqy4.cjs.js → schema-C2_ScGGA.cjs.js} +3 -3
- package/dist/cjs/{test-Bhiqn_8K.cjs.js → test-ByXbKy71.cjs.js} +3 -3
- package/dist/cjs/{test-BEHilerQ.cjs.js → test-DIO_yILs.cjs.js} +3 -3
- package/dist/cjs/{validate-uBFU47Vl.cjs.js → validate-Dpae61Um.cjs.js} +3 -3
- package/dist/cjs/{yarn-BDZCENk5.cjs.js → yarn-Ukl9MOS0.cjs.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/package.json +43 -33
- package/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.test.tsx.hbs +1 -1
|
@@ -16,7 +16,7 @@ var semver__default = /*#__PURE__*/_interopDefaultCompat(semver);
|
|
|
16
16
|
var __defProp = Object.defineProperty;
|
|
17
17
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
18
18
|
var __publicField = (obj, key, value) => {
|
|
19
|
-
__defNormalProp(obj,
|
|
19
|
+
__defNormalProp(obj, key + "" , value);
|
|
20
20
|
return value;
|
|
21
21
|
};
|
|
22
22
|
class CustomError extends Error {
|
|
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
|
|
|
53
53
|
|
|
54
54
|
const paths = cliCommon.findPaths(__dirname);
|
|
55
55
|
|
|
56
|
-
var version$f = "0.
|
|
56
|
+
var version$f = "0.22.0-next.2";
|
|
57
57
|
|
|
58
|
-
var version$e = "0.6.
|
|
58
|
+
var version$e = "0.6.18-next.1";
|
|
59
59
|
|
|
60
|
-
var version$d = "0.3.
|
|
60
|
+
var version$d = "0.3.8-next.2";
|
|
61
61
|
|
|
62
|
-
var version$c = "0.26.
|
|
62
|
+
var version$c = "0.26.5-next.1";
|
|
63
63
|
var dependencies = {
|
|
64
64
|
"@backstage/catalog-model": "workspace:^",
|
|
65
65
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -213,23 +213,23 @@ var version$b = "1.2.0";
|
|
|
213
213
|
|
|
214
214
|
var version$a = "1.12.4";
|
|
215
215
|
|
|
216
|
-
var version$9 = "0.14.
|
|
216
|
+
var version$9 = "0.14.7-next.2";
|
|
217
217
|
|
|
218
218
|
var version$8 = "1.9.2";
|
|
219
219
|
|
|
220
|
-
var version$7 = "1.0.
|
|
220
|
+
var version$7 = "1.0.32-next.2";
|
|
221
221
|
|
|
222
|
-
var version$6 = "1.5.
|
|
222
|
+
var version$6 = "1.5.5-next.0";
|
|
223
223
|
|
|
224
|
-
var version$5 = "0.4.
|
|
224
|
+
var version$5 = "0.4.4-next.2";
|
|
225
225
|
|
|
226
|
-
var version$4 = "0.22.
|
|
226
|
+
var version$4 = "0.22.5-next.2";
|
|
227
227
|
|
|
228
|
-
var version$3 = "0.1.
|
|
228
|
+
var version$3 = "0.1.4-next.1";
|
|
229
229
|
|
|
230
|
-
var version$2 = "0.5.
|
|
230
|
+
var version$2 = "0.5.4-next.0";
|
|
231
231
|
|
|
232
|
-
var version$1 = "0.2.
|
|
232
|
+
var version$1 = "0.2.18-next.2";
|
|
233
233
|
|
|
234
234
|
const packageVersions = {
|
|
235
235
|
"@backstage/backend-common": version$f,
|
|
@@ -296,7 +296,7 @@ const configOption = [
|
|
|
296
296
|
Array()
|
|
297
297
|
];
|
|
298
298
|
function registerOnboardCommand(program) {
|
|
299
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
299
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-B_1_hXOx.cjs.js'); }).then((m) => m.command)));
|
|
300
300
|
}
|
|
301
301
|
function registerRepoCommand(program) {
|
|
302
302
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -308,7 +308,7 @@ function registerRepoCommand(program) {
|
|
|
308
308
|
).option(
|
|
309
309
|
"--since <ref>",
|
|
310
310
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
311
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
311
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-D66oGHOO.cjs.js'); }).then((m) => m.command)));
|
|
312
312
|
command.command("lint").description("Lint all packages in the project").option(
|
|
313
313
|
"--format <format>",
|
|
314
314
|
"Lint report output format",
|
|
@@ -316,14 +316,14 @@ function registerRepoCommand(program) {
|
|
|
316
316
|
).option(
|
|
317
317
|
"--since <ref>",
|
|
318
318
|
"Only lint packages that changed since the specified ref"
|
|
319
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
319
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-CNZy4apS.cjs.js'); }).then((m) => m.command)));
|
|
320
320
|
command.command("fix").description("Automatically fix packages in the project").option(
|
|
321
321
|
"--check",
|
|
322
322
|
"Fail if any packages would have been changed by the command"
|
|
323
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
324
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
323
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-5g9C20X3.cjs.js'); }).then((m) => m.command)));
|
|
324
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CPw0dNE0.cjs.js'); }).then((m) => m.command)));
|
|
325
325
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
326
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
326
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-DJvZCDiX.cjs.js'); }).then((m) => m.command))
|
|
327
327
|
);
|
|
328
328
|
command.command("test").allowUnknownOption(true).option(
|
|
329
329
|
"--since <ref>",
|
|
@@ -331,14 +331,14 @@ function registerRepoCommand(program) {
|
|
|
331
331
|
).option(
|
|
332
332
|
"--jest-help",
|
|
333
333
|
"Show help for Jest CLI options, which are passed through"
|
|
334
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
334
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-DIO_yILs.cjs.js'); }).then((m) => m.command)));
|
|
335
335
|
}
|
|
336
336
|
function registerScriptCommand(program) {
|
|
337
337
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
338
338
|
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(
|
|
339
339
|
"--inspect-brk [host]",
|
|
340
340
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
341
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
341
|
+
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-DncCYByV.cjs.js'); }).then((m) => m.command)));
|
|
342
342
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
343
343
|
"--minify",
|
|
344
344
|
"Minify the generated code. Does not apply to app package (app is minified by default)."
|
|
@@ -353,30 +353,30 @@ function registerScriptCommand(program) {
|
|
|
353
353
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
354
354
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
355
355
|
Array()
|
|
356
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
356
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-Cjmdbgff.cjs.js'); }).then((m) => m.command)));
|
|
357
357
|
command.command("lint [directories...]").option(
|
|
358
358
|
"--format <format>",
|
|
359
359
|
"Lint report output format",
|
|
360
360
|
"eslint-formatter-friendly"
|
|
361
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
362
|
-
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-
|
|
363
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
364
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
365
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
361
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-B8OIZt3F.cjs.js'); }).then((m) => m.default)));
|
|
362
|
+
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-ByXbKy71.cjs.js'); }).then((m) => m.default)));
|
|
363
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BsjbtMUW.cjs.js'); }).then((m) => m.default)));
|
|
364
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-BL0qUp0J.cjs.js'); }).then((m) => m.pre)));
|
|
365
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-BL0qUp0J.cjs.js'); }).then((m) => m.post)));
|
|
366
366
|
}
|
|
367
367
|
function registerMigrateCommand(program) {
|
|
368
368
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
369
|
-
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-
|
|
369
|
+
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-D5JpCRDM.cjs.js'); }).then((m) => m.default)));
|
|
370
370
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
371
371
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-CPnlPBBs.cjs.js'); }).then((m) => m.command))
|
|
372
372
|
);
|
|
373
373
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
374
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
374
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-GUmRFcjL.cjs.js'); }).then((m) => m.command))
|
|
375
375
|
);
|
|
376
376
|
command.command("package-lint-configs").description(
|
|
377
377
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
378
378
|
).action(
|
|
379
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
379
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-s5Xf7QSi.cjs.js'); }).then((m) => m.command))
|
|
380
380
|
);
|
|
381
381
|
command.command("react-router-deps").description(
|
|
382
382
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -401,7 +401,7 @@ function registerCommands(program) {
|
|
|
401
401
|
).option(
|
|
402
402
|
"--baseVersion <version>",
|
|
403
403
|
"The version to use for any new packages (default: 0.1.0)"
|
|
404
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
404
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-CcqlZCp_.cjs.js'); }).then((m) => m.default)));
|
|
405
405
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
406
406
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
407
407
|
).option(
|
|
@@ -415,30 +415,30 @@ function registerCommands(program) {
|
|
|
415
415
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
416
416
|
"--npm-registry <URL>",
|
|
417
417
|
"The package registry to use for new packages"
|
|
418
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
418
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-CcqlZCp_.cjs.js'); }).then((m) => m.default)));
|
|
419
419
|
program.command("create-plugin", { hidden: true }).option(
|
|
420
420
|
"--backend",
|
|
421
421
|
"Create plugin with the backend dependencies as default"
|
|
422
422
|
).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(
|
|
423
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
423
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-DOLMfwjD.cjs.js'); }).then((m) => m.default))
|
|
424
424
|
);
|
|
425
425
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
426
426
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
427
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
427
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-B-i5TSqo.cjs.js'); }).then((m) => m.default)));
|
|
428
428
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
429
429
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
430
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
430
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-ByXbKy71.cjs.js'); }).then((m) => m.default)));
|
|
431
431
|
program.command("config:docs").option(
|
|
432
432
|
"--package <name>",
|
|
433
433
|
"Only include the schema that applies to the given package"
|
|
434
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
434
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-Bpn7hI2X.cjs.js'); }).then((m) => m.default)));
|
|
435
435
|
program.command("config:print").option(
|
|
436
436
|
"--package <name>",
|
|
437
437
|
"Only load config schema that applies to the given package"
|
|
438
438
|
).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(
|
|
439
439
|
"--format <format>",
|
|
440
440
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
441
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
441
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-CmGRME-Z.cjs.js'); }).then((m) => m.default)));
|
|
442
442
|
program.command("config:check").option(
|
|
443
443
|
"--package <name>",
|
|
444
444
|
"Only load config schema that applies to the given package"
|
|
@@ -447,14 +447,14 @@ function registerCommands(program) {
|
|
|
447
447
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
448
448
|
).option(...configOption).description(
|
|
449
449
|
"Validate that the given configuration loads and matches schema"
|
|
450
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
450
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-Dpae61Um.cjs.js'); }).then((m) => m.default)));
|
|
451
451
|
program.command("config:schema").option(
|
|
452
452
|
"--package <name>",
|
|
453
453
|
"Only output config schema that applies to the given package"
|
|
454
454
|
).option(
|
|
455
455
|
"--format <format>",
|
|
456
456
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
457
|
-
).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-
|
|
457
|
+
).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-C2_ScGGA.cjs.js'); }).then((m) => m.default)));
|
|
458
458
|
registerRepoCommand(program);
|
|
459
459
|
registerScriptCommand(program);
|
|
460
460
|
registerMigrateCommand(program);
|
|
@@ -466,8 +466,8 @@ function registerCommands(program) {
|
|
|
466
466
|
"--release <version|next|main>",
|
|
467
467
|
"Bump to a specific Backstage release line or version",
|
|
468
468
|
"main"
|
|
469
|
-
).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-
|
|
470
|
-
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-
|
|
469
|
+
).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-5cKD_8oo.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
|
|
470
|
+
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-LAlja4Wa.cjs.js'); }).then((m) => m.default)));
|
|
471
471
|
program.command("versions:migrate").option(
|
|
472
472
|
"--pattern <glob>",
|
|
473
473
|
"Override glob for matching packages to upgrade"
|
|
@@ -476,18 +476,18 @@ function registerCommands(program) {
|
|
|
476
476
|
"Skip code changes and only update package.json files"
|
|
477
477
|
).description(
|
|
478
478
|
"Migrate any plugins that have been moved to the @backstage-community namespace automatically"
|
|
479
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
480
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
479
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-5cKD_8oo.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
|
|
480
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BsjbtMUW.cjs.js'); }).then((m) => m.default)));
|
|
481
481
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
482
482
|
"--alwaysYarnPack",
|
|
483
483
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
484
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
485
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
486
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
484
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-C6qBqMwe.cjs.js'); }).then((m) => m.default)));
|
|
485
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-fxIvYG3M.cjs.js'); }).then((m) => m.default)));
|
|
486
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-BHiDvCg2.cjs.js'); }).then((m) => m.default)));
|
|
487
487
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
488
488
|
"--from <packageJsonFilePath>",
|
|
489
489
|
"Install from a local package.json containing the installation recipe"
|
|
490
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
490
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-CK_D5n3K.cjs.js'); }).then((m) => m.default)));
|
|
491
491
|
}
|
|
492
492
|
function lazy(getActionFunc) {
|
|
493
493
|
return async (...args) => {
|
|
@@ -531,4 +531,4 @@ exports.devDependencies = devDependencies;
|
|
|
531
531
|
exports.paths = paths;
|
|
532
532
|
exports.version = version;
|
|
533
533
|
exports.version$1 = version$c;
|
|
534
|
-
//# sourceMappingURL=index-
|
|
534
|
+
//# sourceMappingURL=index-D_pjpDix.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var role = require('./role-
|
|
3
|
+
var role = require('./role-DzCJuRau.cjs.js');
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-D_pjpDix.cjs.js');
|
|
6
6
|
var webpack = require('webpack');
|
|
7
|
-
var packageDetection = require('./packageDetection-
|
|
7
|
+
var packageDetection = require('./packageDetection-zhqJ-m-A.cjs.js');
|
|
8
8
|
require('yn');
|
|
9
9
|
var path = require('path');
|
|
10
10
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -18,7 +18,7 @@ require('run-script-webpack-plugin');
|
|
|
18
18
|
require('@manypkg/get-packages');
|
|
19
19
|
require('webpack-node-externals');
|
|
20
20
|
require('lodash/pickBy');
|
|
21
|
-
require('./run-
|
|
21
|
+
require('./run-C1b3EDE9.cjs.js');
|
|
22
22
|
require('mini-css-extract-plugin');
|
|
23
23
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
24
24
|
var chalk = require('chalk');
|
|
@@ -30,7 +30,7 @@ require('semver');
|
|
|
30
30
|
require('@yarnpkg/parsers');
|
|
31
31
|
require('@yarnpkg/lockfile');
|
|
32
32
|
require('minimatch');
|
|
33
|
-
require('./yarn-
|
|
33
|
+
require('./yarn-Ukl9MOS0.cjs.js');
|
|
34
34
|
require('lodash/partition');
|
|
35
35
|
require('@backstage/config-loader');
|
|
36
36
|
require('@backstage/config');
|
|
@@ -40,8 +40,8 @@ var errors = require('@backstage/errors');
|
|
|
40
40
|
var debounce = require('lodash/debounce');
|
|
41
41
|
var url = require('url');
|
|
42
42
|
var spawn = require('cross-spawn');
|
|
43
|
-
var lint = require('./lint-
|
|
44
|
-
var config = require('./config-
|
|
43
|
+
var lint = require('./lint-LAlja4Wa.cjs.js');
|
|
44
|
+
var config = require('./config-BuuxVw_w.cjs.js');
|
|
45
45
|
var Lockfile = require('./Lockfile-C7rtIlD6.cjs.js');
|
|
46
46
|
require('commander');
|
|
47
47
|
require('./entryPoints-CoHH4lBA.cjs.js');
|
|
@@ -340,12 +340,12 @@ var __privateAdd = (obj, member, value) => {
|
|
|
340
340
|
};
|
|
341
341
|
var __privateSet = (obj, member, value, setter) => {
|
|
342
342
|
__accessCheck(obj, member, "write to private field");
|
|
343
|
-
|
|
343
|
+
member.set(obj, value);
|
|
344
344
|
return value;
|
|
345
345
|
};
|
|
346
346
|
var __privateWrapper = (obj, member, setter, getter) => ({
|
|
347
347
|
set _(value) {
|
|
348
|
-
__privateSet(obj, member, value
|
|
348
|
+
__privateSet(obj, member, value);
|
|
349
349
|
},
|
|
350
350
|
get _() {
|
|
351
351
|
return __privateGet(obj, member, getter);
|
|
@@ -494,6 +494,9 @@ async function startBackendExperimental(options) {
|
|
|
494
494
|
const inspect = typeof options.inspectBrkEnabled === "string" ? `--inspect-brk=${options.inspectBrkEnabled}` : "--inspect-brk";
|
|
495
495
|
optionArgs.push(inspect);
|
|
496
496
|
}
|
|
497
|
+
if (options.require) {
|
|
498
|
+
optionArgs.push(`--require=${options.require}`);
|
|
499
|
+
}
|
|
497
500
|
const userArgs = process.argv.slice(["node", "backstage-cli", "package", "start"].length).filter((arg) => !optionArgs.includes(arg));
|
|
498
501
|
child = spawn__default.default(
|
|
499
502
|
process.execPath,
|
|
@@ -556,7 +559,8 @@ async function startBackend(options) {
|
|
|
556
559
|
checksEnabled: false,
|
|
557
560
|
// not supported
|
|
558
561
|
inspectEnabled: options.inspectEnabled,
|
|
559
|
-
inspectBrkEnabled: options.inspectBrkEnabled
|
|
562
|
+
inspectBrkEnabled: options.inspectBrkEnabled,
|
|
563
|
+
require: options.require
|
|
560
564
|
});
|
|
561
565
|
await waitForExit();
|
|
562
566
|
} else {
|
|
@@ -564,7 +568,8 @@ async function startBackend(options) {
|
|
|
564
568
|
entry: "src/index",
|
|
565
569
|
checksEnabled: options.checksEnabled,
|
|
566
570
|
inspectEnabled: options.inspectEnabled,
|
|
567
|
-
inspectBrkEnabled: options.inspectBrkEnabled
|
|
571
|
+
inspectBrkEnabled: options.inspectBrkEnabled,
|
|
572
|
+
require: options.require
|
|
568
573
|
});
|
|
569
574
|
await waitForExit();
|
|
570
575
|
}
|
|
@@ -588,7 +593,8 @@ async function startBackendPlugin(options) {
|
|
|
588
593
|
checksEnabled: false,
|
|
589
594
|
// not supported
|
|
590
595
|
inspectEnabled: options.inspectEnabled,
|
|
591
|
-
inspectBrkEnabled: options.inspectBrkEnabled
|
|
596
|
+
inspectBrkEnabled: options.inspectBrkEnabled,
|
|
597
|
+
require: options.require
|
|
592
598
|
});
|
|
593
599
|
await waitForExit();
|
|
594
600
|
} else {
|
|
@@ -603,7 +609,8 @@ async function startBackendPlugin(options) {
|
|
|
603
609
|
entry: "src/run",
|
|
604
610
|
checksEnabled: options.checksEnabled,
|
|
605
611
|
inspectEnabled: options.inspectEnabled,
|
|
606
|
-
inspectBrkEnabled: options.inspectBrkEnabled
|
|
612
|
+
inspectBrkEnabled: options.inspectBrkEnabled,
|
|
613
|
+
require: options.require
|
|
607
614
|
});
|
|
608
615
|
await waitForExit();
|
|
609
616
|
}
|
|
@@ -629,7 +636,8 @@ async function command(opts) {
|
|
|
629
636
|
configPaths: opts.config,
|
|
630
637
|
checksEnabled: Boolean(opts.check),
|
|
631
638
|
inspectEnabled: opts.inspect,
|
|
632
|
-
inspectBrkEnabled: opts.inspectBrk
|
|
639
|
+
inspectBrkEnabled: opts.inspectBrk,
|
|
640
|
+
require: opts.require
|
|
633
641
|
};
|
|
634
642
|
switch (role$1) {
|
|
635
643
|
case "backend":
|
|
@@ -656,4 +664,4 @@ async function command(opts) {
|
|
|
656
664
|
}
|
|
657
665
|
|
|
658
666
|
exports.command = command;
|
|
659
|
-
//# sourceMappingURL=index-
|
|
667
|
+
//# sourceMappingURL=index-DncCYByV.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-D_pjpDix.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-fxIvYG3M.cjs.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D_pjpDix.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-C1b3EDE9.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-C7rtIlD6.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
9
9
|
require('chalk');
|
|
10
|
-
require('./yarn-
|
|
10
|
+
require('./yarn-Ukl9MOS0.cjs.js');
|
|
11
11
|
var fs = require('fs-extra');
|
|
12
12
|
require('commander');
|
|
13
13
|
require('semver');
|
|
@@ -58,4 +58,4 @@ var info = async () => {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
exports.default = info;
|
|
61
|
-
//# sourceMappingURL=info-
|
|
61
|
+
//# sourceMappingURL=info-BHiDvCg2.cjs.js.map
|
|
@@ -4,15 +4,15 @@ 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-CHIGCvQ0.cjs.js');
|
|
8
|
+
var index = require('./index-D_pjpDix.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-C1b3EDE9.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
|
-
require('./yarn-
|
|
15
|
+
require('./yarn-Ukl9MOS0.cjs.js');
|
|
16
16
|
require('@backstage/errors');
|
|
17
17
|
require('child_process');
|
|
18
18
|
require('util');
|
|
@@ -268,4 +268,4 @@ var install = async (pluginId, cmd) => {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
exports.default = install;
|
|
271
|
-
//# sourceMappingURL=install-
|
|
271
|
+
//# sourceMappingURL=install-CK_D5n3K.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D_pjpDix.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-B8OIZt3F.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-D_pjpDix.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-CNZy4apS.cjs.js.map
|
|
@@ -4,9 +4,9 @@ var Lockfile = require('./Lockfile-C7rtIlD6.cjs.js');
|
|
|
4
4
|
require('minimatch');
|
|
5
5
|
require('@manypkg/get-packages');
|
|
6
6
|
require('chalk');
|
|
7
|
-
require('./yarn-
|
|
8
|
-
require('./run-
|
|
9
|
-
var index = require('./index-
|
|
7
|
+
require('./yarn-Ukl9MOS0.cjs.js');
|
|
8
|
+
require('./run-C1b3EDE9.cjs.js');
|
|
9
|
+
var index = require('./index-D_pjpDix.cjs.js');
|
|
10
10
|
var partition = require('lodash/partition');
|
|
11
11
|
var cliNode = require('@backstage/cli-node');
|
|
12
12
|
require('fs-extra');
|
|
@@ -25,10 +25,7 @@ var partition__default = /*#__PURE__*/_interopDefaultCompat(partition);
|
|
|
25
25
|
|
|
26
26
|
const INCLUDED = [/^@backstage\//];
|
|
27
27
|
const includedFilter = (name) => INCLUDED.some((pattern) => pattern.test(name));
|
|
28
|
-
const FORBID_DUPLICATES = [
|
|
29
|
-
/^@backstage\/core-app-api$/,
|
|
30
|
-
/^@backstage\/plugin-/
|
|
31
|
-
];
|
|
28
|
+
const FORBID_DUPLICATES = [/^@backstage\/\w+-app-api$/, /^@backstage\/plugin-/];
|
|
32
29
|
const ALLOW_DUPLICATES = [
|
|
33
30
|
/^@backstage\/core-plugin-api$/,
|
|
34
31
|
// Duplicates of libraries are OK
|
|
@@ -112,4 +109,4 @@ function logArray(arr, header, each) {
|
|
|
112
109
|
exports.default = lint;
|
|
113
110
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
114
111
|
exports.includedFilter = includedFilter;
|
|
115
|
-
//# sourceMappingURL=lint-
|
|
112
|
+
//# sourceMappingURL=lint-LAlja4Wa.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-D_pjpDix.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-DJvZCDiX.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-D_pjpDix.cjs.js');
|
|
11
|
+
var codeowners = require('./codeowners-DvK_j4Tq.cjs.js');
|
|
12
12
|
var tasks = require('./tasks-mGXy8WjR.cjs.js');
|
|
13
13
|
var Lockfile = require('./Lockfile-C7rtIlD6.cjs.js');
|
|
14
14
|
require('minimatch');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
|
-
require('./yarn-
|
|
17
|
-
require('./run-
|
|
16
|
+
require('./yarn-Ukl9MOS0.cjs.js');
|
|
17
|
+
require('./run-C1b3EDE9.cjs.js');
|
|
18
18
|
var partition = require('lodash/partition');
|
|
19
19
|
var cliNode = require('@backstage/cli-node');
|
|
20
20
|
var errors = require('@backstage/errors');
|
|
@@ -612,7 +612,7 @@ var factories = /*#__PURE__*/Object.freeze({
|
|
|
612
612
|
var __defProp = Object.defineProperty;
|
|
613
613
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
614
614
|
var __publicField = (obj, key, value) => {
|
|
615
|
-
__defNormalProp(obj,
|
|
615
|
+
__defNormalProp(obj, key + "" , value);
|
|
616
616
|
return value;
|
|
617
617
|
};
|
|
618
618
|
function applyPromptMessageTransforms(prompt, transforms) {
|
|
@@ -777,4 +777,4 @@ var _new = async (opts) => {
|
|
|
777
777
|
};
|
|
778
778
|
|
|
779
779
|
exports.default = _new;
|
|
780
|
-
//# sourceMappingURL=new-
|
|
780
|
+
//# sourceMappingURL=new-CcqlZCp_.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-DotlEIE2.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-D_pjpDix.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-BL0qUp0J.cjs.js.map
|
|
@@ -8,13 +8,13 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
|
8
8
|
var cliCommon = require('@backstage/cli-common');
|
|
9
9
|
var ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
|
10
10
|
var runScriptWebpackPlugin = require('run-script-webpack-plugin');
|
|
11
|
-
var index = require('./index-
|
|
11
|
+
var index = require('./index-D_pjpDix.cjs.js');
|
|
12
12
|
var fs = require('fs-extra');
|
|
13
13
|
var getPackages = require('@manypkg/get-packages');
|
|
14
14
|
var nodeExternals = require('webpack-node-externals');
|
|
15
15
|
var pickBy = require('lodash/pickBy');
|
|
16
16
|
var entryPoints = require('./entryPoints-CoHH4lBA.cjs.js');
|
|
17
|
-
var run = require('./run-
|
|
17
|
+
var run = require('./run-C1b3EDE9.cjs.js');
|
|
18
18
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
19
19
|
var svgrTemplate = require('./svgrTemplate-BTjBQ3by.cjs.js');
|
|
20
20
|
var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
@@ -494,6 +494,9 @@ async function createBackendConfig(paths, options) {
|
|
|
494
494
|
const inspect = typeof options.inspectBrkEnabled === "string" ? `--inspect-brk=${options.inspectBrkEnabled}` : "--inspect-brk";
|
|
495
495
|
runScriptNodeArgs.push(inspect);
|
|
496
496
|
}
|
|
497
|
+
if (options.require) {
|
|
498
|
+
runScriptNodeArgs.push(`--require=${options.require}`);
|
|
499
|
+
}
|
|
497
500
|
return {
|
|
498
501
|
mode: isDev ? "development" : "production",
|
|
499
502
|
profile: false,
|
|
@@ -747,4 +750,4 @@ exports.hasReactDomClient = hasReactDomClient;
|
|
|
747
750
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
748
751
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
749
752
|
exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
|
|
750
|
-
//# sourceMappingURL=packageDetection-
|
|
753
|
+
//# sourceMappingURL=packageDetection-zhqJ-m-A.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var fix = require('./fix-
|
|
3
|
+
var fix = require('./fix-5g9C20X3.cjs.js');
|
|
4
4
|
require('@backstage/cli-node');
|
|
5
5
|
require('fs-extra');
|
|
6
6
|
require('path');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-D_pjpDix.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -23,4 +23,4 @@ async function command() {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
exports.command = command;
|
|
26
|
-
//# sourceMappingURL=packageExports-
|
|
26
|
+
//# sourceMappingURL=packageExports-GUmRFcjL.cjs.js.map
|