@backstage/cli 0.0.0-nightly-20220208022044 → 0.0.0-nightly-20220209022121

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/dist/cjs/{PackageGraph-defd05cb.cjs.js → PackageGraph-96b2e6ef.cjs.js} +2 -2
  3. package/dist/cjs/{backend-d9673c56.cjs.js → backend-fb6d6170.cjs.js} +2 -2
  4. package/dist/cjs/{build-38a62984.cjs.js → build-8fd28a6d.cjs.js} +4 -4
  5. package/dist/cjs/{build-2c934265.cjs.js → build-93f627fc.cjs.js} +4 -4
  6. package/dist/cjs/{build-8499b728.cjs.js → build-9db9aaaf.cjs.js} +13 -11
  7. package/dist/cjs/{build-1bc874d2.cjs.js → build-b3c69eff.cjs.js} +7 -7
  8. package/dist/cjs/{buildBackend-002dfd9a.cjs.js → buildBackend-08cefb3c.cjs.js} +9 -9
  9. package/dist/cjs/buildWorkspace-1323bee2.cjs.js +54 -0
  10. package/dist/cjs/{bump-b7bd201b.cjs.js → bump-a85eb7bb.cjs.js} +5 -5
  11. package/dist/cjs/{bundle-325ec9f1.cjs.js → bundle-4ce79bce.cjs.js} +2 -2
  12. package/dist/cjs/{bundle-55ba7dbf.cjs.js → bundle-b3d9e5ab.cjs.js} +11 -9
  13. package/dist/cjs/{clean-4d919333.cjs.js → clean-c50d4782.cjs.js} +2 -2
  14. package/dist/cjs/{config-83431a6c.cjs.js → config-f2365900.cjs.js} +3 -3
  15. package/dist/cjs/{create-bf963cb1.cjs.js → create-7ad905e4.cjs.js} +4 -4
  16. package/dist/cjs/createDistWorkspace-f4c0276b.cjs.js +205 -0
  17. package/dist/cjs/{createPlugin-f7c1f793.cjs.js → createPlugin-ba8c6df0.cjs.js} +4 -4
  18. package/dist/cjs/{dev-5547c279.cjs.js → dev-e8f4294f.cjs.js} +5 -5
  19. package/dist/cjs/{diff-2ff7d14c.cjs.js → diff-7c3a6378.cjs.js} +2 -2
  20. package/dist/cjs/{docs-8b2d4e74.cjs.js → docs-f72a2ec8.cjs.js} +4 -4
  21. package/dist/cjs/{index-933f0244.cjs.js → index-526e4dc9.cjs.js} +13 -11
  22. package/dist/cjs/{index-4891d7c8.cjs.js → index-8b03e1f7.cjs.js} +47 -45
  23. package/dist/cjs/{index-4abb650a.cjs.js → index-c953b562.cjs.js} +2 -2
  24. package/dist/cjs/{index-a971b16a.cjs.js → index-d7ee78c4.cjs.js} +10 -10
  25. package/dist/cjs/{info-a4acc6ee.cjs.js → info-92d051f2.cjs.js} +3 -3
  26. package/dist/cjs/{install-ab01694a.cjs.js → install-1f10c477.cjs.js} +4 -4
  27. package/dist/cjs/{lint-e0a71d81.cjs.js → lint-a49b0261.cjs.js} +2 -2
  28. package/dist/cjs/{lint-4235f48f.cjs.js → lint-cc10c98e.cjs.js} +3 -3
  29. package/dist/cjs/{oldBuild-340b43c9.cjs.js → oldBuild-e0886590.cjs.js} +4 -4
  30. package/dist/cjs/{pack-9624d450.cjs.js → pack-7da7f03b.cjs.js} +2 -2
  31. package/dist/cjs/{packageRole-0b180d7d.cjs.js → packageRole-7bb8a760.cjs.js} +3 -3
  32. package/dist/cjs/{packageRoles-4e0510e6.cjs.js → packageRoles-f4b169a7.cjs.js} +2 -2
  33. package/dist/cjs/{packageScripts-2ec1c23a.cjs.js → packageScripts-23016b48.cjs.js} +4 -4
  34. package/dist/cjs/{packager-44c96cee.cjs.js → packager-3bddd88f.cjs.js} +3 -3
  35. package/dist/cjs/{packages-ab2298e1.cjs.js → packages-08c02af1.cjs.js} +3 -3
  36. package/dist/cjs/{paths-dfe5663b.cjs.js → paths-f6ca70df.cjs.js} +3 -3
  37. package/dist/cjs/{print-79aa6a6e.cjs.js → print-43232f19.cjs.js} +4 -4
  38. package/dist/cjs/{run-a43ff38a.cjs.js → run-8da8f918.cjs.js} +2 -2
  39. package/dist/cjs/{schema-3074e790.cjs.js → schema-2c7e9598.cjs.js} +4 -4
  40. package/dist/cjs/{serve-59424976.cjs.js → serve-01190cc4.cjs.js} +8 -8
  41. package/dist/cjs/{serve-c0158317.cjs.js → serve-9c68f54d.cjs.js} +7 -7
  42. package/dist/cjs/{server-92484e65.cjs.js → server-937c32b4.cjs.js} +2 -2
  43. package/dist/cjs/{tasks-af5a8311.cjs.js → tasks-3a7eba1b.cjs.js} +2 -2
  44. package/dist/cjs/{testCommand-d00730ed.cjs.js → testCommand-5cdbf69c.cjs.js} +3 -3
  45. package/dist/cjs/{validate-1fe16ba0.cjs.js → validate-697fd284.cjs.js} +4 -4
  46. package/dist/index.cjs.js +1 -1
  47. package/package.json +6 -4
  48. package/dist/cjs/buildWorkspace-928a58ea.cjs.js +0 -35
  49. package/dist/cjs/index-c6f27b84.cjs.js +0 -106
