@backstage/cli 0.17.1-next.0 → 0.17.1-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/config/eslint-factory.js +8 -2
- package/config/jest.js +1 -1
- package/dist/cjs/{PackageGraph-8d144cb7.cjs.js → PackageGraph-82efc305.cjs.js} +2 -2
- package/dist/cjs/{backend-36ad324b.cjs.js → backend-663637e2.cjs.js} +2 -2
- package/dist/cjs/{build-e2903e7c.cjs.js → build-4895865f.cjs.js} +11 -11
- package/dist/cjs/{build-39b5242a.cjs.js → build-4eeed965.cjs.js} +4 -4
- package/dist/cjs/{build-6dc8a537.cjs.js → build-ec12b828.cjs.js} +7 -7
- package/dist/cjs/{build-08288ec9.cjs.js → build-f1a8e153.cjs.js} +4 -4
- package/dist/cjs/{buildBackend-45b459c6.cjs.js → buildBackend-f3ad1010.cjs.js} +8 -8
- package/dist/cjs/{buildWorkspace-3ceb5e9c.cjs.js → buildWorkspace-cf28843c.cjs.js} +7 -7
- package/dist/cjs/{bump-cb245531.cjs.js → bump-2e78c102.cjs.js} +5 -5
- package/dist/cjs/{bundle-e11294ed.cjs.js → bundle-3f5606a0.cjs.js} +7 -7
- package/dist/cjs/{bundle-62f7204c.cjs.js → bundle-a367adb0.cjs.js} +2 -2
- package/dist/cjs/{clean-c4f8f462.cjs.js → clean-8fd25e1d.cjs.js} +2 -2
- package/dist/cjs/{config-b809ec94.cjs.js → config-193dda83.cjs.js} +3 -3
- package/dist/cjs/{create-8ab99121.cjs.js → create-23431352.cjs.js} +4 -4
- package/dist/cjs/{createDistWorkspace-0c811a67.cjs.js → createDistWorkspace-6ad3e10a.cjs.js} +6 -6
- package/dist/cjs/{createPlugin-c541a592.cjs.js → createPlugin-850e9677.cjs.js} +4 -4
- package/dist/cjs/{dev-5daa0ad5.cjs.js → dev-347bd5a1.cjs.js} +5 -5
- package/dist/cjs/{diff-9ab5c93c.cjs.js → diff-193a2303.cjs.js} +2 -2
- package/dist/cjs/{docs-70ff6b41.cjs.js → docs-cf25306d.cjs.js} +4 -4
- package/dist/cjs/{fix-9c867cd9.cjs.js → fix-6cff35fe.cjs.js} +3 -3
- package/dist/cjs/{index-24217979.cjs.js → index-0f2d3231.cjs.js} +10 -10
- package/dist/cjs/{index-ac4d04f8.cjs.js → index-38f7e56c.cjs.js} +11 -11
- package/dist/cjs/{index-40f43d08.cjs.js → index-7bc0be5b.cjs.js} +19 -3
- package/dist/cjs/{index-7aa76653.cjs.js → index-a03d6ecd.cjs.js} +54 -54
- package/dist/cjs/{info-cedccb1f.cjs.js → info-895fe5a1.cjs.js} +3 -3
- package/dist/cjs/{install-2792d801.cjs.js → install-53caa556.cjs.js} +4 -4
- package/dist/cjs/{lint-c3e83dde.cjs.js → lint-3697bcd1.cjs.js} +3 -3
- package/dist/cjs/{lint-aca9ebed.cjs.js → lint-9e007a34.cjs.js} +2 -2
- package/dist/cjs/{lint-8c81dafb.cjs.js → lint-fe016d90.cjs.js} +3 -3
- package/dist/cjs/{list-deprecations-7aebd1de.cjs.js → list-deprecations-da8d83ec.cjs.js} +3 -3
- package/dist/cjs/{oldBuild-a5e69c49.cjs.js → oldBuild-2d7642ec.cjs.js} +4 -4
- package/dist/cjs/{pack-1982c102.cjs.js → pack-899cb92c.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-79659a07.cjs.js → packageLintConfigs-2b2f9dba.cjs.js} +4 -4
- package/dist/cjs/{packageRole-018ad411.cjs.js → packageRole-c8ddf297.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-4f3055b4.cjs.js → packageRoles-cd537e06.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-d61a3265.cjs.js → packageScripts-ea427fce.cjs.js} +4 -4
- package/dist/cjs/{packager-c764bf55.cjs.js → packager-da91e4cd.cjs.js} +13 -3
- package/dist/cjs/{packages-c6363720.cjs.js → packages-0d95622f.cjs.js} +3 -3
- package/dist/cjs/{paths-a745b064.cjs.js → paths-8e8904ea.cjs.js} +3 -3
- package/dist/cjs/{print-6ebeba29.cjs.js → print-37da78a5.cjs.js} +4 -4
- package/dist/cjs/{run-42a6df86.cjs.js → run-08cc6f37.cjs.js} +2 -2
- package/dist/cjs/{schema-d69a3bad.cjs.js → schema-5f950b20.cjs.js} +4 -4
- package/dist/cjs/{serve-9ef7a13f.cjs.js → serve-0ea3e28a.cjs.js} +7 -7
- package/dist/cjs/{serve-2803af0c.cjs.js → serve-5bf85d58.cjs.js} +8 -8
- package/dist/cjs/{server-fd8bcb7d.cjs.js → server-b5e40f73.cjs.js} +2 -2
- package/dist/cjs/{tasks-fc57f98a.cjs.js → tasks-5df3a3b5.cjs.js} +2 -2
- package/dist/cjs/{test-381ace6e.cjs.js → test-0c22ceab.cjs.js} +3 -3
- package/dist/cjs/{validate-d6fb5d09.cjs.js → validate-d8581b37.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +8 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var packager = require('./packager-
|
|
4
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var buildBackend = require('./buildBackend-
|
|
3
|
+
var packager = require('./packager-da91e4cd.cjs.js');
|
|
4
|
+
var packageRoles = require('./packageRoles-cd537e06.cjs.js');
|
|
5
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
6
|
+
var buildBackend = require('./buildBackend-f3ad1010.cjs.js');
|
|
7
7
|
require('fs-extra');
|
|
8
8
|
require('rollup');
|
|
9
9
|
require('chalk');
|
|
@@ -33,25 +33,25 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
33
33
|
require('run-script-webpack-plugin');
|
|
34
34
|
require('webpack-node-externals');
|
|
35
35
|
require('@manypkg/get-packages');
|
|
36
|
-
require('./paths-
|
|
36
|
+
require('./paths-8e8904ea.cjs.js');
|
|
37
37
|
require('mini-css-extract-plugin');
|
|
38
|
-
require('./run-
|
|
38
|
+
require('./run-08cc6f37.cjs.js');
|
|
39
39
|
require('child_process');
|
|
40
40
|
require('util');
|
|
41
41
|
require('eslint-webpack-plugin');
|
|
42
42
|
require('lodash/pickBy');
|
|
43
|
-
require('./bundle-
|
|
43
|
+
require('./bundle-a367adb0.cjs.js');
|
|
44
44
|
require('yn');
|
|
45
45
|
require('react-dev-utils/FileSizeReporter');
|
|
46
46
|
require('react-dev-utils/formatWebpackMessages');
|
|
47
47
|
require('webpack-dev-server');
|
|
48
48
|
require('react-dev-utils/openBrowser');
|
|
49
|
-
require('./config-
|
|
49
|
+
require('./config-193dda83.cjs.js');
|
|
50
50
|
require('@backstage/config-loader');
|
|
51
51
|
require('@backstage/config');
|
|
52
|
-
require('./PackageGraph-
|
|
52
|
+
require('./PackageGraph-82efc305.cjs.js');
|
|
53
53
|
require('tar');
|
|
54
|
-
require('./createDistWorkspace-
|
|
54
|
+
require('./createDistWorkspace-6ad3e10a.cjs.js');
|
|
55
55
|
require('lodash/partition');
|
|
56
56
|
require('npm-packlist');
|
|
57
57
|
|
|
@@ -89,4 +89,4 @@ async function command(opts) {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
exports.command = command;
|
|
92
|
-
//# sourceMappingURL=index-
|
|
92
|
+
//# sourceMappingURL=index-38f7e56c.cjs.js.map
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var chalk = require('chalk');
|
|
5
5
|
var yaml = require('yaml');
|
|
6
|
-
var
|
|
6
|
+
var inquirer = require('inquirer');
|
|
7
|
+
var index$1 = require('./index-a03d6ecd.cjs.js');
|
|
7
8
|
var crypto = require('crypto');
|
|
8
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
9
10
|
var request = require('@octokit/request');
|
|
@@ -18,6 +19,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
19
|
|
|
19
20
|
var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
|
|
20
21
|
var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
|
|
22
|
+
var inquirer__default = /*#__PURE__*/_interopDefaultLegacy(inquirer);
|
|
21
23
|
var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
|
|
22
24
|
var openBrowser__default = /*#__PURE__*/_interopDefaultLegacy(openBrowser);
|
|
23
25
|
var express__default = /*#__PURE__*/_interopDefaultLegacy(express);
|
|
@@ -143,9 +145,23 @@ async function verifyGithubOrg(org) {
|
|
|
143
145
|
console.log(chalk__default["default"].yellow("Warning: Unable to verify existence of GitHub organization. ", e));
|
|
144
146
|
}
|
|
145
147
|
if ((response == null ? void 0 : response.status) === 404) {
|
|
146
|
-
|
|
148
|
+
const questions = [
|
|
149
|
+
{
|
|
150
|
+
type: "confirm",
|
|
151
|
+
name: "shouldCreateOrg",
|
|
152
|
+
message: `GitHub organization ${chalk__default["default"].cyan(org)} does not exist. Would you like to create a new Organization instead?`
|
|
153
|
+
}
|
|
154
|
+
];
|
|
155
|
+
const answers = await inquirer__default["default"].prompt(questions);
|
|
156
|
+
if (!answers.shouldCreateOrg) {
|
|
157
|
+
console.log(chalk__default["default"].yellow("GitHub organization must exist to create GitHub app"));
|
|
158
|
+
process.exit(1);
|
|
159
|
+
}
|
|
160
|
+
openBrowser__default["default"]("https://github.com/account/organizations/new");
|
|
161
|
+
console.log(chalk__default["default"].yellow("Please re-run this command when you have created your new organization"));
|
|
162
|
+
process.exit(0);
|
|
147
163
|
}
|
|
148
164
|
}
|
|
149
165
|
|
|
150
166
|
exports["default"] = index;
|
|
151
|
-
//# sourceMappingURL=index-
|
|
167
|
+
//# sourceMappingURL=index-7bc0be5b.cjs.js.map
|
|
@@ -44,9 +44,9 @@ class NotFoundError extends CustomError {
|
|
|
44
44
|
|
|
45
45
|
const paths = cliCommon.findPaths(__dirname);
|
|
46
46
|
|
|
47
|
-
var version$a = "0.13.3-next.
|
|
47
|
+
var version$a = "0.13.3-next.1";
|
|
48
48
|
|
|
49
|
-
var version$9 = "0.17.1-next.
|
|
49
|
+
var version$9 = "0.17.1-next.1";
|
|
50
50
|
var dependencies = {
|
|
51
51
|
"@backstage/cli-common": "^0.1.8",
|
|
52
52
|
"@backstage/config": "^1.0.0",
|
|
@@ -142,13 +142,13 @@ var dependencies = {
|
|
|
142
142
|
zod: "^3.11.6"
|
|
143
143
|
};
|
|
144
144
|
var devDependencies = {
|
|
145
|
-
"@backstage/backend-common": "^0.13.3-next.
|
|
145
|
+
"@backstage/backend-common": "^0.13.3-next.1",
|
|
146
146
|
"@backstage/config": "^1.0.0",
|
|
147
|
-
"@backstage/core-app-api": "^1.0.
|
|
148
|
-
"@backstage/core-components": "^0.9.
|
|
149
|
-
"@backstage/core-plugin-api": "^1.0.
|
|
150
|
-
"@backstage/dev-utils": "^1.0.2-next.
|
|
151
|
-
"@backstage/test-utils": "^1.0
|
|
147
|
+
"@backstage/core-app-api": "^1.0.2-next.0",
|
|
148
|
+
"@backstage/core-components": "^0.9.4-next.0",
|
|
149
|
+
"@backstage/core-plugin-api": "^1.0.2-next.0",
|
|
150
|
+
"@backstage/dev-utils": "^1.0.2-next.1",
|
|
151
|
+
"@backstage/test-utils": "^1.1.0-next.1",
|
|
152
152
|
"@backstage/theme": "^0.2.15",
|
|
153
153
|
"@types/diff": "^5.0.0",
|
|
154
154
|
"@types/express": "^4.17.6",
|
|
@@ -175,15 +175,15 @@ var devDependencies = {
|
|
|
175
175
|
|
|
176
176
|
var version$8 = "1.0.0";
|
|
177
177
|
|
|
178
|
-
var version$7 = "1.0.
|
|
178
|
+
var version$7 = "1.0.2-next.0";
|
|
179
179
|
|
|
180
|
-
var version$6 = "0.9.
|
|
180
|
+
var version$6 = "0.9.4-next.0";
|
|
181
181
|
|
|
182
|
-
var version$5 = "1.0.
|
|
182
|
+
var version$5 = "1.0.2-next.0";
|
|
183
183
|
|
|
184
|
-
var version$4 = "1.0.2-next.
|
|
184
|
+
var version$4 = "1.0.2-next.1";
|
|
185
185
|
|
|
186
|
-
var version$3 = "1.0
|
|
186
|
+
var version$3 = "1.1.0-next.1";
|
|
187
187
|
|
|
188
188
|
var version$2 = "0.2.15";
|
|
189
189
|
|
|
@@ -242,57 +242,57 @@ const configOption = [
|
|
|
242
242
|
];
|
|
243
243
|
function registerRepoCommand(program) {
|
|
244
244
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
245
|
-
command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
246
|
-
command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
247
|
-
command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
245
|
+
command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").option("--since <ref>", "Only build packages and their dev dependents that changed since the specified ref").action(lazy(() => Promise.resolve().then(function () { return require('./build-4895865f.cjs.js'); }).then((m) => m.command)));
|
|
246
|
+
command.command("lint").description("Lint all packages in the project").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--since <ref>", "Only lint packages that changed since the specified ref").option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-fe016d90.cjs.js'); }).then((m) => m.command)));
|
|
247
|
+
command.command("list-deprecations", { hidden: true }).description("List deprecations. [EXPERIMENTAL]").option("--json", "Output as JSON").action(lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-da8d83ec.cjs.js'); }).then((m) => m.command)));
|
|
248
248
|
}
|
|
249
249
|
function registerScriptCommand(program) {
|
|
250
250
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
251
|
-
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-
|
|
252
|
-
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => opts ? [...opts, opt] : [opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
253
|
-
command.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
254
|
-
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
255
|
-
command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
256
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
257
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
258
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
251
|
+
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-0f2d3231.cjs.js'); }).then((m) => m.command)));
|
|
252
|
+
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option("--minify", "Minify the generated code. Does not apply to app or backend packages.").option("--experimental-type-build", "Enable experimental type build. Does not apply to app or backend packages.").option("--skip-build-dependencies", "Skip the automatic building of local dependencies. Applies to backend packages only.").option("--stats", "If bundle stats are available, write them to the output directory. Applies to app packages only.").option("--config <path>", "Config files to load instead of app-config.yaml. Applies to app packages only.", (opt, opts) => opts ? [...opts, opt] : [opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-38f7e56c.cjs.js'); }).then((m) => m.command)));
|
|
253
|
+
command.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-9e007a34.cjs.js'); }).then((m) => m.default)));
|
|
254
|
+
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-0c22ceab.cjs.js'); }).then((m) => m.default)));
|
|
255
|
+
command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-6cff35fe.cjs.js'); }).then((m) => m.command)));
|
|
256
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-8fd25e1d.cjs.js'); }).then((m) => m.default)));
|
|
257
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-899cb92c.cjs.js'); }).then((m) => m.pre)));
|
|
258
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-899cb92c.cjs.js'); }).then((m) => m.post)));
|
|
259
259
|
}
|
|
260
260
|
function registerMigrateCommand(program) {
|
|
261
261
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
262
|
-
command.command("package-roles").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-
|
|
263
|
-
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
264
|
-
command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
262
|
+
command.command("package-roles").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-c8ddf297.cjs.js'); }).then((m) => m.default)));
|
|
263
|
+
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-ea427fce.cjs.js'); }).then((m) => m.command)));
|
|
264
|
+
command.command("package-lint-configs").description("Migrates all packages to use @backstage/cli/config/eslint-factory").action(lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-2b2f9dba.cjs.js'); }).then((m) => m.command)));
|
|
265
265
|
}
|
|
266
266
|
function registerCommands(program) {
|
|
267
|
-
program.command("app:build").description("Build an app for a production release [DEPRECATED]").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
268
|
-
program.command("app:serve").description("Serve an app for local development [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-
|
|
269
|
-
program.command("backend:build").description("Build a backend plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
270
|
-
program.command("backend:bundle").description("Bundle the backend into a deployment archive [DEPRECATED]").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-
|
|
271
|
-
program.command("backend:dev").description("Start local development server with HMR for the backend [DEPRECATED]").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-
|
|
272
|
-
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-
|
|
273
|
-
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-
|
|
274
|
-
program.command("plugin:build").description("Build a plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
275
|
-
program.command("plugin:serve").description("Serves the dev/ folder of a plugin [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-
|
|
276
|
-
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-
|
|
277
|
-
program.command("build").description("Build a package for publishing [DEPRECATED]").option("--outputs <formats>", "List of formats to output [types,cjs,esm]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./oldBuild-
|
|
278
|
-
program.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
279
|
-
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
280
|
-
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-
|
|
281
|
-
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-
|
|
282
|
-
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-
|
|
283
|
-
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-
|
|
267
|
+
program.command("app:build").description("Build an app for a production release [DEPRECATED]").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-ec12b828.cjs.js'); }).then((m) => m.default)));
|
|
268
|
+
program.command("app:serve").description("Serve an app for local development [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-5bf85d58.cjs.js'); }).then((m) => m.default)));
|
|
269
|
+
program.command("backend:build").description("Build a backend plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-4eeed965.cjs.js'); }).then((m) => m.default)));
|
|
270
|
+
program.command("backend:bundle").description("Bundle the backend into a deployment archive [DEPRECATED]").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-3f5606a0.cjs.js'); }).then((m) => m.default)));
|
|
271
|
+
program.command("backend:dev").description("Start local development server with HMR for the backend [DEPRECATED]").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-347bd5a1.cjs.js'); }).then((m) => m.default)));
|
|
272
|
+
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-23431352.cjs.js'); }).then((m) => m.default)));
|
|
273
|
+
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-850e9677.cjs.js'); }).then((m) => m.default)));
|
|
274
|
+
program.command("plugin:build").description("Build a plugin [DEPRECATED]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-f1a8e153.cjs.js'); }).then((m) => m.default)));
|
|
275
|
+
program.command("plugin:serve").description("Serves the dev/ folder of a plugin [DEPRECATED]").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-0ea3e28a.cjs.js'); }).then((m) => m.default)));
|
|
276
|
+
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-193a2303.cjs.js'); }).then((m) => m.default)));
|
|
277
|
+
program.command("build").description("Build a package for publishing [DEPRECATED]").option("--outputs <formats>", "List of formats to output [types,cjs,esm]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./oldBuild-2d7642ec.cjs.js'); }).then((m) => m.default)));
|
|
278
|
+
program.command("lint [directories...]").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./lint-9e007a34.cjs.js'); }).then((m) => m.default)));
|
|
279
|
+
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./test-0c22ceab.cjs.js'); }).then((m) => m.default)));
|
|
280
|
+
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-cf25306d.cjs.js'); }).then((m) => m.default)));
|
|
281
|
+
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-37da78a5.cjs.js'); }).then((m) => m.default)));
|
|
282
|
+
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-d8581b37.cjs.js'); }).then((m) => m.default)));
|
|
283
|
+
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-5f950b20.cjs.js'); }).then((m) => m.default)));
|
|
284
284
|
registerRepoCommand(program);
|
|
285
285
|
registerScriptCommand(program);
|
|
286
286
|
registerMigrateCommand(program);
|
|
287
|
-
program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
288
|
-
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-
|
|
289
|
-
program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
290
|
-
program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
291
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
292
|
-
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-
|
|
293
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
294
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
295
|
-
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-
|
|
287
|
+
program.command("versions:bump").option("--pattern <glob>", "Override glob for matching packages to upgrade").option("--release <version|next|main>", "Bump to a specific Backstage release line or version", "main").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-2e78c102.cjs.js'); }).then((m) => m.default)));
|
|
288
|
+
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-3697bcd1.cjs.js'); }).then((m) => m.default)));
|
|
289
|
+
program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-899cb92c.cjs.js'); }).then((m) => m.pre)));
|
|
290
|
+
program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-899cb92c.cjs.js'); }).then((m) => m.post)));
|
|
291
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-8fd25e1d.cjs.js'); }).then((m) => m.default)));
|
|
292
|
+
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-cf28843c.cjs.js'); }).then((m) => m.default)));
|
|
293
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-7bc0be5b.cjs.js'); }).then((m) => m.default)));
|
|
294
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-895fe5a1.cjs.js'); }).then((m) => m.default)));
|
|
295
|
+
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-53caa556.cjs.js'); }).then((m) => m.default)));
|
|
296
296
|
}
|
|
297
297
|
function lazy(getActionFunc) {
|
|
298
298
|
return async (...args) => {
|
|
@@ -336,4 +336,4 @@ exports.devDependencies = devDependencies;
|
|
|
336
336
|
exports.paths = paths;
|
|
337
337
|
exports.version = version;
|
|
338
338
|
exports.version$1 = version$9;
|
|
339
|
-
//# sourceMappingURL=index-
|
|
339
|
+
//# sourceMappingURL=index-a03d6ecd.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-08cc6f37.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-276d1251.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -42,4 +42,4 @@ var info = async () => {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
exports["default"] = info;
|
|
45
|
-
//# sourceMappingURL=info-
|
|
45
|
+
//# sourceMappingURL=info-895fe5a1.cjs.js.map
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
require('semver');
|
|
5
5
|
require('@yarnpkg/lockfile');
|
|
6
|
-
var packages = require('./packages-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var packages = require('./packages-0d95622f.cjs.js');
|
|
7
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
8
8
|
var chalk = require('chalk');
|
|
9
9
|
var sortBy = require('lodash/sortBy');
|
|
10
10
|
var groupBy = require('lodash/groupBy');
|
|
11
|
-
var run = require('./run-
|
|
11
|
+
var run = require('./run-08cc6f37.cjs.js');
|
|
12
12
|
require('minimatch');
|
|
13
13
|
require('@manypkg/get-packages');
|
|
14
14
|
require('commander');
|
|
@@ -239,4 +239,4 @@ var install = async (pluginId, cmd) => {
|
|
|
239
239
|
};
|
|
240
240
|
|
|
241
241
|
exports["default"] = install;
|
|
242
|
-
//# sourceMappingURL=install-
|
|
242
|
+
//# sourceMappingURL=install-53caa556.cjs.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var Lockfile = require('./Lockfile-276d1251.cjs.js');
|
|
4
4
|
require('minimatch');
|
|
5
5
|
require('@manypkg/get-packages');
|
|
6
|
-
require('./run-
|
|
6
|
+
require('./run-08cc6f37.cjs.js');
|
|
7
7
|
require('chalk');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
9
9
|
var partition = require('lodash/partition');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('semver');
|
|
@@ -77,4 +77,4 @@ function logArray(arr, header, each) {
|
|
|
77
77
|
exports["default"] = lint;
|
|
78
78
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
79
79
|
exports.includedFilter = includedFilter;
|
|
80
|
-
//# sourceMappingURL=lint-
|
|
80
|
+
//# sourceMappingURL=lint-3697bcd1.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
@@ -31,4 +31,4 @@ var lint = async (directories, opts) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
exports["default"] = lint;
|
|
34
|
-
//# sourceMappingURL=lint-
|
|
34
|
+
//# sourceMappingURL=lint-9e007a34.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-82efc305.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
9
9
|
require('@backstage/errors');
|
|
10
10
|
require('child_process');
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-fe016d90.cjs.js.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-82efc305.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -79,4 +79,4 @@ async function command(opts) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
exports.command = command;
|
|
82
|
-
//# sourceMappingURL=list-deprecations-
|
|
82
|
+
//# sourceMappingURL=list-deprecations-da8d83ec.cjs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var packager = require('./packager-
|
|
3
|
+
var packager = require('./packager-da91e4cd.cjs.js');
|
|
4
4
|
require('fs-extra');
|
|
5
5
|
require('rollup');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('path');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-a03d6ecd.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('semver');
|
|
11
11
|
require('@backstage/cli-common');
|
|
@@ -23,7 +23,7 @@ require('./svgrTemplate-550efce6.cjs.js');
|
|
|
23
23
|
require('./parallel-8286d3fa.cjs.js');
|
|
24
24
|
require('os');
|
|
25
25
|
require('worker_threads');
|
|
26
|
-
require('./packageRoles-
|
|
26
|
+
require('./packageRoles-cd537e06.cjs.js');
|
|
27
27
|
require('zod');
|
|
28
28
|
|
|
29
29
|
var oldBuild = async (opts) => {
|
|
@@ -48,4 +48,4 @@ var oldBuild = async (opts) => {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
exports["default"] = oldBuild;
|
|
51
|
-
//# sourceMappingURL=oldBuild-
|
|
51
|
+
//# sourceMappingURL=oldBuild-2d7642ec.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-a03d6ecd.cjs.js');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
require('commander');
|
|
7
7
|
require('chalk');
|
|
@@ -69,4 +69,4 @@ const post = async () => {
|
|
|
69
69
|
|
|
70
70
|
exports.post = post;
|
|
71
71
|
exports.pre = pre;
|
|
72
|
-
//# sourceMappingURL=pack-
|
|
72
|
+
//# sourceMappingURL=pack-899cb92c.cjs.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
-
var run = require('./run-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-82efc305.cjs.js');
|
|
6
|
+
var run = require('./run-08cc6f37.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-a03d6ecd.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -71,4 +71,4 @@ async function command() {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
exports.command = command;
|
|
74
|
-
//# sourceMappingURL=packageLintConfigs-
|
|
74
|
+
//# sourceMappingURL=packageLintConfigs-2b2f9dba.cjs.js.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var getPackages = require('@manypkg/get-packages');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var packageRoles = require('./packageRoles-
|
|
6
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-cd537e06.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('semver');
|
|
@@ -50,4 +50,4 @@ var packageRole = async () => {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
exports["default"] = packageRole;
|
|
53
|
-
//# sourceMappingURL=packageRole-
|
|
53
|
+
//# sourceMappingURL=packageRole-c8ddf297.cjs.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -155,4 +155,4 @@ exports.detectRoleFromPackage = detectRoleFromPackage;
|
|
|
155
155
|
exports.findRoleFromCommand = findRoleFromCommand;
|
|
156
156
|
exports.getRoleFromPackage = getRoleFromPackage;
|
|
157
157
|
exports.getRoleInfo = getRoleInfo;
|
|
158
|
-
//# sourceMappingURL=packageRoles-
|
|
158
|
+
//# sourceMappingURL=packageRoles-cd537e06.cjs.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var PackageGraph = require('./PackageGraph-
|
|
6
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
+
var PackageGraph = require('./PackageGraph-82efc305.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-cd537e06.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-a03d6ecd.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -93,4 +93,4 @@ async function command() {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
exports.command = command;
|
|
96
|
-
//# sourceMappingURL=packageScripts-
|
|
96
|
+
//# sourceMappingURL=packageScripts-ea427fce.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
|
|
|
4
4
|
var rollup = require('rollup');
|
|
5
5
|
var chalk = require('chalk');
|
|
6
6
|
var path = require('path');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
8
8
|
var commonjs = require('@rollup/plugin-commonjs');
|
|
9
9
|
var resolve = require('@rollup/plugin-node-resolve');
|
|
10
10
|
var postcss = require('rollup-plugin-postcss');
|
|
@@ -16,7 +16,7 @@ var yaml = require('@rollup/plugin-yaml');
|
|
|
16
16
|
var rollupPluginutils = require('rollup-pluginutils');
|
|
17
17
|
var svgrTemplate = require('./svgrTemplate-550efce6.cjs.js');
|
|
18
18
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
19
|
-
var packageRoles = require('./packageRoles-
|
|
19
|
+
var packageRoles = require('./packageRoles-cd537e06.cjs.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
22
22
|
|
|
@@ -197,6 +197,16 @@ async function makeRollupConfigs(options) {
|
|
|
197
197
|
file: path.resolve(distDir, "index.d.ts"),
|
|
198
198
|
format: "es"
|
|
199
199
|
},
|
|
200
|
+
external: [
|
|
201
|
+
/\.css$/,
|
|
202
|
+
/\.scss$/,
|
|
203
|
+
/\.sass$/,
|
|
204
|
+
/\.svg$/,
|
|
205
|
+
/\.eot$/,
|
|
206
|
+
/\.woff$/,
|
|
207
|
+
/\.woff2$/,
|
|
208
|
+
/\.ttf$/
|
|
209
|
+
],
|
|
200
210
|
onwarn,
|
|
201
211
|
plugins: [dts__default["default"]()]
|
|
202
212
|
});
|
|
@@ -438,4 +448,4 @@ exports.Output = Output;
|
|
|
438
448
|
exports.buildPackage = buildPackage;
|
|
439
449
|
exports.buildPackages = buildPackages;
|
|
440
450
|
exports.getOutputsForRole = getOutputsForRole;
|
|
441
|
-
//# sourceMappingURL=packager-
|
|
451
|
+
//# sourceMappingURL=packager-da91e4cd.cjs.js.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var minimatch = require('minimatch');
|
|
4
4
|
var getPackages = require('@manypkg/get-packages');
|
|
5
|
-
var run = require('./run-
|
|
6
|
-
var index = require('./index-
|
|
5
|
+
var run = require('./run-08cc6f37.cjs.js');
|
|
6
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
9
|
|
|
@@ -51,4 +51,4 @@ async function mapDependencies(targetDir, pattern) {
|
|
|
51
51
|
|
|
52
52
|
exports.fetchPackageInfo = fetchPackageInfo;
|
|
53
53
|
exports.mapDependencies = mapDependencies;
|
|
54
|
-
//# sourceMappingURL=packages-
|
|
54
|
+
//# sourceMappingURL=packages-0d95622f.cjs.js.map
|
|
@@ -12,8 +12,8 @@ var cliCommon = require('@backstage/cli-common');
|
|
|
12
12
|
var getPackages = require('@manypkg/get-packages');
|
|
13
13
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
14
14
|
var svgrTemplate = require('./svgrTemplate-550efce6.cjs.js');
|
|
15
|
-
var index = require('./index-
|
|
16
|
-
var run = require('./run-
|
|
15
|
+
var index = require('./index-a03d6ecd.cjs.js');
|
|
16
|
+
var run = require('./run-08cc6f37.cjs.js');
|
|
17
17
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
18
18
|
var pickBy = require('lodash/pickBy');
|
|
19
19
|
|
|
@@ -493,4 +493,4 @@ exports.createBackendConfig = createBackendConfig;
|
|
|
493
493
|
exports.createConfig = createConfig;
|
|
494
494
|
exports.resolveBaseUrl = resolveBaseUrl;
|
|
495
495
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
496
|
-
//# sourceMappingURL=paths-
|
|
496
|
+
//# sourceMappingURL=paths-8e8904ea.cjs.js.map
|