@backstage/cli 0.0.0-nightly-20220307022304 → 0.0.0-nightly-20220310022859
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 -1
- package/config/eslint-factory.js +286 -0
- package/config/eslint.backend.js +4 -87
- package/config/eslint.js +4 -93
- package/dist/cjs/{PackageGraph-849e2c1d.cjs.js → PackageGraph-5c819ded.cjs.js} +2 -2
- package/dist/cjs/{backend-bbe680e6.cjs.js → backend-ba5674b1.cjs.js} +2 -2
- package/dist/cjs/{build-dd074199.cjs.js → build-355c6499.cjs.js} +12 -12
- package/dist/cjs/{build-89f0b532.cjs.js → build-88c2fd94.cjs.js} +7 -7
- package/dist/cjs/{build-395159dd.cjs.js → build-a0c2eb61.cjs.js} +4 -4
- package/dist/cjs/{build-37a62450.cjs.js → build-cfb16c7d.cjs.js} +4 -4
- package/dist/cjs/{buildBackend-6755c9a2.cjs.js → buildBackend-3d0f6b8d.cjs.js} +8 -8
- package/dist/cjs/{buildWorkspace-1328ee04.cjs.js → buildWorkspace-e8b34b75.cjs.js} +8 -8
- package/dist/cjs/{bump-c157b8ad.cjs.js → bump-06e432bb.cjs.js} +5 -5
- package/dist/cjs/{bundle-2f34393b.cjs.js → bundle-4401df64.cjs.js} +8 -8
- package/dist/cjs/{bundle-5566fb7d.cjs.js → bundle-6462d713.cjs.js} +2 -2
- package/dist/cjs/{clean-8d1c7404.cjs.js → clean-856fd038.cjs.js} +2 -2
- package/dist/cjs/{config-37c051b6.cjs.js → config-34e60442.cjs.js} +3 -3
- package/dist/cjs/{create-32d911f3.cjs.js → create-9fc62b6e.cjs.js} +4 -4
- package/dist/cjs/{createDistWorkspace-af9ede84.cjs.js → createDistWorkspace-2e59f9c1.cjs.js} +7 -7
- package/dist/cjs/{createPlugin-bcaff10e.cjs.js → createPlugin-b4970fd2.cjs.js} +4 -4
- package/dist/cjs/{dev-af5ee35a.cjs.js → dev-abfdcb35.cjs.js} +5 -5
- package/dist/cjs/{diff-3f16e1ff.cjs.js → diff-1644d12b.cjs.js} +2 -2
- package/dist/cjs/{docs-32ce496d.cjs.js → docs-5aabd653.cjs.js} +4 -4
- package/dist/cjs/{index-c41f5b65.cjs.js → index-20a8e33f.cjs.js} +12 -12
- package/dist/cjs/{index-8d3a375e.cjs.js → index-4c13ec59.cjs.js} +42 -41
- package/dist/cjs/{index-ce610c8d.cjs.js → index-922d86dd.cjs.js} +10 -10
- package/dist/cjs/{index-cb1f8d6c.cjs.js → index-e36e6f30.cjs.js} +2 -2
- package/dist/cjs/{info-79014f81.cjs.js → info-f667ee33.cjs.js} +4 -4
- package/dist/cjs/{install-bc24cd13.cjs.js → install-4a376c4f.cjs.js} +4 -4
- package/dist/cjs/{lint-6ebbb44c.cjs.js → lint-228ef900.cjs.js} +2 -2
- package/dist/cjs/{lint-4998c998.cjs.js → lint-5233c048.cjs.js} +3 -3
- package/dist/cjs/{lint-265b25da.cjs.js → lint-7a5f1e5d.cjs.js} +3 -3
- package/dist/cjs/{oldBuild-938eb1fc.cjs.js → oldBuild-65b1b59a.cjs.js} +4 -4
- package/dist/cjs/{pack-a42d066d.cjs.js → pack-bac37bf2.cjs.js} +2 -2
- package/dist/cjs/{package-74b2c28c.cjs.js → package-60f06638.cjs.js} +7 -7
- package/dist/cjs/packageLintConfigs-e1177405.cjs.js +84 -0
- package/dist/cjs/{packageRole-3f76bf80.cjs.js → packageRole-fe7f070f.cjs.js} +3 -3
- package/dist/cjs/{packageRoles-571d6446.cjs.js → packageRoles-c3085958.cjs.js} +2 -2
- package/dist/cjs/{packageScripts-c9d90c44.cjs.js → packageScripts-82add064.cjs.js} +4 -4
- package/dist/cjs/{packager-72f75016.cjs.js → packager-517bbb6b.cjs.js} +3 -3
- package/dist/cjs/{packages-6b97e4bd.cjs.js → packages-954bf3c0.cjs.js} +3 -3
- package/dist/cjs/{paths-4c73ff7d.cjs.js → paths-6403ea49.cjs.js} +3 -3
- package/dist/cjs/{print-5f7320cf.cjs.js → print-ccc887c6.cjs.js} +4 -4
- package/dist/cjs/{run-aa83e520.cjs.js → run-ce45fe5f.cjs.js} +2 -2
- package/dist/cjs/{schema-1c329f03.cjs.js → schema-084841cf.cjs.js} +4 -4
- package/dist/cjs/{serve-bc17508e.cjs.js → serve-35ba5f65.cjs.js} +8 -8
- package/dist/cjs/{serve-cd1a79b0.cjs.js → serve-5471ff1c.cjs.js} +7 -7
- package/dist/cjs/{server-33ee0a3e.cjs.js → server-ecae19cc.cjs.js} +2 -2
- package/dist/cjs/{tasks-c74e0eb5.cjs.js → tasks-ec11e3db.cjs.js} +2 -2
- package/dist/cjs/{testCommand-3e7458d3.cjs.js → testCommand-9dc293a6.cjs.js} +3 -3
- package/dist/cjs/{validate-b833cfeb.cjs.js → validate-4f7c6061.cjs.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/package.json +6 -6
- 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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var packager = require('./packager-
|
|
3
|
+
var packager = require('./packager-517bbb6b.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-4c13ec59.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('semver');
|
|
11
11
|
require('@backstage/cli-common');
|
|
@@ -33,7 +33,7 @@ require('./svgrTemplate-550efce6.cjs.js');
|
|
|
33
33
|
require('./parallel-8286d3fa.cjs.js');
|
|
34
34
|
require('os');
|
|
35
35
|
require('worker_threads');
|
|
36
|
-
require('./packageRoles-
|
|
36
|
+
require('./packageRoles-c3085958.cjs.js');
|
|
37
37
|
require('zod');
|
|
38
38
|
|
|
39
39
|
var build = async (cmd) => {
|
|
@@ -45,4 +45,4 @@ var build = async (cmd) => {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
exports["default"] = build;
|
|
48
|
-
//# sourceMappingURL=build-
|
|
48
|
+
//# sourceMappingURL=build-a0c2eb61.cjs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var packager = require('./packager-
|
|
3
|
+
var packager = require('./packager-517bbb6b.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-4c13ec59.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('semver');
|
|
11
11
|
require('@backstage/cli-common');
|
|
@@ -33,7 +33,7 @@ require('./svgrTemplate-550efce6.cjs.js');
|
|
|
33
33
|
require('./parallel-8286d3fa.cjs.js');
|
|
34
34
|
require('os');
|
|
35
35
|
require('worker_threads');
|
|
36
|
-
require('./packageRoles-
|
|
36
|
+
require('./packageRoles-c3085958.cjs.js');
|
|
37
37
|
require('zod');
|
|
38
38
|
|
|
39
39
|
var build = async (cmd) => {
|
|
@@ -45,4 +45,4 @@ var build = async (cmd) => {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
exports["default"] = build;
|
|
48
|
-
//# sourceMappingURL=build-
|
|
48
|
+
//# sourceMappingURL=build-cfb16c7d.cjs.js.map
|
|
@@ -10,21 +10,21 @@ require('run-script-webpack-plugin');
|
|
|
10
10
|
require('webpack-node-externals');
|
|
11
11
|
require('@backstage/cli-common');
|
|
12
12
|
require('@manypkg/get-packages');
|
|
13
|
-
require('./paths-
|
|
13
|
+
require('./paths-6403ea49.cjs.js');
|
|
14
14
|
require('mini-css-extract-plugin');
|
|
15
|
-
require('./index-
|
|
16
|
-
require('./run-
|
|
15
|
+
require('./index-4c13ec59.cjs.js');
|
|
16
|
+
require('./run-ce45fe5f.cjs.js');
|
|
17
17
|
require('eslint-webpack-plugin');
|
|
18
18
|
require('lodash/pickBy');
|
|
19
|
-
var bundle = require('./bundle-
|
|
19
|
+
var bundle = require('./bundle-6462d713.cjs.js');
|
|
20
20
|
require('webpack-dev-server');
|
|
21
21
|
require('react-dev-utils/openBrowser');
|
|
22
22
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
23
|
-
var config = require('./config-
|
|
23
|
+
var config = require('./config-34e60442.cjs.js');
|
|
24
24
|
var os = require('os');
|
|
25
25
|
var tar = require('tar');
|
|
26
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
27
|
-
var packager = require('./packager-
|
|
26
|
+
var createDistWorkspace = require('./createDistWorkspace-2e59f9c1.cjs.js');
|
|
27
|
+
var packager = require('./packager-517bbb6b.cjs.js');
|
|
28
28
|
|
|
29
29
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
30
30
|
|
|
@@ -83,4 +83,4 @@ async function buildBackend(options) {
|
|
|
83
83
|
|
|
84
84
|
exports.buildBackend = buildBackend;
|
|
85
85
|
exports.buildFrontend = buildFrontend;
|
|
86
|
-
//# sourceMappingURL=buildBackend-
|
|
86
|
+
//# sourceMappingURL=buildBackend-3d0f6b8d.cjs.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
+
var createDistWorkspace = require('./createDistWorkspace-2e59f9c1.cjs.js');
|
|
5
5
|
require('chalk');
|
|
6
6
|
require('path');
|
|
7
7
|
require('os');
|
|
8
8
|
require('tar');
|
|
9
9
|
require('lodash/partition');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-4c13ec59.cjs.js');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('semver');
|
|
13
13
|
require('@backstage/cli-common');
|
|
@@ -22,13 +22,13 @@ require('@backstage/test-utils/package.json');
|
|
|
22
22
|
require('@backstage/theme/package.json');
|
|
23
23
|
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
24
24
|
require('@backstage/errors');
|
|
25
|
-
require('./run-
|
|
25
|
+
require('./run-ce45fe5f.cjs.js');
|
|
26
26
|
require('child_process');
|
|
27
27
|
require('util');
|
|
28
|
-
require('./package-
|
|
29
|
-
require('./PackageGraph-
|
|
28
|
+
require('./package-60f06638.cjs.js');
|
|
29
|
+
require('./PackageGraph-5c819ded.cjs.js');
|
|
30
30
|
require('@manypkg/get-packages');
|
|
31
|
-
require('./packager-
|
|
31
|
+
require('./packager-517bbb6b.cjs.js');
|
|
32
32
|
require('rollup');
|
|
33
33
|
require('@rollup/plugin-commonjs');
|
|
34
34
|
require('@rollup/plugin-node-resolve');
|
|
@@ -42,7 +42,7 @@ require('rollup-pluginutils');
|
|
|
42
42
|
require('./svgrTemplate-550efce6.cjs.js');
|
|
43
43
|
require('./parallel-8286d3fa.cjs.js');
|
|
44
44
|
require('worker_threads');
|
|
45
|
-
require('./packageRoles-
|
|
45
|
+
require('./packageRoles-c3085958.cjs.js');
|
|
46
46
|
require('zod');
|
|
47
47
|
require('npm-packlist');
|
|
48
48
|
|
|
@@ -60,4 +60,4 @@ var buildWorkspace = async (dir, _cmd, packages) => {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
exports["default"] = buildWorkspace;
|
|
63
|
-
//# sourceMappingURL=buildWorkspace-
|
|
63
|
+
//# sourceMappingURL=buildWorkspace-e8b34b75.cjs.js.map
|
|
@@ -7,11 +7,11 @@ var semver = require('semver');
|
|
|
7
7
|
var minimatch = require('minimatch');
|
|
8
8
|
var errors = require('@backstage/errors');
|
|
9
9
|
var path = require('path');
|
|
10
|
-
var run = require('./run-
|
|
11
|
-
var index = require('./index-
|
|
10
|
+
var run = require('./run-ce45fe5f.cjs.js');
|
|
11
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-276d1251.cjs.js');
|
|
13
|
-
var packages = require('./packages-
|
|
14
|
-
var lint = require('./lint-
|
|
13
|
+
var packages = require('./packages-954bf3c0.cjs.js');
|
|
14
|
+
var lint = require('./lint-5233c048.cjs.js');
|
|
15
15
|
var cliCommon = require('@backstage/cli-common');
|
|
16
16
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
17
17
|
var releaseManifests = require('@backstage/release-manifests');
|
|
@@ -354,4 +354,4 @@ exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
|
|
|
354
354
|
exports.createStrictVersionFinder = createStrictVersionFinder;
|
|
355
355
|
exports.createVersionFinder = createVersionFinder;
|
|
356
356
|
exports["default"] = bump;
|
|
357
|
-
//# sourceMappingURL=bump-
|
|
357
|
+
//# sourceMappingURL=bump-06e432bb.cjs.js.map
|
|
@@ -4,21 +4,21 @@ var os = require('os');
|
|
|
4
4
|
var fs = require('fs-extra');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var tar = require('tar');
|
|
7
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
8
|
-
var index = require('./index-
|
|
7
|
+
var createDistWorkspace = require('./createDistWorkspace-2e59f9c1.cjs.js');
|
|
8
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
9
9
|
var parallel = require('./parallel-8286d3fa.cjs.js');
|
|
10
|
-
var packager = require('./packager-
|
|
10
|
+
var packager = require('./packager-517bbb6b.cjs.js');
|
|
11
11
|
require('chalk');
|
|
12
12
|
require('lodash/partition');
|
|
13
|
-
require('./run-
|
|
13
|
+
require('./run-ce45fe5f.cjs.js');
|
|
14
14
|
require('child_process');
|
|
15
15
|
require('util');
|
|
16
16
|
require('@backstage/errors');
|
|
17
|
-
require('./package-
|
|
18
|
-
require('./PackageGraph-
|
|
17
|
+
require('./package-60f06638.cjs.js');
|
|
18
|
+
require('./PackageGraph-5c819ded.cjs.js');
|
|
19
19
|
require('@manypkg/get-packages');
|
|
20
20
|
require('npm-packlist');
|
|
21
|
-
require('./packageRoles-
|
|
21
|
+
require('./packageRoles-c3085958.cjs.js');
|
|
22
22
|
require('zod');
|
|
23
23
|
require('commander');
|
|
24
24
|
require('semver');
|
|
@@ -83,4 +83,4 @@ var bundle = async (cmd) => {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
exports["default"] = bundle;
|
|
86
|
-
//# sourceMappingURL=bundle-
|
|
86
|
+
//# sourceMappingURL=bundle-4401df64.cjs.js.map
|
|
@@ -6,7 +6,7 @@ var path = require('path');
|
|
|
6
6
|
var webpack = require('webpack');
|
|
7
7
|
var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
|
|
8
8
|
var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
9
|
-
var paths = require('./paths-
|
|
9
|
+
var paths = require('./paths-6403ea49.cjs.js');
|
|
10
10
|
var chalk = require('chalk');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -98,4 +98,4 @@ async function build(compiler, isCi) {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
exports.buildBundle = buildBundle;
|
|
101
|
-
//# sourceMappingURL=bundle-
|
|
101
|
+
//# sourceMappingURL=bundle-6462d713.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-4c13ec59.cjs.js');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('semver');
|
|
@@ -29,4 +29,4 @@ async function clean() {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
exports["default"] = clean;
|
|
32
|
-
//# sourceMappingURL=clean-
|
|
32
|
+
//# sourceMappingURL=clean-856fd038.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var configLoader = require('@backstage/config-loader');
|
|
4
4
|
var config = require('@backstage/config');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
6
6
|
var getPackages = require('@manypkg/get-packages');
|
|
7
|
-
var PackageGraph = require('./PackageGraph-
|
|
7
|
+
var PackageGraph = require('./PackageGraph-5c819ded.cjs.js');
|
|
8
8
|
|
|
9
9
|
function isValidUrl(url) {
|
|
10
10
|
try {
|
|
@@ -76,4 +76,4 @@ async function loadCliConfig(options) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
exports.loadCliConfig = loadCliConfig;
|
|
79
|
-
//# sourceMappingURL=config-
|
|
79
|
+
//# sourceMappingURL=config-34e60442.cjs.js.map
|
|
@@ -7,12 +7,12 @@ var chalk = require('chalk');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var camelCase = require('lodash/camelCase');
|
|
9
9
|
var upperFirst = require('lodash/upperFirst');
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var tasks = require('./tasks-
|
|
10
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
11
|
+
var tasks = require('./tasks-ec11e3db.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-276d1251.cjs.js');
|
|
13
13
|
require('minimatch');
|
|
14
14
|
require('@manypkg/get-packages');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-ce45fe5f.cjs.js');
|
|
16
16
|
var partition = require('lodash/partition');
|
|
17
17
|
var errors = require('@backstage/errors');
|
|
18
18
|
require('commander');
|
|
@@ -491,4 +491,4 @@ var create = async (cmd) => {
|
|
|
491
491
|
};
|
|
492
492
|
|
|
493
493
|
exports["default"] = create;
|
|
494
|
-
//# sourceMappingURL=create-
|
|
494
|
+
//# sourceMappingURL=create-9fc62b6e.cjs.js.map
|
package/dist/cjs/{createDistWorkspace-af9ede84.cjs.js → createDistWorkspace-2e59f9c1.cjs.js}
RENAMED
|
@@ -6,13 +6,13 @@ var path = require('path');
|
|
|
6
6
|
var os = require('os');
|
|
7
7
|
var tar = require('tar');
|
|
8
8
|
var partition = require('lodash/partition');
|
|
9
|
-
var index = require('./index-
|
|
10
|
-
var run = require('./run-
|
|
11
|
-
var _package = require('./package-
|
|
12
|
-
var PackageGraph = require('./PackageGraph-
|
|
13
|
-
var packager = require('./packager-
|
|
9
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
10
|
+
var run = require('./run-ce45fe5f.cjs.js');
|
|
11
|
+
var _package = require('./package-60f06638.cjs.js');
|
|
12
|
+
var PackageGraph = require('./PackageGraph-5c819ded.cjs.js');
|
|
13
|
+
var packager = require('./packager-517bbb6b.cjs.js');
|
|
14
14
|
var npmPackList = require('npm-packlist');
|
|
15
|
-
var packageRoles = require('./packageRoles-
|
|
15
|
+
var packageRoles = require('./packageRoles-c3085958.cjs.js');
|
|
16
16
|
|
|
17
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
18
18
|
|
|
@@ -213,4 +213,4 @@ async function moveToDistWorkspace(workspaceDir, localPackages) {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
exports.createDistWorkspace = createDistWorkspace;
|
|
216
|
-
//# sourceMappingURL=createDistWorkspace-
|
|
216
|
+
//# sourceMappingURL=createDistWorkspace-2e59f9c1.cjs.js.map
|
|
@@ -10,12 +10,12 @@ var camelCase = require('lodash/camelCase');
|
|
|
10
10
|
var upperFirst = require('lodash/upperFirst');
|
|
11
11
|
var os = require('os');
|
|
12
12
|
var errors = require('@backstage/errors');
|
|
13
|
-
var tasks = require('./tasks-
|
|
14
|
-
var index = require('./index-
|
|
13
|
+
var tasks = require('./tasks-ec11e3db.cjs.js');
|
|
14
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
15
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');
|
|
@@ -243,4 +243,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
|
|
|
243
243
|
exports.capitalize = capitalize;
|
|
244
244
|
exports["default"] = createPlugin;
|
|
245
245
|
exports.movePlugin = movePlugin;
|
|
246
|
-
//# sourceMappingURL=createPlugin-
|
|
246
|
+
//# sourceMappingURL=createPlugin-b4970fd2.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var backend = require('./backend-
|
|
4
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
5
|
+
var backend = require('./backend-ba5674b1.cjs.js');
|
|
6
6
|
require('commander');
|
|
7
7
|
require('chalk');
|
|
8
8
|
require('semver');
|
|
@@ -19,7 +19,7 @@ require('@backstage/theme/package.json');
|
|
|
19
19
|
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
20
20
|
require('@backstage/errors');
|
|
21
21
|
require('webpack');
|
|
22
|
-
require('./paths-
|
|
22
|
+
require('./paths-6403ea49.cjs.js');
|
|
23
23
|
require('path');
|
|
24
24
|
require('fork-ts-checker-webpack-plugin');
|
|
25
25
|
require('html-webpack-plugin');
|
|
@@ -29,7 +29,7 @@ require('webpack-node-externals');
|
|
|
29
29
|
require('@manypkg/get-packages');
|
|
30
30
|
require('mini-css-extract-plugin');
|
|
31
31
|
require('./svgrTemplate-550efce6.cjs.js');
|
|
32
|
-
require('./run-
|
|
32
|
+
require('./run-ce45fe5f.cjs.js');
|
|
33
33
|
require('child_process');
|
|
34
34
|
require('util');
|
|
35
35
|
require('eslint-webpack-plugin');
|
|
@@ -51,4 +51,4 @@ var dev = async (cmd) => {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
exports["default"] = dev;
|
|
54
|
-
//# sourceMappingURL=dev-
|
|
54
|
+
//# sourceMappingURL=dev-abfdcb35.cjs.js.map
|
|
@@ -7,7 +7,7 @@ var path = require('path');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var handlebars = require('handlebars');
|
|
9
9
|
var recursive = require('recursive-readdir');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-4c13ec59.cjs.js');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('semver');
|
|
13
13
|
require('@backstage/cli-common');
|
|
@@ -390,4 +390,4 @@ async function readPluginData() {
|
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
exports["default"] = diff;
|
|
393
|
-
//# sourceMappingURL=diff-
|
|
393
|
+
//# sourceMappingURL=diff-1644d12b.cjs.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var configLoader = require('@backstage/config-loader');
|
|
4
4
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
5
|
-
var config = require('./config-
|
|
5
|
+
var config = require('./config-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');
|
|
@@ -22,7 +22,7 @@ require('@backstage/theme/package.json');
|
|
|
22
22
|
require('@backstage/plugin-scaffolder-backend/package.json');
|
|
23
23
|
require('@backstage/errors');
|
|
24
24
|
require('@manypkg/get-packages');
|
|
25
|
-
require('./PackageGraph-
|
|
25
|
+
require('./PackageGraph-5c819ded.cjs.js');
|
|
26
26
|
require('path');
|
|
27
27
|
require('child_process');
|
|
28
28
|
require('util');
|
|
@@ -43,4 +43,4 @@ var docs = async (cmd) => {
|
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
exports["default"] = docs;
|
|
46
|
-
//# sourceMappingURL=docs-
|
|
46
|
+
//# sourceMappingURL=docs-5aabd653.cjs.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var packager = require('./packager-
|
|
4
|
-
var packageRoles = require('./packageRoles-
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var buildBackend = require('./buildBackend-
|
|
3
|
+
var packager = require('./packager-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');
|
|
@@ -43,27 +43,27 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
43
43
|
require('run-script-webpack-plugin');
|
|
44
44
|
require('webpack-node-externals');
|
|
45
45
|
require('@manypkg/get-packages');
|
|
46
|
-
require('./paths-
|
|
46
|
+
require('./paths-6403ea49.cjs.js');
|
|
47
47
|
require('mini-css-extract-plugin');
|
|
48
|
-
require('./run-
|
|
48
|
+
require('./run-ce45fe5f.cjs.js');
|
|
49
49
|
require('child_process');
|
|
50
50
|
require('util');
|
|
51
51
|
require('eslint-webpack-plugin');
|
|
52
52
|
require('lodash/pickBy');
|
|
53
|
-
require('./bundle-
|
|
53
|
+
require('./bundle-6462d713.cjs.js');
|
|
54
54
|
require('yn');
|
|
55
55
|
require('react-dev-utils/FileSizeReporter');
|
|
56
56
|
require('react-dev-utils/formatWebpackMessages');
|
|
57
57
|
require('webpack-dev-server');
|
|
58
58
|
require('react-dev-utils/openBrowser');
|
|
59
|
-
require('./config-
|
|
59
|
+
require('./config-34e60442.cjs.js');
|
|
60
60
|
require('@backstage/config-loader');
|
|
61
61
|
require('@backstage/config');
|
|
62
|
-
require('./PackageGraph-
|
|
62
|
+
require('./PackageGraph-5c819ded.cjs.js');
|
|
63
63
|
require('tar');
|
|
64
|
-
require('./createDistWorkspace-
|
|
64
|
+
require('./createDistWorkspace-2e59f9c1.cjs.js');
|
|
65
65
|
require('lodash/partition');
|
|
66
|
-
require('./package-
|
|
66
|
+
require('./package-60f06638.cjs.js');
|
|
67
67
|
require('npm-packlist');
|
|
68
68
|
|
|
69
69
|
async function command(cmd) {
|
|
@@ -100,4 +100,4 @@ async function command(cmd) {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
exports.command = command;
|
|
103
|
-
//# sourceMappingURL=index-
|
|
103
|
+
//# sourceMappingURL=index-20a8e33f.cjs.js.map
|
|
@@ -107,55 +107,56 @@ const configOption = [
|
|
|
107
107
|
Array()
|
|
108
108
|
];
|
|
109
109
|
function registerRepoCommand(program) {
|
|
110
|
-
const command = program.command("repo [command]"
|
|
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-
|
|
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-
|
|
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)));
|
|
113
113
|
}
|
|
114
114
|
function registerScriptCommand(program) {
|
|
115
|
-
const command = program.command("package [command]"
|
|
116
|
-
command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role
|
|
117
|
-
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role
|
|
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-
|
|
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-
|
|
120
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
121
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
122
|
-
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)));
|
|
123
123
|
}
|
|
124
124
|
function registerMigrateCommand(program) {
|
|
125
|
-
const command = program.command("migrate [command]"
|
|
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-
|
|
127
|
-
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)));
|
|
128
129
|
}
|
|
129
130
|
function registerCommands(program) {
|
|
130
|
-
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-
|
|
131
|
-
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-
|
|
132
|
-
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-
|
|
133
|
-
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-
|
|
134
|
-
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-
|
|
135
|
-
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-
|
|
136
|
-
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-
|
|
137
|
-
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-
|
|
138
|
-
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-
|
|
139
|
-
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-
|
|
140
|
-
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-
|
|
141
|
-
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-
|
|
142
|
-
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-
|
|
143
|
-
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-
|
|
144
|
-
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-
|
|
145
|
-
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-
|
|
146
|
-
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)));
|
|
147
148
|
registerRepoCommand(program);
|
|
148
149
|
registerScriptCommand(program);
|
|
149
150
|
registerMigrateCommand(program);
|
|
150
|
-
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-
|
|
151
|
-
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-
|
|
152
|
-
program.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
153
|
-
program.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
154
|
-
program.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
155
|
-
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-
|
|
156
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
157
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
158
|
-
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)));
|
|
159
160
|
}
|
|
160
161
|
function lazy(getActionFunc) {
|
|
161
162
|
return async (...args) => {
|
|
@@ -196,4 +197,4 @@ exports.NotFoundError = NotFoundError;
|
|
|
196
197
|
exports.createPackageVersionProvider = createPackageVersionProvider;
|
|
197
198
|
exports.paths = paths;
|
|
198
199
|
exports.version = version;
|
|
199
|
-
//# sourceMappingURL=index-
|
|
200
|
+
//# sourceMappingURL=index-4c13ec59.cjs.js.map
|