@@ -0,0 +1,205 @@
1
+ 'use strict';
2
+
3
+ var chalk = require('chalk');
4
+ var fs = require('fs-extra');
5
+ var path = require('path');
6
+ var os = require('os');
7
+ var tar = require('tar');
8
+ var partition = require('lodash/partition');
9
+ var index = require('./index-8b03e1f7.cjs.js');
10
+ var run = require('./run-8da8f918.cjs.js');
11
+ var PackageGraph = require('./PackageGraph-96b2e6ef.cjs.js');
12
+ var packager = require('./packager-3bddd88f.cjs.js');
13
+ var npmPackList = require('npm-packlist');
14
+
15
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
+
17
+ var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
18
+ var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
19
+ var tar__default = /*#__PURE__*/_interopDefaultLegacy(tar);
20
+ var partition__default = /*#__PURE__*/_interopDefaultLegacy(partition);
21
+ var npmPackList__default = /*#__PURE__*/_interopDefaultLegacy(npmPackList);
22
+
23
+ const SKIPPED_KEYS = ["access", "registry", "tag", "alphaTypes", "betaTypes"];
24
+ async function writeReleaseStageEntrypoint(pkg, stage, targetDir) {
25
+ await fs__default["default"].ensureDir(path.resolve(targetDir, stage));
26
+ await fs__default["default"].writeJson(path.resolve(targetDir, stage, "package.json"), {
27
+ name: pkg.name,
28
+ version: pkg.version,
29
+ main: (pkg.publishConfig.main || pkg.main) && "..",
30
+ module: (pkg.publishConfig.module || pkg.module) && "..",
31
+ browser: (pkg.publishConfig.browser || pkg.browser) && "..",
32
+ types: path.join("..", pkg.publishConfig[`${stage}Types`])
33
+ }, { encoding: "utf8", spaces: 2 });
34
+ }
35
+ async function copyPackageDist(packageDir, targetDir) {
36
+ var _a;
37
+ const pkgPath = path.resolve(packageDir, "package.json");
38
+ const pkgContent = await fs__default["default"].readFile(pkgPath, "utf8");
39
+ const pkg = JSON.parse(pkgContent);
40
+ const publishConfig = (_a = pkg.publishConfig) != null ? _a : {};
41
+ for (const key of Object.keys(publishConfig)) {
42
+ if (!SKIPPED_KEYS.includes(key)) {
43
+ pkg[key] = publishConfig[key];
44
+ }
45
+ }
46
+ if (pkg.bundled) {
47
+ delete pkg.dependencies;
48
+ delete pkg.devDependencies;
49
+ delete pkg.peerDependencies;
50
+ delete pkg.optionalDependencies;
51
+ }
52
+ await fs__default["default"].writeJson(pkgPath, pkg, { encoding: "utf8", spaces: 2 });
53
+ const filePaths = await npmPackList__default["default"]({ path: packageDir });
54
+ await fs__default["default"].ensureDir(targetDir);
55
+ for (const filePath of filePaths.sort()) {
56
+ await fs__default["default"].copy(path.resolve(packageDir, filePath), path.resolve(targetDir, filePath));
57
+ }
58
+ if (publishConfig.alphaTypes) {
59
+ await writeReleaseStageEntrypoint(pkg, "alpha", targetDir);
60
+ }
61
+ if (publishConfig.betaTypes) {
62
+ await writeReleaseStageEntrypoint(pkg, "beta", targetDir);
63
+ }
64
+ await fs__default["default"].writeFile(pkgPath, pkgContent, "utf8");
65
+ }
66
+
67
+ const UNSAFE_PACKAGES = [
68
+ ...Object.keys(index.dependencies),
69
+ ...Object.keys(index.devDependencies)
70
+ ];
71
+ async function createDistWorkspace(packageNames, options = {}) {
72
+ var _a, _b, _c, _d, _e;
73
+ const targetDir = (_a = options.targetDir) != null ? _a : await fs__default["default"].mkdtemp(path.resolve(os.tmpdir(), "dist-workspace"));
74
+ const packages = await PackageGraph.PackageGraph.listTargetPackages();
75
+ const packageGraph = PackageGraph.PackageGraph.fromPackages(packages);
76
+ const targetNames = packageGraph.collectPackageNames(packageNames, (node) => {
77
+ if (node.packageJson.bundled) {
78
+ return void 0;
79
+ }
80
+ return node.publishedLocalDependencies.keys();
81
+ });
82
+ const targets = Array.from(targetNames).map((name) => packageGraph.get(name));
83
+ if (options.buildDependencies) {
84
+ const exclude = (_b = options.buildExcludes) != null ? _b : [];
85
+ const toBuild = new Set(targets.map((_) => _.name).filter((name) => !exclude.includes(name)));
86
+ const standardBuilds = new Array();
87
+ const customBuild = new Array();
88
+ for (const pkg of packages) {
89
+ if (!toBuild.has(pkg.packageJson.name)) {
90
+ continue;
91
+ }
92
+ const role = (_c = pkg.packageJson.backstage) == null ? void 0 : _c.role;
93
+ if (!role) {
94
+ console.warn(`Ignored ${pkg.packageJson.name} because it has no role`);
95
+ customBuild.push(pkg.packageJson.name);
96
+ continue;
97
+ }
98
+ const buildScript = (_d = pkg.packageJson.scripts) == null ? void 0 : _d.build;
99
+ if (!buildScript) {
100
+ customBuild.push(pkg.packageJson.name);
101
+ continue;
102
+ }
103
+ if (!buildScript.startsWith("backstage-cli script build")) {
104
+ console.warn(`Ignored ${pkg.packageJson.name} because it has a custom build script, '${buildScript}'`);
105
+ customBuild.push(pkg.packageJson.name);
106
+ continue;
107
+ }
108
+ const outputs = packager.getOutputsForRole(role);
109
+ outputs.delete(packager.Output.types);
110
+ if (outputs.size > 0) {
111
+ standardBuilds.push({
112
+ targetDir: pkg.dir,
113
+ outputs,
114
+ logPrefix: `${chalk__default["default"].cyan(path.relative(index.paths.targetRoot, pkg.dir))}: `,
115
+ minify: false,
116
+ useApiExtractor: false
117
+ });
118
+ }
119
+ }
120
+ await packager.buildPackages(standardBuilds);
121
+ if (customBuild.length > 0) {
122
+ const scopeArgs = customBuild.flatMap((name) => ["--scope", name]);
123
+ const lernaArgs = options.parallelism && Number.isInteger(options.parallelism) ? ["--concurrency", options.parallelism.toString()] : [];
124
+ await run.run("yarn", ["lerna", ...lernaArgs, "run", ...scopeArgs, "build"], {
125
+ cwd: index.paths.targetRoot
126
+ });
127
+ }
128
+ }
129
+ await moveToDistWorkspace(targetDir, targets);
130
+ const files = (_e = options.files) != null ? _e : ["yarn.lock", "package.json"];
131
+ for (const file of files) {
132
+ const src = typeof file === "string" ? file : file.src;
133
+ const dest = typeof file === "string" ? file : file.dest;
134
+ await fs__default["default"].copy(index.paths.resolveTargetRoot(src), path.resolve(targetDir, dest));
135
+ }
136
+ if (options.skeleton) {
137
+ const skeletonFiles = targets.map((target) => {
138
+ const dir = path.relative(index.paths.targetRoot, target.dir);
139
+ return path.join(dir, "package.json");
140
+ });
141
+ await tar__default["default"].create({
142
+ file: path.resolve(targetDir, options.skeleton),
143
+ cwd: targetDir,
144
+ portable: true,
145
+ noMtime: true,
146
+ gzip: options.skeleton.endsWith(".gz")
147
+ }, skeletonFiles);
148
+ }
149
+ return targetDir;
150
+ }
151
+ const FAST_PACK_SCRIPTS = [
152
+ void 0,
153
+ "backstage-cli prepack",
154
+ "backstage-cli script prepack"
155
+ ];
156
+ async function moveToDistWorkspace(workspaceDir, localPackages) {
157
+ const [fastPackPackages, slowPackPackages] = partition__default["default"](localPackages, (pkg) => {
158
+ var _a;
159
+ return FAST_PACK_SCRIPTS.includes((_a = pkg.packageJson.scripts) == null ? void 0 : _a.prepack);
160
+ });
161
+ await Promise.all(fastPackPackages.map(async (target) => {
162
+ console.log(`Moving ${target.name} into dist workspace`);
163
+ const outputDir = path.relative(index.paths.targetRoot, target.dir);
164
+ const absoluteOutputPath = path.resolve(workspaceDir, outputDir);
165
+ await copyPackageDist(target.dir, absoluteOutputPath);
166
+ }));
167
+ async function pack(target, archive) {
168
+ var _a, _b;
169
+ console.log(`Repacking ${target.name} into dist workspace`);
170
+ const archivePath = path.resolve(workspaceDir, archive);
171
+ await run.run("yarn", ["pack", "--filename", archivePath], {
172
+ cwd: target.dir
173
+ });
174
+ if ((_b = (_a = target.packageJson) == null ? void 0 : _a.scripts) == null ? void 0 : _b.postpack) {
175
+ await run.run("yarn", ["postpack"], { cwd: target.dir });
176
+ }
177
+ const outputDir = path.relative(index.paths.targetRoot, target.dir);
178
+ const absoluteOutputPath = path.resolve(workspaceDir, outputDir);
179
+ await fs__default["default"].ensureDir(absoluteOutputPath);
180
+ await tar__default["default"].extract({
181
+ file: archivePath,
182
+ cwd: absoluteOutputPath,
183
+ strip: 1
184
+ });
185
+ await fs__default["default"].remove(archivePath);
186
+ if (target.packageJson.bundled) {
187
+ const pkgJson = await fs__default["default"].readJson(path.resolve(absoluteOutputPath, "package.json"));
188
+ delete pkgJson.dependencies;
189
+ delete pkgJson.devDependencies;
190
+ delete pkgJson.peerDependencies;
191
+ delete pkgJson.optionalDependencies;
192
+ await fs__default["default"].writeJson(path.resolve(absoluteOutputPath, "package.json"), pkgJson, {
193
+ spaces: 2
194
+ });
195
+ }
196
+ }
197
+ const [unsafePackages, safePackages] = partition__default["default"](slowPackPackages, (p) => UNSAFE_PACKAGES.includes(p.name));
198
+ for (const target of unsafePackages) {
199
+ await pack(target, `temp-package.tgz`);
200
+ }
201
+ await Promise.all(safePackages.map(async (target, index) => pack(target, `temp-package-${index}.tgz`)));
202
+ }
203
+
204
+ exports.createDistWorkspace = createDistWorkspace;
205
+ //# sourceMappingURL=createDistWorkspace-f4c0276b.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-af5a8311.cjs.js');
14
- var index = require('./index-4891d7c8.cjs.js');
13
+ var tasks = require('./tasks-3a7eba1b.cjs.js');
14
+ var index = require('./index-8b03e1f7.cjs.js');
15
15
  var Lockfile = require('./Lockfile-35661afa.cjs.js');
