@backstage/cli 0.22.11 → 0.22.12-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.
Files changed (46) hide show
  1. package/CHANGELOG.md +5 -3
  2. package/dist/cjs/{build-a06b01b2.cjs.js → build-d8817153.cjs.js} +7 -7
  3. package/dist/cjs/{buildBackend-760a7a65.cjs.js → buildBackend-92684fc7.cjs.js} +6 -6
  4. package/dist/cjs/{buildWorkspace-d0089397.cjs.js → buildWorkspace-b60c60bd.cjs.js} +4 -4
  5. package/dist/cjs/{bump-f747cb24.cjs.js → bump-b9f95d5c.cjs.js} +5 -5
  6. package/dist/cjs/{clean-676462d8.cjs.js → clean-53765071.cjs.js} +2 -2
  7. package/dist/cjs/{clean-1c1f884f.cjs.js → clean-fa1c709a.cjs.js} +2 -2
  8. package/dist/cjs/{codeowners-88977063.cjs.js → codeowners-130a49e9.cjs.js} +2 -2
  9. package/dist/cjs/{config-07f2fbb8.cjs.js → config-a76654b9.cjs.js} +2 -2
  10. package/dist/cjs/{createDistWorkspace-9c30ea81.cjs.js → createDistWorkspace-3c8231fd.cjs.js} +3 -3
  11. package/dist/cjs/{createPlugin-bec0f45d.cjs.js → createPlugin-bd3feb12.cjs.js} +4 -4
  12. package/dist/cjs/{diff-ce7881d0.cjs.js → diff-f4cbcd0a.cjs.js} +2 -2
  13. package/dist/cjs/{docs-b99ec8cc.cjs.js → docs-2428e51b.cjs.js} +3 -3
  14. package/dist/cjs/{fix-7790012f.cjs.js → fix-d425451e.cjs.js} +2 -2
  15. package/dist/cjs/{index-0f85034e.cjs.js → index-2f57b01d.cjs.js} +8 -8
  16. package/dist/cjs/{index-4ee703c6.cjs.js → index-5d7a9a9c.cjs.js} +2 -2
  17. package/dist/cjs/{index-8fb770b8.cjs.js → index-69d48340.cjs.js} +50 -42
  18. package/dist/cjs/{index-36be73a1.cjs.js → index-826e8be8.cjs.js} +18 -8
  19. package/dist/cjs/{index-48bef259.cjs.js → index-db0167da.cjs.js} +3 -3
  20. package/dist/cjs/{info-e62dff73.cjs.js → info-993112e8.cjs.js} +3 -3
  21. package/dist/cjs/{install-ac6c085a.cjs.js → install-0c855c4e.cjs.js} +4 -4
  22. package/dist/cjs/{lint-4414d2f7.cjs.js → lint-05748652.cjs.js} +2 -2
  23. package/dist/cjs/{lint-08f746b8.cjs.js → lint-9f2f9059.cjs.js} +3 -3
  24. package/dist/cjs/{lint-805e430f.cjs.js → lint-c5f7c4b7.cjs.js} +2 -2
  25. package/dist/cjs/{list-deprecations-d1048b23.cjs.js → list-deprecations-1ee740c8.cjs.js} +2 -2
  26. package/dist/cjs/{new-fd8041e6.cjs.js → new-cf3d9a26.cjs.js} +73 -4
  27. package/dist/cjs/{pack-8ee7d282.cjs.js → pack-767b3e97.cjs.js} +2 -2
  28. package/dist/cjs/{packageLintConfigs-780a0385.cjs.js → packageLintConfigs-514397ae.cjs.js} +3 -3
  29. package/dist/cjs/{packageRole-063b1d65.cjs.js → packageRole-8604cc27.cjs.js} +2 -2
  30. package/dist/cjs/{packages-c28d4e98.cjs.js → packages-a2c40cef.cjs.js} +3 -3
  31. package/dist/cjs/{paths-2b246e39.cjs.js → paths-33f9e5e2.cjs.js} +3 -3
  32. package/dist/cjs/{print-4484dee3.cjs.js → print-8340af8f.cjs.js} +3 -3
  33. package/dist/cjs/{role-cafb1045.cjs.js → role-eb46a5b1.cjs.js} +2 -2
  34. package/dist/cjs/{run-a101ff14.cjs.js → run-bc0a5430.cjs.js} +2 -2
  35. package/dist/cjs/{schema-d3e56b54.cjs.js → schema-b3e9453a.cjs.js} +3 -3
  36. package/dist/cjs/{test-45a928c3.cjs.js → test-121a1299.cjs.js} +3 -3
  37. package/dist/cjs/{test-d13afa25.cjs.js → test-220c586a.cjs.js} +3 -3
  38. package/dist/cjs/{validate-67a1a3b9.cjs.js → validate-1f6c8221.cjs.js} +3 -3
  39. package/dist/index.cjs.js +1 -1
  40. package/package.json +11 -9
  41. package/templates/default-backend-module/.eslintrc.js +1 -0
  42. package/templates/default-backend-module/README.md.hbs +5 -0
  43. package/templates/default-backend-module/package.json.hbs +42 -0
  44. package/templates/default-backend-module/src/index.ts.hbs +8 -0
  45. package/templates/default-backend-module/src/module.ts.hbs +14 -0
  46. package/templates/default-backend-module/tsconfig.json +9 -0
