@backstage/cli 0.0.0-nightly-20220207022253 → 0.0.0-nightly-20220208022044
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 +12 -1
- package/config/eslint.backend.js +1 -12
- package/config/eslint.js +6 -17
- package/dist/cjs/{PackageGraph-d4de8edb.cjs.js → PackageGraph-defd05cb.cjs.js} +2 -2
- package/dist/cjs/{backend-719c2822.cjs.js → backend-d9673c56.cjs.js} +2 -2
- package/dist/cjs/{build-1b1bf443.cjs.js → build-1bc874d2.cjs.js} +9 -9
- package/dist/cjs/{build-d009416c.cjs.js → build-2c934265.cjs.js} +7 -3
- package/dist/cjs/{build-1cd37589.cjs.js → build-38a62984.cjs.js} +7 -3
- package/dist/cjs/build-8499b728.cjs.js +171 -0
- package/dist/cjs/buildBackend-002dfd9a.cjs.js +83 -0
- package/dist/cjs/{buildWorkspace-baa8edf1.cjs.js → buildWorkspace-928a58ea.cjs.js} +5 -5
- package/dist/cjs/{bump-12d14eb0.cjs.js → bump-b7bd201b.cjs.js} +74 -73
- package/dist/cjs/{bundle-3ef159bf.cjs.js → bundle-325ec9f1.cjs.js} +2 -2
- package/dist/cjs/{bundle-dd1e92df.cjs.js → bundle-55ba7dbf.cjs.js} +11 -8
- package/dist/cjs/{clean-ea76975c.cjs.js → clean-4d919333.cjs.js} +2 -2
- package/dist/cjs/{config-408a7411.cjs.js → config-83431a6c.cjs.js} +3 -3
- package/dist/cjs/{create-5c143918.cjs.js → create-bf963cb1.cjs.js} +4 -4
- package/dist/cjs/{createPlugin-2bed9dce.cjs.js → createPlugin-f7c1f793.cjs.js} +4 -4
- package/dist/cjs/{dev-c2d8cee7.cjs.js → dev-5547c279.cjs.js} +5 -5
- package/dist/cjs/{diff-d47e0b30.cjs.js → diff-2ff7d14c.cjs.js} +4 -8
- package/dist/cjs/{docs-fc11f8e4.cjs.js → docs-8b2d4e74.cjs.js} +4 -4
- package/dist/cjs/{index-7b41cfd7.cjs.js → index-4891d7c8.cjs.js} +41 -36
- package/dist/cjs/{index-660c1d58.cjs.js → index-4abb650a.cjs.js} +2 -2
- package/dist/cjs/index-933f0244.cjs.js +92 -0
- package/dist/cjs/{index-1d7d9753.cjs.js → index-a971b16a.cjs.js} +10 -10
- package/dist/cjs/{index-cbceb788.cjs.js → index-c6f27b84.cjs.js} +5 -5
- package/dist/cjs/{info-6303900f.cjs.js → info-a4acc6ee.cjs.js} +3 -3
- package/dist/cjs/{install-dd637047.cjs.js → install-ab01694a.cjs.js} +4 -4
- package/dist/cjs/{lint-c5d9e83e.cjs.js → lint-4235f48f.cjs.js} +3 -3
- package/dist/cjs/lint-e0a71d81.cjs.js +35 -0
- package/dist/cjs/{oldBuild-e884ca07.cjs.js → oldBuild-340b43c9.cjs.js} +7 -3
- package/dist/cjs/{pack-106204a6.cjs.js → pack-9624d450.cjs.js} +2 -2
- package/dist/cjs/{packageRole-0fe1e676.cjs.js → packageRole-0b180d7d.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-f539d8b4.cjs.js → packageRoles-4e0510e6.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-fd7867c3.cjs.js → packageScripts-2ec1c23a.cjs.js} +4 -4
- package/dist/cjs/{packager-cf4da5bb.cjs.js → packager-44c96cee.cjs.js} +181 -74
- package/dist/cjs/{packages-fb9b7f66.cjs.js → packages-ab2298e1.cjs.js} +3 -3
- package/dist/cjs/parallel-e73a4058.cjs.js +48 -0
- package/dist/cjs/{paths-5b87431a.cjs.js → paths-dfe5663b.cjs.js} +17 -17
- package/dist/cjs/{print-efd3f6f8.cjs.js → print-79aa6a6e.cjs.js} +4 -4
- package/dist/cjs/{run-bef8d727.cjs.js → run-a43ff38a.cjs.js} +2 -2
- package/dist/cjs/{schema-fe8d1386.cjs.js → schema-3074e790.cjs.js} +4 -4
- package/dist/cjs/{serve-e473798d.cjs.js → serve-59424976.cjs.js} +8 -8
- package/dist/cjs/{serve-ff52e897.cjs.js → serve-c0158317.cjs.js} +7 -7
- package/dist/cjs/{server-6bc3d0ec.cjs.js → server-92484e65.cjs.js} +2 -2
- package/dist/cjs/{tasks-c6b6adc2.cjs.js → tasks-af5a8311.cjs.js} +2 -2
- package/dist/cjs/{testCommand-05157aae.cjs.js → testCommand-d00730ed.cjs.js} +3 -3
- package/dist/cjs/{validate-5179c48a.cjs.js → validate-1fe16ba0.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/index-7700c7ac.cjs.js +0 -137
- package/dist/cjs/lint-68c158ac.cjs.js +0 -29
- package/dist/cjs/parallel-7e32a8d0.cjs.js +0 -25
|
@@ -6,12 +6,13 @@ var semver = require('semver');
|
|
|
6
6
|
var minimatch = require('minimatch');
|
|
7
7
|
var errors = require('@backstage/errors');
|
|
8
8
|
var path = require('path');
|
|
9
|
-
var run = require('./run-
|
|
10
|
-
var index = require('./index-
|
|
9
|
+
var run = require('./run-a43ff38a.cjs.js');
|
|
10
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
11
11
|
var Lockfile = require('./Lockfile-35661afa.cjs.js');
|
|
12
|
-
var packages = require('./packages-
|
|
13
|
-
var lint = require('./lint-
|
|
12
|
+
var packages = require('./packages-ab2298e1.cjs.js');
|
|
13
|
+
var lint = require('./lint-4235f48f.cjs.js');
|
|
14
14
|
var cliCommon = require('@backstage/cli-common');
|
|
15
|
+
var parallel = require('./parallel-e73a4058.cjs.js');
|
|
15
16
|
require('child_process');
|
|
16
17
|
require('util');
|
|
17
18
|
require('commander');
|
|
@@ -49,54 +50,62 @@ var bump = async (cmd) => {
|
|
|
49
50
|
const dependencyMap = await packages.mapDependencies(index.paths.targetDir, pattern);
|
|
50
51
|
const versionBumps = /* @__PURE__ */ new Map();
|
|
51
52
|
const unlocked = Array();
|
|
52
|
-
await
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
await parallel.runParallelWorkers({
|
|
54
|
+
parallelismFactor: 4,
|
|
55
|
+
items: dependencyMap.entries(),
|
|
56
|
+
async worker([name, pkgs]) {
|
|
57
|
+
var _a2, _b;
|
|
58
|
+
let target;
|
|
59
|
+
try {
|
|
60
|
+
target = await findTargetVersion(name);
|
|
61
|
+
} catch (error) {
|
|
62
|
+
if (errors.isError(error) && error.name === "NotFoundError") {
|
|
63
|
+
console.log(`Package info not found, ignoring package ${name}`);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
throw error;
|
|
61
67
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
for (const pkg of pkgs) {
|
|
69
|
+
if (semver__default["default"].satisfies(target, pkg.range)) {
|
|
70
|
+
if (((_a2 = semver__default["default"].minVersion(pkg.range)) == null ? void 0 : _a2.version) !== target) {
|
|
71
|
+
unlocked.push({ name, range: pkg.range, target });
|
|
72
|
+
}
|
|
73
|
+
continue;
|
|
68
74
|
}
|
|
69
|
-
|
|
75
|
+
versionBumps.set(pkg.name, ((_b = versionBumps.get(pkg.name)) != null ? _b : []).concat({
|
|
76
|
+
name,
|
|
77
|
+
location: pkg.location,
|
|
78
|
+
range: `^${target}`,
|
|
79
|
+
target
|
|
80
|
+
}));
|
|
70
81
|
}
|
|
71
|
-
versionBumps.set(pkg.name, ((_b = versionBumps.get(pkg.name)) != null ? _b : []).concat({
|
|
72
|
-
name,
|
|
73
|
-
location: pkg.location,
|
|
74
|
-
range: `^${target}`,
|
|
75
|
-
target
|
|
76
|
-
}));
|
|
77
82
|
}
|
|
78
83
|
});
|
|
79
84
|
const filter = (name) => minimatch__default["default"](name, pattern);
|
|
80
|
-
await
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
try {
|
|
87
|
-
target = await findTargetVersion(name);
|
|
88
|
-
} catch (error) {
|
|
89
|
-
if (errors.isError(error) && error.name === "NotFoundError") {
|
|
90
|
-
console.log(`Package info not found, ignoring package ${name}`);
|
|
85
|
+
await parallel.runParallelWorkers({
|
|
86
|
+
parallelismFactor: 4,
|
|
87
|
+
items: lockfile.keys(),
|
|
88
|
+
async worker(name) {
|
|
89
|
+
var _a2;
|
|
90
|
+
if (!filter(name)) {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
let target;
|
|
94
|
+
try {
|
|
95
|
+
target = await findTargetVersion(name);
|
|
96
|
+
} catch (error) {
|
|
97
|
+
if (errors.isError(error) && error.name === "NotFoundError") {
|
|
98
|
+
console.log(`Package info not found, ignoring package ${name}`);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
throw error;
|
|
102
|
+
}
|
|
103
|
+
for (const entry of (_a2 = lockfile.get(name)) != null ? _a2 : []) {
|
|
104
|
+
if (!semver__default["default"].satisfies(target, entry.range)) {
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
unlocked.push({ name, range: entry.range, target });
|
|
98
108
|
}
|
|
99
|
-
unlocked.push({ name, range: entry.range, target });
|
|
100
109
|
}
|
|
101
110
|
});
|
|
102
111
|
console.log();
|
|
@@ -122,28 +131,32 @@ var bump = async (cmd) => {
|
|
|
122
131
|
await lockfile.save();
|
|
123
132
|
}
|
|
124
133
|
const breakingUpdates = /* @__PURE__ */ new Map();
|
|
125
|
-
await
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
140
|
-
|
|
134
|
+
await parallel.runParallelWorkers({
|
|
135
|
+
parallelismFactor: 4,
|
|
136
|
+
items: versionBumps.entries(),
|
|
137
|
+
async worker([name, deps]) {
|
|
138
|
+
var _a2;
|
|
139
|
+
const pkgPath = path.resolve(deps[0].location, "package.json");
|
|
140
|
+
const pkgJson = await fs__default["default"].readJson(pkgPath);
|
|
141
|
+
for (const dep of deps) {
|
|
142
|
+
console.log(`${chalk__default["default"].cyan("bumping")} ${dep.name} in ${chalk__default["default"].cyan(name)} to ${chalk__default["default"].yellow(dep.range)}`);
|
|
143
|
+
for (const depType of DEP_TYPES) {
|
|
144
|
+
if (depType in pkgJson && dep.name in pkgJson[depType]) {
|
|
145
|
+
const oldRange = pkgJson[depType][dep.name];
|
|
146
|
+
pkgJson[depType][dep.name] = dep.range;
|
|
147
|
+
const lockfileEntry = (_a2 = lockfile.get(dep.name)) == null ? void 0 : _a2.find((entry) => entry.range === oldRange);
|
|
148
|
+
if (lockfileEntry) {
|
|
149
|
+
const from = lockfileEntry.version;
|
|
150
|
+
const to = dep.target;
|
|
151
|
+
if (!semver__default["default"].satisfies(to, `^${from}`)) {
|
|
152
|
+
breakingUpdates.set(dep.name, { from, to });
|
|
153
|
+
}
|
|
141
154
|
}
|
|
142
155
|
}
|
|
143
156
|
}
|
|
144
157
|
}
|
|
158
|
+
await fs__default["default"].writeJson(pkgPath, pkgJson, { spaces: 2 });
|
|
145
159
|
}
|
|
146
|
-
await fs__default["default"].writeJson(pkgPath, pkgJson, { spaces: 2 });
|
|
147
160
|
});
|
|
148
161
|
console.log();
|
|
149
162
|
await bumpBackstageJsonVersion();
|
|
@@ -222,19 +235,7 @@ async function bumpBackstageJsonVersion() {
|
|
|
222
235
|
encoding: "utf8"
|
|
223
236
|
});
|
|
224
237
|
}
|
|
225
|
-
async function workerThreads(count, items, fn) {
|
|
226
|
-
const queue = Array.from(items);
|
|
227
|
-
async function pop() {
|
|
228
|
-
const item = queue.pop();
|
|
229
|
-
if (!item) {
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
await fn(item);
|
|
233
|
-
await pop();
|
|
234
|
-
}
|
|
235
|
-
return Promise.all(Array(count).fill(0).map(() => pop()));
|
|
236
|
-
}
|
|
237
238
|
|
|
238
239
|
exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
|
|
239
240
|
exports["default"] = bump;
|
|
240
|
-
//# sourceMappingURL=bump-
|
|
241
|
+
//# sourceMappingURL=bump-b7bd201b.cjs.js.map
|
|
@@ -6,7 +6,7 @@ var path = require('path');
|
|
|
6
6
|
var webpack = require('webpack');
|
|
7
7
|
var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
|
|
8
8
|
var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
9
|
-
var paths = require('./paths-
|
|
9
|
+
var paths = require('./paths-dfe5663b.cjs.js');
|
|
10
10
|
var chalk = require('chalk');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -98,4 +98,4 @@ async function build(compiler, isCi) {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
exports.buildBundle = buildBundle;
|
|
101
|
-
//# sourceMappingURL=bundle-
|
|
101
|
+
//# sourceMappingURL=bundle-325ec9f1.cjs.js.map
|
|
@@ -4,16 +4,16 @@ var os = require('os');
|
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var tar = require('tar');
|
|
7
|
-
var index$1 = require('./index-
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var parallel = require('./parallel-
|
|
10
|
-
var packager = require('./packager-
|
|
11
|
-
require('./run-
|
|
7
|
+
var index$1 = require('./index-c6f27b84.cjs.js');
|
|
8
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
9
|
+
var parallel = require('./parallel-e73a4058.cjs.js');
|
|
10
|
+
var packager = require('./packager-44c96cee.cjs.js');
|
|
11
|
+
require('./run-a43ff38a.cjs.js');
|
|
12
12
|
require('child_process');
|
|
13
13
|
require('util');
|
|
14
14
|
require('@backstage/errors');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
|
-
require('./PackageGraph-
|
|
16
|
+
require('./PackageGraph-defd05cb.cjs.js');
|
|
17
17
|
require('commander');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('semver');
|
|
@@ -31,6 +31,9 @@ require('@rollup/plugin-json');
|
|
|
31
31
|
require('@rollup/plugin-yaml');
|
|
32
32
|
require('rollup-pluginutils');
|
|
33
33
|
require('./svgrTemplate-f19e974c.cjs.js');
|
|
34
|
+
require('worker_threads');
|
|
35
|
+
require('./packageRoles-4e0510e6.cjs.js');
|
|
36
|
+
require('zod');
|
|
34
37
|
|
|
35
38
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
36
39
|
|
|
@@ -50,7 +53,7 @@ var bundle = async (cmd) => {
|
|
|
50
53
|
targetDir: tmpDir,
|
|
51
54
|
buildDependencies: Boolean(cmd.buildDependencies),
|
|
52
55
|
buildExcludes: [pkg.name],
|
|
53
|
-
|
|
56
|
+
parallelism: parallel.getEnvironmentParallelism(),
|
|
54
57
|
skeleton: SKELETON_FILE
|
|
55
58
|
});
|
|
56
59
|
await fs__default["default"].remove(targetDir);
|
|
@@ -69,4 +72,4 @@ var bundle = async (cmd) => {
|
|
|
69
72
|
};
|
|
70
73
|
|
|
71
74
|
exports["default"] = bundle;
|
|
72
|
-
//# sourceMappingURL=bundle-
|
|
75
|
+
//# sourceMappingURL=bundle-55ba7dbf.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('semver');
|
|
@@ -20,4 +20,4 @@ async function clean() {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
exports["default"] = clean;
|
|
23
|
-
//# sourceMappingURL=clean-
|
|
23
|
+
//# sourceMappingURL=clean-4d919333.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var configLoader = require('@backstage/config-loader');
|
|
4
4
|
var config = require('@backstage/config');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
6
6
|
var getPackages = require('@manypkg/get-packages');
|
|
7
|
-
var PackageGraph = require('./PackageGraph-
|
|
7
|
+
var PackageGraph = require('./PackageGraph-defd05cb.cjs.js');
|
|
8
8
|
|
|
9
9
|
function isValidUrl(url) {
|
|
10
10
|
try {
|
|
@@ -76,4 +76,4 @@ async function loadCliConfig(options) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
exports.loadCliConfig = loadCliConfig;
|
|
79
|
-
//# sourceMappingURL=config-
|
|
79
|
+
//# sourceMappingURL=config-83431a6c.cjs.js.map
|
|
@@ -7,12 +7,12 @@ 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 tasks = require('./tasks-
|
|
10
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
11
|
+
var tasks = require('./tasks-af5a8311.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-35661afa.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-a43ff38a.cjs.js');
|
|
16
16
|
var partition = require('lodash/partition');
|
|
17
17
|
var errors = require('@backstage/errors');
|
|
18
18
|
require('commander');
|
|
@@ -482,4 +482,4 @@ var create = async (cmd) => {
|
|
|
482
482
|
};
|
|
483
483
|
|
|
484
484
|
exports["default"] = create;
|
|
485
|
-
//# sourceMappingURL=create-
|
|
485
|
+
//# sourceMappingURL=create-bf963cb1.cjs.js.map
|
|
@@ -10,12 +10,12 @@ var camelCase = require('lodash/camelCase');
|
|
|
10
10
|
var upperFirst = require('lodash/upperFirst');
|
|
11
11
|
var os = require('os');
|
|
12
12
|
var errors = require('@backstage/errors');
|
|
13
|
-
var tasks = require('./tasks-
|
|
14
|
-
var index = require('./index-
|
|
13
|
+
var tasks = require('./tasks-af5a8311.cjs.js');
|
|
14
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
15
15
|
var Lockfile = require('./Lockfile-35661afa.cjs.js');
|
|
16
16
|
require('minimatch');
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
|
-
require('./run-
|
|
18
|
+
require('./run-a43ff38a.cjs.js');
|
|
19
19
|
require('handlebars');
|
|
20
20
|
require('ora');
|
|
21
21
|
require('recursive-readdir');
|
|
@@ -234,4 +234,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
|
|
|
234
234
|
exports.capitalize = capitalize;
|
|
235
235
|
exports["default"] = createPlugin;
|
|
236
236
|
exports.movePlugin = movePlugin;
|
|
237
|
-
//# sourceMappingURL=createPlugin-
|
|
237
|
+
//# sourceMappingURL=createPlugin-f7c1f793.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var backend = require('./backend-
|
|
4
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
5
|
+
var backend = require('./backend-d9673c56.cjs.js');
|
|
6
6
|
require('commander');
|
|
7
7
|
require('chalk');
|
|
8
8
|
require('semver');
|
|
@@ -10,7 +10,7 @@ require('@backstage/cli-common');
|
|
|
10
10
|
require('@backstage/config/package.json');
|
|
11
11
|
require('@backstage/errors');
|
|
12
12
|
require('webpack');
|
|
13
|
-
require('./paths-
|
|
13
|
+
require('./paths-dfe5663b.cjs.js');
|
|
14
14
|
require('path');
|
|
15
15
|
require('fork-ts-checker-webpack-plugin');
|
|
16
16
|
require('html-webpack-plugin');
|
|
@@ -20,7 +20,7 @@ require('webpack-node-externals');
|
|
|
20
20
|
require('@manypkg/get-packages');
|
|
21
21
|
require('mini-css-extract-plugin');
|
|
22
22
|
require('./svgrTemplate-f19e974c.cjs.js');
|
|
23
|
-
require('./run-
|
|
23
|
+
require('./run-a43ff38a.cjs.js');
|
|
24
24
|
require('child_process');
|
|
25
25
|
require('util');
|
|
26
26
|
require('eslint-webpack-plugin');
|
|
@@ -42,4 +42,4 @@ var dev = async (cmd) => {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
exports["default"] = dev;
|
|
45
|
-
//# sourceMappingURL=dev-
|
|
45
|
+
//# sourceMappingURL=dev-5547c279.cjs.js.map
|
|
@@ -7,7 +7,7 @@ var path = require('path');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var handlebars = require('handlebars');
|
|
9
9
|
var recursive = require('recursive-readdir');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-4891d7c8.cjs.js');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('semver');
|
|
13
13
|
require('@backstage/cli-common');
|
|
@@ -326,15 +326,11 @@ const fileHandlers = [
|
|
|
326
326
|
handler: handlers.packageJson
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
patterns: ["
|
|
330
|
-
handler: handlers.skip
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
patterns: [".eslintrc.js", /^(src|dev)\/[^/]+$/],
|
|
329
|
+
patterns: [".eslintrc.js"],
|
|
334
330
|
handler: handlers.exists
|
|
335
331
|
},
|
|
336
332
|
{
|
|
337
|
-
patterns: ["README.md", "tsconfig.json", /^src\//],
|
|
333
|
+
patterns: ["README.md", "tsconfig.json", /^src\//, /^dev\//],
|
|
338
334
|
handler: handlers.skip
|
|
339
335
|
}
|
|
340
336
|
];
|
|
@@ -381,4 +377,4 @@ async function readPluginData() {
|
|
|
381
377
|
}
|
|
382
378
|
|
|
383
379
|
exports["default"] = diff;
|
|
384
|
-
//# sourceMappingURL=diff-
|
|
380
|
+
//# sourceMappingURL=diff-2ff7d14c.cjs.js.map
|
|
@@ -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-83431a6c.cjs.js');
|
|
6
6
|
require('@backstage/config');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-4891d7c8.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -13,7 +13,7 @@ require('@backstage/cli-common');
|
|
|
13
13
|
require('@backstage/config/package.json');
|
|
14
14
|
require('@backstage/errors');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
|
-
require('./PackageGraph-
|
|
16
|
+
require('./PackageGraph-defd05cb.cjs.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -31,4 +31,4 @@ var docs = async (cmd) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
exports["default"] = docs;
|
|
34
|
-
//# sourceMappingURL=docs-
|
|
34
|
+
//# sourceMappingURL=docs-8b2d4e74.cjs.js.map
|
|
@@ -231,50 +231,55 @@ const configOption = [
|
|
|
231
231
|
(opt, opts) => [...opts, opt],
|
|
232
232
|
Array()
|
|
233
233
|
];
|
|
234
|
+
function registerRepoCommand(program) {
|
|
235
|
+
const command = program.command("repo [command]", { hidden: true }).description("Command that run across an entire Backstage project [EXPERIMENTAL]");
|
|
236
|
+
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.").action(lazy(() => Promise.resolve().then(function () { return require('./build-8499b728.cjs.js'); }).then((m) => m.command)));
|
|
237
|
+
}
|
|
234
238
|
function registerScriptCommand(program) {
|
|
235
239
|
const command = program.command("script [command]", { hidden: true }).description("Lifecycle scripts for Backstage packages [EXPERIMENTAL]");
|
|
236
|
-
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-
|
|
237
|
-
command.command("build").description("Build a package for production deployment or publishing").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, opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
238
|
-
program.command("lint").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-
|
|
239
|
-
program.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('./testCommand-
|
|
240
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
241
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
242
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
240
|
+
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-a971b16a.cjs.js'); }).then((m) => m.command)));
|
|
241
|
+
command.command("build").description("Build a package for production deployment or publishing").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, opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-933f0244.cjs.js'); }).then((m) => m.command)));
|
|
242
|
+
program.command("lint").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-e0a71d81.cjs.js'); }).then((m) => m.default)));
|
|
243
|
+
program.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('./testCommand-d00730ed.cjs.js'); }).then((m) => m.default)));
|
|
244
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-4d919333.cjs.js'); }).then((m) => m.default)));
|
|
245
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9624d450.cjs.js'); }).then((m) => m.pre)));
|
|
246
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9624d450.cjs.js'); }).then((m) => m.post)));
|
|
243
247
|
}
|
|
244
248
|
function registerMigrateCommand(program) {
|
|
245
249
|
const command = program.command("migrate [command]", { hidden: true }).description("Migration utilities [EXPERIMENTAL]");
|
|
246
|
-
command.command("package-role").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-
|
|
247
|
-
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
250
|
+
command.command("package-role").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-0b180d7d.cjs.js'); }).then((m) => m.default)));
|
|
251
|
+
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-2ec1c23a.cjs.js'); }).then((m) => m.command)));
|
|
248
252
|
}
|
|
249
253
|
function registerCommands(program) {
|
|
250
|
-
program.command("app:build").description("Build an app for a production release").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
251
|
-
program.command("app:serve").description("Serve an app for local development").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-
|
|
252
|
-
program.command("backend:build").description("Build a backend plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
253
|
-
program.command("backend:bundle").description("Bundle the backend into a deployment archive").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-
|
|
254
|
-
program.command("backend:dev").description("Start local development server with HMR for the backend").option("--check", "Enable type checking and linting").option("--inspect", "Enable debugger").option("--inspect-brk", "Enable debugger with await to attach debugger").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./dev-
|
|
255
|
-
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-
|
|
256
|
-
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-
|
|
257
|
-
program.command("plugin:build").description("Build a plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
258
|
-
program.command("plugin:serve").description("Serves the dev/ folder of a plugin").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-
|
|
259
|
-
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-
|
|
260
|
-
program.command("build").description("Build a package for publishing").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-
|
|
261
|
-
program.command("lint").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-
|
|
262
|
-
program.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('./testCommand-
|
|
263
|
-
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-
|
|
264
|
-
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-
|
|
265
|
-
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-
|
|
266
|
-
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-
|
|
254
|
+
program.command("app:build").description("Build an app for a production release").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-1bc874d2.cjs.js'); }).then((m) => m.default)));
|
|
255
|
+
program.command("app:serve").description("Serve an app for local development").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-59424976.cjs.js'); }).then((m) => m.default)));
|
|
256
|
+
program.command("backend:build").description("Build a backend plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-2c934265.cjs.js'); }).then((m) => m.default)));
|
|
257
|
+
program.command("backend:bundle").description("Bundle the backend into a deployment archive").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-55ba7dbf.cjs.js'); }).then((m) => m.default)));
|
|
258
|
+
program.command("backend:dev").description("Start local development server with HMR for the backend").option("--check", "Enable type checking and linting").option("--inspect", "Enable debugger").option("--inspect-brk", "Enable debugger with await to attach debugger").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./dev-5547c279.cjs.js'); }).then((m) => m.default)));
|
|
259
|
+
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-bf963cb1.cjs.js'); }).then((m) => m.default)));
|
|
260
|
+
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-f7c1f793.cjs.js'); }).then((m) => m.default)));
|
|
261
|
+
program.command("plugin:build").description("Build a plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-38a62984.cjs.js'); }).then((m) => m.default)));
|
|
262
|
+
program.command("plugin:serve").description("Serves the dev/ folder of a plugin").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-c0158317.cjs.js'); }).then((m) => m.default)));
|
|
263
|
+
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-2ff7d14c.cjs.js'); }).then((m) => m.default)));
|
|
264
|
+
program.command("build").description("Build a package for publishing").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-340b43c9.cjs.js'); }).then((m) => m.default)));
|
|
265
|
+
program.command("lint").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-e0a71d81.cjs.js'); }).then((m) => m.default)));
|
|
266
|
+
program.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('./testCommand-d00730ed.cjs.js'); }).then((m) => m.default)));
|
|
267
|
+
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-8b2d4e74.cjs.js'); }).then((m) => m.default)));
|
|
268
|
+
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-79aa6a6e.cjs.js'); }).then((m) => m.default)));
|
|
269
|
+
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-1fe16ba0.cjs.js'); }).then((m) => m.default)));
|
|
270
|
+
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-3074e790.cjs.js'); }).then((m) => m.default)));
|
|
271
|
+
registerRepoCommand(program);
|
|
267
272
|
registerScriptCommand(program);
|
|
268
273
|
registerMigrateCommand(program);
|
|
269
|
-
program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
270
|
-
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-
|
|
271
|
-
program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
272
|
-
program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
273
|
-
program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
274
|
-
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-
|
|
275
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
276
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
277
|
-
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-
|
|
274
|
+
program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-b7bd201b.cjs.js'); }).then((m) => m.default)));
|
|
275
|
+
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-4235f48f.cjs.js'); }).then((m) => m.default)));
|
|
276
|
+
program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9624d450.cjs.js'); }).then((m) => m.pre)));
|
|
277
|
+
program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-9624d450.cjs.js'); }).then((m) => m.post)));
|
|
278
|
+
program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-4d919333.cjs.js'); }).then((m) => m.default)));
|
|
279
|
+
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-928a58ea.cjs.js'); }).then((m) => m.default)));
|
|
280
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-4abb650a.cjs.js'); }).then((m) => m.default)));
|
|
281
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-a4acc6ee.cjs.js'); }).then((m) => m.default)));
|
|
282
|
+
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-ab01694a.cjs.js'); }).then((m) => m.default)));
|
|
278
283
|
}
|
|
279
284
|
function lazy(getActionFunc) {
|
|
280
285
|
return async (...args) => {
|
|
@@ -318,4 +323,4 @@ exports.devDependencies = devDependencies;
|
|
|
318
323
|
exports.paths = paths;
|
|
319
324
|
exports.version = version;
|
|
320
325
|
exports.version$1 = version$8;
|
|
321
|
-
//# sourceMappingURL=index-
|
|
326
|
+
//# sourceMappingURL=index-4891d7c8.cjs.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var chalk = require('chalk');
|
|
5
5
|
var yaml = require('yaml');
|
|
6
|
-
var index$1 = require('./index-
|
|
6
|
+
var index$1 = require('./index-4891d7c8.cjs.js');
|
|
7
7
|
var crypto = require('crypto');
|
|
8
8
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
9
9
|
var request = require('@octokit/request');
|
|
@@ -128,4 +128,4 @@ ${yaml.stringify(config)}`;
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
exports["default"] = index;
|
|
131
|
-
//# sourceMappingURL=index-
|
|
131
|
+
//# sourceMappingURL=index-4abb650a.cjs.js.map
|