16
16
  require('minimatch');
17
17
  require('@manypkg/get-packages');
18
- require('./run-a43ff38a.cjs.js');
18
+ require('./run-8da8f918.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-f7c1f793.cjs.js.map
237
+ //# sourceMappingURL=createPlugin-ba8c6df0.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-4891d7c8.cjs.js');
5
- var backend = require('./backend-d9673c56.cjs.js');
4
+ var index = require('./index-8b03e1f7.cjs.js');
5
+ var backend = require('./backend-fb6d6170.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-dfe5663b.cjs.js');
13
+ require('./paths-f6ca70df.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-a43ff38a.cjs.js');
23
+ require('./run-8da8f918.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-5547c279.cjs.js.map
45
+ //# sourceMappingURL=dev-e8f4294f.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-4891d7c8.cjs.js');
10
+ var index = require('./index-8b03e1f7.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
@@ -377,4 +377,4 @@ async function readPluginData() {
377
377
  }
378
378
 
379
379
  exports["default"] = diff;
380
- //# sourceMappingURL=diff-2ff7d14c.cjs.js.map
380
+ //# sourceMappingURL=diff-7c3a6378.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-83431a6c.cjs.js');
5
+ var config = require('./config-f2365900.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-4891d7c8.cjs.js');
7
+ require('./index-8b03e1f7.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-defd05cb.cjs.js');
16
+ require('./PackageGraph-96b2e6ef.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-8b2d4e74.cjs.js.map
34
+ //# sourceMappingURL=docs-f72a2ec8.cjs.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var packager = require('./packager-44c96cee.cjs.js');
4
- var packageRoles = require('./packageRoles-4e0510e6.cjs.js');
5
- var index = require('./index-4891d7c8.cjs.js');
6
- var buildBackend = require('./buildBackend-002dfd9a.cjs.js');
3
+ var packager = require('./packager-3bddd88f.cjs.js');
4
+ var packageRoles = require('./packageRoles-f4b169a7.cjs.js');
5
+ var index = require('./index-8b03e1f7.cjs.js');
6
+ var buildBackend = require('./buildBackend-08cefb3c.cjs.js');
7
7
  require('fs-extra');
8
8
  require('rollup');
9
9
  require('chalk');
@@ -34,26 +34,28 @@ require('react-dev-utils/ModuleScopePlugin');
34
34
  require('run-script-webpack-plugin');
35
35
  require('webpack-node-externals');
36
36
  require('@manypkg/get-packages');
37
- require('./paths-dfe5663b.cjs.js');
37
+ require('./paths-f6ca70df.cjs.js');
38
38
  require('mini-css-extract-plugin');
39
- require('./run-a43ff38a.cjs.js');
39
+ require('./run-8da8f918.cjs.js');
40
40
  require('child_process');
41
41
  require('util');
42
42
  require('eslint-webpack-plugin');
43
43
  require('lodash/pickBy');
44
- require('./bundle-325ec9f1.cjs.js');
44
+ require('./bundle-4ce79bce.cjs.js');
45
45
  require('yn');
46
46
  require('react-dev-utils/FileSizeReporter');
47
47
  require('react-dev-utils/formatWebpackMessages');
48
48
  require('webpack-dev-server');
49
49
  require('react-dev-utils/openBrowser');
50
- require('./config-83431a6c.cjs.js');
50
+ require('./config-f2365900.cjs.js');
51
51
  require('@backstage/config-loader');
52
52
  require('@backstage/config');
53
- require('./PackageGraph-defd05cb.cjs.js');
53
+ require('./PackageGraph-96b2e6ef.cjs.js');
54
54
  require('os');
55
55
  require('tar');
56
- require('./index-c6f27b84.cjs.js');
56
+ require('./createDistWorkspace-f4c0276b.cjs.js');
57
+ require('lodash/partition');
58
+ require('npm-packlist');
57
59
 
58
60
  async function command(cmd) {
59
61
  const role = await packageRoles.findRoleFromCommand(cmd);
@@ -89,4 +91,4 @@ async function command(cmd) {
89
91
  }
90
92
 
91
93
  exports.command = command;
92
- //# sourceMappingURL=index-933f0244.cjs.js.map
94
+ //# sourceMappingURL=index-526e4dc9.cjs.js.map
@@ -46,9 +46,9 @@ class NotFoundError extends CustomError {
46
46
 
47
47
  const paths = cliCommon.findPaths(__dirname);
48
48
 
49
- var version$9 = "0.10.6";
49
+ var version$9 = "0.10.7-next.0";
50
50
 
51
- var version$8 = "0.13.1";
51
+ var version$8 = "0.13.2-next.0";
52
52
  var dependencies = {
53
53
  "@backstage/cli-common": "^0.1.6",
54
54
  "@backstage/config": "^0.1.13",
@@ -108,6 +108,7 @@ var dependencies = {
108
108
  lodash: "^4.17.21",
109
109
  minimatch: "3.0.4",
110
110
  "mini-css-extract-plugin": "^2.4.2",
111
+ "npm-packlist": "^3.0.0",
111
112
  "node-libs-browser": "^2.2.1",
112
113
  ora: "^5.3.0",
113
114
  postcss: "^8.1.0",
@@ -138,12 +139,12 @@ var dependencies = {
138
139
  zod: "^3.11.6"
139
140
  };
140
141
  var devDependencies = {
141
- "@backstage/backend-common": "^0.10.6",
142
+ "@backstage/backend-common": "^0.10.7-next.0",
142
143
  "@backstage/config": "^0.1.13",
143
- "@backstage/core-components": "^0.8.7",
144
+ "@backstage/core-components": "^0.8.8-next.0",
144
145
  "@backstage/core-plugin-api": "^0.6.0",
145
146
  "@backstage/core-app-api": "^0.5.2",
146
- "@backstage/dev-utils": "^0.2.20",
147
+ "@backstage/dev-utils": "^0.2.21-next.0",
147
148
  "@backstage/test-utils": "^0.2.4",
148
149
  "@backstage/theme": "^0.2.14",
149
150
  "@types/diff": "^5.0.0",
@@ -154,6 +155,7 @@ var devDependencies = {
154
155
  "@types/minimatch": "^3.0.5",
155
156
  "@types/mock-fs": "^4.13.0",
156
157
  "@types/node": "^14.14.32",
158
+ "@types/npm-packlist": "^1.1.2",
157
159
  "@types/recursive-readdir": "^2.2.0",
158
160
  "@types/rollup-plugin-peer-deps-external": "^2.2.0",
159
161
  "@types/rollup-plugin-postcss": "^2.0.0",
@@ -168,17 +170,17 @@ var devDependencies = {
168
170
 
169
171
  var version$7 = "0.5.2";
170
172
 
171
- var version$6 = "0.8.7";
173
+ var version$6 = "0.8.8-next.0";
172
174
 
173
175
  var version$5 = "0.6.0";
174
176
 
175
- var version$4 = "0.2.20";
177
+ var version$4 = "0.2.21-next.0";
176
178
 
177
179
  var version$3 = "0.2.4";
178
180
 
179
181
  var version$2 = "0.2.14";
180
182
 
181
- var version$1 = "0.15.23";
183
+ var version$1 = "0.15.24-next.0";
182
184
 
183
185
  const packageVersions = {
184
186
  "@backstage/backend-common": version$9,
@@ -233,53 +235,53 @@ const configOption = [
233
235
  ];
234
236
  function registerRepoCommand(program) {
235
237
  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)));
238
+ 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-9db9aaaf.cjs.js'); }).then((m) => m.command)));
237
239
  }
238
240
  function registerScriptCommand(program) {
239
241
  const command = program.command("script [command]", { hidden: true }).description("Lifecycle scripts for Backstage packages [EXPERIMENTAL]");
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)));
242
+ 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-d7ee78c4.cjs.js'); }).then((m) => m.command)));
243
+ 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-526e4dc9.cjs.js'); }).then((m) => m.command)));
244
+ 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-a49b0261.cjs.js'); }).then((m) => m.default)));
245
+ 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-5cdbf69c.cjs.js'); }).then((m) => m.default)));
246
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c50d4782.cjs.js'); }).then((m) => m.default)));
247
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-7da7f03b.cjs.js'); }).then((m) => m.pre)));
248
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-7da7f03b.cjs.js'); }).then((m) => m.post)));
247
249
  }
248
250
  function registerMigrateCommand(program) {
249
251
  const command = program.command("migrate [command]", { hidden: true }).description("Migration utilities [EXPERIMENTAL]");
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)));
252
+ 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-7bb8a760.cjs.js'); }).then((m) => m.default)));
253
+ command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-23016b48.cjs.js'); }).then((m) => m.command)));
252
254
  }
253
255
  function registerCommands(program) {
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)));
256
+ 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-b3c69eff.cjs.js'); }).then((m) => m.default)));
257
+ 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-01190cc4.cjs.js'); }).then((m) => m.default)));
258
+ 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-93f627fc.cjs.js'); }).then((m) => m.default)));
259
+ 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-b3d9e5ab.cjs.js'); }).then((m) => m.default)));
260
+ 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-e8f4294f.cjs.js'); }).then((m) => m.default)));
261
+ 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-7ad905e4.cjs.js'); }).then((m) => m.default)));
262
+ 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-ba8c6df0.cjs.js'); }).then((m) => m.default)));
263
+ 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-8fd28a6d.cjs.js'); }).then((m) => m.default)));
264
+ 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-9c68f54d.cjs.js'); }).then((m) => m.default)));
265
+ 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-7c3a6378.cjs.js'); }).then((m) => m.default)));
266
+ 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-e0886590.cjs.js'); }).then((m) => m.default)));
267
+ 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-a49b0261.cjs.js'); }).then((m) => m.default)));
268
+ 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-5cdbf69c.cjs.js'); }).then((m) => m.default)));
269
+ 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-f72a2ec8.cjs.js'); }).then((m) => m.default)));
270
+ 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-43232f19.cjs.js'); }).then((m) => m.default)));
271
+ 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-697fd284.cjs.js'); }).then((m) => m.default)));
272
+ 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-2c7e9598.cjs.js'); }).then((m) => m.default)));
271
273
  registerRepoCommand(program);
272
274
  registerScriptCommand(program);
273
275
  registerMigrateCommand(program);
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)));
276
+ 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-a85eb7bb.cjs.js'); }).then((m) => m.default)));
277
+ 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-cc10c98e.cjs.js'); }).then((m) => m.default)));
278
+ program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-7da7f03b.cjs.js'); }).then((m) => m.pre)));
279
+ program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-7da7f03b.cjs.js'); }).then((m) => m.post)));
280
+ program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-c50d4782.cjs.js'); }).then((m) => m.default)));
281
+ 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-1323bee2.cjs.js'); }).then((m) => m.default)));
282
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-c953b562.cjs.js'); }).then((m) => m.default)));
283
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-92d051f2.cjs.js'); }).then((m) => m.default)));
284
+ 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-1f10c477.cjs.js'); }).then((m) => m.default)));
283
285
  }