package/CHANGELOG.md CHANGED
@@ -1,16 +1,18 @@
1
1
  # @backstage/cli
2
2
 
3
- ## 0.22.11
3
+ ## 0.22.12-next.0
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.
7
9
  - Updated dependencies
8
- - @backstage/integration@1.6.1
10
+ - @backstage/integration@1.7.0-next.0
11
+ - @backstage/config-loader@1.5.0-next.0
9
12
  - @backstage/catalog-model@1.4.1
10
13
  - @backstage/cli-common@0.1.12
11
14
  - @backstage/cli-node@0.1.3
12
15
  - @backstage/config@1.0.8
13
- - @backstage/config-loader@1.4.0
14
16
  - @backstage/errors@1.2.1
15
17
  - @backstage/eslint-plugin@0.1.3
16
18
  - @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-9c30ea81.cjs.js');
6
- var index = require('./index-8fb770b8.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-3c8231fd.cjs.js');
6
+ var index = require('./index-69d48340.cjs.js');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
  var parallel = require('./parallel-a8f6219c.cjs.js');
9
- var buildBackend = require('./buildBackend-760a7a65.cjs.js');
9
+ var buildBackend = require('./buildBackend-92684fc7.cjs.js');
10
10
  require('fs-extra');
11
11
  require('os');
12
12
  require('tar');
13
13
  require('lodash/partition');
