@backstage/cli 0.17.2 → 0.18.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/cjs/{PackageGraph-5fbc300a.cjs.js → PackageGraph-eed8a266.cjs.js} +2 -2
- package/dist/cjs/{build-fe7f2481.cjs.js → build-90333828.cjs.js} +18 -20
- package/dist/cjs/{bundle-a259a726.cjs.js → buildBackend-15dcc9d1.cjs.js} +76 -5
- package/dist/cjs/{buildWorkspace-d529b150.cjs.js → buildWorkspace-09b15e59.cjs.js} +6 -7
- package/dist/cjs/{bump-db363289.cjs.js → bump-19eae695.cjs.js} +5 -5
- package/dist/cjs/{clean-d1225b77.cjs.js → clean-1999125e.cjs.js} +2 -2
- package/dist/cjs/{config-42c55c02.cjs.js → config-1ed90d1b.cjs.js} +3 -3
- package/dist/cjs/{create-1bd499ea.cjs.js → create-75806130.cjs.js} +4 -4
- package/dist/cjs/{packager-d3af52d3.cjs.js → createDistWorkspace-df9a4512.cjs.js} +206 -6
- package/dist/cjs/{createPlugin-5cce9709.cjs.js → createPlugin-ef3ded6f.cjs.js} +4 -4
- package/dist/cjs/{diff-d523fc6a.cjs.js → diff-50c4c806.cjs.js} +2 -2
- package/dist/cjs/{docs-c2b655b0.cjs.js → docs-a206c58a.cjs.js} +4 -4
- package/dist/cjs/{fix-c1b9b42f.cjs.js → fix-c1a9161a.cjs.js} +3 -3
- package/dist/cjs/{index-09611511.cjs.js → index-5eb1b9d1.cjs.js} +48 -59
- package/dist/cjs/{index-644b213c.cjs.js → index-c4f237a6.cjs.js} +2 -2
- package/dist/cjs/{index-075f40af.cjs.js → index-f360881b.cjs.js} +99 -15
- package/dist/cjs/{index-c56ed043.cjs.js → index-fb1178a3.cjs.js} +23 -25
- package/dist/cjs/{info-5c71df31.cjs.js → info-a38fff05.cjs.js} +3 -3
- package/dist/cjs/{install-96bdbee9.cjs.js → install-9b4107af.cjs.js} +4 -4
- package/dist/cjs/{lint-7a7155c3.cjs.js → lint-1940d48c.cjs.js} +3 -3
- package/dist/cjs/{lint-3cb4462f.cjs.js → lint-31ebf6d6.cjs.js} +2 -2
- package/dist/cjs/{lint-08d4074b.cjs.js → lint-3f8ff7a2.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-8b86fe38.cjs.js → list-deprecations-4f164324.cjs.js} +3 -3
- package/dist/cjs/{pack-6e368a25.cjs.js → pack-3c75d41f.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-0e93cb92.cjs.js → packageLintConfigs-1ca98735.cjs.js} +4 -4
- package/dist/cjs/{packageRole-0e711864.cjs.js → packageRole-c532301f.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-898652fe.cjs.js → packageRoles-55976918.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-ce83ab01.cjs.js → packageScripts-c1adcc9a.cjs.js} +4 -4
- package/dist/cjs/{packages-f8fc8f67.cjs.js → packages-afc2547c.cjs.js} +3 -3
- package/dist/cjs/{paths-5887046a.cjs.js → paths-ed6a0ed3.cjs.js} +3 -3
- package/dist/cjs/{print-e1256cd6.cjs.js → print-79b2229c.cjs.js} +4 -4
- package/dist/cjs/{run-a95417b1.cjs.js → run-93365c94.cjs.js} +2 -2
- package/dist/cjs/{schema-a3cb178a.cjs.js → schema-986415f5.cjs.js} +4 -4
- package/dist/cjs/{tasks-c7f94acd.cjs.js → tasks-45f84735.cjs.js} +2 -2
- package/dist/cjs/{test-57591c32.cjs.js → test-efcb2e7f.cjs.js} +6 -3
- package/dist/cjs/{validate-4584a262.cjs.js → validate-79d8747b.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +12 -12
- package/dist/cjs/backend-5ab87f98.cjs.js +0 -35
- package/dist/cjs/build-006b91a8.cjs.js +0 -38
- package/dist/cjs/build-44e9420f.cjs.js +0 -58
- package/dist/cjs/build-a4e0c3bd.cjs.js +0 -38
- package/dist/cjs/buildBackend-f01c2008.cjs.js +0 -86
- package/dist/cjs/bundle-8afd3354.cjs.js +0 -75
- package/dist/cjs/createDistWorkspace-ce6d5dae.cjs.js +0 -215
- package/dist/cjs/dev-dca0546c.cjs.js +0 -44
- package/dist/cjs/oldBuild-4c311534.cjs.js +0 -51
- package/dist/cjs/serve-177a3cbb.cjs.js +0 -97
- package/dist/cjs/serve-7a55a330.cjs.js +0 -56
- package/dist/cjs/server-2c371947.cjs.js +0 -76
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var configLoader = require('@backstage/config-loader');
|
|
4
4
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
5
|
-
var config = require('./config-
|
|
5
|
+
var config = require('./config-1ed90d1b.cjs.js');
|
|
6
6
|
require('@backstage/config');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-5eb1b9d1.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -12,7 +12,7 @@ require('semver');
|
|
|
12
12
|
require('@backstage/cli-common');
|
|
13
13
|
require('@backstage/errors');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
|
-
require('./PackageGraph-
|
|
15
|
+
require('./PackageGraph-eed8a266.cjs.js');
|
|
16
16
|
require('path');
|
|
17
17
|
require('child_process');
|
|
18
18
|
require('util');
|
|
@@ -33,4 +33,4 @@ var docs = async (opts) => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
exports["default"] = docs;
|
|
36
|
-
//# sourceMappingURL=docs-
|
|
36
|
+
//# sourceMappingURL=docs-a206c58a.cjs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-5eb1b9d1.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var fs = require('fs-extra');
|
|
7
7
|
var cliCommon = require('@backstage/cli-common');
|
|
8
|
-
var PackageGraph = require('./PackageGraph-
|
|
8
|
+
var PackageGraph = require('./PackageGraph-eed8a266.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -113,4 +113,4 @@ async function command() {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
exports.command = command;
|
|
116
|
-
//# sourceMappingURL=fix-
|
|
116
|
+
//# sourceMappingURL=fix-c1a9161a.cjs.js.map
|
|
@@ -44,14 +44,14 @@ class NotFoundError extends CustomError {
|
|
|
44
44
|
|
|
45
45
|
const paths = cliCommon.findPaths(__dirname);
|
|
46
46
|
|
|
47
|
-
var version$a = "0.14.
|
|
47
|
+
var version$a = "0.14.1-next.2";
|
|
48
48
|
|
|
49
|
-
var version$9 = "0.
|
|
49
|
+
var version$9 = "0.18.0-next.2";
|
|
50
50
|
var dependencies = {
|
|
51
51
|
"@backstage/cli-common": "^0.1.9",
|
|
52
52
|
"@backstage/config": "^1.0.1",
|
|
53
|
-
"@backstage/config-loader": "^1.1.
|
|
54
|
-
"@backstage/errors": "^1.0.0",
|
|
53
|
+
"@backstage/config-loader": "^1.1.3-next.0",
|
|
54
|
+
"@backstage/errors": "^1.1.0-next.0",
|
|
55
55
|
"@backstage/release-manifests": "^0.0.4",
|
|
56
56
|
"@backstage/types": "^1.0.0",
|
|
57
57
|
"@hot-loader/react-dom-v16": "npm:@hot-loader/react-dom@^16.0.2",
|
|
@@ -60,7 +60,7 @@ var dependencies = {
|
|
|
60
60
|
"@octokit/request": "^5.4.12",
|
|
61
61
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
62
62
|
"@rollup/plugin-json": "^4.1.0",
|
|
63
|
-
"@rollup/plugin-node-resolve": "^13.0.
|
|
63
|
+
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
64
64
|
"@rollup/plugin-yaml": "^3.1.0",
|
|
65
65
|
"@spotify/eslint-config-base": "^13.0.0",
|
|
66
66
|
"@spotify/eslint-config-react": "^13.0.0",
|
|
@@ -127,7 +127,7 @@ var dependencies = {
|
|
|
127
127
|
"rollup-plugin-esbuild": "^4.7.2",
|
|
128
128
|
"rollup-plugin-postcss": "^4.0.0",
|
|
129
129
|
"rollup-pluginutils": "^2.8.2",
|
|
130
|
-
"run-script-webpack-plugin": "^0.0
|
|
130
|
+
"run-script-webpack-plugin": "^0.1.0",
|
|
131
131
|
semver: "^7.3.2",
|
|
132
132
|
"style-loader": "^3.3.1",
|
|
133
133
|
sucrase: "^3.20.2",
|
|
@@ -143,14 +143,14 @@ var dependencies = {
|
|
|
143
143
|
zod: "^3.11.6"
|
|
144
144
|
};
|
|
145
145
|
var devDependencies = {
|
|
146
|
-
"@backstage/backend-common": "^0.14.
|
|
146
|
+
"@backstage/backend-common": "^0.14.1-next.2",
|
|
147
147
|
"@backstage/config": "^1.0.1",
|
|
148
|
-
"@backstage/core-app-api": "^1.0.
|
|
149
|
-
"@backstage/core-components": "^0.
|
|
148
|
+
"@backstage/core-app-api": "^1.0.4-next.0",
|
|
149
|
+
"@backstage/core-components": "^0.10.0-next.2",
|
|
150
150
|
"@backstage/core-plugin-api": "^1.0.3",
|
|
151
|
-
"@backstage/dev-utils": "^1.0.
|
|
152
|
-
"@backstage/test-utils": "^1.1.1",
|
|
153
|
-
"@backstage/theme": "^0.2.
|
|
151
|
+
"@backstage/dev-utils": "^1.0.4-next.2",
|
|
152
|
+
"@backstage/test-utils": "^1.1.2-next.1",
|
|
153
|
+
"@backstage/theme": "^0.2.16-next.1",
|
|
154
154
|
"@types/diff": "^5.0.0",
|
|
155
155
|
"@types/express": "^4.17.6",
|
|
156
156
|
"@types/fs-extra": "^9.0.1",
|
|
@@ -176,19 +176,19 @@ var devDependencies = {
|
|
|
176
176
|
|
|
177
177
|
var version$8 = "1.0.1";
|
|
178
178
|
|
|
179
|
-
var version$7 = "1.0.
|
|
179
|
+
var version$7 = "1.0.4-next.0";
|
|
180
180
|
|
|
181
|
-
var version$6 = "0.
|
|
181
|
+
var version$6 = "0.10.0-next.2";
|
|
182
182
|
|
|
183
183
|
var version$5 = "1.0.3";
|
|
184
184
|
|
|
185
|
-
var version$4 = "1.0.
|
|
185
|
+
var version$4 = "1.0.4-next.2";
|
|
186
186
|
|
|
187
|
-
var version$3 = "1.1.1";
|
|
187
|
+
var version$3 = "1.1.2-next.1";
|
|
188
188
|
|
|
189
|
-
var version$2 = "0.2.
|
|
189
|
+
var version$2 = "0.2.16-next.1";
|
|
190
190
|
|
|
191
|
-
var version$1 = "1.
|
|
191
|
+
var version$1 = "1.4.0-next.2";
|
|
192
192
|
|
|
193
193
|
const packageVersions = {
|
|
194
194
|
"@backstage/backend-common": version$a,
|
|
@@ -243,57 +243,46 @@ const configOption = [
|
|
|
243
243
|
];
|
|
244
244
|
function registerRepoCommand(program) {
|
|
245
245
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
246
|
-
command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
247
|
-
command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
248
|
-
command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
246
|
+
command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-90333828.cjs.js'); }).then((m) => m.command)));
|
|
247
|
+
command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-1940d48c.cjs.js'); }).then((m) => m.command)));
|
|
248
|
+
command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-4f164324.cjs.js'); }).then((m) => m.command)));
|
|
249
249
|
}
|
|
250
250
|
function registerScriptCommand(program) {
|
|
251
251
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
252
|
-
command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role").option("--check", "Enable type checking and linting if available").option("--inspect", "Enable debugger in Node.js environments").option("--inspect-brk", "Enable debugger in Node.js environments, breaking before code starts").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
253
|
-
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => opts ? [...opts, opt] : [opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
254
|
-
command.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
255
|
-
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-
|
|
256
|
-
command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
257
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
258
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
259
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
252
|
+
command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role").option("--check", "Enable type checking and linting if available").option("--inspect", "Enable debugger in Node.js environments").option("--inspect-brk", "Enable debugger in Node.js environments, breaking before code starts").action(lazy(() => Promise.resolve().then(function () { return require('./index-f360881b.cjs.js'); }).then((m) => m.command)));
|
|
253
|
+
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => opts ? [...opts, opt] : [opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-fb1178a3.cjs.js'); }).then((m) => m.command)));
|
|
254
|
+
command.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-31ebf6d6.cjs.js'); }).then((m) => m.default)));
|
|
255
|
+
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-efcb2e7f.cjs.js'); }).then((m) => m.default)));
|
|
256
|
+
command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-c1a9161a.cjs.js'); }).then((m) => m.command)));
|
|
257
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1999125e.cjs.js'); }).then((m) => m.default)));
|
|
258
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-3c75d41f.cjs.js'); }).then((m) => m.pre)));
|
|
259
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-3c75d41f.cjs.js'); }).then((m) => m.post)));
|
|
260
260
|
}
|
|
261
261
|
function registerMigrateCommand(program) {
|
|
262
262
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
263
|
-
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-
|
|
264
|
-
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
265
|
-
command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
263
|
+
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-c532301f.cjs.js'); }).then((m) => m.default)));
|
|
264
|
+
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c1adcc9a.cjs.js'); }).then((m) => m.command)));
|
|
265
|
+
command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-1ca98735.cjs.js'); }).then((m) => m.command)));
|
|
266
266
|
}
|
|
267
267
|
function registerCommands(program) {
|
|
268
|
-
program.command("
|
|
269
|
-
program.command("
|
|
270
|
-
program.command("
|
|
271
|
-
program.command("
|
|
272
|
-
program.command("
|
|
273
|
-
program.command("
|
|
274
|
-
program.command("
|
|
275
|
-
program.command("
|
|
276
|
-
program.command("plugin:serve").description("Serves the dev/ folder of a plugin [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-7a55a330.cjs.js'); }).then((m) => m.default)));
|
|
277
|
-
program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-d523fc6a.cjs.js'); }).then((m) => m.default)));
|
|
278
|
-
program.command("build").description("Build a package for publishing [DEPRECATED]").option("--outputs <formats>", "List of formats to output [types,cjs,esm]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./oldBuild-4c311534.cjs.js'); }).then((m) => m.default)));
|
|
279
|
-
program.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./lint-3cb4462f.cjs.js'); }).then((m) => m.default)));
|
|
280
|
-
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./test-57591c32.cjs.js'); }).then((m) => m.default)));
|
|
281
|
-
program.command("config:docs").option("--package <name>", "Only include the schema that applies to the given package").description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-c2b655b0.cjs.js'); }).then((m) => m.default)));
|
|
282
|
-
program.command("config:print").option("--package <name>", "Only load config schema that applies to the given package").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("--format <format>", "Format to print the configuration in, either json or yaml [yaml]").option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-e1256cd6.cjs.js'); }).then((m) => m.default)));
|
|
283
|
-
program.command("config:check").option("--package <name>", "Only load config schema that applies to the given package").option("--lax", "Do not require environment variables to be set").option("--frontend", "Only validate the frontend configuration").option("--deprecated", "Output deprecated configuration settings").option(...configOption).description("Validate that the given configuration loads and matches schema").action(lazy(() => Promise.resolve().then(function () { return require('./validate-4584a262.cjs.js'); }).then((m) => m.default)));
|
|
284
|
-
program.command("config:schema").option("--package <name>", "Only output config schema that applies to the given package").option("--format <format>", "Format to print the schema in, either json or yaml [yaml]").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-a3cb178a.cjs.js'); }).then((m) => m.default)));
|
|
268
|
+
program.command("create").storeOptionsAsProperties(false).description("Open up an interactive guide to creating new things in your app").option("--select <name>", "Select the thing you want to be creating upfront").option("--option <name>=<value>", "Pre-fill options for the creation process", (opt, arr) => [...arr, opt], []).option("--scope <scope>", "The scope to use for new packages").option("--npm-registry <URL>", "The package registry to use for new packages").option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./create-75806130.cjs.js'); }).then((m) => m.default)));
|
|
269
|
+
program.command("create-plugin").option("--backend", "Create plugin with the backend dependencies as default").description("Creates a new plugin in the current repository").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(lazy(() => Promise.resolve().then(function () { return require('./createPlugin-ef3ded6f.cjs.js'); }).then((m) => m.default)));
|
|
270
|
+
program.command("plugin:diff").option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description("Diff an existing plugin with the creation template").action(lazy(() => Promise.resolve().then(function () { return require('./diff-50c4c806.cjs.js'); }).then((m) => m.default)));
|
|
271
|
+
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./test-efcb2e7f.cjs.js'); }).then((m) => m.default)));
|
|
272
|
+
program.command("config:docs").option("--package <name>", "Only include the schema that applies to the given package").description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-a206c58a.cjs.js'); }).then((m) => m.default)));
|
|
273
|
+
program.command("config:print").option("--package <name>", "Only load config schema that applies to the given package").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("--format <format>", "Format to print the configuration in, either json or yaml [yaml]").option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-79b2229c.cjs.js'); }).then((m) => m.default)));
|
|
274
|
+
program.command("config:check").option("--package <name>", "Only load config schema that applies to the given package").option("--lax", "Do not require environment variables to be set").option("--frontend", "Only validate the frontend configuration").option("--deprecated", "Output deprecated configuration settings").option(...configOption).description("Validate that the given configuration loads and matches schema").action(lazy(() => Promise.resolve().then(function () { return require('./validate-79d8747b.cjs.js'); }).then((m) => m.default)));
|
|
275
|
+
program.command("config:schema").option("--package <name>", "Only output config schema that applies to the given package").option("--format <format>", "Format to print the schema in, either json or yaml [yaml]").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-986415f5.cjs.js'); }).then((m) => m.default)));
|
|
285
276
|
registerRepoCommand(program);
|
|
286
277
|
registerScriptCommand(program);
|
|
287
278
|
registerMigrateCommand(program);
|
|
288
|
-
program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
289
|
-
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-
|
|
290
|
-
program.command("
|
|
291
|
-
program.command("
|
|
292
|
-
program.command("
|
|
293
|
-
program.command("
|
|
294
|
-
program.command("
|
|
295
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-5c71df31.cjs.js'); }).then((m) => m.default)));
|
|
296
|
-
program.command("install [plugin-id]", { hidden: true }).option("--from <packageJsonFilePath>", "Install from a local package.json containing the installation recipe").description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-96bdbee9.cjs.js'); }).then((m) => m.default)));
|
|
279
|
+
program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-19eae695.cjs.js'); }).then((m) => m.default)));
|
|
280
|
+
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-3f8ff7a2.cjs.js'); }).then((m) => m.default)));
|
|
281
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1999125e.cjs.js'); }).then((m) => m.default)));
|
|
282
|
+
program.command("build-workspace <workspace-dir> [packages...]").description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-09b15e59.cjs.js'); }).then((m) => m.default)));
|
|
283
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-c4f237a6.cjs.js'); }).then((m) => m.default)));
|
|
284
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-a38fff05.cjs.js'); }).then((m) => m.default)));
|
|
285
|
+
program.command("install [plugin-id]", { hidden: true }).option("--from <packageJsonFilePath>", "Install from a local package.json containing the installation recipe").description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-9b4107af.cjs.js'); }).then((m) => m.default)));
|
|
297
286
|
}
|
|
298
287
|
function lazy(getActionFunc) {
|
|
299
288
|
return async (...args) => {
|
|
@@ -337,4 +326,4 @@ exports.devDependencies = devDependencies;
|
|
|
337
326
|
exports.paths = paths;
|
|
338
327
|
exports.version = version;
|
|
339
328
|
exports.version$1 = version$9;
|
|
340
|
-
//# sourceMappingURL=index-
|
|
329
|
+
//# sourceMappingURL=index-5eb1b9d1.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-5eb1b9d1.cjs.js');
|
|
8
8
|
var crypto = require('crypto');
|
|
9
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
10
10
|
var request = require('@octokit/request');
|
|
@@ -195,4 +195,4 @@ async function verifyGithubOrg(org) {
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
exports["default"] = index;
|
|
198
|
-
//# sourceMappingURL=index-
|
|
198
|
+
//# sourceMappingURL=index-c4f237a6.cjs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var
|
|
4
|
+
var index = require('./index-5eb1b9d1.cjs.js');
|
|
5
|
+
var webpack = require('webpack');
|
|
6
|
+
var paths = require('./paths-ed6a0ed3.cjs.js');
|
|
6
7
|
require('yn');
|
|
7
8
|
require('path');
|
|
8
|
-
require('webpack');
|
|
9
9
|
require('react-dev-utils/FileSizeReporter');
|
|
10
10
|
require('react-dev-utils/formatWebpackMessages');
|
|
11
11
|
require('fork-ts-checker-webpack-plugin');
|
|
@@ -15,21 +15,19 @@ require('run-script-webpack-plugin');
|
|
|
15
15
|
require('webpack-node-externals');
|
|
16
16
|
require('@backstage/cli-common');
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
|
-
require('./paths-5887046a.cjs.js');
|
|
19
18
|
require('mini-css-extract-plugin');
|
|
20
|
-
require('./run-
|
|
19
|
+
require('./run-93365c94.cjs.js');
|
|
21
20
|
require('eslint-webpack-plugin');
|
|
22
21
|
require('lodash/pickBy');
|
|
23
22
|
var chalk = require('chalk');
|
|
24
|
-
require('webpack-dev-server');
|
|
25
|
-
require('react-dev-utils/openBrowser');
|
|
23
|
+
var WebpackDevServer = require('webpack-dev-server');
|
|
24
|
+
var openBrowser = require('react-dev-utils/openBrowser');
|
|
26
25
|
var uniq = require('lodash/uniq');
|
|
27
|
-
var
|
|
28
|
-
var config = require('./config-42c55c02.cjs.js');
|
|
26
|
+
var config = require('./config-1ed90d1b.cjs.js');
|
|
29
27
|
var Lockfile = require('./Lockfile-48dc675e.cjs.js');
|
|
30
28
|
require('minimatch');
|
|
31
|
-
var lint = require('./lint-
|
|
32
|
-
var packageRoles = require('./packageRoles-
|
|
29
|
+
var lint = require('./lint-3f8ff7a2.cjs.js');
|
|
30
|
+
var packageRoles = require('./packageRoles-55976918.cjs.js');
|
|
33
31
|
require('commander');
|
|
34
32
|
require('semver');
|
|
35
33
|
require('@backstage/errors');
|
|
@@ -38,7 +36,7 @@ require('child_process');
|
|
|
38
36
|
require('util');
|
|
39
37
|
require('@backstage/config-loader');
|
|
40
38
|
require('@backstage/config');
|
|
41
|
-
require('./PackageGraph-
|
|
39
|
+
require('./PackageGraph-eed8a266.cjs.js');
|
|
42
40
|
require('@yarnpkg/parsers');
|
|
43
41
|
require('@yarnpkg/lockfile');
|
|
44
42
|
require('lodash/partition');
|
|
@@ -47,12 +45,98 @@ require('zod');
|
|
|
47
45
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
48
46
|
|
|
49
47
|
var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
|
|
48
|
+
var webpack__default = /*#__PURE__*/_interopDefaultLegacy(webpack);
|
|
50
49
|
var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
|
|
50
|
+
var WebpackDevServer__default = /*#__PURE__*/_interopDefaultLegacy(WebpackDevServer);
|
|
51
|
+
var openBrowser__default = /*#__PURE__*/_interopDefaultLegacy(openBrowser);
|
|
51
52
|
var uniq__default = /*#__PURE__*/_interopDefaultLegacy(uniq);
|
|
52
53
|
|
|
54
|
+
async function serveBackend(options) {
|
|
55
|
+
const paths$1 = paths.resolveBundlingPaths(options);
|
|
56
|
+
const config = await paths.createBackendConfig(paths$1, {
|
|
57
|
+
...options,
|
|
58
|
+
isDev: true
|
|
59
|
+
});
|
|
60
|
+
const compiler = webpack__default["default"](config, (err) => {
|
|
61
|
+
if (err) {
|
|
62
|
+
console.error(err);
|
|
63
|
+
} else
|
|
64
|
+
console.log("Build succeeded");
|
|
65
|
+
});
|
|
66
|
+
const waitForExit = async () => {
|
|
67
|
+
for (const signal of ["SIGINT", "SIGTERM"]) {
|
|
68
|
+
process.on(signal, () => {
|
|
69
|
+
compiler.close(() => process.exit());
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return new Promise(() => {
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
return waitForExit;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
async function serveBundle(options) {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
const url = paths.resolveBaseUrl(options.frontendConfig);
|
|
81
|
+
const host = options.frontendConfig.getOptionalString("app.listen.host") || url.hostname;
|
|
82
|
+
const port = options.frontendConfig.getOptionalNumber("app.listen.port") || Number(url.port) || (url.protocol === "https:" ? 443 : 80);
|
|
83
|
+
const paths$1 = paths.resolveBundlingPaths(options);
|
|
84
|
+
const pkgPath = paths$1.targetPackageJson;
|
|
85
|
+
const pkg = await fs__default["default"].readJson(pkgPath);
|
|
86
|
+
const config = await paths.createConfig(paths$1, {
|
|
87
|
+
...options,
|
|
88
|
+
isDev: true,
|
|
89
|
+
baseUrl: url
|
|
90
|
+
});
|
|
91
|
+
const compiler = webpack__default["default"](config);
|
|
92
|
+
const server = new WebpackDevServer__default["default"]({
|
|
93
|
+
hot: !process.env.CI,
|
|
94
|
+
devMiddleware: {
|
|
95
|
+
publicPath: (_a = config.output) == null ? void 0 : _a.publicPath,
|
|
96
|
+
stats: "errors-warnings"
|
|
97
|
+
},
|
|
98
|
+
static: paths$1.targetPublic ? {
|
|
99
|
+
publicPath: (_b = config.output) == null ? void 0 : _b.publicPath,
|
|
100
|
+
directory: paths$1.targetPublic
|
|
101
|
+
} : void 0,
|
|
102
|
+
historyApiFallback: {
|
|
103
|
+
disableDotRule: true
|
|
104
|
+
},
|
|
105
|
+
https: url.protocol === "https:",
|
|
106
|
+
host,
|
|
107
|
+
port,
|
|
108
|
+
proxy: pkg.proxy,
|
|
109
|
+
allowedHosts: [url.hostname],
|
|
110
|
+
client: {
|
|
111
|
+
webSocketURL: "auto://0.0.0.0:0/ws"
|
|
112
|
+
}
|
|
113
|
+
}, compiler);
|
|
114
|
+
await new Promise((resolve, reject) => {
|
|
115
|
+
server.startCallback((err) => {
|
|
116
|
+
if (err) {
|
|
117
|
+
reject(err);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
openBrowser__default["default"](url.href);
|
|
121
|
+
resolve();
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
const waitForExit = async () => {
|
|
125
|
+
for (const signal of ["SIGINT", "SIGTERM"]) {
|
|
126
|
+
process.on(signal, () => {
|
|
127
|
+
server.close();
|
|
128
|
+
process.exit();
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
return new Promise(() => {
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
return waitForExit;
|
|
135
|
+
}
|
|
136
|
+
|
|
53
137
|
async function startBackend(options) {
|
|
54
138
|
await fs__default["default"].remove(index.paths.resolveTarget("dist"));
|
|
55
|
-
const waitForExit = await
|
|
139
|
+
const waitForExit = await serveBackend({
|
|
56
140
|
entry: "src/index",
|
|
57
141
|
checksEnabled: options.checksEnabled,
|
|
58
142
|
inspectEnabled: options.inspectEnabled,
|
|
@@ -98,7 +182,7 @@ async function startFrontend(options) {
|
|
|
98
182
|
This can be resolved by changing app.baseUrl and backend.baseUrl to point to their respective local development ports.
|
|
99
183
|
`));
|
|
100
184
|
}
|
|
101
|
-
const waitForExit = await
|
|
185
|
+
const waitForExit = await serveBundle({
|
|
102
186
|
entry: options.entry,
|
|
103
187
|
checksEnabled: options.checksEnabled,
|
|
104
188
|
...config$1
|
|
@@ -136,4 +220,4 @@ async function command(opts) {
|
|
|
136
220
|
}
|
|
137
221
|
|
|
138
222
|
exports.command = command;
|
|
139
|
-
//# sourceMappingURL=index-
|
|
223
|
+
//# sourceMappingURL=index-f360881b.cjs.js.map
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var buildBackend = require('./buildBackend-
|
|
7
|
-
require('fs-extra');
|
|
8
|
-
require('rollup');
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-df9a4512.cjs.js');
|
|
4
|
+
var packageRoles = require('./packageRoles-55976918.cjs.js');
|
|
5
|
+
var index = require('./index-5eb1b9d1.cjs.js');
|
|
6
|
+
var buildBackend = require('./buildBackend-15dcc9d1.cjs.js');
|
|
9
7
|
require('chalk');
|
|
8
|
+
require('fs-extra');
|
|
10
9
|
require('path');
|
|
10
|
+
require('os');
|
|
11
|
+
require('tar');
|
|
12
|
+
require('lodash/partition');
|
|
13
|
+
require('./run-93365c94.cjs.js');
|
|
14
|
+
require('child_process');
|
|
15
|
+
require('util');
|
|
16
|
+
require('@backstage/errors');
|
|
17
|
+
require('./PackageGraph-eed8a266.cjs.js');
|
|
18
|
+
require('@manypkg/get-packages');
|
|
19
|
+
require('rollup');
|
|
11
20
|
require('@rollup/plugin-commonjs');
|
|
12
21
|
require('@rollup/plugin-node-resolve');
|
|
13
22
|
require('rollup-plugin-postcss');
|
|
@@ -19,41 +28,30 @@ require('@rollup/plugin-yaml');
|
|
|
19
28
|
require('rollup-pluginutils');
|
|
20
29
|
require('./svgrTemplate-550efce6.cjs.js');
|
|
21
30
|
require('./parallel-8286d3fa.cjs.js');
|
|
22
|
-
require('os');
|
|
23
31
|
require('worker_threads');
|
|
32
|
+
require('npm-packlist');
|
|
24
33
|
require('zod');
|
|
25
34
|
require('commander');
|
|
26
35
|
require('semver');
|
|
27
36
|
require('@backstage/cli-common');
|
|
28
|
-
require('@backstage/errors');
|
|
29
37
|
require('webpack');
|
|
30
38
|
require('fork-ts-checker-webpack-plugin');
|
|
31
39
|
require('html-webpack-plugin');
|
|
32
40
|
require('react-dev-utils/ModuleScopePlugin');
|
|
33
41
|
require('run-script-webpack-plugin');
|
|
34
42
|
require('webpack-node-externals');
|
|
35
|
-
require('
|
|
36
|
-
require('./paths-5887046a.cjs.js');
|
|
43
|
+
require('./paths-ed6a0ed3.cjs.js');
|
|
37
44
|
require('mini-css-extract-plugin');
|
|
38
|
-
require('./run-a95417b1.cjs.js');
|
|
39
|
-
require('child_process');
|
|
40
|
-
require('util');
|
|
41
45
|
require('eslint-webpack-plugin');
|
|
42
46
|
require('lodash/pickBy');
|
|
43
|
-
require('./bundle-a259a726.cjs.js');
|
|
44
47
|
require('yn');
|
|
45
48
|
require('react-dev-utils/FileSizeReporter');
|
|
46
49
|
require('react-dev-utils/formatWebpackMessages');
|
|
47
50
|
require('webpack-dev-server');
|
|
48
51
|
require('react-dev-utils/openBrowser');
|
|
49
|
-
require('./config-
|
|
52
|
+
require('./config-1ed90d1b.cjs.js');
|
|
50
53
|
require('@backstage/config-loader');
|
|
51
54
|
require('@backstage/config');
|
|
52
|
-
require('./PackageGraph-5fbc300a.cjs.js');
|
|
53
|
-
require('tar');
|
|
54
|
-
require('./createDistWorkspace-ce6d5dae.cjs.js');
|
|
55
|
-
require('lodash/partition');
|
|
56
|
-
require('npm-packlist');
|
|
57
55
|
|
|
58
56
|
async function command(opts) {
|
|
59
57
|
const role = await packageRoles.findRoleFromCommand(opts);
|
|
@@ -73,15 +71,15 @@ async function command(opts) {
|
|
|
73
71
|
const roleInfo = packageRoles.getRoleInfo(role);
|
|
74
72
|
const outputs = /* @__PURE__ */ new Set();
|
|
75
73
|
if (roleInfo.output.includes("cjs")) {
|
|
76
|
-
outputs.add(
|
|
74
|
+
outputs.add(createDistWorkspace.Output.cjs);
|
|
77
75
|
}
|
|
78
76
|
if (roleInfo.output.includes("esm")) {
|
|
79
|
-
outputs.add(
|
|
77
|
+
outputs.add(createDistWorkspace.Output.esm);
|
|
80
78
|
}
|
|
81
79
|
if (roleInfo.output.includes("types")) {
|
|
82
|
-
outputs.add(
|
|
80
|
+
outputs.add(createDistWorkspace.Output.types);
|
|
83
81
|
}
|
|
84
|
-
return
|
|
82
|
+
return createDistWorkspace.buildPackage({
|
|
85
83
|
outputs,
|
|
86
84
|
minify: Boolean(opts.minify),
|
|
87
85
|
useApiExtractor: Boolean(opts.experimentalTypeBuild)
|
|
@@ -89,4 +87,4 @@ async function command(opts) {
|
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
exports.command = command;
|
|
92
|
-
//# sourceMappingURL=index-
|
|
90
|
+
//# sourceMappingURL=index-fb1178a3.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-5eb1b9d1.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-93365c94.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-48dc675e.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -43,4 +43,4 @@ var info = async () => {
|
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
exports["default"] = info;
|
|
46
|
-
//# sourceMappingURL=info-
|
|
46
|
+
//# sourceMappingURL=info-a38fff05.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-afc2547c.cjs.js');
|
|
8
|
+
var index = require('./index-5eb1b9d1.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-93365c94.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
15
|
require('commander');
|
|
@@ -240,4 +240,4 @@ var install = async (pluginId, cmd) => {
|
|
|
240
240
|
};
|
|
241
241
|
|
|
242
242
|
exports["default"] = install;
|
|
243
|
-
//# sourceMappingURL=install-
|
|
243
|
+
//# sourceMappingURL=install-9b4107af.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-eed8a266.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-5eb1b9d1.cjs.js');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
9
9
|
require('@backstage/errors');
|
|
10
10
|
require('child_process');
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-1940d48c.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-5eb1b9d1.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
@@ -31,4 +31,4 @@ var lint = async (directories, opts) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
exports["default"] = lint;
|
|
34
|
-
//# sourceMappingURL=lint-
|
|
34
|
+
//# sourceMappingURL=lint-31ebf6d6.cjs.js.map
|