284
286
  function lazy(getActionFunc) {
285
287
  return async (...args) => {
@@ -323,4 +325,4 @@ exports.devDependencies = devDependencies;
323
325
  exports.paths = paths;
324
326
  exports.version = version;
325
327
  exports.version$1 = version$8;
326
- //# sourceMappingURL=index-4891d7c8.cjs.js.map
328
+ //# sourceMappingURL=index-8b03e1f7.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-4891d7c8.cjs.js');
6
+ var index$1 = require('./index-8b03e1f7.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-4abb650a.cjs.js.map
131
+ //# sourceMappingURL=index-c953b562.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-4891d7c8.cjs.js');
5
- var backend = require('./backend-d9673c56.cjs.js');
4
+ var index = require('./index-8b03e1f7.cjs.js');
5
+ var backend = require('./backend-fb6d6170.cjs.js');
6
6
  require('yn');
7
7
  require('path');
8
8
  require('webpack');
@@ -16,20 +16,20 @@ require('run-script-webpack-plugin');
16
16
  require('webpack-node-externals');
17
17
  require('@backstage/cli-common');
18
18
  require('@manypkg/get-packages');
19
- require('./paths-dfe5663b.cjs.js');
19
+ require('./paths-f6ca70df.cjs.js');
20
20
  require('mini-css-extract-plugin');
21
- require('./run-a43ff38a.cjs.js');
21
+ require('./run-8da8f918.cjs.js');
22
22
  require('eslint-webpack-plugin');
23
23
  require('lodash/pickBy');
24
24
  require('webpack-dev-server');
25
25
  require('react-dev-utils/openBrowser');
26
26
  var uniq = require('lodash/uniq');
27
- var server = require('./server-92484e65.cjs.js');
28
- var config = require('./config-83431a6c.cjs.js');
27
+ var server = require('./server-937c32b4.cjs.js');
28
+ var config = require('./config-f2365900.cjs.js');
29
29
  var Lockfile = require('./Lockfile-35661afa.cjs.js');
30
30
  require('minimatch');
31
- var lint = require('./lint-4235f48f.cjs.js');
32
- var packageRoles = require('./packageRoles-4e0510e6.cjs.js');
31
+ var lint = require('./lint-cc10c98e.cjs.js');
32
+ var packageRoles = require('./packageRoles-f4b169a7.cjs.js');
33
33
  require('commander');
34
34
  require('semver');
35
35
  require('@backstage/config/package.json');
@@ -39,7 +39,7 @@ require('child_process');
39
39
  require('util');
40
40
  require('@backstage/config-loader');
41
41
  require('@backstage/config');
42
- require('./PackageGraph-defd05cb.cjs.js');
42
+ require('./PackageGraph-96b2e6ef.cjs.js');
43
43
  require('@yarnpkg/lockfile');
44
44
  require('lodash/partition');
45
45
  require('zod');
@@ -122,4 +122,4 @@ async function command(cmd) {
122
122
  }
123
123
 
124
124
  exports.command = command;
125
- //# sourceMappingURL=index-a971b16a.cjs.js.map
125
+ //# sourceMappingURL=index-d7ee78c4.cjs.js.map