14
- require('./run-a101ff14.cjs.js');
14
+ require('./run-bc0a5430.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-2b246e39.cjs.js');
43
+ require('./paths-33f9e5e2.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-07f2fbb8.cjs.js');
54
+ require('./config-a76654b9.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-a06b01b2.cjs.js.map
196
+ //# sourceMappingURL=build-d8817153.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-2b246e39.cjs.js');
13
+ var paths = require('./paths-33f9e5e2.cjs.js');
14
14
  require('mini-css-extract-plugin');
15
15
  require('@pmmmwh/react-refresh-webpack-plugin');
16
- require('./index-8fb770b8.cjs.js');
17
- require('./run-a101ff14.cjs.js');
16
+ require('./index-69d48340.cjs.js');
17
+ require('./run-bc0a5430.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-07f2fbb8.cjs.js');
27
+ var config = require('./config-a76654b9.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-9c30ea81.cjs.js');
38
+ var createDistWorkspace = require('./createDistWorkspace-3c8231fd.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-760a7a65.cjs.js.map
219
+ //# sourceMappingURL=buildBackend-92684fc7.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-9c30ea81.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-3c8231fd.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-8fb770b8.cjs.js');
10
+ require('./index-69d48340.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
14
14
  require('@backstage/errors');
15
- require('./run-a101ff14.cjs.js');
15
+ require('./run-bc0a5430.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-d0089397.cjs.js.map
51
+ //# sourceMappingURL=buildWorkspace-b60c60bd.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-a101ff14.cjs.js');
11
- var index = require('./index-8fb770b8.cjs.js');
10
+ var run = require('./run-bc0a5430.cjs.js');
11
+ var index = require('./index-69d48340.cjs.js');
12
12
  var Lockfile = require('./Lockfile-eced6070.cjs.js');
13
- var packages = require('./packages-c28d4e98.cjs.js');
14
- var lint = require('./lint-08f746b8.cjs.js');
13
+ var packages = require('./packages-a2c40cef.cjs.js');
14
+ var lint = require('./lint-9f2f9059.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-f747cb24.cjs.js.map
412
+ //# sourceMappingURL=bump-b9f95d5c.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-8fb770b8.cjs.js');
8
+ var index = require('./index-69d48340.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-676462d8.cjs.js.map
49
+ //# sourceMappingURL=clean-53765071.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-8fb770b8.cjs.js');
4
+ var index = require('./index-69d48340.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-1c1f884f.cjs.js.map
22
+ //# sourceMappingURL=clean-fa1c709a.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-8fb770b8.cjs.js');
5
+ var index = require('./index-69d48340.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-88977063.cjs.js.map
91
+ //# sourceMappingURL=codeowners-130a49e9.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-8fb770b8.cjs.js');
5
+ var index = require('./index-69d48340.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-07f2fbb8.cjs.js.map
101
+ //# sourceMappingURL=config-a76654b9.cjs.js.map
@@ -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-8fb770b8.cjs.js');
10
- var run = require('./run-a101ff14.cjs.js');
9
+ var index = require('./index-69d48340.cjs.js');
10
+ var run = require('./run-bc0a5430.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-9c30ea81.cjs.js.map
715
+ //# sourceMappingURL=createDistWorkspace-3c8231fd.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-88977063.cjs.js');
14
- var index = require('./index-8fb770b8.cjs.js');
13
+ var codeowners = require('./codeowners-130a49e9.cjs.js');
14
+ var index = require('./index-69d48340.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-a101ff14.cjs.js');
20
+ require('./run-bc0a5430.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-bec0f45d.cjs.js.map
279
+ //# sourceMappingURL=createPlugin-bd3feb12.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-8fb770b8.cjs.js');
10
+ var index = require('./index-69d48340.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-ce7881d0.cjs.js.map
437
+ //# sourceMappingURL=diff-f4cbcd0a.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-07f2fbb8.cjs.js');
5
+ var config = require('./config-a76654b9.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-8fb770b8.cjs.js');
7
+ require('./index-69d48340.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-b99ec8cc.cjs.js.map
37
+ //# sourceMappingURL=docs-2428e51b.cjs.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-8fb770b8.cjs.js');
3
+ var index = require('./index-69d48340.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-7790012f.cjs.js.map
123
+ //# sourceMappingURL=fix-d425451e.cjs.js.map
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var createDistWorkspace = require('./createDistWorkspace-9c30ea81.cjs.js');
4
- var role = require('./role-cafb1045.cjs.js');
3
+ var createDistWorkspace = require('./createDistWorkspace-3c8231fd.cjs.js');
4
+ var role = require('./role-eb46a5b1.cjs.js');
5
5
  var cliNode = require('@backstage/cli-node');
6
- var index = require('./index-8fb770b8.cjs.js');
7
- var buildBackend = require('./buildBackend-760a7a65.cjs.js');
8
- var config = require('./config-07f2fbb8.cjs.js');
6
+ var index = require('./index-69d48340.cjs.js');
7
+ var buildBackend = require('./buildBackend-92684fc7.cjs.js');
8
+ var config = require('./config-a76654b9.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-a101ff14.cjs.js');
15
+ require('./run-bc0a5430.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-2b246e39.cjs.js');
45
+ require('./paths-33f9e5e2.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-0f85034e.cjs.js.map
104
+ //# sourceMappingURL=index-2f57b01d.cjs.js.map
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
4
4
  var chalk = require('chalk');
5
5
  var yaml = require('yaml');
6
6
  var inquirer = require('inquirer');
7
- var index$1 = require('./index-8fb770b8.cjs.js');
7
+ var index$1 = require('./index-69d48340.cjs.js');
8
8
  var crypto = require('crypto');
9
9
  var openBrowser = require('react-dev-utils/openBrowser');
10
10
  var request = require('@octokit/request');
@@ -230,4 +230,4 @@ async function verifyGithubOrg(org) {
230
230
  }
231
231
 
232
232
  exports["default"] = index;
233
- //# sourceMappingURL=index-4ee703c6.cjs.js.map
233
+ //# sourceMappingURL=index-5d7a9a9c.cjs.js.map
@@ -53,9 +53,13 @@ class NotFoundError extends CustomError {
53
53
 
54
54
  const paths = cliCommon.findPaths(__dirname);
55
55
 
56
- var version$a = "0.19.3";
56
+ var version$c = "0.19.4-next.0";
57
57
 
58
- var version$9 = "0.22.11";
58
+ var version$b = "0.6.2-next.0";
59
+
60
+ var version$a = "0.2.2-next.0";
61
+
62
+ var version$9 = "0.22.12-next.0";
59
63
  var dependencies = {
60
64
  "@backstage/catalog-model": "workspace:^",
61
65
  "@backstage/cli-common": "workspace:^",
@@ -167,6 +171,8 @@ var dependencies = {
167
171
  };
168
172
  var devDependencies = {
169
173
  "@backstage/backend-common": "workspace:^",
174
+ "@backstage/backend-plugin-api": "workspace:^",
175
+ "@backstage/backend-test-utils": "workspace:^",
170
176
  "@backstage/config": "workspace:^",
171
177
  "@backstage/core-app-api": "workspace:^",
172
178
  "@backstage/core-components": "workspace:^",
@@ -201,22 +207,24 @@ var devDependencies = {
201
207
 
202
208
  var version$8 = "1.0.8";
203
209
 
204
- var version$7 = "1.9.1";
210
+ var version$7 = "1.10.0-next.0";
205
211
 
206
- var version$6 = "0.13.4";
212
+ var version$6 = "0.13.5-next.0";
207
213
 
208
- var version$5 = "1.5.3";
214
+ var version$5 = "1.6.0-next.0";
209
215
 
210
- var version$4 = "1.0.19";
216
+ var version$4 = "1.0.20-next.0";
211
217
 
212
- var version$3 = "1.4.2";
218
+ var version$3 = "1.4.3-next.0";
213
219
 
214
220
  var version$2 = "0.4.1";
215
221
 
216
- var version$1 = "1.16.2";
222
+ var version$1 = "1.16.3-next.0";
217
223
 
218
224
  const packageVersions = {
219
- "@backstage/backend-common": version$a,
225
+ "@backstage/backend-common": version$c,
226
+ "@backstage/backend-plugin-api": version$b,
227
+ "@backstage/backend-test-utils": version$a,
220
228
  "@backstage/cli": version$9,
221
229
  "@backstage/config": version$8,
222
230
  "@backstage/core-app-api": version$7,
@@ -275,7 +283,7 @@ const configOption = [
275
283
  Array()
276
284
  ];
277
285
  function registerOnboardCommand(program) {
278
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-48bef259.cjs.js'); }).then((m) => m.command)));
286
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-db0167da.cjs.js'); }).then((m) => m.command)));
279
287
  }
280
288
  function registerRepoCommand(program) {
281
289
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -287,7 +295,7 @@ function registerRepoCommand(program) {
287
295
  ).option(
288
296
  "--since <ref>",
289
297
  "Only build packages and their dev dependents that changed since the specified ref"
290
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-a06b01b2.cjs.js'); }).then((m) => m.command)));
298
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-d8817153.cjs.js'); }).then((m) => m.command)));
291
299
  command.command("lint").description("Lint all packages in the project").option(
292
300
  "--format <format>",
293
301
  "Lint report output format",
@@ -295,10 +303,10 @@ function registerRepoCommand(program) {
295
303
  ).option(
296
304
  "--since <ref>",
297
305
  "Only lint packages that changed since the specified ref"
298
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-805e430f.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-676462d8.cjs.js'); }).then((m) => m.command)));
306
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-c5f7c4b7.cjs.js'); }).then((m) => m.command)));
307
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-53765071.cjs.js'); }).then((m) => m.command)));
300
308
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
301
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-d1048b23.cjs.js'); }).then((m) => m.command))
309
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-1ee740c8.cjs.js'); }).then((m) => m.command))
302
310
  );
303
311
  command.command("test").allowUnknownOption(true).option(
304
312
  "--since <ref>",
@@ -306,14 +314,14 @@ function registerRepoCommand(program) {
306
314
  ).option(
307
315
  "--jest-help",
308
316
  "Show help for Jest CLI options, which are passed through"
309
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-d13afa25.cjs.js'); }).then((m) => m.command)));
317
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-220c586a.cjs.js'); }).then((m) => m.command)));
310
318
  }
311
319
  function registerScriptCommand(program) {
312
320
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
313
321
  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(
314
322
  "--inspect-brk",
315
323
  "Enable debugger in Node.js environments, breaking before code starts"
316
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-36be73a1.cjs.js'); }).then((m) => m.command)));
324
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-826e8be8.cjs.js'); }).then((m) => m.command)));
317
325
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
318
326
  "--minify",
319
327
  "Minify the generated code. Does not apply to app or backend packages."
@@ -331,21 +339,21 @@ function registerScriptCommand(program) {
331
339
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
332
340
  (opt, opts) => opts ? [...opts, opt] : [opt],
333
341
  Array()
334
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-0f85034e.cjs.js'); }).then((m) => m.command)));
342
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-2f57b01d.cjs.js'); }).then((m) => m.command)));
335
343
  command.command("lint [directories...]").option(
336
344
  "--format <format>",
337
345
  "Lint report output format",
338
346
  "eslint-formatter-friendly"
339
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-4414d2f7.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-45a928c3.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-7790012f.cjs.js'); }).then((m) => m.command)));
342
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1c1f884f.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-8ee7d282.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-8ee7d282.cjs.js'); }).then((m) => m.post)));
347
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-05748652.cjs.js'); }).then((m) => m.default)));
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-121a1299.cjs.js'); }).then((m) => m.default)));
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-d425451e.cjs.js'); }).then((m) => m.command)));
350
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-fa1c709a.cjs.js'); }).then((m) => m.default)));
351
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-767b3e97.cjs.js'); }).then((m) => m.pre)));
352
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-767b3e97.cjs.js'); }).then((m) => m.post)));
345
353
  }
346
354
  function registerMigrateCommand(program) {
347
355
  const command = program.command("migrate [command]").description("Migration utilities");
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-063b1d65.cjs.js'); }).then((m) => m.default)));
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-8604cc27.cjs.js'); }).then((m) => m.default)));
349
357
  command.command("package-scripts").description("Set package scripts according to each package role").action(
350
358
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-c6721fac.cjs.js'); }).then((m) => m.command))
351
359
  );
@@ -355,7 +363,7 @@ function registerMigrateCommand(program) {
355
363
  command.command("package-lint-configs").description(
356
364
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
357
365
  ).action(
358
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-780a0385.cjs.js'); }).then((m) => m.command))
366
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-514397ae.cjs.js'); }).then((m) => m.command))
359
367
  );
360
368
  command.command("react-router-deps").description(
361
369
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -380,7 +388,7 @@ function registerCommands(program) {
380
388
  ).option(
381
389
  "--baseVersion <version>",
382
390
  "The version to use for any new packages (default: 0.1.0)"
383
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-fd8041e6.cjs.js'); }).then((m) => m.default)));
391
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-cf3d9a26.cjs.js'); }).then((m) => m.default)));
384
392
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
385
393
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
386
394
  ).option(
@@ -394,30 +402,30 @@ function registerCommands(program) {
394
402
  ).option("--scope <scope>", "The scope to use for new packages").option(
395
403
  "--npm-registry <URL>",
396
404
  "The package registry to use for new packages"
397
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-fd8041e6.cjs.js'); }).then((m) => m.default)));
405
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-cf3d9a26.cjs.js'); }).then((m) => m.default)));
398
406
  program.command("create-plugin", { hidden: true }).option(
399
407
  "--backend",
400
408
  "Create plugin with the backend dependencies as default"
401
409
  ).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(
402
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-bec0f45d.cjs.js'); }).then((m) => m.default))
410
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-bd3feb12.cjs.js'); }).then((m) => m.default))
403
411
  );
404
412
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
405
413
  "Diff an existing plugin with the creation template [DEPRECATED]"
406
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-ce7881d0.cjs.js'); }).then((m) => m.default)));
414
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-f4cbcd0a.cjs.js'); }).then((m) => m.default)));
407
415
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
408
416
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
409
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-45a928c3.cjs.js'); }).then((m) => m.default)));
417
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-121a1299.cjs.js'); }).then((m) => m.default)));
410
418
  program.command("config:docs").option(
411
419
  "--package <name>",
412
420
  "Only include the schema that applies to the given package"
413
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-b99ec8cc.cjs.js'); }).then((m) => m.default)));
421
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-2428e51b.cjs.js'); }).then((m) => m.default)));
414
422
  program.command("config:print").option(
415
423
  "--package <name>",
416
424
  "Only load config schema that applies to the given package"
417
425
  ).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(
418
426
  "--format <format>",
419
427
  "Format to print the configuration in, either json or yaml [yaml]"
420
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-4484dee3.cjs.js'); }).then((m) => m.default)));
428
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-8340af8f.cjs.js'); }).then((m) => m.default)));
421
429
  program.command("config:check").option(
422
430
  "--package <name>",
423
431
  "Only load config schema that applies to the given package"
@@ -426,14 +434,14 @@ function registerCommands(program) {
426
434
  "Enable strict config validation, forbidding errors and unknown keys"
427
435
  ).option(...configOption).description(
428
436
  "Validate that the given configuration loads and matches schema"
429
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-67a1a3b9.cjs.js'); }).then((m) => m.default)));
437
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-1f6c8221.cjs.js'); }).then((m) => m.default)));
430
438
  program.command("config:schema").option(
431
439
  "--package <name>",
432
440
  "Only output config schema that applies to the given package"
433
441
  ).option(
434
442
  "--format <format>",
435
443
  "Format to print the schema in, either json or yaml [yaml]"
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-d3e56b54.cjs.js'); }).then((m) => m.default)));
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-b3e9453a.cjs.js'); }).then((m) => m.default)));
437
445
  registerRepoCommand(program);
438
446
  registerScriptCommand(program);
439
447
  registerMigrateCommand(program);
@@ -445,19 +453,19 @@ function registerCommands(program) {
445
453
  "--release <version|next|main>",
446
454
  "Bump to a specific Backstage release line or version",
447
455
  "main"
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-f747cb24.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-08f746b8.cjs.js'); }).then((m) => m.default)));
450
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-1c1f884f.cjs.js'); }).then((m) => m.default)));
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-b9f95d5c.cjs.js'); }).then((m) => m.default)));
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-9f2f9059.cjs.js'); }).then((m) => m.default)));
458
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-fa1c709a.cjs.js'); }).then((m) => m.default)));
451
459
  program.command("build-workspace <workspace-dir> [packages...]").option(
452
460
  "--alwaysYarnPack",
453
461
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
454
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-d0089397.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-4ee703c6.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-e62dff73.cjs.js'); }).then((m) => m.default)));
462
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-b60c60bd.cjs.js'); }).then((m) => m.default)));
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-5d7a9a9c.cjs.js'); }).then((m) => m.default)));
464
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-993112e8.cjs.js'); }).then((m) => m.default)));
457
465
  program.command("install [plugin-id]", { hidden: true }).option(
458
466
  "--from <packageJsonFilePath>",
459
467
  "Install from a local package.json containing the installation recipe"
460
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-ac6c085a.cjs.js'); }).then((m) => m.default)));
468
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-0c855c4e.cjs.js'); }).then((m) => m.default)));
461
469
  }
462
470
  function lazy(getActionFunc) {
463
471
  return async (...args) => {
@@ -501,4 +509,4 @@ exports.devDependencies = devDependencies;
501
509
  exports.paths = paths;
502
510
  exports.version = version;
503
511
  exports.version$1 = version$9;
504
- //# sourceMappingURL=index-8fb770b8.cjs.js.map
512
+ //# sourceMappingURL=index-69d48340.cjs.js.map