@backstage/cli 0.22.12-next.0 → 0.22.12
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 +19 -5
- package/dist/cjs/{build-d8817153.cjs.js → build-24c9a03b.cjs.js} +7 -7
- package/dist/cjs/{buildBackend-92684fc7.cjs.js → buildBackend-0414969c.cjs.js} +6 -6
- package/dist/cjs/{buildWorkspace-b60c60bd.cjs.js → buildWorkspace-b3123306.cjs.js} +4 -4
- package/dist/cjs/{bump-b9f95d5c.cjs.js → bump-c1ee882d.cjs.js} +5 -5
- package/dist/cjs/{clean-fa1c709a.cjs.js → clean-1e1df017.cjs.js} +2 -2
- package/dist/cjs/{clean-53765071.cjs.js → clean-8b68f64b.cjs.js} +2 -2
- package/dist/cjs/{codeowners-130a49e9.cjs.js → codeowners-0c7517c8.cjs.js} +2 -2
- package/dist/cjs/{config-a76654b9.cjs.js → config-46346d01.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-3c8231fd.cjs.js → createDistWorkspace-2b5871e5.cjs.js} +3 -3
- package/dist/cjs/{createPlugin-bd3feb12.cjs.js → createPlugin-f9dfe6b8.cjs.js} +4 -4
- package/dist/cjs/{diff-f4cbcd0a.cjs.js → diff-a33d11e1.cjs.js} +2 -2
- package/dist/cjs/{docs-2428e51b.cjs.js → docs-5965aac1.cjs.js} +3 -3
- package/dist/cjs/{fix-d425451e.cjs.js → fix-f36bac7e.cjs.js} +2 -2
- package/dist/cjs/{index-69d48340.cjs.js → index-3efbec45.cjs.js} +42 -50
- package/dist/cjs/{index-2f57b01d.cjs.js → index-50eabf49.cjs.js} +8 -8
- package/dist/cjs/{index-826e8be8.cjs.js → index-63bf0b64.cjs.js} +8 -18
- package/dist/cjs/{index-db0167da.cjs.js → index-877e9c6e.cjs.js} +3 -3
- package/dist/cjs/{index-5d7a9a9c.cjs.js → index-d17ad44e.cjs.js} +2 -2
- package/dist/cjs/{info-993112e8.cjs.js → info-94387803.cjs.js} +3 -3
- package/dist/cjs/{install-0c855c4e.cjs.js → install-d0c891f6.cjs.js} +4 -4
- package/dist/cjs/{lint-05748652.cjs.js → lint-1db34e2d.cjs.js} +2 -2
- package/dist/cjs/{lint-9f2f9059.cjs.js → lint-a7d95ec9.cjs.js} +3 -3
- package/dist/cjs/{lint-c5f7c4b7.cjs.js → lint-d9ce2976.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-1ee740c8.cjs.js → list-deprecations-001b9d6d.cjs.js} +2 -2
- package/dist/cjs/{new-cf3d9a26.cjs.js → new-63c85ff6.cjs.js} +4 -73
- package/dist/cjs/{pack-767b3e97.cjs.js → pack-14d9464d.cjs.js} +2 -2
- package/dist/cjs/{packageLintConfigs-514397ae.cjs.js → packageLintConfigs-71e74174.cjs.js} +3 -3
- package/dist/cjs/{packageRole-8604cc27.cjs.js → packageRole-23736a77.cjs.js} +2 -2
- package/dist/cjs/{packages-a2c40cef.cjs.js → packages-0fd3ec05.cjs.js} +3 -3
- package/dist/cjs/{paths-33f9e5e2.cjs.js → paths-26cd261b.cjs.js} +3 -3
- package/dist/cjs/{print-8340af8f.cjs.js → print-cf8b2027.cjs.js} +3 -3
- package/dist/cjs/{role-eb46a5b1.cjs.js → role-670a97b6.cjs.js} +2 -2
- package/dist/cjs/{run-bc0a5430.cjs.js → run-71d3d651.cjs.js} +2 -2
- package/dist/cjs/{schema-b3e9453a.cjs.js → schema-974fe016.cjs.js} +3 -3
- package/dist/cjs/{test-121a1299.cjs.js → test-0d0a8662.cjs.js} +3 -3
- package/dist/cjs/{test-220c586a.cjs.js → test-f71e524a.cjs.js} +3 -3
- package/dist/cjs/{validate-1f6c8221.cjs.js → validate-76ba805a.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +9 -11
- package/templates/default-backend-module/.eslintrc.js +0 -1
- package/templates/default-backend-module/README.md.hbs +0 -5
- package/templates/default-backend-module/package.json.hbs +0 -42
- package/templates/default-backend-module/src/index.ts.hbs +0 -8
- package/templates/default-backend-module/src/module.ts.hbs +0 -14
- package/templates/default-backend-module/tsconfig.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,32 @@
|
|
|
1
1
|
# @backstage/cli
|
|
2
2
|
|
|
3
|
-
## 0.22.12
|
|
3
|
+
## 0.22.12
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- 278d9326eb40: Added the ability to create a plain backend module with the `new` command.
|
|
8
|
-
- 71d4368ae5cc: Added support for the `dev/index` entry point for backend plugins and modules.
|
|
9
7
|
- Updated dependencies
|
|
10
|
-
- @backstage/integration@1.
|
|
11
|
-
- @backstage/config-loader@1.5.0-next.0
|
|
8
|
+
- @backstage/integration@1.6.2
|
|
12
9
|
- @backstage/catalog-model@1.4.1
|
|
13
10
|
- @backstage/cli-common@0.1.12
|
|
14
11
|
- @backstage/cli-node@0.1.3
|
|
15
12
|
- @backstage/config@1.0.8
|
|
13
|
+
- @backstage/config-loader@1.4.0
|
|
14
|
+
- @backstage/errors@1.2.1
|
|
15
|
+
- @backstage/eslint-plugin@0.1.3
|
|
16
|
+
- @backstage/release-manifests@0.0.9
|
|
17
|
+
- @backstage/types@1.1.0
|
|
18
|
+
|
|
19
|
+
## 0.22.11
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @backstage/integration@1.6.1
|
|
25
|
+
- @backstage/catalog-model@1.4.1
|
|
26
|
+
- @backstage/cli-common@0.1.12
|
|
27
|
+
- @backstage/cli-node@0.1.3
|
|
28
|
+
- @backstage/config@1.0.8
|
|
29
|
+
- @backstage/config-loader@1.4.0
|
|
16
30
|
- @backstage/errors@1.2.1
|
|
17
31
|
- @backstage/eslint-plugin@0.1.3
|
|
18
32
|
- @backstage/release-manifests@0.0.9
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
6
|
-
var index = require('./index-
|
|
5
|
+
var createDistWorkspace = require('./createDistWorkspace-2b5871e5.cjs.js');
|
|
6
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
7
7
|
var cliNode = require('@backstage/cli-node');
|
|
8
8
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
9
|
-
var buildBackend = require('./buildBackend-
|
|
9
|
+
var buildBackend = require('./buildBackend-0414969c.cjs.js');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('os');
|
|
12
12
|
require('tar');
|
|
13
13
|
require('lodash/partition');
|
|
14
|
-
require('./run-
|
|
14
|
+
require('./run-71d3d651.cjs.js');
|
|
15
15
|
require('child_process');
|
|
16
16
|
require('util');
|
|
17
17
|
require('@backstage/errors');
|
|
@@ -40,7 +40,7 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
40
40
|
require('run-script-webpack-plugin');
|
|
41
41
|
require('webpack-node-externals');
|
|
42
42
|
require('@manypkg/get-packages');
|
|
43
|
-
require('./paths-
|
|
43
|
+
require('./paths-26cd261b.cjs.js');
|
|
44
44
|
require('mini-css-extract-plugin');
|
|
45
45
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
46
46
|
require('eslint-webpack-plugin');
|
|
@@ -51,7 +51,7 @@ require('react-dev-utils/formatWebpackMessages');
|
|
|
51
51
|
require('webpack-dev-server');
|
|
52
52
|
require('react-dev-utils/openBrowser');
|
|
53
53
|
require('lodash/uniq');
|
|
54
|
-
require('./config-
|
|
54
|
+
require('./config-46346d01.cjs.js');
|
|
55
55
|
require('@backstage/config-loader');
|
|
56
56
|
require('@backstage/config');
|
|
57
57
|
require('@yarnpkg/parsers');
|
|
@@ -193,4 +193,4 @@ async function command(opts, cmd) {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
exports.command = command;
|
|
196
|
-
//# sourceMappingURL=build-
|
|
196
|
+
//# sourceMappingURL=build-24c9a03b.cjs.js.map
|
|
@@ -10,11 +10,11 @@ require('run-script-webpack-plugin');
|
|
|
10
10
|
require('webpack-node-externals');
|
|
11
11
|
require('@backstage/cli-common');
|
|
12
12
|
require('@manypkg/get-packages');
|
|
13
|
-
var paths = require('./paths-
|
|
13
|
+
var paths = require('./paths-26cd261b.cjs.js');
|
|
14
14
|
require('mini-css-extract-plugin');
|
|
15
15
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
16
|
-
require('./index-
|
|
17
|
-
require('./run-
|
|
16
|
+
require('./index-3efbec45.cjs.js');
|
|
17
|
+
require('./run-71d3d651.cjs.js');
|
|
18
18
|
require('eslint-webpack-plugin');
|
|
19
19
|
require('lodash/pickBy');
|
|
20
20
|
var yn = require('yn');
|
|
@@ -24,7 +24,7 @@ var chalk = require('chalk');
|
|
|
24
24
|
require('webpack-dev-server');
|
|
25
25
|
require('react-dev-utils/openBrowser');
|
|
26
26
|
require('lodash/uniq');
|
|
27
|
-
var config = require('./config-
|
|
27
|
+
var config = require('./config-46346d01.cjs.js');
|
|
28
28
|
require('@backstage/cli-node');
|
|
29
29
|
require('semver');
|
|
30
30
|
require('@yarnpkg/parsers');
|
|
@@ -35,7 +35,7 @@ require('lodash/partition');
|
|
|
35
35
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
36
36
|
var os = require('os');
|
|
37
37
|
var tar = require('tar');
|
|
38
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
38
|
+
var createDistWorkspace = require('./createDistWorkspace-2b5871e5.cjs.js');
|
|
39
39
|
|
|
40
40
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
41
41
|
|
|
@@ -216,4 +216,4 @@ async function buildBackend(options) {
|
|
|
216
216
|
|
|
217
217
|
exports.buildBackend = buildBackend;
|
|
218
218
|
exports.buildFrontend = buildFrontend;
|
|
219
|
-
//# sourceMappingURL=buildBackend-
|
|
219
|
+
//# sourceMappingURL=buildBackend-0414969c.cjs.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
+
var createDistWorkspace = require('./createDistWorkspace-2b5871e5.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-3efbec45.cjs.js');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('semver');
|
|
13
13
|
require('@backstage/cli-common');
|
|
14
14
|
require('@backstage/errors');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-71d3d651.cjs.js');
|
|
16
16
|
require('child_process');
|
|
17
17
|
require('util');
|
|
18
18
|
require('rollup');
|
|
@@ -48,4 +48,4 @@ var buildWorkspace = async (dir, packages, options) => {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
exports["default"] = buildWorkspace;
|
|
51
|
-
//# sourceMappingURL=buildWorkspace-
|
|
51
|
+
//# sourceMappingURL=buildWorkspace-b3123306.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-71d3d651.cjs.js');
|
|
11
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
12
12
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
13
|
-
var packages = require('./packages-
|
|
14
|
-
var lint = require('./lint-
|
|
13
|
+
var packages = require('./packages-0fd3ec05.cjs.js');
|
|
14
|
+
var lint = require('./lint-a7d95ec9.cjs.js');
|
|
15
15
|
var cliCommon = require('@backstage/cli-common');
|
|
16
16
|
var parallel = require('./parallel-a8f6219c.cjs.js');
|
|
17
17
|
var releaseManifests = require('@backstage/release-manifests');
|
|
@@ -409,4 +409,4 @@ exports.bumpBackstageJsonVersion = bumpBackstageJsonVersion;
|
|
|
409
409
|
exports.createStrictVersionFinder = createStrictVersionFinder;
|
|
410
410
|
exports.createVersionFinder = createVersionFinder;
|
|
411
411
|
exports["default"] = bump;
|
|
412
|
-
//# sourceMappingURL=bump-
|
|
412
|
+
//# sourceMappingURL=bump-c1ee882d.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-3efbec45.cjs.js');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('semver');
|
|
@@ -19,4 +19,4 @@ async function clean() {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
exports["default"] = clean;
|
|
22
|
-
//# sourceMappingURL=clean-
|
|
22
|
+
//# sourceMappingURL=clean-1e1df017.cjs.js.map
|
|
@@ -5,7 +5,7 @@ var fs = require('fs-extra');
|
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var util = require('util');
|
|
7
7
|
var cliNode = require('@backstage/cli-node');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
9
9
|
require('commander');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('semver');
|
|
@@ -46,4 +46,4 @@ async function command() {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
exports.command = command;
|
|
49
|
-
//# sourceMappingURL=clean-
|
|
49
|
+
//# sourceMappingURL=clean-8b68f64b.cjs.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -88,4 +88,4 @@ async function addCodeownersEntry(ownedPath, ownerStr, codeownersFilePath) {
|
|
|
88
88
|
exports.addCodeownersEntry = addCodeownersEntry;
|
|
89
89
|
exports.getCodeownersFilePath = getCodeownersFilePath;
|
|
90
90
|
exports.parseOwnerIds = parseOwnerIds;
|
|
91
|
-
//# sourceMappingURL=codeowners-
|
|
91
|
+
//# sourceMappingURL=codeowners-0c7517c8.cjs.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
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-3efbec45.cjs.js');
|
|
6
6
|
var getPackages = require('@manypkg/get-packages');
|
|
7
7
|
var cliNode = require('@backstage/cli-node');
|
|
8
8
|
|
|
@@ -98,4 +98,4 @@ async function loadCliConfig(options) {
|
|
|
98
98
|
|
|
99
99
|
exports.isValidUrl = isValidUrl;
|
|
100
100
|
exports.loadCliConfig = loadCliConfig;
|
|
101
|
-
//# sourceMappingURL=config-
|
|
101
|
+
//# sourceMappingURL=config-46346d01.cjs.js.map
|
package/dist/cjs/{createDistWorkspace-3c8231fd.cjs.js → createDistWorkspace-2b5871e5.cjs.js}
RENAMED
|
@@ -6,8 +6,8 @@ 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-
|
|
9
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
10
|
+
var run = require('./run-71d3d651.cjs.js');
|
|
11
11
|
var rollup = require('rollup');
|
|
12
12
|
var commonjs = require('@rollup/plugin-commonjs');
|
|
13
13
|
var resolve = require('@rollup/plugin-node-resolve');
|
|
@@ -712,4 +712,4 @@ exports.buildPackage = buildPackage;
|
|
|
712
712
|
exports.buildPackages = buildPackages;
|
|
713
713
|
exports.createDistWorkspace = createDistWorkspace;
|
|
714
714
|
exports.getOutputsForRole = getOutputsForRole;
|
|
715
|
-
//# sourceMappingURL=createDistWorkspace-
|
|
715
|
+
//# sourceMappingURL=createDistWorkspace-2b5871e5.cjs.js.map
|
|
@@ -10,14 +10,14 @@ 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 codeowners = require('./codeowners-
|
|
14
|
-
var index = require('./index-
|
|
13
|
+
var codeowners = require('./codeowners-0c7517c8.cjs.js');
|
|
14
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
15
15
|
var tasks = require('./tasks-84de240c.cjs.js');
|
|
16
16
|
var Lockfile = require('./Lockfile-eced6070.cjs.js');
|
|
17
17
|
require('minimatch');
|
|
18
18
|
require('@manypkg/get-packages');
|
|
19
19
|
require('./yarn-6cd89e16.cjs.js');
|
|
20
|
-
require('./run-
|
|
20
|
+
require('./run-71d3d651.cjs.js');
|
|
21
21
|
require('commander');
|
|
22
22
|
require('semver');
|
|
23
23
|
require('@backstage/cli-common');
|
|
@@ -276,4 +276,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
|
|
|
276
276
|
exports.capitalize = capitalize;
|
|
277
277
|
exports["default"] = createPlugin;
|
|
278
278
|
exports.movePlugin = movePlugin;
|
|
279
|
-
//# sourceMappingURL=createPlugin-
|
|
279
|
+
//# sourceMappingURL=createPlugin-f9dfe6b8.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-3efbec45.cjs.js');
|
|
11
11
|
require('commander');
|
|
12
12
|
require('semver');
|
|
13
13
|
require('@backstage/cli-common');
|
|
@@ -434,4 +434,4 @@ async function readPluginData() {
|
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
exports["default"] = diff;
|
|
437
|
-
//# sourceMappingURL=diff-
|
|
437
|
+
//# sourceMappingURL=diff-a33d11e1.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-46346d01.cjs.js');
|
|
6
6
|
require('@backstage/config');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-3efbec45.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
@@ -34,4 +34,4 @@ var docs = async (opts) => {
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
exports["default"] = docs;
|
|
37
|
-
//# sourceMappingURL=docs-
|
|
37
|
+
//# sourceMappingURL=docs-5965aac1.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var fs = require('fs-extra');
|
|
@@ -120,4 +120,4 @@ async function command() {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
exports.command = command;
|
|
123
|
-
//# sourceMappingURL=fix-
|
|
123
|
+
//# sourceMappingURL=fix-f36bac7e.cjs.js.map
|
|
@@ -53,13 +53,9 @@ class NotFoundError extends CustomError {
|
|
|
53
53
|
|
|
54
54
|
const paths = cliCommon.findPaths(__dirname);
|
|
55
55
|
|
|
56
|
-
var version$
|
|
56
|
+
var version$a = "0.19.4";
|
|
57
57
|
|
|
58
|
-
var version$
|
|
59
|
-
|
|
60
|
-
var version$a = "0.2.2-next.0";
|
|
61
|
-
|
|
62
|
-
var version$9 = "0.22.12-next.0";
|
|
58
|
+
var version$9 = "0.22.12";
|
|
63
59
|
var dependencies = {
|
|
64
60
|
"@backstage/catalog-model": "workspace:^",
|
|
65
61
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -171,8 +167,6 @@ var dependencies = {
|
|
|
171
167
|
};
|
|
172
168
|
var devDependencies = {
|
|
173
169
|
"@backstage/backend-common": "workspace:^",
|
|
174
|
-
"@backstage/backend-plugin-api": "workspace:^",
|
|
175
|
-
"@backstage/backend-test-utils": "workspace:^",
|
|
176
170
|
"@backstage/config": "workspace:^",
|
|
177
171
|
"@backstage/core-app-api": "workspace:^",
|
|
178
172
|
"@backstage/core-components": "workspace:^",
|
|
@@ -207,24 +201,22 @@ var devDependencies = {
|
|
|
207
201
|
|
|
208
202
|
var version$8 = "1.0.8";
|
|
209
203
|
|
|
210
|
-
var version$7 = "1.
|
|
204
|
+
var version$7 = "1.9.1";
|
|
211
205
|
|
|
212
|
-
var version$6 = "0.13.
|
|
206
|
+
var version$6 = "0.13.4";
|
|
213
207
|
|
|
214
|
-
var version$5 = "1.
|
|
208
|
+
var version$5 = "1.5.3";
|
|
215
209
|
|
|
216
|
-
var version$4 = "1.0.20
|
|
210
|
+
var version$4 = "1.0.20";
|
|
217
211
|
|
|
218
|
-
var version$3 = "1.4.
|
|
212
|
+
var version$3 = "1.4.2";
|
|
219
213
|
|
|
220
214
|
var version$2 = "0.4.1";
|
|
221
215
|
|
|
222
|
-
var version$1 = "1.16.3
|
|
216
|
+
var version$1 = "1.16.3";
|
|
223
217
|
|
|
224
218
|
const packageVersions = {
|
|
225
|
-
"@backstage/backend-common": version$
|
|
226
|
-
"@backstage/backend-plugin-api": version$b,
|
|
227
|
-
"@backstage/backend-test-utils": version$a,
|
|
219
|
+
"@backstage/backend-common": version$a,
|
|
228
220
|
"@backstage/cli": version$9,
|
|
229
221
|
"@backstage/config": version$8,
|
|
230
222
|
"@backstage/core-app-api": version$7,
|
|
@@ -283,7 +275,7 @@ const configOption = [
|
|
|
283
275
|
Array()
|
|
284
276
|
];
|
|
285
277
|
function registerOnboardCommand(program) {
|
|
286
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
278
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-877e9c6e.cjs.js'); }).then((m) => m.command)));
|
|
287
279
|
}
|
|
288
280
|
function registerRepoCommand(program) {
|
|
289
281
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -295,7 +287,7 @@ function registerRepoCommand(program) {
|
|
|
295
287
|
).option(
|
|
296
288
|
"--since <ref>",
|
|
297
289
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
298
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
290
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-24c9a03b.cjs.js'); }).then((m) => m.command)));
|
|
299
291
|
command.command("lint").description("Lint all packages in the project").option(
|
|
300
292
|
"--format <format>",
|
|
301
293
|
"Lint report output format",
|
|
@@ -303,10 +295,10 @@ function registerRepoCommand(program) {
|
|
|
303
295
|
).option(
|
|
304
296
|
"--since <ref>",
|
|
305
297
|
"Only lint packages that changed since the specified ref"
|
|
306
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
307
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
298
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-d9ce2976.cjs.js'); }).then((m) => m.command)));
|
|
299
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-8b68f64b.cjs.js'); }).then((m) => m.command)));
|
|
308
300
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
309
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
301
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-001b9d6d.cjs.js'); }).then((m) => m.command))
|
|
310
302
|
);
|
|
311
303
|
command.command("test").allowUnknownOption(true).option(
|
|
312
304
|
"--since <ref>",
|
|
@@ -314,14 +306,14 @@ function registerRepoCommand(program) {
|
|
|
314
306
|
).option(
|
|
315
307
|
"--jest-help",
|
|
316
308
|
"Show help for Jest CLI options, which are passed through"
|
|
317
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
309
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-f71e524a.cjs.js'); }).then((m) => m.command)));
|
|
318
310
|
}
|
|
319
311
|
function registerScriptCommand(program) {
|
|
320
312
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
321
313
|
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(
|
|
322
314
|
"--inspect-brk",
|
|
323
315
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
324
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
316
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-63bf0b64.cjs.js'); }).then((m) => m.command)));
|
|
325
317
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
326
318
|
"--minify",
|
|
327
319
|
"Minify the generated code. Does not apply to app or backend packages."
|
|
@@ -339,21 +331,21 @@ function registerScriptCommand(program) {
|
|
|
339
331
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
340
332
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
341
333
|
Array()
|
|
342
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
334
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-50eabf49.cjs.js'); }).then((m) => m.command)));
|
|
343
335
|
command.command("lint [directories...]").option(
|
|
344
336
|
"--format <format>",
|
|
345
337
|
"Lint report output format",
|
|
346
338
|
"eslint-formatter-friendly"
|
|
347
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
348
|
-
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
349
|
-
command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
350
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
351
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
352
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
339
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-1db34e2d.cjs.js'); }).then((m) => m.default)));
|
|
340
|
+
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-0d0a8662.cjs.js'); }).then((m) => m.default)));
|
|
341
|
+
command.command("fix", { hidden: true }).description("Applies automated fixes to the package. [EXPERIMENTAL]").option("--deps", "Only fix monorepo dependencies in package.json").action(lazy(() => Promise.resolve().then(function () { return require('./fix-f36bac7e.cjs.js'); }).then((m) => m.command)));
|
|
342
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1e1df017.cjs.js'); }).then((m) => m.default)));
|
|
343
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-14d9464d.cjs.js'); }).then((m) => m.pre)));
|
|
344
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-14d9464d.cjs.js'); }).then((m) => m.post)));
|
|
353
345
|
}
|
|
354
346
|
function registerMigrateCommand(program) {
|
|
355
347
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
356
|
-
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-
|
|
348
|
+
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-23736a77.cjs.js'); }).then((m) => m.default)));
|
|
357
349
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
358
350
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
|
|
359
351
|
);
|
|
@@ -363,7 +355,7 @@ function registerMigrateCommand(program) {
|
|
|
363
355
|
command.command("package-lint-configs").description(
|
|
364
356
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
365
357
|
).action(
|
|
366
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
358
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-71e74174.cjs.js'); }).then((m) => m.command))
|
|
367
359
|
);
|
|
368
360
|
command.command("react-router-deps").description(
|
|
369
361
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -388,7 +380,7 @@ function registerCommands(program) {
|
|
|
388
380
|
).option(
|
|
389
381
|
"--baseVersion <version>",
|
|
390
382
|
"The version to use for any new packages (default: 0.1.0)"
|
|
391
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
383
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-63c85ff6.cjs.js'); }).then((m) => m.default)));
|
|
392
384
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
393
385
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
394
386
|
).option(
|
|
@@ -402,30 +394,30 @@ function registerCommands(program) {
|
|
|
402
394
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
403
395
|
"--npm-registry <URL>",
|
|
404
396
|
"The package registry to use for new packages"
|
|
405
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
397
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-63c85ff6.cjs.js'); }).then((m) => m.default)));
|
|
406
398
|
program.command("create-plugin", { hidden: true }).option(
|
|
407
399
|
"--backend",
|
|
408
400
|
"Create plugin with the backend dependencies as default"
|
|
409
401
|
).description("Creates a new plugin in the current repository [DEPRECATED]").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(
|
|
410
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
402
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-f9dfe6b8.cjs.js'); }).then((m) => m.default))
|
|
411
403
|
);
|
|
412
404
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
413
405
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
414
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
406
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-a33d11e1.cjs.js'); }).then((m) => m.default)));
|
|
415
407
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
416
408
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
417
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
409
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-0d0a8662.cjs.js'); }).then((m) => m.default)));
|
|
418
410
|
program.command("config:docs").option(
|
|
419
411
|
"--package <name>",
|
|
420
412
|
"Only include the schema that applies to the given package"
|
|
421
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
413
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-5965aac1.cjs.js'); }).then((m) => m.default)));
|
|
422
414
|
program.command("config:print").option(
|
|
423
415
|
"--package <name>",
|
|
424
416
|
"Only load config schema that applies to the given package"
|
|
425
417
|
).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(
|
|
426
418
|
"--format <format>",
|
|
427
419
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
428
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
420
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-cf8b2027.cjs.js'); }).then((m) => m.default)));
|
|
429
421
|
program.command("config:check").option(
|
|
430
422
|
"--package <name>",
|
|
431
423
|
"Only load config schema that applies to the given package"
|
|
@@ -434,14 +426,14 @@ function registerCommands(program) {
|
|
|
434
426
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
435
427
|
).option(...configOption).description(
|
|
436
428
|
"Validate that the given configuration loads and matches schema"
|
|
437
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
429
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-76ba805a.cjs.js'); }).then((m) => m.default)));
|
|
438
430
|
program.command("config:schema").option(
|
|
439
431
|
"--package <name>",
|
|
440
432
|
"Only output config schema that applies to the given package"
|
|
441
433
|
).option(
|
|
442
434
|
"--format <format>",
|
|
443
435
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
444
|
-
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
436
|
+
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-974fe016.cjs.js'); }).then((m) => m.default)));
|
|
445
437
|
registerRepoCommand(program);
|
|
446
438
|
registerScriptCommand(program);
|
|
447
439
|
registerMigrateCommand(program);
|
|
@@ -453,19 +445,19 @@ function registerCommands(program) {
|
|
|
453
445
|
"--release <version|next|main>",
|
|
454
446
|
"Bump to a specific Backstage release line or version",
|
|
455
447
|
"main"
|
|
456
|
-
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
457
|
-
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-
|
|
458
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
448
|
+
).option("--skip-install", "Skips yarn install step").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-c1ee882d.cjs.js'); }).then((m) => m.default)));
|
|
449
|
+
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-a7d95ec9.cjs.js'); }).then((m) => m.default)));
|
|
450
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1e1df017.cjs.js'); }).then((m) => m.default)));
|
|
459
451
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
460
452
|
"--alwaysYarnPack",
|
|
461
453
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
462
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
463
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
464
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
454
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-b3123306.cjs.js'); }).then((m) => m.default)));
|
|
455
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-d17ad44e.cjs.js'); }).then((m) => m.default)));
|
|
456
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-94387803.cjs.js'); }).then((m) => m.default)));
|
|
465
457
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
466
458
|
"--from <packageJsonFilePath>",
|
|
467
459
|
"Install from a local package.json containing the installation recipe"
|
|
468
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
460
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-d0c891f6.cjs.js'); }).then((m) => m.default)));
|
|
469
461
|
}
|
|
470
462
|
function lazy(getActionFunc) {
|
|
471
463
|
return async (...args) => {
|
|
@@ -509,4 +501,4 @@ exports.devDependencies = devDependencies;
|
|
|
509
501
|
exports.paths = paths;
|
|
510
502
|
exports.version = version;
|
|
511
503
|
exports.version$1 = version$9;
|
|
512
|
-
//# sourceMappingURL=index-
|
|
504
|
+
//# sourceMappingURL=index-3efbec45.cjs.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var role = require('./role-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-2b5871e5.cjs.js');
|
|
4
|
+
var role = require('./role-670a97b6.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buildBackend = require('./buildBackend-
|
|
8
|
-
var config = require('./config-
|
|
6
|
+
var index = require('./index-3efbec45.cjs.js');
|
|
7
|
+
var buildBackend = require('./buildBackend-0414969c.cjs.js');
|
|
8
|
+
var config = require('./config-46346d01.cjs.js');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('fs-extra');
|
|
11
11
|
require('path');
|
|
12
12
|
require('os');
|
|
13
13
|
require('tar');
|
|
14
14
|
require('lodash/partition');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-71d3d651.cjs.js');
|
|
16
16
|
require('child_process');
|
|
17
17
|
require('util');
|
|
18
18
|
require('@backstage/errors');
|
|
@@ -42,7 +42,7 @@ require('react-dev-utils/ModuleScopePlugin');
|
|
|
42
42
|
require('run-script-webpack-plugin');
|
|
43
43
|
require('webpack-node-externals');
|
|
44
44
|
require('@manypkg/get-packages');
|
|
45
|
-
require('./paths-
|
|
45
|
+
require('./paths-26cd261b.cjs.js');
|
|
46
46
|
require('mini-css-extract-plugin');
|
|
47
47
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
48
48
|
require('eslint-webpack-plugin');
|
|
@@ -101,4 +101,4 @@ async function command(opts) {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
exports.command = command;
|
|
104
|
-
//# sourceMappingURL=index-
|
|
104
|
+
//# sourceMappingURL=index-50eabf49.cjs.js.map
|