@backstage/cli 0.14.1 → 0.15.2-next.0
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 +42 -0
- package/config/eslint-factory.js +286 -0
- package/config/eslint.backend.js +4 -87
- package/config/eslint.js +4 -93
- package/dist/cjs/{Lockfile-35661afa.cjs.js → Lockfile-276d1251.cjs.js} +1 -1
- package/dist/cjs/{PackageGraph-452ec2ff.cjs.js → PackageGraph-5c819ded.cjs.js} +23 -5
- package/dist/cjs/{backend-f623f925.cjs.js → backend-ba5674b1.cjs.js} +2 -2
- package/dist/cjs/{build-dde37a4d.cjs.js → build-355c6499.cjs.js} +30 -15
- package/dist/cjs/{build-c6587a6a.cjs.js → build-88c2fd94.cjs.js} +19 -10
- package/dist/cjs/{build-d555ae41.cjs.js → build-a0c2eb61.cjs.js} +15 -7
- package/dist/cjs/{build-d22951cc.cjs.js → build-cfb16c7d.cjs.js} +15 -7
- package/dist/cjs/{buildBackend-4890a3fb.cjs.js → buildBackend-3d0f6b8d.cjs.js} +9 -10
- package/dist/cjs/{buildWorkspace-464c5a99.cjs.js → buildWorkspace-e8b34b75.cjs.js} +19 -10
- package/dist/cjs/{bump-a4f9d634.cjs.js → bump-06e432bb.cjs.js} +16 -7
- package/dist/cjs/{bundle-102f5596.cjs.js → bundle-4401df64.cjs.js} +19 -10
- package/dist/cjs/{bundle-bcefdcef.cjs.js → bundle-6462d713.cjs.js} +2 -2
- package/dist/cjs/{clean-dbc9a5ef.cjs.js → clean-856fd038.cjs.js} +11 -2
- package/dist/cjs/{config-7c2e1f5a.cjs.js → config-34e60442.cjs.js} +3 -3
- package/dist/cjs/{create-7e122e43.cjs.js → create-9fc62b6e.cjs.js} +14 -5
- package/dist/cjs/{createDistWorkspace-7dc77457.cjs.js → createDistWorkspace-2e59f9c1.cjs.js} +16 -11
- package/dist/cjs/{createPlugin-98e97774.cjs.js → createPlugin-b4970fd2.cjs.js} +14 -5
- package/dist/cjs/{dev-1fa4ec4d.cjs.js → dev-abfdcb35.cjs.js} +15 -6
- package/dist/cjs/{diff-75846872.cjs.js → diff-1644d12b.cjs.js} +11 -2
- package/dist/cjs/{docs-1d4c7d02.cjs.js → docs-5aabd653.cjs.js} +13 -4
- package/dist/cjs/{index-a90b183a.cjs.js → index-20a8e33f.cjs.js} +23 -14
- package/dist/cjs/{index-f4a6cd4f.cjs.js → index-4c13ec59.cjs.js} +62 -194
- package/dist/cjs/{index-b314a967.cjs.js → index-922d86dd.cjs.js} +22 -13
- package/dist/cjs/{index-76945a16.cjs.js → index-e36e6f30.cjs.js} +11 -2
- package/dist/cjs/{info-01180b4a.cjs.js → info-f667ee33.cjs.js} +18 -8
- package/dist/cjs/{install-6fae05de.cjs.js → install-4a376c4f.cjs.js} +13 -4
- package/dist/cjs/{lint-9575a50e.cjs.js → lint-228ef900.cjs.js} +11 -2
- package/dist/cjs/{lint-e84f4da1.cjs.js → lint-5233c048.cjs.js} +13 -4
- package/dist/cjs/{lint-b454be94.cjs.js → lint-7a5f1e5d.cjs.js} +13 -4
- package/dist/cjs/{oldBuild-5662c63f.cjs.js → oldBuild-65b1b59a.cjs.js} +15 -7
- package/dist/cjs/{pack-4a819ab8.cjs.js → pack-bac37bf2.cjs.js} +18 -5
- package/dist/cjs/package-60f06638.cjs.js +129 -0
- package/dist/cjs/packageLintConfigs-e1177405.cjs.js +84 -0
- package/dist/cjs/{packageRole-b9f3f4c2.cjs.js → packageRole-fe7f070f.cjs.js} +12 -3
- package/dist/cjs/{packageRoles-be5cc4e7.cjs.js → packageRoles-c3085958.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-98e13921.cjs.js → packageScripts-82add064.cjs.js} +13 -4
- package/dist/cjs/{packager-3c7ef6f2.cjs.js → packager-517bbb6b.cjs.js} +18 -12
- package/dist/cjs/{packages-6d20da58.cjs.js → packages-954bf3c0.cjs.js} +3 -3
- package/dist/cjs/{parallel-d8e5bcbf.cjs.js → parallel-8286d3fa.cjs.js} +1 -1
- package/dist/cjs/{paths-67855a60.cjs.js → paths-6403ea49.cjs.js} +8 -32
- package/dist/cjs/{print-d0729b40.cjs.js → print-ccc887c6.cjs.js} +13 -4
- package/dist/cjs/{run-b09132d3.cjs.js → run-ce45fe5f.cjs.js} +2 -2
- package/dist/cjs/{schema-2f989737.cjs.js → schema-084841cf.cjs.js} +13 -4
- package/dist/cjs/{serve-9f86fead.cjs.js → serve-35ba5f65.cjs.js} +19 -10
- package/dist/cjs/{serve-474204d0.cjs.js → serve-5471ff1c.cjs.js} +18 -9
- package/dist/cjs/{server-525b32bf.cjs.js → server-ecae19cc.cjs.js} +2 -2
- package/dist/cjs/{svgrTemplate-b7a4ee52.cjs.js → svgrTemplate-550efce6.cjs.js} +1 -1
- package/dist/cjs/{tasks-0ade17b2.cjs.js → tasks-ec11e3db.cjs.js} +2 -2
- package/dist/cjs/{testCommand-afcd8cac.cjs.js → testCommand-9dc293a6.cjs.js} +12 -3
- package/dist/cjs/validate-4f7c6061.cjs.js +40 -0
- package/dist/index.cjs.js +10 -1
- package/package.json +13 -13
- package/templates/default-backend-plugin/.eslintrc.js +1 -3
- package/templates/default-backend-plugin/package.json.hbs +10 -7
- package/templates/default-common-plugin-package/.eslintrc.js +1 -3
- package/templates/default-common-plugin-package/package.json.hbs +9 -6
- package/templates/default-plugin/.eslintrc.js +1 -3
- package/templates/default-plugin/package.json.hbs +10 -8
- package/templates/scaffolder-module/.eslintrc.js +1 -3
- package/templates/scaffolder-module/package.json.hbs +10 -6
- package/dist/cjs/validate-2f3a3c93.cjs.js +0 -31
|
@@ -10,19 +10,28 @@ var camelCase = require('lodash/camelCase');
|
|
|
10
10
|
var upperFirst = require('lodash/upperFirst');
|
|
11
11
|
var os = require('os');
|
|
12
12
|
var errors = require('@backstage/errors');
|
|
13
|
-
var tasks = require('./tasks-
|
|
14
|
-
var index = require('./index-
|
|
15
|
-
var Lockfile = require('./Lockfile-
|
|
13
|
+
var tasks = require('./tasks-ec11e3db.cjs.js');
|
|
14
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
15
|
+
var Lockfile = require('./Lockfile-276d1251.cjs.js');
|
|
16
16
|
require('minimatch');
|
|
17
17
|
require('@manypkg/get-packages');
|
|
18
|
-
require('./run-
|
|
18
|
+
require('./run-ce45fe5f.cjs.js');
|
|
19
19
|
require('handlebars');
|
|
20
20
|
require('ora');
|
|
21
21
|
require('recursive-readdir');
|
|
22
22
|
require('commander');
|
|
23
23
|
require('semver');
|
|
24
24
|
require('@backstage/cli-common');
|
|
25
|
+
require('@backstage/backend-common/package.json');
|
|
26
|
+
require('@backstage/cli/package.json');
|
|
25
27
|
require('@backstage/config/package.json');
|
|
28
|
+
require('@backstage/core-app-api/package.json');
|
|
29
|
+
require('@backstage/core-components/package.json');
|
|
30
|
+
require('@backstage/core-plugin-api/package.json');
|
|
31
|
+
require('@backstage/dev-utils/package.json');
|
|
32
|
+
require('@backstage/test-utils/package.json');
|
|
33
|
+
require('@backstage/theme/package.json');
|
|
34
|
+
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
26
35
|
require('@yarnpkg/lockfile');
|
|
27
36
|
|
|
28
37
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -234,4 +243,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
|
|
|
234
243
|
exports.capitalize = capitalize;
|
|
235
244
|
exports["default"] = createPlugin;
|
|
236
245
|
exports.movePlugin = movePlugin;
|
|
237
|
-
//# sourceMappingURL=createPlugin-
|
|
246
|
+
//# sourceMappingURL=createPlugin-b4970fd2.cjs.js.map
|
|
@@ -1,16 +1,25 @@
|
|
|
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-4c13ec59.cjs.js');
|
|
5
|
+
var backend = require('./backend-ba5674b1.cjs.js');
|
|
6
6
|
require('commander');
|
|
7
7
|
require('chalk');
|
|
8
8
|
require('semver');
|
|
9
9
|
require('@backstage/cli-common');
|
|
10
|
+
require('@backstage/backend-common/package.json');
|
|
11
|
+
require('@backstage/cli/package.json');
|
|
10
12
|
require('@backstage/config/package.json');
|
|
13
|
+
require('@backstage/core-app-api/package.json');
|
|
14
|
+
require('@backstage/core-components/package.json');
|
|
15
|
+
require('@backstage/core-plugin-api/package.json');
|
|
16
|
+
require('@backstage/dev-utils/package.json');
|
|
17
|
+
require('@backstage/test-utils/package.json');
|
|
18
|
+
require('@backstage/theme/package.json');
|
|
19
|
+
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
11
20
|
require('@backstage/errors');
|
|
12
21
|
require('webpack');
|
|
13
|
-
require('./paths-
|
|
22
|
+
require('./paths-6403ea49.cjs.js');
|
|
14
23
|
require('path');
|
|
15
24
|
require('fork-ts-checker-webpack-plugin');
|
|
16
25
|
require('html-webpack-plugin');
|
|
@@ -19,8 +28,8 @@ require('run-script-webpack-plugin');
|
|
|
19
28
|
require('webpack-node-externals');
|
|
20
29
|
require('@manypkg/get-packages');
|
|
21
30
|
require('mini-css-extract-plugin');
|
|
22
|
-
require('./svgrTemplate-
|
|
23
|
-
require('./run-
|
|
31
|
+
require('./svgrTemplate-550efce6.cjs.js');
|
|
32
|
+
require('./run-ce45fe5f.cjs.js');
|
|
24
33
|
require('child_process');
|
|
25
34
|
require('util');
|
|
26
35
|
require('eslint-webpack-plugin');
|
|
@@ -42,4 +51,4 @@ var dev = async (cmd) => {
|
|
|
42
51
|
};
|
|
43
52
|
|
|
44
53
|
exports["default"] = dev;
|
|
45
|
-
//# sourceMappingURL=dev-
|
|
54
|
+
//# sourceMappingURL=dev-abfdcb35.cjs.js.map
|
|
@@ -7,11 +7,20 @@ var path = require('path');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var handlebars = require('handlebars');
|
|
9
9
|
var recursive = require('recursive-readdir');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('semver');
|
|
13
13
|
require('@backstage/cli-common');
|
|
14
|
+
require('@backstage/backend-common/package.json');
|
|
15
|
+
require('@backstage/cli/package.json');
|
|
14
16
|
require('@backstage/config/package.json');
|
|
17
|
+
require('@backstage/core-app-api/package.json');
|
|
18
|
+
require('@backstage/core-components/package.json');
|
|
19
|
+
require('@backstage/core-plugin-api/package.json');
|
|
20
|
+
require('@backstage/dev-utils/package.json');
|
|
21
|
+
require('@backstage/test-utils/package.json');
|
|
22
|
+
require('@backstage/theme/package.json');
|
|
23
|
+
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
15
24
|
require('@backstage/errors');
|
|
16
25
|
|
|
17
26
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -381,4 +390,4 @@ async function readPluginData() {
|
|
|
381
390
|
}
|
|
382
391
|
|
|
383
392
|
exports["default"] = diff;
|
|
384
|
-
//# sourceMappingURL=diff-
|
|
393
|
+
//# sourceMappingURL=diff-1644d12b.cjs.js.map
|
|
@@ -2,18 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
var configLoader = require('@backstage/config-loader');
|
|
4
4
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
5
|
-
var config = require('./config-
|
|
5
|
+
var config = require('./config-34e60442.cjs.js');
|
|
6
6
|
require('@backstage/config');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-4c13ec59.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('semver');
|
|
12
12
|
require('@backstage/cli-common');
|
|
13
|
+
require('@backstage/backend-common/package.json');
|
|
14
|
+
require('@backstage/cli/package.json');
|
|
13
15
|
require('@backstage/config/package.json');
|
|
16
|
+
require('@backstage/core-app-api/package.json');
|
|
17
|
+
require('@backstage/core-components/package.json');
|
|
18
|
+
require('@backstage/core-plugin-api/package.json');
|
|
19
|
+
require('@backstage/dev-utils/package.json');
|
|
20
|
+
require('@backstage/test-utils/package.json');
|
|
21
|
+
require('@backstage/theme/package.json');
|
|
22
|
+
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
14
23
|
require('@backstage/errors');
|
|
15
24
|
require('@manypkg/get-packages');
|
|
16
|
-
require('./PackageGraph-
|
|
25
|
+
require('./PackageGraph-5c819ded.cjs.js');
|
|
17
26
|
require('path');
|
|
18
27
|
require('child_process');
|
|
19
28
|
require('util');
|
|
@@ -34,4 +43,4 @@ var docs = async (cmd) => {
|
|
|
34
43
|
};
|
|
35
44
|
|
|
36
45
|
exports["default"] = docs;
|
|
37
|
-
//# sourceMappingURL=docs-
|
|
46
|
+
//# sourceMappingURL=docs-5aabd653.cjs.js.map
|
|
@@ -1,14 +1,13 @@
|
|
|
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-517bbb6b.cjs.js');
|
|
4
|
+
var packageRoles = require('./packageRoles-c3085958.cjs.js');
|
|
5
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
6
|
+
var buildBackend = require('./buildBackend-3d0f6b8d.cjs.js');
|
|
7
7
|
require('fs-extra');
|
|
8
8
|
require('rollup');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('path');
|
|
11
|
-
require('rollup-plugin-peer-deps-external');
|
|
12
11
|
require('@rollup/plugin-commonjs');
|
|
13
12
|
require('@rollup/plugin-node-resolve');
|
|
14
13
|
require('rollup-plugin-postcss');
|
|
@@ -18,15 +17,24 @@ require('rollup-plugin-dts');
|
|
|
18
17
|
require('@rollup/plugin-json');
|
|
19
18
|
require('@rollup/plugin-yaml');
|
|
20
19
|
require('rollup-pluginutils');
|
|
21
|
-
require('./svgrTemplate-
|
|
22
|
-
require('./parallel-
|
|
20
|
+
require('./svgrTemplate-550efce6.cjs.js');
|
|
21
|
+
require('./parallel-8286d3fa.cjs.js');
|
|
23
22
|
require('os');
|
|
24
23
|
require('worker_threads');
|
|
25
24
|
require('zod');
|
|
26
25
|
require('commander');
|
|
27
26
|
require('semver');
|
|
28
27
|
require('@backstage/cli-common');
|
|
28
|
+
require('@backstage/backend-common/package.json');
|
|
29
|
+
require('@backstage/cli/package.json');
|
|
29
30
|
require('@backstage/config/package.json');
|
|
31
|
+
require('@backstage/core-app-api/package.json');
|
|
32
|
+
require('@backstage/core-components/package.json');
|
|
33
|
+
require('@backstage/core-plugin-api/package.json');
|
|
34
|
+
require('@backstage/dev-utils/package.json');
|
|
35
|
+
require('@backstage/test-utils/package.json');
|
|
36
|
+
require('@backstage/theme/package.json');
|
|
37
|
+
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
30
38
|
require('@backstage/errors');
|
|
31
39
|
require('webpack');
|
|
32
40
|
require('fork-ts-checker-webpack-plugin');
|
|
@@ -35,26 +43,27 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
35
43
|
require('run-script-webpack-plugin');
|
|
36
44
|
require('webpack-node-externals');
|
|
37
45
|
require('@manypkg/get-packages');
|
|
38
|
-
require('./paths-
|
|
46
|
+
require('./paths-6403ea49.cjs.js');
|
|
39
47
|
require('mini-css-extract-plugin');
|
|
40
|
-
require('./run-
|
|
48
|
+
require('./run-ce45fe5f.cjs.js');
|
|
41
49
|
require('child_process');
|
|
42
50
|
require('util');
|
|
43
51
|
require('eslint-webpack-plugin');
|
|
44
52
|
require('lodash/pickBy');
|
|
45
|
-
require('./bundle-
|
|
53
|
+
require('./bundle-6462d713.cjs.js');
|
|
46
54
|
require('yn');
|
|
47
55
|
require('react-dev-utils/FileSizeReporter');
|
|
48
56
|
require('react-dev-utils/formatWebpackMessages');
|
|
49
57
|
require('webpack-dev-server');
|
|
50
58
|
require('react-dev-utils/openBrowser');
|
|
51
|
-
require('./config-
|
|
59
|
+
require('./config-34e60442.cjs.js');
|
|
52
60
|
require('@backstage/config-loader');
|
|
53
61
|
require('@backstage/config');
|
|
54
|
-
require('./PackageGraph-
|
|
62
|
+
require('./PackageGraph-5c819ded.cjs.js');
|
|
55
63
|
require('tar');
|
|
56
|
-
require('./createDistWorkspace-
|
|
64
|
+
require('./createDistWorkspace-2e59f9c1.cjs.js');
|
|
57
65
|
require('lodash/partition');
|
|
66
|
+
require('./package-60f06638.cjs.js');
|
|
58
67
|
require('npm-packlist');
|
|
59
68
|
|
|
60
69
|
async function command(cmd) {
|
|
@@ -91,4 +100,4 @@ async function command(cmd) {
|
|
|
91
100
|
}
|
|
92
101
|
|
|
93
102
|
exports.command = command;
|
|
94
|
-
//# sourceMappingURL=index-
|
|
103
|
+
//# sourceMappingURL=index-20a8e33f.cjs.js.map
|
|
@@ -5,7 +5,16 @@ var chalk = require('chalk');
|
|
|
5
5
|
var fs = require('fs-extra');
|
|
6
6
|
var semver = require('semver');
|
|
7
7
|
var cliCommon = require('@backstage/cli-common');
|
|
8
|
-
var package_json = require('@backstage/
|
|
8
|
+
var package_json = require('@backstage/backend-common/package.json');
|
|
9
|
+
var package_json$1 = require('@backstage/cli/package.json');
|
|
10
|
+
var package_json$2 = require('@backstage/config/package.json');
|
|
11
|
+
var package_json$3 = require('@backstage/core-app-api/package.json');
|
|
12
|
+
var package_json$4 = require('@backstage/core-components/package.json');
|
|
13
|
+
var package_json$5 = require('@backstage/core-plugin-api/package.json');
|
|
14
|
+
var package_json$6 = require('@backstage/dev-utils/package.json');
|
|
15
|
+
var package_json$7 = require('@backstage/test-utils/package.json');
|
|
16
|
+
var package_json$8 = require('@backstage/theme/package.json');
|
|
17
|
+
var package_json$9 = require('@backstage/plugin-scaffolder-backend/package.json');
|
|
9
18
|
var errors = require('@backstage/errors');
|
|
10
19
|
|
|
11
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -46,156 +55,17 @@ class NotFoundError extends CustomError {
|
|
|
46
55
|
|
|
47
56
|
const paths = cliCommon.findPaths(__dirname);
|
|
48
57
|
|
|
49
|
-
var version$9 = "0.11.0";
|
|
50
|
-
|
|
51
|
-
var version$8 = "0.14.1";
|
|
52
|
-
var dependencies = {
|
|
53
|
-
"@backstage/cli-common": "^0.1.8",
|
|
54
|
-
"@backstage/config": "^0.1.15",
|
|
55
|
-
"@backstage/config-loader": "^0.9.6",
|
|
56
|
-
"@backstage/errors": "^0.2.2",
|
|
57
|
-
"@backstage/release-manifests": "^0.0.2",
|
|
58
|
-
"@backstage/types": "^0.1.3",
|
|
59
|
-
"@hot-loader/react-dom": "^17.0.2",
|
|
60
|
-
"@manypkg/get-packages": "^1.1.3",
|
|
61
|
-
"@octokit/request": "^5.4.12",
|
|
62
|
-
"@rollup/plugin-commonjs": "^21.0.1",
|
|
63
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
64
|
-
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
65
|
-
"@rollup/plugin-yaml": "^3.1.0",
|
|
66
|
-
"@spotify/eslint-config-base": "^12.0.0",
|
|
67
|
-
"@spotify/eslint-config-react": "^12.0.0",
|
|
68
|
-
"@spotify/eslint-config-typescript": "^12.0.0",
|
|
69
|
-
"@sucrase/jest-plugin": "^2.1.1",
|
|
70
|
-
"@sucrase/webpack-loader": "^2.0.0",
|
|
71
|
-
"@svgr/plugin-jsx": "6.2.x",
|
|
72
|
-
"@svgr/plugin-svgo": "6.2.x",
|
|
73
|
-
"@svgr/rollup": "6.2.x",
|
|
74
|
-
"@svgr/webpack": "6.2.x",
|
|
75
|
-
"@types/webpack-env": "^1.15.2",
|
|
76
|
-
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
77
|
-
"@typescript-eslint/parser": "^5.9.0",
|
|
78
|
-
"@yarnpkg/lockfile": "^1.1.0",
|
|
79
|
-
bfj: "^7.0.2",
|
|
80
|
-
buffer: "^6.0.3",
|
|
81
|
-
chalk: "^4.0.0",
|
|
82
|
-
chokidar: "^3.3.1",
|
|
83
|
-
commander: "^6.1.0",
|
|
84
|
-
"css-loader": "^6.5.1",
|
|
85
|
-
diff: "^5.0.0",
|
|
86
|
-
esbuild: "^0.14.10",
|
|
87
|
-
"esbuild-loader": "^2.18.0",
|
|
88
|
-
eslint: "^8.6.0",
|
|
89
|
-
"eslint-webpack-plugin": "^2.6.0",
|
|
90
|
-
"eslint-config-prettier": "^8.3.0",
|
|
91
|
-
"eslint-formatter-friendly": "^7.0.0",
|
|
92
|
-
"eslint-plugin-import": "^2.25.4",
|
|
93
|
-
"eslint-plugin-jest": "^25.3.4",
|
|
94
|
-
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
95
|
-
"eslint-plugin-monorepo": "^0.3.2",
|
|
96
|
-
"eslint-plugin-react": "^7.28.0",
|
|
97
|
-
"eslint-plugin-react-hooks": "^4.3.0",
|
|
98
|
-
express: "^4.17.1",
|
|
99
|
-
"fork-ts-checker-webpack-plugin": "^7.0.0-alpha.8",
|
|
100
|
-
"fs-extra": "9.1.0",
|
|
101
|
-
glob: "^7.1.7",
|
|
102
|
-
handlebars: "^4.7.3",
|
|
103
|
-
"html-webpack-plugin": "^5.3.1",
|
|
104
|
-
inquirer: "^8.2.0",
|
|
105
|
-
jest: "^26.0.1",
|
|
106
|
-
"jest-css-modules": "^2.1.0",
|
|
107
|
-
"json-schema": "^0.4.0",
|
|
108
|
-
"jest-transform-yaml": "^1.0.0",
|
|
109
|
-
lodash: "^4.17.21",
|
|
110
|
-
minimatch: "5.0.0",
|
|
111
|
-
"mini-css-extract-plugin": "^2.4.2",
|
|
112
|
-
"npm-packlist": "^3.0.0",
|
|
113
|
-
"node-libs-browser": "^2.2.1",
|
|
114
|
-
ora: "^5.3.0",
|
|
115
|
-
postcss: "^8.1.0",
|
|
116
|
-
process: "^0.11.10",
|
|
117
|
-
"react-dev-utils": "^12.0.0-next.60",
|
|
118
|
-
"react-hot-loader": "^4.13.0",
|
|
119
|
-
"recursive-readdir": "^2.2.2",
|
|
120
|
-
"replace-in-file": "^6.0.0",
|
|
121
|
-
rollup: "^2.60.2",
|
|
122
|
-
"rollup-plugin-dts": "^4.0.1",
|
|
123
|
-
"rollup-plugin-esbuild": "^4.7.2",
|
|
124
|
-
"rollup-plugin-peer-deps-external": "^2.2.2",
|
|
125
|
-
"rollup-plugin-postcss": "^4.0.0",
|
|
126
|
-
"rollup-pluginutils": "^2.8.2",
|
|
127
|
-
"run-script-webpack-plugin": "^0.0.11",
|
|
128
|
-
semver: "^7.3.2",
|
|
129
|
-
"style-loader": "^3.3.1",
|
|
130
|
-
sucrase: "^3.20.2",
|
|
131
|
-
tar: "^6.1.2",
|
|
132
|
-
"terser-webpack-plugin": "^5.1.3",
|
|
133
|
-
util: "^0.12.3",
|
|
134
|
-
webpack: "^5.66.0",
|
|
135
|
-
"webpack-dev-server": "^4.7.3",
|
|
136
|
-
"webpack-node-externals": "^3.0.0",
|
|
137
|
-
yaml: "^1.10.0",
|
|
138
|
-
"yml-loader": "^2.1.0",
|
|
139
|
-
yn: "^4.0.0",
|
|
140
|
-
zod: "^3.11.6"
|
|
141
|
-
};
|
|
142
|
-
var devDependencies = {
|
|
143
|
-
"@backstage/backend-common": "^0.11.0",
|
|
144
|
-
"@backstage/config": "^0.1.15",
|
|
145
|
-
"@backstage/core-components": "^0.8.10",
|
|
146
|
-
"@backstage/core-plugin-api": "^0.7.0",
|
|
147
|
-
"@backstage/core-app-api": "^0.5.4",
|
|
148
|
-
"@backstage/dev-utils": "^0.2.23",
|
|
149
|
-
"@backstage/test-utils": "^0.2.6",
|
|
150
|
-
"@backstage/theme": "^0.2.15",
|
|
151
|
-
"@types/diff": "^5.0.0",
|
|
152
|
-
"@types/express": "^4.17.6",
|
|
153
|
-
"@types/fs-extra": "^9.0.1",
|
|
154
|
-
"@types/http-proxy": "^1.17.4",
|
|
155
|
-
"@types/inquirer": "^8.1.3",
|
|
156
|
-
"@types/minimatch": "^3.0.5",
|
|
157
|
-
"@types/mock-fs": "^4.13.0",
|
|
158
|
-
"@types/node": "^14.14.32",
|
|
159
|
-
"@types/npm-packlist": "^1.1.2",
|
|
160
|
-
"@types/recursive-readdir": "^2.2.0",
|
|
161
|
-
"@types/rollup-plugin-peer-deps-external": "^2.2.0",
|
|
162
|
-
"@types/rollup-plugin-postcss": "^3.1.4",
|
|
163
|
-
"@types/svgo": "^2.6.2",
|
|
164
|
-
"@types/tar": "^6.1.1",
|
|
165
|
-
"@types/terser-webpack-plugin": "^5.0.4",
|
|
166
|
-
"@types/yarnpkg__lockfile": "^1.1.4",
|
|
167
|
-
del: "^6.0.0",
|
|
168
|
-
"mock-fs": "^5.1.0",
|
|
169
|
-
nodemon: "^2.0.2",
|
|
170
|
-
"ts-node": "^10.0.0",
|
|
171
|
-
msw: "^0.35.0"
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
var version$7 = "0.5.4";
|
|
175
|
-
|
|
176
|
-
var version$6 = "0.8.10";
|
|
177
|
-
|
|
178
|
-
var version$5 = "0.7.0";
|
|
179
|
-
|
|
180
|
-
var version$4 = "0.2.23";
|
|
181
|
-
|
|
182
|
-
var version$3 = "0.2.6";
|
|
183
|
-
|
|
184
|
-
var version$2 = "0.2.15";
|
|
185
|
-
|
|
186
|
-
var version$1 = "0.17.0";
|
|
187
|
-
|
|
188
58
|
const packageVersions = {
|
|
189
|
-
"@backstage/backend-common": version
|
|
190
|
-
"@backstage/cli": version
|
|
191
|
-
"@backstage/config": package_json.version,
|
|
192
|
-
"@backstage/core-app-api": version
|
|
193
|
-
"@backstage/core-components": version
|
|
194
|
-
"@backstage/core-plugin-api":
|
|
195
|
-
"@backstage/dev-utils": version
|
|
196
|
-
"@backstage/test-utils": version
|
|
197
|
-
"@backstage/theme": version
|
|
198
|
-
"@backstage/plugin-scaffolder-backend": version
|
|
59
|
+
"@backstage/backend-common": package_json.version,
|
|
60
|
+
"@backstage/cli": package_json$1.version,
|
|
61
|
+
"@backstage/config": package_json$2.version,
|
|
62
|
+
"@backstage/core-app-api": package_json$3.version,
|
|
63
|
+
"@backstage/core-components": package_json$4.version,
|
|
64
|
+
"@backstage/core-plugin-api": package_json$5.version,
|
|
65
|
+
"@backstage/dev-utils": package_json$6.version,
|
|
66
|
+
"@backstage/test-utils": package_json$7.version,
|
|
67
|
+
"@backstage/theme": package_json$8.version,
|
|
68
|
+
"@backstage/plugin-scaffolder-backend": package_json$9.version
|
|
199
69
|
};
|
|
200
70
|
function findVersion() {
|
|
201
71
|
const pkgContent = fs__default["default"].readFileSync(paths.resolveOwn("package.json"), "utf8");
|
|
@@ -237,55 +107,56 @@ const configOption = [
|
|
|
237
107
|
Array()
|
|
238
108
|
];
|
|
239
109
|
function registerRepoCommand(program) {
|
|
240
|
-
const command = program.command("repo [command]"
|
|
241
|
-
command.command("build").description("Build packages in the project, excluding bundled app and backend packages.").option("--all", "Build all packages, including bundled app and backend packages.").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
242
|
-
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-
|
|
110
|
+
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
111
|
+
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-355c6499.cjs.js'); }).then((m) => m.command)));
|
|
112
|
+
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-7a5f1e5d.cjs.js'); }).then((m) => m.command)));
|
|
243
113
|
}
|
|
244
114
|
function registerScriptCommand(program) {
|
|
245
|
-
const command = program.command("package [command]"
|
|
246
|
-
command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role
|
|
247
|
-
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role
|
|
248
|
-
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-
|
|
249
|
-
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-
|
|
250
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
251
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
252
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
115
|
+
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
116
|
+
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-922d86dd.cjs.js'); }).then((m) => m.command)));
|
|
117
|
+
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-20a8e33f.cjs.js'); }).then((m) => m.command)));
|
|
118
|
+
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-228ef900.cjs.js'); }).then((m) => m.default)));
|
|
119
|
+
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-9dc293a6.cjs.js'); }).then((m) => m.default)));
|
|
120
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-856fd038.cjs.js'); }).then((m) => m.default)));
|
|
121
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-bac37bf2.cjs.js'); }).then((m) => m.pre)));
|
|
122
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-bac37bf2.cjs.js'); }).then((m) => m.post)));
|
|
253
123
|
}
|
|
254
124
|
function registerMigrateCommand(program) {
|
|
255
|
-
const command = program.command("migrate [command]"
|
|
256
|
-
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-
|
|
257
|
-
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-
|
|
125
|
+
const command = program.command("migrate [command]").description("Migration utilities");
|
|
126
|
+
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-fe7f070f.cjs.js'); }).then((m) => m.default)));
|
|
127
|
+
command.command("package-scripts").description("Set package scripts according to each package role").action(lazy(() => Promise.resolve().then(function () { return require('./packageScripts-82add064.cjs.js'); }).then((m) => m.command)));
|
|
128
|
+
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-e1177405.cjs.js'); }).then((m) => m.command)));
|
|
258
129
|
}
|
|
259
130
|
function registerCommands(program) {
|
|
260
|
-
program.command("app:build").description("Build an app for a production release").option("--stats", "Write bundle stats to output directory").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
261
|
-
program.command("app:serve").description("Serve an app for local development").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-
|
|
262
|
-
program.command("backend:build").description("Build a backend plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
263
|
-
program.command("backend:bundle").description("Bundle the backend into a deployment archive").option("--build-dependencies", "Build all local package dependencies before bundling the backend").action(lazy(() => Promise.resolve().then(function () { return require('./bundle-
|
|
264
|
-
program.command("backend:dev").description("Start local development server with HMR for the backend").option("--check", "Enable type checking and linting").option("--inspect", "Enable debugger").option("--inspect-brk", "Enable debugger with await to attach debugger").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./dev-
|
|
265
|
-
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-
|
|
266
|
-
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-
|
|
267
|
-
program.command("plugin:build").description("Build a plugin").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
268
|
-
program.command("plugin:serve").description("Serves the dev/ folder of a plugin").option("--check", "Enable type checking and linting").option(...configOption).action(lazy(() => Promise.resolve().then(function () { return require('./serve-
|
|
269
|
-
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-
|
|
270
|
-
program.command("build").description("Build a package for publishing").option("--outputs <formats>", "List of formats to output [types,cjs,esm]").option("--minify", "Minify the generated code").option("--experimental-type-build", "Enable experimental type build").action(lazy(() => Promise.resolve().then(function () { return require('./oldBuild-
|
|
271
|
-
program.command("lint").option("--format <format>", "Lint report output format", "eslint-formatter-friendly").option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
272
|
-
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./testCommand-
|
|
273
|
-
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-
|
|
274
|
-
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-
|
|
275
|
-
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-
|
|
276
|
-
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-
|
|
131
|
+
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-88c2fd94.cjs.js'); }).then((m) => m.default)));
|
|
132
|
+
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-35ba5f65.cjs.js'); }).then((m) => m.default)));
|
|
133
|
+
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-a0c2eb61.cjs.js'); }).then((m) => m.default)));
|
|
134
|
+
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-4401df64.cjs.js'); }).then((m) => m.default)));
|
|
135
|
+
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-abfdcb35.cjs.js'); }).then((m) => m.default)));
|
|
136
|
+
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-9fc62b6e.cjs.js'); }).then((m) => m.default)));
|
|
137
|
+
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-b4970fd2.cjs.js'); }).then((m) => m.default)));
|
|
138
|
+
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-cfb16c7d.cjs.js'); }).then((m) => m.default)));
|
|
139
|
+
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-5471ff1c.cjs.js'); }).then((m) => m.default)));
|
|
140
|
+
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-1644d12b.cjs.js'); }).then((m) => m.default)));
|
|
141
|
+
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-65b1b59a.cjs.js'); }).then((m) => m.default)));
|
|
142
|
+
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-228ef900.cjs.js'); }).then((m) => m.default)));
|
|
143
|
+
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-9dc293a6.cjs.js'); }).then((m) => m.default)));
|
|
144
|
+
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-5aabd653.cjs.js'); }).then((m) => m.default)));
|
|
145
|
+
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-ccc887c6.cjs.js'); }).then((m) => m.default)));
|
|
146
|
+
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-4f7c6061.cjs.js'); }).then((m) => m.default)));
|
|
147
|
+
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-084841cf.cjs.js'); }).then((m) => m.default)));
|
|
277
148
|
registerRepoCommand(program);
|
|
278
149
|
registerScriptCommand(program);
|
|
279
150
|
registerMigrateCommand(program);
|
|
280
|
-
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-
|
|
281
|
-
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-
|
|
282
|
-
program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
283
|
-
program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
284
|
-
program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
285
|
-
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-
|
|
286
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
287
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
288
|
-
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-
|
|
151
|
+
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-06e432bb.cjs.js'); }).then((m) => m.default)));
|
|
152
|
+
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-5233c048.cjs.js'); }).then((m) => m.default)));
|
|
153
|
+
program.command("prepack").description("Prepares a package for packaging before publishing [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-bac37bf2.cjs.js'); }).then((m) => m.pre)));
|
|
154
|
+
program.command("postpack").description("Restores the changes made by the prepack command [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./pack-bac37bf2.cjs.js'); }).then((m) => m.post)));
|
|
155
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-856fd038.cjs.js'); }).then((m) => m.default)));
|
|
156
|
+
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-e8b34b75.cjs.js'); }).then((m) => m.default)));
|
|
157
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-e36e6f30.cjs.js'); }).then((m) => m.default)));
|
|
158
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-f667ee33.cjs.js'); }).then((m) => m.default)));
|
|
159
|
+
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-4a376c4f.cjs.js'); }).then((m) => m.default)));
|
|
289
160
|
}
|
|
290
161
|
function lazy(getActionFunc) {
|
|
291
162
|
return async (...args) => {
|
|
@@ -324,9 +195,6 @@ main(process.argv);
|
|
|
324
195
|
exports.ExitCodeError = ExitCodeError;
|
|
325
196
|
exports.NotFoundError = NotFoundError;
|
|
326
197
|
exports.createPackageVersionProvider = createPackageVersionProvider;
|
|
327
|
-
exports.dependencies = dependencies;
|
|
328
|
-
exports.devDependencies = devDependencies;
|
|
329
198
|
exports.paths = paths;
|
|
330
199
|
exports.version = version;
|
|
331
|
-
|
|
332
|
-
//# sourceMappingURL=index-f4a6cd4f.cjs.js.map
|
|
200
|
+
//# sourceMappingURL=index-4c13ec59.cjs.js.map
|