@backstage/cli 0.22.9 → 0.22.10-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 +34 -0
- package/dist/cjs/{build-590646be.cjs.js → build-a124ee33.cjs.js} +12 -7
- package/dist/cjs/{buildBackend-0fda89a5.cjs.js → buildBackend-31895919.cjs.js} +16 -7
- package/dist/cjs/{buildWorkspace-51e8b970.cjs.js → buildWorkspace-ba1a8818.cjs.js} +4 -4
- package/dist/cjs/{bump-362ace97.cjs.js → bump-2cfbe94d.cjs.js} +5 -5
- package/dist/cjs/{clean-89f13eb2.cjs.js → clean-5ea33117.cjs.js} +2 -2
- package/dist/cjs/{clean-f1a9313b.cjs.js → clean-8a657b0b.cjs.js} +2 -2
- package/dist/cjs/{codeowners-af2b19ab.cjs.js → codeowners-2e4c8448.cjs.js} +2 -2
- package/dist/cjs/{config-047ca467.cjs.js → config-4282eaf4.cjs.js} +15 -3
- package/dist/cjs/{createDistWorkspace-2795a508.cjs.js → createDistWorkspace-bdb4d4fd.cjs.js} +3 -3
- package/dist/cjs/{createPlugin-5982428b.cjs.js → createPlugin-0f5a8741.cjs.js} +4 -4
- package/dist/cjs/{diff-81c1af20.cjs.js → diff-b4b164cc.cjs.js} +2 -2
- package/dist/cjs/{docs-2d638390.cjs.js → docs-85bb5384.cjs.js} +3 -3
- package/dist/cjs/{fix-6f38bad0.cjs.js → fix-95f0d053.cjs.js} +2 -2
- package/dist/cjs/{index-c5426670.cjs.js → index-209fadb5.cjs.js} +2 -2
- package/dist/cjs/{index-2071d6b7.cjs.js → index-4b041970.cjs.js} +3 -3
- package/dist/cjs/{index-780140f9.cjs.js → index-a40e1cbe.cjs.js} +122 -107
- package/dist/cjs/{index-f4083826.cjs.js → index-b948b04a.cjs.js} +13 -8
- package/dist/cjs/{index-0c4615aa.cjs.js → index-f560f640.cjs.js} +40 -40
- package/dist/cjs/{info-75481607.cjs.js → info-8ebae379.cjs.js} +3 -3
- package/dist/cjs/{install-c6b5bb97.cjs.js → install-ed67a6c6.cjs.js} +4 -4
- package/dist/cjs/{lint-4ffa0aee.cjs.js → lint-281c1a33.cjs.js} +2 -2
- package/dist/cjs/{lint-09ae0a1e.cjs.js → lint-5b40e908.cjs.js} +2 -2
- package/dist/cjs/{lint-76af12c0.cjs.js → lint-fae43555.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-a33640da.cjs.js → list-deprecations-2d3c4cb3.cjs.js} +2 -2
- package/dist/cjs/{new-07fc19c4.cjs.js → new-3e17c6e0.cjs.js} +4 -4
- package/dist/cjs/{pack-582d9135.cjs.js → pack-e8acdff0.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-6f3d0cb2.cjs.js → packageLintConfigs-3d8ccc2c.cjs.js} +3 -3
- package/dist/cjs/{packageRole-7d012e37.cjs.js → packageRole-f4e6c55e.cjs.js} +2 -2
- package/dist/cjs/{packages-7676a13c.cjs.js → packages-a1ffcc61.cjs.js} +3 -3
- package/dist/cjs/{paths-207f93b0.cjs.js → paths-55e263f4.cjs.js} +8 -9
- package/dist/cjs/{print-437a8e96.cjs.js → print-1e353f88.cjs.js} +3 -3
- package/dist/cjs/{role-3a0fc4db.cjs.js → role-5ac1abf6.cjs.js} +2 -2
- package/dist/cjs/{run-39b684b0.cjs.js → run-f2587deb.cjs.js} +2 -2
- package/dist/cjs/schema-f080c00c.cjs.js +45 -0
- package/dist/cjs/{test-624f826e.cjs.js → test-e40ff0f1.cjs.js} +3 -3
- package/dist/cjs/{test-b3244489.cjs.js → test-ebd96719.cjs.js} +3 -3
- package/dist/cjs/{validate-e618d3d9.cjs.js → validate-e9c86c63.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +8 -8
- package/dist/cjs/schema-bc76cc36.cjs.js +0 -40
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-f560f640.cjs.js');
|
|
5
5
|
var webpack = require('webpack');
|
|
6
|
-
var paths = require('./paths-
|
|
6
|
+
var paths = require('./paths-55e263f4.cjs.js');
|
|
7
7
|
require('yn');
|
|
8
8
|
var path = require('path');
|
|
9
9
|
require('react-dev-utils/FileSizeReporter');
|
|
@@ -17,36 +17,36 @@ require('@backstage/cli-common');
|
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
18
|
require('mini-css-extract-plugin');
|
|
19
19
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-f2587deb.cjs.js');
|
|
21
21
|
require('eslint-webpack-plugin');
|
|
22
22
|
require('lodash/pickBy');
|
|
23
23
|
var chalk = require('chalk');
|
|
24
24
|
var WebpackDevServer = require('webpack-dev-server');
|
|
25
25
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
26
|
+
var uniq = require('lodash/uniq');
|
|
27
|
+
require('@backstage/config-loader');
|
|
28
|
+
require('@backstage/config');
|
|
29
|
+
var cliNode = require('@backstage/cli-node');
|
|
30
|
+
require('semver');
|
|
31
|
+
require('@yarnpkg/parsers');
|
|
32
|
+
require('@yarnpkg/lockfile');
|
|
33
|
+
require('minimatch');
|
|
34
|
+
require('./yarn-6cd89e16.cjs.js');
|
|
35
|
+
require('lodash/partition');
|
|
26
36
|
var url = require('url');
|
|
27
37
|
var chokidar = require('chokidar');
|
|
28
38
|
var errors = require('@backstage/errors');
|
|
29
39
|
var debounce = require('lodash/debounce');
|
|
30
40
|
var spawn = require('cross-spawn');
|
|
31
|
-
var
|
|
32
|
-
var config = require('./config-047ca467.cjs.js');
|
|
33
|
-
var cliNode = require('@backstage/cli-node');
|
|
41
|
+
var config = require('./config-4282eaf4.cjs.js');
|
|
34
42
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
35
|
-
require('
|
|
36
|
-
require('./
|
|
37
|
-
var lint = require('./lint-76af12c0.cjs.js');
|
|
38
|
-
var role = require('./role-3a0fc4db.cjs.js');
|
|
43
|
+
var lint = require('./lint-fae43555.cjs.js');
|
|
44
|
+
var role = require('./role-5ac1abf6.cjs.js');
|
|
39
45
|
require('commander');
|
|
40
|
-
require('semver');
|
|
41
46
|
require('./svgrTemplate-550efce6.cjs.js');
|
|
42
47
|
require('./entryPoints-0cc55995.cjs.js');
|
|
43
48
|
require('child_process');
|
|
44
49
|
require('util');
|
|
45
|
-
require('@backstage/config-loader');
|
|
46
|
-
require('@backstage/config');
|
|
47
|
-
require('@yarnpkg/parsers');
|
|
48
|
-
require('@yarnpkg/lockfile');
|
|
49
|
-
require('lodash/partition');
|
|
50
50
|
|
|
51
51
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
52
52
|
|
|
@@ -55,9 +55,9 @@ var webpack__default = /*#__PURE__*/_interopDefaultLegacy(webpack);
|
|
|
55
55
|
var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
|
|
56
56
|
var WebpackDevServer__default = /*#__PURE__*/_interopDefaultLegacy(WebpackDevServer);
|
|
57
57
|
var openBrowser__default = /*#__PURE__*/_interopDefaultLegacy(openBrowser);
|
|
58
|
+
var uniq__default = /*#__PURE__*/_interopDefaultLegacy(uniq);
|
|
58
59
|
var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
|
|
59
60
|
var spawn__default = /*#__PURE__*/_interopDefaultLegacy(spawn);
|
|
60
|
-
var uniq__default = /*#__PURE__*/_interopDefaultLegacy(uniq);
|
|
61
61
|
|
|
62
62
|
async function serveBackend(options) {
|
|
63
63
|
const paths$1 = paths.resolveBundlingPaths(options);
|
|
@@ -86,27 +86,93 @@ async function serveBackend(options) {
|
|
|
86
86
|
|
|
87
87
|
async function serveBundle(options) {
|
|
88
88
|
var _a, _b, _c;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
if (options.verifyVersions) {
|
|
90
|
+
const lockfile = await Lockfile.Lockfile.load(
|
|
91
|
+
index.paths.resolveTargetRoot("yarn.lock")
|
|
92
|
+
);
|
|
93
|
+
const result = lockfile.analyze({
|
|
94
|
+
filter: lint.includedFilter,
|
|
95
|
+
localPackages: cliNode.PackageGraph.fromPackages(
|
|
96
|
+
await cliNode.PackageGraph.listTargetPackages()
|
|
97
|
+
)
|
|
98
|
+
});
|
|
99
|
+
const problemPackages = [...result.newVersions, ...result.newRanges].map(({ name: name2 }) => name2).filter(lint.forbiddenDuplicatesFilter);
|
|
100
|
+
if (problemPackages.length > 1) {
|
|
101
|
+
console.log(
|
|
102
|
+
chalk__default["default"].yellow(
|
|
103
|
+
`\u26A0\uFE0F Some of the following packages may be outdated or have duplicate installations:
|
|
104
|
+
|
|
105
|
+
${uniq__default["default"](problemPackages).join(", ")}
|
|
106
|
+
`
|
|
107
|
+
)
|
|
108
|
+
);
|
|
109
|
+
console.log(
|
|
110
|
+
chalk__default["default"].yellow(
|
|
111
|
+
`\u26A0\uFE0F This can be resolved using the following command:
|
|
112
|
+
|
|
113
|
+
yarn backstage-cli versions:check --fix
|
|
114
|
+
`
|
|
115
|
+
)
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
checkReactVersion();
|
|
120
|
+
const { name } = await fs__default["default"].readJson(index.paths.resolveTarget("package.json"));
|
|
121
|
+
let server = void 0;
|
|
122
|
+
let latestFrontendAppConfigs = [];
|
|
123
|
+
const cliConfig = await config.loadCliConfig({
|
|
124
|
+
args: options.configPaths,
|
|
125
|
+
fromPackage: name,
|
|
126
|
+
withFilteredKeys: true,
|
|
127
|
+
watch(appConfigs) {
|
|
128
|
+
latestFrontendAppConfigs = appConfigs;
|
|
129
|
+
server == null ? void 0 : server.invalidate();
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
latestFrontendAppConfigs = cliConfig.frontendAppConfigs;
|
|
133
|
+
const appBaseUrl = cliConfig.frontendConfig.getString("app.baseUrl");
|
|
134
|
+
const backendBaseUrl = cliConfig.frontendConfig.getString("backend.baseUrl");
|
|
135
|
+
if (appBaseUrl === backendBaseUrl) {
|
|
136
|
+
console.log(
|
|
137
|
+
chalk__default["default"].yellow(
|
|
138
|
+
`\u26A0\uFE0F Conflict between app baseUrl and backend baseUrl:
|
|
139
|
+
|
|
140
|
+
app.baseUrl: ${appBaseUrl}
|
|
141
|
+
backend.baseUrl: ${backendBaseUrl}
|
|
142
|
+
|
|
143
|
+
Must have unique hostname and/or ports.
|
|
144
|
+
|
|
145
|
+
This can be resolved by changing app.baseUrl and backend.baseUrl to point to their respective local development ports.
|
|
146
|
+
`
|
|
147
|
+
)
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
const { frontendConfig, fullConfig } = cliConfig;
|
|
151
|
+
const url = paths.resolveBaseUrl(frontendConfig);
|
|
152
|
+
const host = frontendConfig.getOptionalString("app.listen.host") || url.hostname;
|
|
153
|
+
const port = frontendConfig.getOptionalNumber("app.listen.port") || Number(url.port) || (url.protocol === "https:" ? 443 : 80);
|
|
92
154
|
const paths$1 = paths.resolveBundlingPaths(options);
|
|
93
155
|
const pkgPath = paths$1.targetPackageJson;
|
|
94
156
|
const pkg = await fs__default["default"].readJson(pkgPath);
|
|
95
|
-
const config = await paths.createConfig(paths$1, {
|
|
96
|
-
|
|
157
|
+
const config$1 = await paths.createConfig(paths$1, {
|
|
158
|
+
checksEnabled: options.checksEnabled,
|
|
97
159
|
isDev: true,
|
|
98
|
-
baseUrl: url
|
|
160
|
+
baseUrl: url,
|
|
161
|
+
frontendConfig,
|
|
162
|
+
getFrontendAppConfigs: () => {
|
|
163
|
+
return latestFrontendAppConfigs;
|
|
164
|
+
}
|
|
99
165
|
});
|
|
100
|
-
const compiler = webpack__default["default"](config);
|
|
101
|
-
|
|
166
|
+
const compiler = webpack__default["default"](config$1);
|
|
167
|
+
server = new WebpackDevServer__default["default"](
|
|
102
168
|
{
|
|
103
169
|
hot: !process.env.CI,
|
|
104
170
|
devMiddleware: {
|
|
105
|
-
publicPath: (_a = config.output) == null ? void 0 : _a.publicPath,
|
|
171
|
+
publicPath: (_a = config$1.output) == null ? void 0 : _a.publicPath,
|
|
106
172
|
stats: "errors-warnings"
|
|
107
173
|
},
|
|
108
174
|
static: paths$1.targetPublic ? {
|
|
109
|
-
publicPath: (_b = config.output) == null ? void 0 : _b.publicPath,
|
|
175
|
+
publicPath: (_b = config$1.output) == null ? void 0 : _b.publicPath,
|
|
110
176
|
directory: paths$1.targetPublic
|
|
111
177
|
} : void 0,
|
|
112
178
|
historyApiFallback: {
|
|
@@ -114,11 +180,11 @@ async function serveBundle(options) {
|
|
|
114
180
|
// See https://github.com/facebookincubator/create-react-app/issues/387.
|
|
115
181
|
disableDotRule: true,
|
|
116
182
|
// The index needs to be rewritten relative to the new public path, including subroutes.
|
|
117
|
-
index: `${(_c = config.output) == null ? void 0 : _c.publicPath}index.html`
|
|
183
|
+
index: `${(_c = config$1.output) == null ? void 0 : _c.publicPath}index.html`
|
|
118
184
|
},
|
|
119
185
|
https: url.protocol === "https:" ? {
|
|
120
|
-
cert:
|
|
121
|
-
key:
|
|
186
|
+
cert: fullConfig.getString("app.https.certificate.cert"),
|
|
187
|
+
key: fullConfig.getString("app.https.certificate.key")
|
|
122
188
|
} : false,
|
|
123
189
|
host,
|
|
124
190
|
port,
|
|
@@ -132,7 +198,7 @@ async function serveBundle(options) {
|
|
|
132
198
|
compiler
|
|
133
199
|
);
|
|
134
200
|
await new Promise((resolve, reject) => {
|
|
135
|
-
server.startCallback((err) => {
|
|
201
|
+
server == null ? void 0 : server.startCallback((err) => {
|
|
136
202
|
if (err) {
|
|
137
203
|
reject(err);
|
|
138
204
|
return;
|
|
@@ -144,7 +210,7 @@ async function serveBundle(options) {
|
|
|
144
210
|
const waitForExit = async () => {
|
|
145
211
|
for (const signal of ["SIGINT", "SIGTERM"]) {
|
|
146
212
|
process.on(signal, () => {
|
|
147
|
-
server.close();
|
|
213
|
+
server == null ? void 0 : server.close();
|
|
148
214
|
process.exit();
|
|
149
215
|
});
|
|
150
216
|
}
|
|
@@ -153,6 +219,27 @@ async function serveBundle(options) {
|
|
|
153
219
|
};
|
|
154
220
|
return waitForExit;
|
|
155
221
|
}
|
|
222
|
+
function checkReactVersion() {
|
|
223
|
+
try {
|
|
224
|
+
const reactPkgPath = require.resolve("react/package.json", {
|
|
225
|
+
paths: [index.paths.targetRoot]
|
|
226
|
+
});
|
|
227
|
+
const reactPkg = require(reactPkgPath);
|
|
228
|
+
if (reactPkg.version.startsWith("16.")) {
|
|
229
|
+
console.log(
|
|
230
|
+
chalk__default["default"].yellow(
|
|
231
|
+
`
|
|
232
|
+
\u26A0\uFE0F \u26A0\uFE0F
|
|
233
|
+
\u26A0\uFE0F You are using React version 16, which is deprecated for use in Backstage. \u26A0\uFE0F
|
|
234
|
+
\u26A0\uFE0F Please upgrade to React 17 by updating your packages/app dependencies. \u26A0\uFE0F
|
|
235
|
+
\u26A0\uFE0F \u26A0\uFE0F
|
|
236
|
+
`
|
|
237
|
+
)
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
} catch {
|
|
241
|
+
}
|
|
242
|
+
}
|
|
156
243
|
|
|
157
244
|
var __accessCheck = (obj, member, msg) => {
|
|
158
245
|
if (!member.has(obj))
|
|
@@ -377,84 +464,12 @@ async function startBackend(options) {
|
|
|
377
464
|
}
|
|
378
465
|
}
|
|
379
466
|
|
|
380
|
-
function checkReactVersion() {
|
|
381
|
-
try {
|
|
382
|
-
const reactPkgPath = require.resolve("react/package.json", {
|
|
383
|
-
paths: [index.paths.targetRoot]
|
|
384
|
-
});
|
|
385
|
-
const reactPkg = require(reactPkgPath);
|
|
386
|
-
if (reactPkg.version.startsWith("16.")) {
|
|
387
|
-
console.log(
|
|
388
|
-
chalk__default["default"].yellow(
|
|
389
|
-
`
|
|
390
|
-
\u26A0\uFE0F \u26A0\uFE0F
|
|
391
|
-
\u26A0\uFE0F You are using React version 16, which is deprecated for use in Backstage. \u26A0\uFE0F
|
|
392
|
-
\u26A0\uFE0F Please upgrade to React 17 by updating your packages/app dependencies. \u26A0\uFE0F
|
|
393
|
-
\u26A0\uFE0F \u26A0\uFE0F
|
|
394
|
-
`
|
|
395
|
-
)
|
|
396
|
-
);
|
|
397
|
-
}
|
|
398
|
-
} catch {
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
467
|
async function startFrontend(options) {
|
|
402
|
-
if (options.verifyVersions) {
|
|
403
|
-
const lockfile = await Lockfile.Lockfile.load(index.paths.resolveTargetRoot("yarn.lock"));
|
|
404
|
-
const result = lockfile.analyze({
|
|
405
|
-
filter: lint.includedFilter,
|
|
406
|
-
localPackages: cliNode.PackageGraph.fromPackages(
|
|
407
|
-
await cliNode.PackageGraph.listTargetPackages()
|
|
408
|
-
)
|
|
409
|
-
});
|
|
410
|
-
const problemPackages = [...result.newVersions, ...result.newRanges].map(({ name: name2 }) => name2).filter(lint.forbiddenDuplicatesFilter);
|
|
411
|
-
if (problemPackages.length > 1) {
|
|
412
|
-
console.log(
|
|
413
|
-
chalk__default["default"].yellow(
|
|
414
|
-
`\u26A0\uFE0F Some of the following packages may be outdated or have duplicate installations:
|
|
415
|
-
|
|
416
|
-
${uniq__default["default"](problemPackages).join(", ")}
|
|
417
|
-
`
|
|
418
|
-
)
|
|
419
|
-
);
|
|
420
|
-
console.log(
|
|
421
|
-
chalk__default["default"].yellow(
|
|
422
|
-
`\u26A0\uFE0F This can be resolved using the following command:
|
|
423
|
-
|
|
424
|
-
yarn backstage-cli versions:check --fix
|
|
425
|
-
`
|
|
426
|
-
)
|
|
427
|
-
);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
checkReactVersion();
|
|
431
|
-
const { name } = await fs__default["default"].readJson(index.paths.resolveTarget("package.json"));
|
|
432
|
-
const config$1 = await config.loadCliConfig({
|
|
433
|
-
args: options.configPaths,
|
|
434
|
-
fromPackage: name,
|
|
435
|
-
withFilteredKeys: true
|
|
436
|
-
});
|
|
437
|
-
const appBaseUrl = config$1.frontendConfig.getString("app.baseUrl");
|
|
438
|
-
const backendBaseUrl = config$1.frontendConfig.getString("backend.baseUrl");
|
|
439
|
-
if (appBaseUrl === backendBaseUrl) {
|
|
440
|
-
console.log(
|
|
441
|
-
chalk__default["default"].yellow(
|
|
442
|
-
`\u26A0\uFE0F Conflict between app baseUrl and backend baseUrl:
|
|
443
|
-
|
|
444
|
-
app.baseUrl: ${appBaseUrl}
|
|
445
|
-
backend.baseUrl: ${backendBaseUrl}
|
|
446
|
-
|
|
447
|
-
Must have unique hostname and/or ports.
|
|
448
|
-
|
|
449
|
-
This can be resolved by changing app.baseUrl and backend.baseUrl to point to their respective local development ports.
|
|
450
|
-
`
|
|
451
|
-
)
|
|
452
|
-
);
|
|
453
|
-
}
|
|
454
468
|
const waitForExit = await serveBundle({
|
|
455
469
|
entry: options.entry,
|
|
456
470
|
checksEnabled: options.checksEnabled,
|
|
457
|
-
|
|
471
|
+
configPaths: options.configPaths,
|
|
472
|
+
verifyVersions: options.verifyVersions
|
|
458
473
|
});
|
|
459
474
|
await waitForExit();
|
|
460
475
|
}
|
|
@@ -491,4 +506,4 @@ async function command(opts) {
|
|
|
491
506
|
}
|
|
492
507
|
|
|
493
508
|
exports.command = command;
|
|
494
|
-
//# sourceMappingURL=index-
|
|
509
|
+
//# sourceMappingURL=index-a40e1cbe.cjs.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var role = require('./role-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-bdb4d4fd.cjs.js');
|
|
4
|
+
var role = require('./role-5ac1abf6.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buildBackend = require('./buildBackend-
|
|
8
|
-
var config = require('./config-
|
|
6
|
+
var index = require('./index-f560f640.cjs.js');
|
|
7
|
+
var buildBackend = require('./buildBackend-31895919.cjs.js');
|
|
8
|
+
var config = require('./config-4282eaf4.cjs.js');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('path');
|
|
12
12
|
require('os');
|
|
13
13
|
require('tar');
|
|
14
14
|
require('lodash/partition');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-f2587deb.cjs.js');
|
|
16
16
|
require('child_process');
|
|
17
17
|
require('util');
|
|
18
18
|
require('@backstage/errors');
|
|
@@ -42,7 +42,7 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
42
42
|
require('run-script-webpack-plugin');
|
|
43
43
|
require('webpack-node-externals');
|
|
44
44
|
require('@manypkg/get-packages');
|
|
45
|
-
require('./paths-
|
|
45
|
+
require('./paths-55e263f4.cjs.js');
|
|
46
46
|
require('mini-css-extract-plugin');
|
|
47
47
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
48
48
|
require('eslint-webpack-plugin');
|
|
@@ -52,6 +52,11 @@ require('react-dev-utils/FileSizeReporter');
|
|
|
52
52
|
require('react-dev-utils/formatWebpackMessages');
|
|
53
53
|
require('webpack-dev-server');
|
|
54
54
|
require('react-dev-utils/openBrowser');
|
|
55
|
+
require('lodash/uniq');
|
|
56
|
+
require('@yarnpkg/parsers');
|
|
57
|
+
require('@yarnpkg/lockfile');
|
|
58
|
+
require('minimatch');
|
|
59
|
+
require('./yarn-6cd89e16.cjs.js');
|
|
55
60
|
require('@backstage/config-loader');
|
|
56
61
|
require('@backstage/config');
|
|
57
62
|
|
|
@@ -96,4 +101,4 @@ async function command(opts) {
|
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
exports.command = command;
|
|
99
|
-
//# sourceMappingURL=index-
|
|
104
|
+
//# sourceMappingURL=index-b948b04a.cjs.js.map
|
|
@@ -53,9 +53,9 @@ class NotFoundError extends CustomError {
|
|
|
53
53
|
|
|
54
54
|
const paths = cliCommon.findPaths(__dirname);
|
|
55
55
|
|
|
56
|
-
var version$a = "0.19.1";
|
|
56
|
+
var version$a = "0.19.2-next.1";
|
|
57
57
|
|
|
58
|
-
var version$9 = "0.22.
|
|
58
|
+
var version$9 = "0.22.10-next.1";
|
|
59
59
|
var dependencies = {
|
|
60
60
|
"@backstage/catalog-model": "workspace:^",
|
|
61
61
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -201,19 +201,19 @@ var devDependencies = {
|
|
|
201
201
|
|
|
202
202
|
var version$8 = "1.0.8";
|
|
203
203
|
|
|
204
|
-
var version$7 = "1.9.0";
|
|
204
|
+
var version$7 = "1.9.1-next.0";
|
|
205
205
|
|
|
206
|
-
var version$6 = "0.13.
|
|
206
|
+
var version$6 = "0.13.4-next.0";
|
|
207
207
|
|
|
208
208
|
var version$5 = "1.5.3";
|
|
209
209
|
|
|
210
|
-
var version$4 = "1.0.
|
|
210
|
+
var version$4 = "1.0.18-next.1";
|
|
211
211
|
|
|
212
|
-
var version$3 = "1.4.
|
|
212
|
+
var version$3 = "1.4.2-next.0";
|
|
213
213
|
|
|
214
214
|
var version$2 = "0.4.1";
|
|
215
215
|
|
|
216
|
-
var version$1 = "1.15.1";
|
|
216
|
+
var version$1 = "1.15.2-next.1";
|
|
217
217
|
|
|
218
218
|
const packageVersions = {
|
|
219
219
|
"@backstage/backend-common": version$a,
|
|
@@ -275,7 +275,7 @@ const configOption = [
|
|
|
275
275
|
Array()
|
|
276
276
|
];
|
|
277
277
|
function registerOnboardCommand(program) {
|
|
278
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
278
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-4b041970.cjs.js'); }).then((m) => m.command)));
|
|
279
279
|
}
|
|
280
280
|
function registerRepoCommand(program) {
|
|
281
281
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -287,7 +287,7 @@ function registerRepoCommand(program) {
|
|
|
287
287
|
).option(
|
|
288
288
|
"--since <ref>",
|
|
289
289
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
290
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
290
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-a124ee33.cjs.js'); }).then((m) => m.command)));
|
|
291
291
|
command.command("lint").description("Lint all packages in the project").option(
|
|
292
292
|
"--format <format>",
|
|
293
293
|
"Lint report output format",
|
|
@@ -295,10 +295,10 @@ function registerRepoCommand(program) {
|
|
|
295
295
|
).option(
|
|
296
296
|
"--since <ref>",
|
|
297
297
|
"Only lint packages that changed since the specified ref"
|
|
298
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
299
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
298
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-5b40e908.cjs.js'); }).then((m) => m.command)));
|
|
299
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-8a657b0b.cjs.js'); }).then((m) => m.command)));
|
|
300
300
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
301
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
301
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-2d3c4cb3.cjs.js'); }).then((m) => m.command))
|
|
302
302
|
);
|
|
303
303
|
command.command("test").allowUnknownOption(true).option(
|
|
304
304
|
"--since <ref>",
|
|
@@ -306,14 +306,14 @@ function registerRepoCommand(program) {
|
|
|
306
306
|
).option(
|
|
307
307
|
"--jest-help",
|
|
308
308
|
"Show help for Jest CLI options, which are passed through"
|
|
309
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
309
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-e40ff0f1.cjs.js'); }).then((m) => m.command)));
|
|
310
310
|
}
|
|
311
311
|
function registerScriptCommand(program) {
|
|
312
312
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
313
313
|
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(
|
|
314
314
|
"--inspect-brk",
|
|
315
315
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
316
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
316
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-a40e1cbe.cjs.js'); }).then((m) => m.command)));
|
|
317
317
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
318
318
|
"--minify",
|
|
319
319
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -331,21 +331,21 @@ function registerScriptCommand(program) {
|
|
|
331
331
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
332
332
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
333
333
|
Array()
|
|
334
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
334
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-b948b04a.cjs.js'); }).then((m) => m.command)));
|
|
335
335
|
command.command("lint [directories...]").option(
|
|
336
336
|
"--format <format>",
|
|
337
337
|
"Lint report output format",
|
|
338
338
|
"eslint-formatter-friendly"
|
|
339
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
340
|
-
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-
|
|
341
|
-
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-
|
|
342
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
343
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
344
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
339
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-281c1a33.cjs.js'); }).then((m) => m.default)));
|
|
340
|
+
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-ebd96719.cjs.js'); }).then((m) => m.default)));
|
|
341
|
+
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-95f0d053.cjs.js'); }).then((m) => m.command)));
|
|
342
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5ea33117.cjs.js'); }).then((m) => m.default)));
|
|
343
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-e8acdff0.cjs.js'); }).then((m) => m.pre)));
|
|
344
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-e8acdff0.cjs.js'); }).then((m) => m.post)));
|
|
345
345
|
}
|
|
346
346
|
function registerMigrateCommand(program) {
|
|
347
347
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
348
|
-
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-
|
|
348
|
+
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-f4e6c55e.cjs.js'); }).then((m) => m.default)));
|
|
349
349
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
350
350
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
|
|
351
351
|
);
|
|
@@ -355,7 +355,7 @@ function registerMigrateCommand(program) {
|
|
|
355
355
|
command.command("package-lint-configs").description(
|
|
356
356
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
357
357
|
).action(
|
|
358
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
358
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-3d8ccc2c.cjs.js'); }).then((m) => m.command))
|
|
359
359
|
);
|
|
360
360
|
command.command("react-router-deps").description(
|
|
361
361
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -380,7 +380,7 @@ function registerCommands(program) {
|
|
|
380
380
|
).option(
|
|
381
381
|
"--baseVersion <version>",
|
|
382
382
|
"The version to use for any new packages (default: 0.1.0)"
|
|
383
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
383
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3e17c6e0.cjs.js'); }).then((m) => m.default)));
|
|
384
384
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
385
385
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
386
386
|
).option(
|
|
@@ -394,30 +394,30 @@ function registerCommands(program) {
|
|
|
394
394
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
395
395
|
"--npm-registry <URL>",
|
|
396
396
|
"The package registry to use for new packages"
|
|
397
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
397
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-3e17c6e0.cjs.js'); }).then((m) => m.default)));
|
|
398
398
|
program.command("create-plugin", { hidden: true }).option(
|
|
399
399
|
"--backend",
|
|
400
400
|
"Create plugin with the backend dependencies as default"
|
|
401
401
|
).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(
|
|
402
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
402
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-0f5a8741.cjs.js'); }).then((m) => m.default))
|
|
403
403
|
);
|
|
404
404
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
405
405
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
406
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
406
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-b4b164cc.cjs.js'); }).then((m) => m.default)));
|
|
407
407
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
408
408
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
409
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
409
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-ebd96719.cjs.js'); }).then((m) => m.default)));
|
|
410
410
|
program.command("config:docs").option(
|
|
411
411
|
"--package <name>",
|
|
412
412
|
"Only include the schema that applies to the given package"
|
|
413
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
413
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-85bb5384.cjs.js'); }).then((m) => m.default)));
|
|
414
414
|
program.command("config:print").option(
|
|
415
415
|
"--package <name>",
|
|
416
416
|
"Only load config schema that applies to the given package"
|
|
417
417
|
).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(
|
|
418
418
|
"--format <format>",
|
|
419
419
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
420
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
420
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-1e353f88.cjs.js'); }).then((m) => m.default)));
|
|
421
421
|
program.command("config:check").option(
|
|
422
422
|
"--package <name>",
|
|
423
423
|
"Only load config schema that applies to the given package"
|
|
@@ -426,14 +426,14 @@ function registerCommands(program) {
|
|
|
426
426
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
427
427
|
).option(...configOption).description(
|
|
428
428
|
"Validate that the given configuration loads and matches schema"
|
|
429
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
429
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-e9c86c63.cjs.js'); }).then((m) => m.default)));
|
|
430
430
|
program.command("config:schema").option(
|
|
431
431
|
"--package <name>",
|
|
432
432
|
"Only output config schema that applies to the given package"
|
|
433
433
|
).option(
|
|
434
434
|
"--format <format>",
|
|
435
435
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
436
|
-
).description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
436
|
+
).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-f080c00c.cjs.js'); }).then((m) => m.default)));
|
|
437
437
|
registerRepoCommand(program);
|
|
438
438
|
registerScriptCommand(program);
|
|
439
439
|
registerMigrateCommand(program);
|
|
@@ -445,19 +445,19 @@ function registerCommands(program) {
|
|
|
445
445
|
"--release <version|next|main>",
|
|
446
446
|
"Bump to a specific Backstage release line or version",
|
|
447
447
|
"main"
|
|
448
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
449
|
-
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-
|
|
450
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
448
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-2cfbe94d.cjs.js'); }).then((m) => m.default)));
|
|
449
|
+
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-fae43555.cjs.js'); }).then((m) => m.default)));
|
|
450
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-5ea33117.cjs.js'); }).then((m) => m.default)));
|
|
451
451
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
452
452
|
"--alwaysYarnPack",
|
|
453
453
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
454
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
455
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
456
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
454
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-ba1a8818.cjs.js'); }).then((m) => m.default)));
|
|
455
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-209fadb5.cjs.js'); }).then((m) => m.default)));
|
|
456
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-8ebae379.cjs.js'); }).then((m) => m.default)));
|
|
457
457
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
458
458
|
"--from <packageJsonFilePath>",
|
|
459
459
|
"Install from a local package.json containing the installation recipe"
|
|
460
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
460
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-ed67a6c6.cjs.js'); }).then((m) => m.default)));
|
|
461
461
|
}
|
|
462
462
|
function lazy(getActionFunc) {
|
|
463
463
|
return async (...args) => {
|
|
@@ -501,4 +501,4 @@ exports.devDependencies = devDependencies;
|
|
|
501
501
|
exports.paths = paths;
|
|
502
502
|
exports.version = version;
|
|
503
503
|
exports.version$1 = version$9;
|
|
504
|
-
//# sourceMappingURL=index-
|
|
504
|
+
//# sourceMappingURL=index-f560f640.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-f560f640.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-f2587deb.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-8ebae379.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-a1ffcc61.cjs.js');
|
|
8
|
+
var index = require('./index-f560f640.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-f2587deb.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-ed67a6c6.cjs.js.map
|