@backstage/cli 0.25.2-next.3 → 0.25.3-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -0
- package/asset-types/asset-types.d.ts +5 -0
- package/config/jest.js +1 -1
- package/dist/cjs/{build-cb8867a9.cjs.js → build-b047213b.cjs.js} +7 -7
- package/dist/cjs/{buildBackend-e46a1d87.cjs.js → buildBackend-9d25d2a3.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-63d3b824.cjs.js → buildWorkspace-a5d563a8.cjs.js} +4 -4
- package/dist/cjs/{bump-4b48514c.cjs.js → bump-7de1da80.cjs.js} +6 -7
- package/dist/cjs/{clean-c0480d6f.cjs.js → clean-4b8e1bd6.cjs.js} +2 -2
- package/dist/cjs/{clean-86a237a2.cjs.js → clean-81a6e5e8.cjs.js} +2 -2
- package/dist/cjs/{codeowners-04977d12.cjs.js → codeowners-8c170e32.cjs.js} +2 -2
- package/dist/cjs/{config-04b2d75f.cjs.js → config-81dc6a92.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-9d97ab80.cjs.js → createDistWorkspace-91828a77.cjs.js} +3 -3
- package/dist/cjs/{createPlugin-3f75c8bf.cjs.js → createPlugin-6e539ab8.cjs.js} +4 -4
- package/dist/cjs/{diff-e5bafbe2.cjs.js → diff-361c56e5.cjs.js} +2 -2
- package/dist/cjs/{docs-04d7cc43.cjs.js → docs-d05bac9f.cjs.js} +3 -3
- package/dist/cjs/{fix-11df7b5f.cjs.js → fix-2f078e4c.cjs.js} +2 -2
- package/dist/cjs/{index-4ecf7434.cjs.js → index-10243df9.cjs.js} +2 -2
- package/dist/cjs/{index-0756e762.cjs.js → index-56496364.cjs.js} +8 -8
- package/dist/cjs/{index-909893e7.cjs.js → index-7566d34a.cjs.js} +7 -7
- package/dist/cjs/{index-38118e8d.cjs.js → index-a9eea02d.cjs.js} +53 -55
- package/dist/cjs/{index-23b440c6.cjs.js → index-ee417f1e.cjs.js} +3 -3
- package/dist/cjs/{info-3041f932.cjs.js → info-81e1b339.cjs.js} +3 -3
- package/dist/cjs/{install-c871aad8.cjs.js → install-9a976123.cjs.js} +4 -4
- package/dist/cjs/{lint-df89a76a.cjs.js → lint-8c4d590a.cjs.js} +3 -3
- package/dist/cjs/{lint-ed716c8c.cjs.js → lint-93528456.cjs.js} +2 -2
- package/dist/cjs/{lint-17df9ed4.cjs.js → lint-9b0fc617.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-d9f9b07c.cjs.js → list-deprecations-55e4bc34.cjs.js} +2 -2
- package/dist/cjs/{new-7ffc04bb.cjs.js → new-72fbff46.cjs.js} +4 -4
- package/dist/cjs/{pack-612c60ea.cjs.js → pack-96287276.cjs.js} +2 -2
- package/dist/cjs/{packageDetection-58ee44b5.cjs.js → packageDetection-06517dcc.cjs.js} +7 -6
- package/dist/cjs/{packageExports-766297d5.cjs.js → packageExports-ec2ae448.cjs.js} +3 -3
- package/dist/cjs/{packageLintConfigs-38b18f0c.cjs.js → packageLintConfigs-c78f6393.cjs.js} +3 -3
- package/dist/cjs/{packageRole-c555aef7.cjs.js → packageRole-15f6cce1.cjs.js} +2 -2
- package/dist/cjs/{packages-2f3d0fb3.cjs.js → packages-1901cd91.cjs.js} +4 -8
- package/dist/cjs/{print-ef752870.cjs.js → print-8bec5b17.cjs.js} +3 -3
- package/dist/cjs/{role-7c925b20.cjs.js → role-22840269.cjs.js} +2 -2
- package/dist/cjs/{run-883b2b68.cjs.js → run-7d1cbb7a.cjs.js} +2 -2
- package/dist/cjs/{schema-996675e4.cjs.js → schema-9eadf360.cjs.js} +3 -3
- package/dist/cjs/{test-6178a007.cjs.js → test-11c93a91.cjs.js} +3 -3
- package/dist/cjs/{test-21c52ea3.cjs.js → test-16b2ccfa.cjs.js} +3 -3
- package/dist/cjs/{validate-c84edefb.cjs.js → validate-c24a06d3.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +26 -28
|
@@ -53,13 +53,13 @@ class NotFoundError extends CustomError {
|
|
|
53
53
|
|
|
54
54
|
const paths = cliCommon.findPaths(__dirname);
|
|
55
55
|
|
|
56
|
-
var version$c = "0.21.
|
|
56
|
+
var version$c = "0.21.3-next.0";
|
|
57
57
|
|
|
58
|
-
var version$b = "0.6.
|
|
58
|
+
var version$b = "0.6.13-next.0";
|
|
59
59
|
|
|
60
|
-
var version$a = "0.3.
|
|
60
|
+
var version$a = "0.3.3-next.0";
|
|
61
61
|
|
|
62
|
-
var version$9 = "0.25.
|
|
62
|
+
var version$9 = "0.25.3-next.0";
|
|
63
63
|
var dependencies = {
|
|
64
64
|
"@backstage/catalog-model": "workspace:^",
|
|
65
65
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -103,16 +103,16 @@ var dependencies = {
|
|
|
103
103
|
buffer: "^6.0.3",
|
|
104
104
|
chalk: "^4.0.0",
|
|
105
105
|
chokidar: "^3.3.1",
|
|
106
|
-
commander: "^
|
|
106
|
+
commander: "^12.0.0",
|
|
107
107
|
"cross-fetch": "^4.0.0",
|
|
108
108
|
"cross-spawn": "^7.0.3",
|
|
109
109
|
"css-loader": "^6.5.1",
|
|
110
110
|
"ctrlc-windows": "^2.1.0",
|
|
111
111
|
diff: "^5.0.0",
|
|
112
112
|
esbuild: "^0.20.0",
|
|
113
|
-
"esbuild-loader": "^
|
|
113
|
+
"esbuild-loader": "^4.0.0",
|
|
114
114
|
eslint: "^8.6.0",
|
|
115
|
-
"eslint-config-prettier": "^
|
|
115
|
+
"eslint-config-prettier": "^9.0.0",
|
|
116
116
|
"eslint-formatter-friendly": "^7.0.0",
|
|
117
117
|
"eslint-plugin-deprecation": "^2.0.0",
|
|
118
118
|
"eslint-plugin-import": "^2.25.4",
|
|
@@ -121,10 +121,10 @@ var dependencies = {
|
|
|
121
121
|
"eslint-plugin-react": "^7.28.0",
|
|
122
122
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
123
123
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
124
|
-
"eslint-webpack-plugin": "^
|
|
124
|
+
"eslint-webpack-plugin": "^4.0.0",
|
|
125
125
|
express: "^4.17.1",
|
|
126
126
|
"fork-ts-checker-webpack-plugin": "^9.0.0",
|
|
127
|
-
"fs-extra": "
|
|
127
|
+
"fs-extra": "^11.2.0",
|
|
128
128
|
"git-url-parse": "^14.0.0",
|
|
129
129
|
glob: "^7.1.7",
|
|
130
130
|
"global-agent": "^3.0.0",
|
|
@@ -138,7 +138,7 @@ var dependencies = {
|
|
|
138
138
|
"json-schema": "^0.4.0",
|
|
139
139
|
lodash: "^4.17.21",
|
|
140
140
|
"mini-css-extract-plugin": "^2.4.2",
|
|
141
|
-
minimatch: "^
|
|
141
|
+
minimatch: "^9.0.0",
|
|
142
142
|
"node-fetch": "^2.6.7",
|
|
143
143
|
"node-libs-browser": "^2.2.1",
|
|
144
144
|
"npm-packlist": "^5.0.0",
|
|
@@ -149,7 +149,6 @@ var dependencies = {
|
|
|
149
149
|
"react-dev-utils": "^12.0.0-next.60",
|
|
150
150
|
"react-refresh": "^0.14.0",
|
|
151
151
|
"recursive-readdir": "^2.2.2",
|
|
152
|
-
"replace-in-file": "^6.0.0",
|
|
153
152
|
rollup: "^2.60.2",
|
|
154
153
|
"rollup-plugin-dts": "^4.0.1",
|
|
155
154
|
"rollup-plugin-esbuild": "^4.7.2",
|
|
@@ -187,10 +186,9 @@ var devDependencies = {
|
|
|
187
186
|
"@types/diff": "^5.0.0",
|
|
188
187
|
"@types/ejs": "^3.1.3",
|
|
189
188
|
"@types/express": "^4.17.6",
|
|
190
|
-
"@types/fs-extra": "^
|
|
189
|
+
"@types/fs-extra": "^11.0.0",
|
|
191
190
|
"@types/http-proxy": "^1.17.4",
|
|
192
191
|
"@types/inquirer": "^8.1.3",
|
|
193
|
-
"@types/minimatch": "^5.0.0",
|
|
194
192
|
"@types/node": "^18.17.8",
|
|
195
193
|
"@types/npm-packlist": "^3.0.0",
|
|
196
194
|
"@types/recursive-readdir": "^2.2.0",
|
|
@@ -206,21 +204,21 @@ var devDependencies = {
|
|
|
206
204
|
"ts-node": "^10.0.0"
|
|
207
205
|
};
|
|
208
206
|
|
|
209
|
-
var version$8 = "1.1.
|
|
207
|
+
var version$8 = "1.1.2-next.0";
|
|
210
208
|
|
|
211
|
-
var version$7 = "1.12.
|
|
209
|
+
var version$7 = "1.12.1-next.0";
|
|
212
210
|
|
|
213
|
-
var version$6 = "0.14.
|
|
211
|
+
var version$6 = "0.14.1-next.0";
|
|
214
212
|
|
|
215
|
-
var version$5 = "1.9.
|
|
213
|
+
var version$5 = "1.9.1-next.0";
|
|
216
214
|
|
|
217
|
-
var version$4 = "1.0.
|
|
215
|
+
var version$4 = "1.0.28-next.0";
|
|
218
216
|
|
|
219
|
-
var version$3 = "1.5.
|
|
217
|
+
var version$3 = "1.5.1-next.0";
|
|
220
218
|
|
|
221
|
-
var version$2 = "0.3.
|
|
219
|
+
var version$2 = "0.3.3-next.0";
|
|
222
220
|
|
|
223
|
-
var version$1 = "0.5.
|
|
221
|
+
var version$1 = "0.5.2-next.0";
|
|
224
222
|
|
|
225
223
|
const packageVersions = {
|
|
226
224
|
"@backstage/backend-common": version$c,
|
|
@@ -284,7 +282,7 @@ const configOption = [
|
|
|
284
282
|
Array()
|
|
285
283
|
];
|
|
286
284
|
function registerOnboardCommand(program) {
|
|
287
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
285
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-ee417f1e.cjs.js'); }).then((m) => m.command)));
|
|
288
286
|
}
|
|
289
287
|
function registerRepoCommand(program) {
|
|
290
288
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -296,7 +294,7 @@ function registerRepoCommand(program) {
|
|
|
296
294
|
).option(
|
|
297
295
|
"--since <ref>",
|
|
298
296
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
299
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
297
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-b047213b.cjs.js'); }).then((m) => m.command)));
|
|
300
298
|
command.command("lint").description("Lint all packages in the project").option(
|
|
301
299
|
"--format <format>",
|
|
302
300
|
"Lint report output format",
|
|
@@ -304,14 +302,14 @@ function registerRepoCommand(program) {
|
|
|
304
302
|
).option(
|
|
305
303
|
"--since <ref>",
|
|
306
304
|
"Only lint packages that changed since the specified ref"
|
|
307
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
305
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-93528456.cjs.js'); }).then((m) => m.command)));
|
|
308
306
|
command.command("fix").description("Automatically fix packages in the project").option(
|
|
309
307
|
"--check",
|
|
310
308
|
"Fail if any packages would have been changed by the command"
|
|
311
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
312
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
309
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-2f078e4c.cjs.js'); }).then((m) => m.command)));
|
|
310
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-4b8e1bd6.cjs.js'); }).then((m) => m.command)));
|
|
313
311
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
314
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
312
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-55e4bc34.cjs.js'); }).then((m) => m.command))
|
|
315
313
|
);
|
|
316
314
|
command.command("test").allowUnknownOption(true).option(
|
|
317
315
|
"--since <ref>",
|
|
@@ -319,14 +317,14 @@ function registerRepoCommand(program) {
|
|
|
319
317
|
).option(
|
|
320
318
|
"--jest-help",
|
|
321
319
|
"Show help for Jest CLI options, which are passed through"
|
|
322
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
320
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-11c93a91.cjs.js'); }).then((m) => m.command)));
|
|
323
321
|
}
|
|
324
322
|
function registerScriptCommand(program) {
|
|
325
323
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
326
324
|
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(
|
|
327
325
|
"--inspect-brk [host]",
|
|
328
326
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
329
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
327
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-7566d34a.cjs.js'); }).then((m) => m.command)));
|
|
330
328
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
331
329
|
"--minify",
|
|
332
330
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -341,30 +339,30 @@ function registerScriptCommand(program) {
|
|
|
341
339
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
342
340
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
343
341
|
Array()
|
|
344
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
342
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-56496364.cjs.js'); }).then((m) => m.command)));
|
|
345
343
|
command.command("lint [directories...]").option(
|
|
346
344
|
"--format <format>",
|
|
347
345
|
"Lint report output format",
|
|
348
346
|
"eslint-formatter-friendly"
|
|
349
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
350
|
-
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-
|
|
351
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
352
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
353
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
347
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-9b0fc617.cjs.js'); }).then((m) => m.default)));
|
|
348
|
+
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-16b2ccfa.cjs.js'); }).then((m) => m.default)));
|
|
349
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-81a6e5e8.cjs.js'); }).then((m) => m.default)));
|
|
350
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-96287276.cjs.js'); }).then((m) => m.pre)));
|
|
351
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-96287276.cjs.js'); }).then((m) => m.post)));
|
|
354
352
|
}
|
|
355
353
|
function registerMigrateCommand(program) {
|
|
356
354
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
357
|
-
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-
|
|
355
|
+
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-15f6cce1.cjs.js'); }).then((m) => m.default)));
|
|
358
356
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
359
357
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-bb7b6de2.cjs.js'); }).then((m) => m.command))
|
|
360
358
|
);
|
|
361
359
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
362
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
360
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-ec2ae448.cjs.js'); }).then((m) => m.command))
|
|
363
361
|
);
|
|
364
362
|
command.command("package-lint-configs").description(
|
|
365
363
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
366
364
|
).action(
|
|
367
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
365
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-c78f6393.cjs.js'); }).then((m) => m.command))
|
|
368
366
|
);
|
|
369
367
|
command.command("react-router-deps").description(
|
|
370
368
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -389,7 +387,7 @@ function registerCommands(program) {
|
|
|
389
387
|
).option(
|
|
390
388
|
"--baseVersion <version>",
|
|
391
389
|
"The version to use for any new packages (default: 0.1.0)"
|
|
392
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
390
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-72fbff46.cjs.js'); }).then((m) => m.default)));
|
|
393
391
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
394
392
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
395
393
|
).option(
|
|
@@ -403,30 +401,30 @@ function registerCommands(program) {
|
|
|
403
401
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
404
402
|
"--npm-registry <URL>",
|
|
405
403
|
"The package registry to use for new packages"
|
|
406
|
-
).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-72fbff46.cjs.js'); }).then((m) => m.default)));
|
|
407
405
|
program.command("create-plugin", { hidden: true }).option(
|
|
408
406
|
"--backend",
|
|
409
407
|
"Create plugin with the backend dependencies as default"
|
|
410
408
|
).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(
|
|
411
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
409
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-6e539ab8.cjs.js'); }).then((m) => m.default))
|
|
412
410
|
);
|
|
413
411
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
414
412
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
415
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
413
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-361c56e5.cjs.js'); }).then((m) => m.default)));
|
|
416
414
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
417
415
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
418
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
416
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-16b2ccfa.cjs.js'); }).then((m) => m.default)));
|
|
419
417
|
program.command("config:docs").option(
|
|
420
418
|
"--package <name>",
|
|
421
419
|
"Only include the schema that applies to the given package"
|
|
422
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
420
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-d05bac9f.cjs.js'); }).then((m) => m.default)));
|
|
423
421
|
program.command("config:print").option(
|
|
424
422
|
"--package <name>",
|
|
425
423
|
"Only load config schema that applies to the given package"
|
|
426
424
|
).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(
|
|
427
425
|
"--format <format>",
|
|
428
426
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
429
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
427
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-8bec5b17.cjs.js'); }).then((m) => m.default)));
|
|
430
428
|
program.command("config:check").option(
|
|
431
429
|
"--package <name>",
|
|
432
430
|
"Only load config schema that applies to the given package"
|
|
@@ -435,14 +433,14 @@ function registerCommands(program) {
|
|
|
435
433
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
436
434
|
).option(...configOption).description(
|
|
437
435
|
"Validate that the given configuration loads and matches schema"
|
|
438
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
436
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-c24a06d3.cjs.js'); }).then((m) => m.default)));
|
|
439
437
|
program.command("config:schema").option(
|
|
440
438
|
"--package <name>",
|
|
441
439
|
"Only output config schema that applies to the given package"
|
|
442
440
|
).option(
|
|
443
441
|
"--format <format>",
|
|
444
442
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
445
|
-
).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-
|
|
443
|
+
).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-9eadf360.cjs.js'); }).then((m) => m.default)));
|
|
446
444
|
registerRepoCommand(program);
|
|
447
445
|
registerScriptCommand(program);
|
|
448
446
|
registerMigrateCommand(program);
|
|
@@ -454,19 +452,19 @@ function registerCommands(program) {
|
|
|
454
452
|
"--release <version|next|main>",
|
|
455
453
|
"Bump to a specific Backstage release line or version",
|
|
456
454
|
"main"
|
|
457
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
458
|
-
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-
|
|
459
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
455
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-7de1da80.cjs.js'); }).then((m) => m.default)));
|
|
456
|
+
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-8c4d590a.cjs.js'); }).then((m) => m.default)));
|
|
457
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-81a6e5e8.cjs.js'); }).then((m) => m.default)));
|
|
460
458
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
461
459
|
"--alwaysYarnPack",
|
|
462
460
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
463
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
464
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
465
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
461
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-a5d563a8.cjs.js'); }).then((m) => m.default)));
|
|
462
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-10243df9.cjs.js'); }).then((m) => m.default)));
|
|
463
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-81e1b339.cjs.js'); }).then((m) => m.default)));
|
|
466
464
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
467
465
|
"--from <packageJsonFilePath>",
|
|
468
466
|
"Install from a local package.json containing the installation recipe"
|
|
469
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
467
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-9a976123.cjs.js'); }).then((m) => m.default)));
|
|
470
468
|
}
|
|
471
469
|
function lazy(getActionFunc) {
|
|
472
470
|
return async (...args) => {
|
|
@@ -510,4 +508,4 @@ exports.devDependencies = devDependencies;
|
|
|
510
508
|
exports.paths = paths;
|
|
511
509
|
exports.version = version;
|
|
512
510
|
exports.version$1 = version$9;
|
|
513
|
-
//# sourceMappingURL=index-
|
|
511
|
+
//# sourceMappingURL=index-a9eea02d.cjs.js.map
|
|
@@ -9,7 +9,7 @@ var yaml = require('yaml');
|
|
|
9
9
|
var cliCommon = require('@backstage/cli-common');
|
|
10
10
|
var path = require('path');
|
|
11
11
|
var differ = require('diff');
|
|
12
|
-
var config = require('./config-
|
|
12
|
+
var config = require('./config-81dc6a92.cjs.js');
|
|
13
13
|
var catalogModel = require('@backstage/catalog-model');
|
|
14
14
|
var z = require('zod');
|
|
15
15
|
var integration = require('@backstage/integration');
|
|
@@ -24,7 +24,7 @@ require('child_process');
|
|
|
24
24
|
require('@backstage/errors');
|
|
25
25
|
require('@backstage/config-loader');
|
|
26
26
|
require('@backstage/config');
|
|
27
|
-
require('./index-
|
|
27
|
+
require('./index-a9eea02d.cjs.js');
|
|
28
28
|
require('commander');
|
|
29
29
|
require('semver');
|
|
30
30
|
require('@manypkg/get-packages');
|
|
@@ -1208,4 +1208,4 @@ async function command() {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
1210
|
exports.command = command;
|
|
1211
|
-
//# sourceMappingURL=index-
|
|
1211
|
+
//# sourceMappingURL=index-ee417f1e.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-a9eea02d.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-7d1cbb7a.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-81e1b339.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-1901cd91.cjs.js');
|
|
8
|
+
var index = require('./index-a9eea02d.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-7d1cbb7a.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-9a976123.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-7d1cbb7a.cjs.js');
|
|
9
|
+
var index = require('./index-a9eea02d.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-8c4d590a.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-a9eea02d.cjs.js');
|
|
7
7
|
var parallel = require('./parallel-2d9d247e.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-93528456.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-a9eea02d.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-9b0fc617.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-a9eea02d.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-55e4bc34.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-a9eea02d.cjs.js');
|
|
11
|
+
var codeowners = require('./codeowners-8c170e32.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-7d1cbb7a.cjs.js');
|
|
18
18
|
var partition = require('lodash/partition');
|
|
19
19
|
var cliNode = require('@backstage/cli-node');
|
|
20
20
|
var errors = require('@backstage/errors');
|
|
@@ -777,4 +777,4 @@ var _new = async (opts) => {
|
|
|
777
777
|
};
|
|
778
778
|
|
|
779
779
|
exports["default"] = _new;
|
|
780
|
-
//# sourceMappingURL=new-
|
|
780
|
+
//# sourceMappingURL=new-72fbff46.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-8b9ac9b7.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-a9eea02d.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-96287276.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-a9eea02d.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-0cc55995.cjs.js');
|
|
17
|
-
var run = require('./run-
|
|
17
|
+
var run = require('./run-7d1cbb7a.cjs.js');
|
|
18
18
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
19
19
|
var svgrTemplate = require('./svgrTemplate-3549ea1c.cjs.js');
|
|
20
20
|
var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
@@ -80,13 +80,13 @@ class LinkedPackageResolvePlugin {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
const {
|
|
83
|
+
const { EsbuildPlugin } = require("esbuild-loader");
|
|
84
84
|
const optimization = (options) => {
|
|
85
85
|
const { isDev } = options;
|
|
86
86
|
return {
|
|
87
87
|
minimize: !isDev,
|
|
88
88
|
minimizer: [
|
|
89
|
-
new
|
|
89
|
+
new EsbuildPlugin({
|
|
90
90
|
target: "es2019",
|
|
91
91
|
format: "iife"
|
|
92
92
|
})
|
|
@@ -235,7 +235,8 @@ const transforms = (options) => {
|
|
|
235
235
|
/\.frag$/,
|
|
236
236
|
/\.vert$/,
|
|
237
237
|
{ and: [/\.svg$/, { not: [/\.icon\.svg$/] }] },
|
|
238
|
-
/\.xml
|
|
238
|
+
/\.xml$/,
|
|
239
|
+
/\.ico$/
|
|
239
240
|
],
|
|
240
241
|
type: "asset/resource",
|
|
241
242
|
generator: {
|
|
@@ -740,4 +741,4 @@ exports.hasReactDomClient = hasReactDomClient;
|
|
|
740
741
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
741
742
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
742
743
|
exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
|
|
743
|
-
//# sourceMappingURL=packageDetection-
|
|
744
|
+
//# sourceMappingURL=packageDetection-06517dcc.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var fix = require('./fix-
|
|
3
|
+
var fix = require('./fix-2f078e4c.cjs.js');
|
|
4
4
|
require('@backstage/cli-node');
|
|
5
5
|
require('fs-extra');
|
|
6
6
|
require('path');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-a9eea02d.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-ec2ae448.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-7d1cbb7a.cjs.js');
|
|
7
7
|
require('child_process');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-a9eea02d.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-c78f6393.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-a9eea02d.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-15f6cce1.cjs.js.map
|
|
@@ -2,13 +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-a9eea02d.cjs.js');
|
|
6
6
|
var yarn = require('./yarn-6cd89e16.cjs.js');
|
|
7
|
-
var run = require('./run-
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var minimatch__default = /*#__PURE__*/_interopDefaultLegacy(minimatch);
|
|
7
|
+
var run = require('./run-7d1cbb7a.cjs.js');
|
|
12
8
|
|
|
13
9
|
const DEP_TYPES = [
|
|
14
10
|
"dependencies",
|
|
@@ -63,7 +59,7 @@ async function mapDependencies(targetDir, pattern) {
|
|
|
63
59
|
}
|
|
64
60
|
);
|
|
65
61
|
for (const [name, range] of deps) {
|
|
66
|
-
if (
|
|
62
|
+
if (minimatch.minimatch(name, pattern)) {
|
|
67
63
|
dependencyMap.set(
|
|
68
64
|
name,
|
|
69
65
|
((_a = dependencyMap.get(name)) != null ? _a : []).concat({
|
|
@@ -80,4 +76,4 @@ async function mapDependencies(targetDir, pattern) {
|
|
|
80
76
|
|
|
81
77
|
exports.fetchPackageInfo = fetchPackageInfo;
|
|
82
78
|
exports.mapDependencies = mapDependencies;
|
|
83
|
-
//# sourceMappingURL=packages-
|
|
79
|
+
//# sourceMappingURL=packages-1901cd91.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-81dc6a92.cjs.js');
|
|
6
6
|
require('@backstage/config-loader');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-a9eea02d.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-8bec5b17.cjs.js.map
|