@backstage/cli 0.17.0-next.2 → 0.17.0-next.3
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 +25 -0
- package/dist/cjs/{PackageGraph-de233410.cjs.js → PackageGraph-17641f81.cjs.js} +2 -2
- package/dist/cjs/{backend-56580f64.cjs.js → backend-3303c8ff.cjs.js} +2 -2
- package/dist/cjs/{build-672f4742.cjs.js → build-13bb9d46.cjs.js} +7 -7
- package/dist/cjs/{build-7bb2433a.cjs.js → build-8f6dd895.cjs.js} +11 -11
- package/dist/cjs/{build-104fd341.cjs.js → build-97ca4b2d.cjs.js} +4 -4
- package/dist/cjs/{build-66b17d36.cjs.js → build-b3242b82.cjs.js} +4 -4
- package/dist/cjs/{buildBackend-70507976.cjs.js → buildBackend-9366ec75.cjs.js} +8 -8
- package/dist/cjs/{buildWorkspace-9600c8fc.cjs.js → buildWorkspace-30315311.cjs.js} +7 -7
- package/dist/cjs/{bump-150a4aac.cjs.js → bump-e4fb932f.cjs.js} +5 -5
- package/dist/cjs/{bundle-ac232082.cjs.js → bundle-37b178d9.cjs.js} +7 -7
- package/dist/cjs/{bundle-bea3516a.cjs.js → bundle-eae7def3.cjs.js} +2 -2
- package/dist/cjs/{clean-d69f47b1.cjs.js → clean-1c14c9ab.cjs.js} +2 -2
- package/dist/cjs/{config-2c9daac7.cjs.js → config-7b4332bb.cjs.js} +3 -3
- package/dist/cjs/{create-5d2d7b2e.cjs.js → create-afd62424.cjs.js} +4 -4
- package/dist/cjs/{createDistWorkspace-3f770189.cjs.js → createDistWorkspace-3df8dbb4.cjs.js} +6 -6
- package/dist/cjs/{createPlugin-b0c8f5d6.cjs.js → createPlugin-d4dfef57.cjs.js} +4 -4
- package/dist/cjs/{dev-9fe27772.cjs.js → dev-702595dd.cjs.js} +5 -5
- package/dist/cjs/{diff-a589148e.cjs.js → diff-bd41b052.cjs.js} +2 -2
- package/dist/cjs/{docs-b2ef35b2.cjs.js → docs-701ad34d.cjs.js} +4 -4
- package/dist/cjs/{fix-18c2e18d.cjs.js → fix-8c32ea3b.cjs.js} +3 -3
- package/dist/cjs/{index-5edd00f4.cjs.js → index-0629f171.cjs.js} +11 -11
- package/dist/cjs/{index-0f4183a8.cjs.js → index-3e06c009.cjs.js} +10 -10
- package/dist/cjs/{index-1048457a.cjs.js → index-92cbcfd3.cjs.js} +2 -2
- package/dist/cjs/{index-bb471702.cjs.js → index-e118c2a4.cjs.js} +57 -57
- package/dist/cjs/{info-683c7132.cjs.js → info-4b92696e.cjs.js} +3 -3
- package/dist/cjs/{install-d0686f29.cjs.js → install-d9db34b3.cjs.js} +4 -4
- package/dist/cjs/{lint-74960fe0.cjs.js → lint-0e447174.cjs.js} +2 -2
- package/dist/cjs/{lint-e0793081.cjs.js → lint-4c6822a2.cjs.js} +3 -3
- package/dist/cjs/{lint-e24d2844.cjs.js → lint-b7993096.cjs.js} +6 -4
- package/dist/cjs/{list-deprecations-2e5fd2a9.cjs.js → list-deprecations-176aa47f.cjs.js} +3 -3
- package/dist/cjs/{oldBuild-fabe32fc.cjs.js → oldBuild-3ec8f51f.cjs.js} +4 -4
- package/dist/cjs/{pack-7267d7ae.cjs.js → pack-6801a632.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-4f452b68.cjs.js → packageLintConfigs-5c18b923.cjs.js} +4 -4
- package/dist/cjs/{packageRole-8b01936e.cjs.js → packageRole-f86acdc9.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-30ae2421.cjs.js → packageRoles-d821af92.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-aa38a24c.cjs.js → packageScripts-d6436fea.cjs.js} +4 -4
- package/dist/cjs/{packager-d5722db2.cjs.js → packager-8dec5b5c.cjs.js} +3 -3
- package/dist/cjs/{packages-965393ed.cjs.js → packages-69b593f5.cjs.js} +3 -3
- package/dist/cjs/{paths-9ce1f14f.cjs.js → paths-fa5069e2.cjs.js} +6 -6
- package/dist/cjs/{print-3e2c0b75.cjs.js → print-8d4666e0.cjs.js} +4 -4
- package/dist/cjs/{run-67bbc80e.cjs.js → run-471b21e3.cjs.js} +2 -2
- package/dist/cjs/{schema-4055353a.cjs.js → schema-baa94000.cjs.js} +4 -4
- package/dist/cjs/{serve-49667cf9.cjs.js → serve-324c0e17.cjs.js} +7 -7
- package/dist/cjs/{serve-799efdb0.cjs.js → serve-abe42fa5.cjs.js} +8 -8
- package/dist/cjs/{server-3831620c.cjs.js → server-51bc45f8.cjs.js} +2 -2
- package/dist/cjs/{tasks-7d6944c5.cjs.js → tasks-8df457ac.cjs.js} +2 -2
- package/dist/cjs/{testCommand-cff83bfe.cjs.js → testCommand-31cf5090.cjs.js} +3 -3
- package/dist/cjs/{validate-9a1e30a5.cjs.js → validate-9918c9fb.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +12 -12
- package/templates/default-plugin/package.json.hbs +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var backend = require('./backend-
|
|
4
|
+
var index = require('./index-e118c2a4.cjs.js');
|
|
5
|
+
var backend = require('./backend-3303c8ff.cjs.js');
|
|
6
6
|
require('yn');
|
|
7
7
|
require('path');
|
|
8
8
|
require('webpack');
|
|
@@ -15,21 +15,21 @@ require('run-script-webpack-plugin');
|
|
|
15
15
|
require('webpack-node-externals');
|
|
16
16
|
require('@backstage/cli-common');
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
|
-
require('./paths-
|
|
18
|
+
require('./paths-fa5069e2.cjs.js');
|
|
19
19
|
require('mini-css-extract-plugin');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-471b21e3.cjs.js');
|
|
21
21
|
require('eslint-webpack-plugin');
|
|
22
22
|
require('lodash/pickBy');
|
|
23
23
|
var chalk = require('chalk');
|
|
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-
|
|
28
|
-
var config = require('./config-
|
|
27
|
+
var server = require('./server-51bc45f8.cjs.js');
|
|
28
|
+
var config = require('./config-7b4332bb.cjs.js');
|
|
29
29
|
var Lockfile = require('./Lockfile-276d1251.cjs.js');
|
|
30
30
|
require('minimatch');
|
|
31
|
-
var lint = require('./lint-
|
|
32
|
-
var packageRoles = require('./packageRoles-
|
|
31
|
+
var lint = require('./lint-b7993096.cjs.js');
|
|
32
|
+
var packageRoles = require('./packageRoles-d821af92.cjs.js');
|
|
33
33
|
require('commander');
|
|
34
34
|
require('semver');
|
|
35
35
|
require('@backstage/errors');
|
|
@@ -38,7 +38,7 @@ require('child_process');
|
|
|
38
38
|
require('util');
|
|
39
39
|
require('@backstage/config-loader');
|
|
40
40
|
require('@backstage/config');
|
|
41
|
-
require('./PackageGraph-
|
|
41
|
+
require('./PackageGraph-17641f81.cjs.js');
|
|
42
42
|
require('@yarnpkg/lockfile');
|
|
43
43
|
require('lodash/partition');
|
|
44
44
|
require('zod');
|
|
@@ -121,4 +121,4 @@ async function command(cmd) {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
exports.command = command;
|
|
124
|
-
//# sourceMappingURL=index-
|
|
124
|
+
//# sourceMappingURL=index-3e06c009.cjs.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var chalk = require('chalk');
|
|
5
5
|
var yaml = require('yaml');
|
|
6
|
-
var index$1 = require('./index-
|
|
6
|
+
var index$1 = require('./index-e118c2a4.cjs.js');
|
|
7
7
|
var crypto = require('crypto');
|
|
8
8
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
9
9
|
var request = require('@octokit/request');
|
|
@@ -127,4 +127,4 @@ ${yaml.stringify(config)}`;
|
|
|
127
127
|
};
|
|
128
128
|
|
|
129
129
|
exports["default"] = index;
|
|
130
|
-
//# sourceMappingURL=index-
|
|
130
|
+
//# sourceMappingURL=index-92cbcfd3.cjs.js.map
|
|
@@ -45,13 +45,13 @@ class NotFoundError extends CustomError {
|
|
|
45
45
|
|
|
46
46
|
const paths = cliCommon.findPaths(__dirname);
|
|
47
47
|
|
|
48
|
-
var version$a = "0.13.2-next.
|
|
48
|
+
var version$a = "0.13.2-next.2";
|
|
49
49
|
|
|
50
|
-
var version$9 = "0.17.0-next.
|
|
50
|
+
var version$9 = "0.17.0-next.3";
|
|
51
51
|
var dependencies = {
|
|
52
52
|
"@backstage/cli-common": "^0.1.8",
|
|
53
53
|
"@backstage/config": "^1.0.0",
|
|
54
|
-
"@backstage/config-loader": "^1.0
|
|
54
|
+
"@backstage/config-loader": "^1.1.0-next.1",
|
|
55
55
|
"@backstage/errors": "^1.0.0",
|
|
56
56
|
"@backstage/release-manifests": "^0.0.2",
|
|
57
57
|
"@backstage/types": "^1.0.0",
|
|
@@ -111,7 +111,7 @@ var dependencies = {
|
|
|
111
111
|
"mini-css-extract-plugin": "^2.4.2",
|
|
112
112
|
minimatch: "5.0.1",
|
|
113
113
|
"node-libs-browser": "^2.2.1",
|
|
114
|
-
"npm-packlist": "^
|
|
114
|
+
"npm-packlist": "^5.0.0",
|
|
115
115
|
ora: "^5.3.0",
|
|
116
116
|
postcss: "^8.1.0",
|
|
117
117
|
process: "^0.11.10",
|
|
@@ -140,13 +140,13 @@ var dependencies = {
|
|
|
140
140
|
zod: "^3.11.6"
|
|
141
141
|
};
|
|
142
142
|
var devDependencies = {
|
|
143
|
-
"@backstage/backend-common": "^0.13.2-next.
|
|
143
|
+
"@backstage/backend-common": "^0.13.2-next.2",
|
|
144
144
|
"@backstage/config": "^1.0.0",
|
|
145
|
-
"@backstage/core-app-api": "^1.0.1-next.
|
|
146
|
-
"@backstage/core-components": "^0.9.3-next.
|
|
147
|
-
"@backstage/core-plugin-api": "^1.0.0",
|
|
148
|
-
"@backstage/dev-utils": "^1.0.1-next.
|
|
149
|
-
"@backstage/test-utils": "^1.0.1-next.
|
|
145
|
+
"@backstage/core-app-api": "^1.0.1-next.1",
|
|
146
|
+
"@backstage/core-components": "^0.9.3-next.2",
|
|
147
|
+
"@backstage/core-plugin-api": "^1.0.1-next.0",
|
|
148
|
+
"@backstage/dev-utils": "^1.0.1-next.1",
|
|
149
|
+
"@backstage/test-utils": "^1.0.1-next.2",
|
|
150
150
|
"@backstage/theme": "^0.2.15",
|
|
151
151
|
"@types/diff": "^5.0.0",
|
|
152
152
|
"@types/express": "^4.17.6",
|
|
@@ -155,7 +155,7 @@ var devDependencies = {
|
|
|
155
155
|
"@types/inquirer": "^8.1.3",
|
|
156
156
|
"@types/minimatch": "^3.0.5",
|
|
157
157
|
"@types/mock-fs": "^4.13.0",
|
|
158
|
-
"@types/node": "^
|
|
158
|
+
"@types/node": "^16.11.26",
|
|
159
159
|
"@types/npm-packlist": "^3.0.0",
|
|
160
160
|
"@types/recursive-readdir": "^2.2.0",
|
|
161
161
|
"@types/rollup-plugin-peer-deps-external": "^2.2.0",
|
|
@@ -173,15 +173,15 @@ var devDependencies = {
|
|
|
173
173
|
|
|
174
174
|
var version$8 = "1.0.0";
|
|
175
175
|
|
|
176
|
-
var version$7 = "1.0.1-next.
|
|
176
|
+
var version$7 = "1.0.1-next.1";
|
|
177
177
|
|
|
178
|
-
var version$6 = "0.9.3-next.
|
|
178
|
+
var version$6 = "0.9.3-next.2";
|
|
179
179
|
|
|
180
|
-
var version$5 = "1.0.0";
|
|
180
|
+
var version$5 = "1.0.1-next.0";
|
|
181
181
|
|
|
182
|
-
var version$4 = "1.0.1-next.
|
|
182
|
+
var version$4 = "1.0.1-next.1";
|
|
183
183
|
|
|
184
|
-
var version$3 = "1.0.1-next.
|
|
184
|
+
var version$3 = "1.0.1-next.2";
|
|
185
185
|
|
|
186
186
|
var version$2 = "0.2.15";
|
|
187
187
|
|
|
@@ -240,57 +240,57 @@ const configOption = [
|
|
|
240
240
|
];
|
|
241
241
|
function registerRepoCommand(program) {
|
|
242
242
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
243
|
-
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-
|
|
244
|
-
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-
|
|
245
|
-
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-
|
|
243
|
+
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-8f6dd895.cjs.js'); }).then((m) => m.command)));
|
|
244
|
+
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-4c6822a2.cjs.js'); }).then((m) => m.command)));
|
|
245
|
+
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-176aa47f.cjs.js'); }).then((m) => m.command)));
|
|
246
246
|
}
|
|
247
247
|
function registerScriptCommand(program) {
|
|
248
248
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
249
|
-
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-
|
|
250
|
-
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, opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
251
|
-
command.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-
|
|
252
|
-
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('./testCommand-
|
|
253
|
-
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-
|
|
254
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
255
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
256
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
249
|
+
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-3e06c009.cjs.js'); }).then((m) => m.command)));
|
|
250
|
+
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, opt], Array()).action(lazy(() => Promise.resolve().then(function () { return require('./index-0629f171.cjs.js'); }).then((m) => m.command)));
|
|
251
|
+
command.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-0e447174.cjs.js'); }).then((m) => m.default)));
|
|
252
|
+
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('./testCommand-31cf5090.cjs.js'); }).then((m) => m.default)));
|
|
253
|
+
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-8c32ea3b.cjs.js'); }).then((m) => m.command)));
|
|
254
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1c14c9ab.cjs.js'); }).then((m) => m.default)));
|
|
255
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6801a632.cjs.js'); }).then((m) => m.pre)));
|
|
256
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6801a632.cjs.js'); }).then((m) => m.post)));
|
|
257
257
|
}
|
|
258
258
|
function registerMigrateCommand(program) {
|
|
259
259
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
260
|
-
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-
|
|
261
|
-
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
262
|
-
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-
|
|
260
|
+
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-f86acdc9.cjs.js'); }).then((m) => m.default)));
|
|
261
|
+
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-d6436fea.cjs.js'); }).then((m) => m.command)));
|
|
262
|
+
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-5c18b923.cjs.js'); }).then((m) => m.command)));
|
|
263
263
|
}
|
|
264
264
|
function registerCommands(program) {
|
|
265
|
-
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-
|
|
266
|
-
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-
|
|
267
|
-
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-
|
|
268
|
-
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-
|
|
269
|
-
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-
|
|
270
|
-
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-
|
|
271
|
-
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-
|
|
272
|
-
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-
|
|
273
|
-
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-
|
|
274
|
-
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-
|
|
275
|
-
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-
|
|
276
|
-
program.command("lint").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-
|
|
277
|
-
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('./testCommand-
|
|
278
|
-
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-
|
|
279
|
-
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-
|
|
280
|
-
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-
|
|
281
|
-
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-
|
|
265
|
+
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-13bb9d46.cjs.js'); }).then((m) => m.default)));
|
|
266
|
+
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-abe42fa5.cjs.js'); }).then((m) => m.default)));
|
|
267
|
+
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-b3242b82.cjs.js'); }).then((m) => m.default)));
|
|
268
|
+
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-37b178d9.cjs.js'); }).then((m) => m.default)));
|
|
269
|
+
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-702595dd.cjs.js'); }).then((m) => m.default)));
|
|
270
|
+
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-afd62424.cjs.js'); }).then((m) => m.default)));
|
|
271
|
+
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-d4dfef57.cjs.js'); }).then((m) => m.default)));
|
|
272
|
+
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-97ca4b2d.cjs.js'); }).then((m) => m.default)));
|
|
273
|
+
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-324c0e17.cjs.js'); }).then((m) => m.default)));
|
|
274
|
+
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-bd41b052.cjs.js'); }).then((m) => m.default)));
|
|
275
|
+
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-3ec8f51f.cjs.js'); }).then((m) => m.default)));
|
|
276
|
+
program.command("lint").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-0e447174.cjs.js'); }).then((m) => m.default)));
|
|
277
|
+
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('./testCommand-31cf5090.cjs.js'); }).then((m) => m.default)));
|
|
278
|
+
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-701ad34d.cjs.js'); }).then((m) => m.default)));
|
|
279
|
+
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-8d4666e0.cjs.js'); }).then((m) => m.default)));
|
|
280
|
+
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-9918c9fb.cjs.js'); }).then((m) => m.default)));
|
|
281
|
+
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-baa94000.cjs.js'); }).then((m) => m.default)));
|
|
282
282
|
registerRepoCommand(program);
|
|
283
283
|
registerScriptCommand(program);
|
|
284
284
|
registerMigrateCommand(program);
|
|
285
|
-
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-
|
|
286
|
-
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-
|
|
287
|
-
program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
288
|
-
program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
289
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
290
|
-
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-
|
|
291
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
292
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
293
|
-
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-
|
|
285
|
+
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-e4fb932f.cjs.js'); }).then((m) => m.default)));
|
|
286
|
+
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-b7993096.cjs.js'); }).then((m) => m.default)));
|
|
287
|
+
program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6801a632.cjs.js'); }).then((m) => m.pre)));
|
|
288
|
+
program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-6801a632.cjs.js'); }).then((m) => m.post)));
|
|
289
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1c14c9ab.cjs.js'); }).then((m) => m.default)));
|
|
290
|
+
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-30315311.cjs.js'); }).then((m) => m.default)));
|
|
291
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-92cbcfd3.cjs.js'); }).then((m) => m.default)));
|
|
292
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-4b92696e.cjs.js'); }).then((m) => m.default)));
|
|
293
|
+
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-d9db34b3.cjs.js'); }).then((m) => m.default)));
|
|
294
294
|
}
|
|
295
295
|
function lazy(getActionFunc) {
|
|
296
296
|
return async (...args) => {
|
|
@@ -334,4 +334,4 @@ exports.devDependencies = devDependencies;
|
|
|
334
334
|
exports.paths = paths;
|
|
335
335
|
exports.version = version;
|
|
336
336
|
exports.version$1 = version$9;
|
|
337
|
-
//# sourceMappingURL=index-
|
|
337
|
+
//# sourceMappingURL=index-e118c2a4.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-e118c2a4.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-471b21e3.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-4b92696e.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-69b593f5.cjs.js');
|
|
7
|
+
var index = require('./index-e118c2a4.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-471b21e3.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-d9db34b3.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-e118c2a4.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
@@ -31,4 +31,4 @@ var lint = async (cmd, cmdArgs) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
exports["default"] = lint;
|
|
34
|
-
//# sourceMappingURL=lint-
|
|
34
|
+
//# sourceMappingURL=lint-0e447174.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-17641f81.cjs.js');
|
|
6
6
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-e118c2a4.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(cmd) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-4c6822a2.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-471b21e3.cjs.js');
|
|
7
7
|
require('chalk');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-e118c2a4.cjs.js');
|
|
9
9
|
var partition = require('lodash/partition');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('semver');
|
|
@@ -28,7 +28,9 @@ const FORBID_DUPLICATES = [
|
|
|
28
28
|
];
|
|
29
29
|
const ALLOW_DUPLICATES = [
|
|
30
30
|
/^@backstage\/core-plugin-api$/,
|
|
31
|
-
/^@backstage\/plugin
|
|
31
|
+
/^@backstage\/plugin-.*-react$/,
|
|
32
|
+
/^@backstage\/plugin-.*-node$/,
|
|
33
|
+
/^@backstage\/plugin-.*-common$/
|
|
32
34
|
];
|
|
33
35
|
const forbiddenDuplicatesFilter = (name) => FORBID_DUPLICATES.some((pattern) => pattern.test(name)) && !ALLOW_DUPLICATES.some((pattern) => pattern.test(name));
|
|
34
36
|
var lint = async (cmd) => {
|
|
@@ -75,4 +77,4 @@ function logArray(arr, header, each) {
|
|
|
75
77
|
exports["default"] = lint;
|
|
76
78
|
exports.forbiddenDuplicatesFilter = forbiddenDuplicatesFilter;
|
|
77
79
|
exports.includedFilter = includedFilter;
|
|
78
|
-
//# sourceMappingURL=lint-
|
|
80
|
+
//# sourceMappingURL=lint-b7993096.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-e118c2a4.cjs.js');
|
|
7
|
+
var PackageGraph = require('./PackageGraph-17641f81.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -79,4 +79,4 @@ async function command(cmd) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
exports.command = command;
|
|
82
|
-
//# sourceMappingURL=list-deprecations-
|
|
82
|
+
//# sourceMappingURL=list-deprecations-176aa47f.cjs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var packager = require('./packager-
|
|
3
|
+
var packager = require('./packager-8dec5b5c.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-e118c2a4.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-d821af92.cjs.js');
|
|
27
27
|
require('zod');
|
|
28
28
|
|
|
29
29
|
var oldBuild = async (cmd) => {
|
|
@@ -48,4 +48,4 @@ var oldBuild = async (cmd) => {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
exports["default"] = oldBuild;
|
|
51
|
-
//# sourceMappingURL=oldBuild-
|
|
51
|
+
//# sourceMappingURL=oldBuild-3ec8f51f.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-e118c2a4.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-6801a632.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-17641f81.cjs.js');
|
|
6
|
+
var run = require('./run-471b21e3.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-e118c2a4.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-5c18b923.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-e118c2a4.cjs.js');
|
|
7
|
+
var packageRoles = require('./packageRoles-d821af92.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-f86acdc9.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-e118c2a4.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-d821af92.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-17641f81.cjs.js');
|
|
6
|
+
var packageRoles = require('./packageRoles-d821af92.cjs.js');
|
|
7
7
|
require('@manypkg/get-packages');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-e118c2a4.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-d6436fea.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-e118c2a4.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-d821af92.cjs.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
22
22
|
|
|
@@ -438,4 +438,4 @@ exports.Output = Output;
|
|
|
438
438
|
exports.buildPackage = buildPackage;
|
|
439
439
|
exports.buildPackages = buildPackages;
|
|
440
440
|
exports.getOutputsForRole = getOutputsForRole;
|
|
441
|
-
//# sourceMappingURL=packager-
|
|
441
|
+
//# sourceMappingURL=packager-8dec5b5c.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-471b21e3.cjs.js');
|
|
6
|
+
var index = require('./index-e118c2a4.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-69b593f5.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-e118c2a4.cjs.js');
|
|
16
|
+
var run = require('./run-471b21e3.cjs.js');
|
|
17
17
|
var ESLintPlugin = require('eslint-webpack-plugin');
|
|
18
18
|
var pickBy = require('lodash/pickBy');
|
|
19
19
|
|
|
@@ -75,8 +75,8 @@ const optimization = (options) => {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
const transforms = (options) => {
|
|
78
|
-
const { isDev } = options;
|
|
79
|
-
const extraTransforms = isDev ? ["react-hot-loader"] : [];
|
|
78
|
+
const { isDev, isBackend } = options;
|
|
79
|
+
const extraTransforms = isDev && !isBackend ? ["react-hot-loader"] : [];
|
|
80
80
|
function insertBeforeJssStyles(element) {
|
|
81
81
|
const head = document.head;
|
|
82
82
|
const firstJssNode = head.querySelector("style[data-jss]");
|
|
@@ -352,7 +352,7 @@ async function createBackendConfig(paths, options) {
|
|
|
352
352
|
const localPackageNames = packages.map((p) => p.packageJson.name);
|
|
353
353
|
const moduleDirs = packages.map((p) => path.resolve(p.dir, "node_modules"));
|
|
354
354
|
const externalPkgs = packages.filter((p) => !cliCommon.isChildPath(paths.root, p.dir));
|
|
355
|
-
const { loaders } = transforms(options);
|
|
355
|
+
const { loaders } = transforms({ ...options, isBackend: true });
|
|
356
356
|
const runScriptNodeArgs = new Array();
|
|
357
357
|
if (options.inspectEnabled) {
|
|
358
358
|
runScriptNodeArgs.push("--inspect");
|
|
@@ -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-fa5069e2.cjs.js.map
|