@backstage/cli 0.27.0 → 0.27.1-next.1

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 +40 -0
  2. package/config/eslint-factory.js +1 -1
  3. package/dist/cjs/{build-e65cFAsT.cjs.js → build-CWgSfGa7.cjs.js} +7 -7
  4. package/dist/cjs/{buildBackend-khoLGRhE.cjs.js → buildBackend-DEbegAOg.cjs.js} +6 -6
  5. package/dist/cjs/{buildWorkspace-DF5QblOe.cjs.js → buildWorkspace-B0z3tt9J.cjs.js} +4 -4
  6. package/dist/cjs/{bump-Cc6UI4If.cjs.js → bump-D04QfqBe.cjs.js} +4 -4
  7. package/dist/cjs/{clean-z4Io0A3n.cjs.js → clean-BEdAwrl-.cjs.js} +2 -2
  8. package/dist/cjs/{clean-tX9tdH8x.cjs.js → clean-BZ-rt4Vi.cjs.js} +2 -2
  9. package/dist/cjs/{codeowners-Bn_7NZRs.cjs.js → codeowners-BnjPN0mh.cjs.js} +2 -2
  10. package/dist/cjs/{config-DNG8-dI-.cjs.js → config-qklGM2Df.cjs.js} +2 -2
  11. package/dist/cjs/{createDistWorkspace-DoGYDldI.cjs.js → createDistWorkspace-CHXweXXc.cjs.js} +4 -3
  12. package/dist/cjs/{createPlugin-EcI8e4EL.cjs.js → createPlugin-BL6IF-2G.cjs.js} +5 -5
  13. package/dist/cjs/{diff-DuLU4DWx.cjs.js → diff-BFp1ykNI.cjs.js} +2 -2
  14. package/dist/cjs/{docs-BBahqHYR.cjs.js → docs-BJyeZtmo.cjs.js} +3 -3
  15. package/dist/cjs/{fix-Cdc7AiFz.cjs.js → fix-CuhmjiSh.cjs.js} +2 -2
  16. package/dist/cjs/{index-DfiTBWVo.cjs.js → index-C_GzNGdx.cjs.js} +46 -46
  17. package/dist/cjs/{index-DeB5bQ1o.cjs.js → index-Dphv9YXX.cjs.js} +4 -4
  18. package/dist/cjs/{index-BnnYyaQG.cjs.js → index-Ksgor-FS.cjs.js} +6 -6
  19. package/dist/cjs/{index-Cw4p49j2.cjs.js → index-olkGK6rW.cjs.js} +10 -4
  20. package/dist/cjs/{index-_B4CH_66.cjs.js → index-wx4GtlYP.cjs.js} +8 -8
  21. package/dist/cjs/{info-DBHwysJg.cjs.js → info-D4GxuCW1.cjs.js} +3 -3
  22. package/dist/cjs/{install-DS8M1M8_.cjs.js → install-CYgWqCNS.cjs.js} +4 -4
  23. package/dist/cjs/{lint-1eODFn2j.cjs.js → lint-BrDrGUOd.cjs.js} +2 -2
  24. package/dist/cjs/{lint-D-VKLcas.cjs.js → lint-BscdoMED.cjs.js} +2 -2
  25. package/dist/cjs/{list-deprecations-DIEhLZIf.cjs.js → list-deprecations-B8UfuXLT.cjs.js} +3 -3
  26. package/dist/cjs/{moduleFederation-B0t7U41K.cjs.js → moduleFederation-CQz_OcQD.cjs.js} +3 -3
  27. package/dist/cjs/{new-BwrzMsYZ.cjs.js → new-x7QFaSET.cjs.js} +5 -5
  28. package/dist/cjs/{pack-DoaZi1vE.cjs.js → pack-BshFfDf0.cjs.js} +2 -2
  29. package/dist/cjs/{packageExports-CFc4liAj.cjs.js → packageExports-B_7Tw8EV.cjs.js} +3 -3
  30. package/dist/cjs/{packageLintConfigs-BSGHfdO3.cjs.js → packageLintConfigs-R-QHBO2s.cjs.js} +3 -3
  31. package/dist/cjs/{packageRole-B3b4kR3S.cjs.js → packageRole-CgKhe_aD.cjs.js} +2 -2
  32. package/dist/cjs/{packages-CFqHWT2g.cjs.js → packages-D3xm8yrG.cjs.js} +3 -3
  33. package/dist/cjs/{print-COUsUHG5.cjs.js → print-DcrUhffw.cjs.js} +3 -3
  34. package/dist/cjs/{role-R-rIg4W4.cjs.js → role-Cz4_y0Am.cjs.js} +2 -2
  35. package/dist/cjs/{run-BxqzgMe1.cjs.js → run-COGwx638.cjs.js} +2 -2
  36. package/dist/cjs/{schema-Dk-KtJXF.cjs.js → schema-DD-nctmp.cjs.js} +3 -3
  37. package/dist/cjs/{tasks-CUknUESA.cjs.js → tasks-1Jzu2AFr.cjs.js} +2 -2
  38. package/dist/cjs/{test-CxoCdBlN.cjs.js → test-BbPSX6DE.cjs.js} +3 -3
  39. package/dist/cjs/{test-BVIUfPlG.cjs.js → test-C_-fQX7I.cjs.js} +3 -3
  40. package/dist/cjs/{validate-BTAIemXx.cjs.js → validate-BO_SPC57.cjs.js} +3 -3
  41. package/dist/index.cjs.js +1 -1
  42. package/package.json +8 -8
  43. package/templates/default-backend-module/package.json.hbs +0 -1
  44. package/templates/default-backend-plugin/package.json.hbs +0 -1
  45. package/templates/scaffolder-module/package.json.hbs +0 -1
  46. package/templates/scaffolder-module/src/actions/example/example.test.ts +2 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.27.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d2d2313: Add `config.d.ts` files to the list of included file in `tsconfig.json`.
8
+
9
+ This allows ESLint to detect issues or deprecations in those files.
10
+
11
+ - 97422b0: Update templates to not refer to backend-common
12
+ - f865103: Updated dependency `esbuild` to `^0.23.0`.
13
+ - 569c3f0: Fixed an issue where published frontend packages would end up with an invalid import structure if a single module imported both `.css` and `.svg` files.
14
+ - Updated dependencies
15
+ - @backstage/catalog-model@1.6.0
16
+ - @backstage/cli-common@0.1.14
17
+ - @backstage/cli-node@0.2.7
18
+ - @backstage/config@1.2.0
19
+ - @backstage/config-loader@1.9.0
20
+ - @backstage/errors@1.2.4
21
+ - @backstage/eslint-plugin@0.1.8
22
+ - @backstage/integration@1.14.0
23
+ - @backstage/release-manifests@0.0.11
24
+ - @backstage/types@1.1.1
25
+
26
+ ## 0.27.1-next.0
27
+
28
+ ### Patch Changes
29
+
30
+ - 1b5c264: Add `checks: 'read'` for default GitHub app permissions
31
+ - Updated dependencies
32
+ - @backstage/catalog-model@1.6.0
33
+ - @backstage/cli-common@0.1.14
34
+ - @backstage/cli-node@0.2.7
35
+ - @backstage/config@1.2.0
36
+ - @backstage/config-loader@1.9.0
37
+ - @backstage/errors@1.2.4
38
+ - @backstage/eslint-plugin@0.1.8
39
+ - @backstage/integration@1.14.0
40
+ - @backstage/release-manifests@0.0.11
41
+ - @backstage/types@1.1.1
42
+
3
43
  ## 0.27.0
4
44
 
5
45
  ### Minor Changes
@@ -277,7 +277,7 @@ function createConfigForRole(dir, role, extraConfig = {}) {
277
277
  restrictedSrcSyntax: [
278
278
  {
279
279
  message:
280
- "`__dirname` doesn't refer to the same dir in production builds, try `resolvePackagePath()` from `@backstage/backend-common` instead.",
280
+ "`__dirname` doesn't refer to the same dir in production builds, try `resolvePackagePath()` from `@backstage/backend-plugin-api` instead.",
281
281
  selector: 'Identifier[name="__dirname"]',
282
282
  },
283
283
  ...(extraConfig.restrictedSrcSyntax ?? []),
@@ -2,17 +2,17 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var path = require('path');
5
- var createDistWorkspace = require('./createDistWorkspace-DoGYDldI.cjs.js');
6
- var index = require('./index-DfiTBWVo.cjs.js');
5
+ var createDistWorkspace = require('./createDistWorkspace-CHXweXXc.cjs.js');
6
+ var index = require('./index-C_GzNGdx.cjs.js');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
  var parallel = require('./parallel-BszNaKyc.cjs.js');
9
- var buildBackend = require('./buildBackend-khoLGRhE.cjs.js');
9
+ var buildBackend = require('./buildBackend-DEbegAOg.cjs.js');
10
10
  require('fs-extra');
11
11
  require('p-limit');
12
12
  require('os');
13
13
  require('tar');
14
14
  require('lodash/partition');
15
- require('./run-BxqzgMe1.cjs.js');
15
+ require('./run-COGwx638.cjs.js');
16
16
  require('child_process');
17
17
  require('util');
18
18
  require('@backstage/errors');
@@ -44,7 +44,7 @@ require('run-script-webpack-plugin');
44
44
  require('@pmmmwh/react-refresh-webpack-plugin');
45
45
  require('@manypkg/get-packages');
46
46
  require('webpack-node-externals');
47
- require('./moduleFederation-B0t7U41K.cjs.js');
47
+ require('./moduleFederation-CQz_OcQD.cjs.js');
48
48
  require('lodash/pickBy');
49
49
  require('mini-css-extract-plugin');
50
50
  require('yn');
@@ -55,7 +55,7 @@ require('react-dev-utils/FileSizeReporter');
55
55
  require('react-dev-utils/formatWebpackMessages');
56
56
  require('react-dev-utils/openBrowser');
57
57
  require('webpack-dev-server');
58
- require('./config-DNG8-dI-.cjs.js');
58
+ require('./config-qklGM2Df.cjs.js');
59
59
  require('@backstage/config-loader');
60
60
 
61
61
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -189,4 +189,4 @@ async function command(opts, cmd) {
189
189
  }
190
190
 
191
191
  exports.command = command;
192
- //# sourceMappingURL=build-e65cFAsT.cjs.js.map
192
+ //# sourceMappingURL=build-CWgSfGa7.cjs.js.map
@@ -12,23 +12,23 @@ require('@backstage/cli-common');
12
12
  require('react-dev-utils/ModuleScopePlugin');
13
13
  require('run-script-webpack-plugin');
14
14
  require('@pmmmwh/react-refresh-webpack-plugin');
15
- require('./index-DfiTBWVo.cjs.js');
15
+ require('./index-C_GzNGdx.cjs.js');
16
16
  require('@manypkg/get-packages');
17
17
  require('webpack-node-externals');
18
- var moduleFederation = require('./moduleFederation-B0t7U41K.cjs.js');
18
+ var moduleFederation = require('./moduleFederation-CQz_OcQD.cjs.js');
19
19
  require('lodash/pickBy');
20
- require('./run-BxqzgMe1.cjs.js');
20
+ require('./run-COGwx638.cjs.js');
21
21
  require('mini-css-extract-plugin');
22
22
  var yn = require('yn');
23
23
  var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
24
24
  var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
25
25
  require('react-dev-utils/openBrowser');
26
26
  require('webpack-dev-server');
27
- var config = require('./config-DNG8-dI-.cjs.js');
27
+ var config = require('./config-qklGM2Df.cjs.js');
28
28
  var parallel = require('./parallel-BszNaKyc.cjs.js');
29
29
  var os = require('os');
30
30
  var tar = require('tar');
31
- var createDistWorkspace = require('./createDistWorkspace-DoGYDldI.cjs.js');
31
+ var createDistWorkspace = require('./createDistWorkspace-CHXweXXc.cjs.js');
32
32
 
33
33
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
34
34
 
@@ -263,4 +263,4 @@ async function buildBackend(options) {
263
263
 
264
264
  exports.buildBackend = buildBackend;
265
265
  exports.buildFrontend = buildFrontend;
266
- //# sourceMappingURL=buildBackend-khoLGRhE.cjs.js.map
266
+ //# sourceMappingURL=buildBackend-DEbegAOg.cjs.js.map
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var fs = require('fs-extra');
4
- var createDistWorkspace = require('./createDistWorkspace-DoGYDldI.cjs.js');
4
+ var createDistWorkspace = require('./createDistWorkspace-CHXweXXc.cjs.js');
5
5
  require('chalk');
6
6
  require('path');
7
7
  require('p-limit');
8
8
  require('os');
9
9
  require('tar');
10
10
  require('lodash/partition');
11
- require('./index-DfiTBWVo.cjs.js');
11
+ require('./index-C_GzNGdx.cjs.js');
12
12
  require('commander');
13
13
  require('semver');
14
14
  require('@backstage/cli-common');
15
15
  require('@backstage/errors');
16
- require('./run-BxqzgMe1.cjs.js');
16
+ require('./run-COGwx638.cjs.js');
17
17
  require('child_process');
18
18
  require('util');
19
19
  require('rollup');
@@ -49,4 +49,4 @@ var buildWorkspace = async (dir, packages, options) => {
49
49
  };
50
50
 
51
51
  exports.default = buildWorkspace;
52
- //# sourceMappingURL=buildWorkspace-DF5QblOe.cjs.js.map
52
+ //# sourceMappingURL=buildWorkspace-B0z3tt9J.cjs.js.map
@@ -7,10 +7,10 @@ var ora = require('ora');
7
7
  var semver = require('semver');
8
8
  var errors = require('@backstage/errors');
9
9
  var path = require('path');
10
- var run = require('./run-BxqzgMe1.cjs.js');
11
- var index = require('./index-DfiTBWVo.cjs.js');
10
+ var run = require('./run-COGwx638.cjs.js');
11
+ var index = require('./index-C_GzNGdx.cjs.js');
12
12
  var Lockfile = require('./Lockfile-B4mqBkH6.cjs.js');
13
- var packages = require('./packages-CFqHWT2g.cjs.js');
13
+ var packages = require('./packages-D3xm8yrG.cjs.js');
14
14
  var cliCommon = require('@backstage/cli-common');
15
15
  var parallel = require('./parallel-BszNaKyc.cjs.js');
16
16
  var releaseManifests = require('@backstage/release-manifests');
@@ -453,4 +453,4 @@ var bump$1 = /*#__PURE__*/Object.freeze({
453
453
 
454
454
  exports.bump = bump$1;
455
455
  exports.migrate = migrate$1;
456
- //# sourceMappingURL=bump-Cc6UI4If.cjs.js.map
456
+ //# sourceMappingURL=bump-D04QfqBe.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-DfiTBWVo.cjs.js');
4
+ var index = require('./index-C_GzNGdx.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-z4Io0A3n.cjs.js.map
22
+ //# sourceMappingURL=clean-BEdAwrl-.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-DfiTBWVo.cjs.js');
8
+ var index = require('./index-C_GzNGdx.cjs.js');
9
9
  require('commander');
10
10
  require('chalk');
11
11
  require('semver');
@@ -45,4 +45,4 @@ async function command() {
45
45
  }
46
46
 
47
47
  exports.command = command;
48
- //# sourceMappingURL=clean-tX9tdH8x.cjs.js.map
48
+ //# sourceMappingURL=clean-BZ-rt4Vi.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-DfiTBWVo.cjs.js');
5
+ var index = require('./index-C_GzNGdx.cjs.js');
6
6
 
7
7
  function _interopDefaultCompat (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-Bn_7NZRs.cjs.js.map
91
+ //# sourceMappingURL=codeowners-BnjPN0mh.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-DfiTBWVo.cjs.js');
5
+ var index = require('./index-C_GzNGdx.cjs.js');
6
6
  var getPackages = require('@manypkg/get-packages');
7
7
  var cliNode = require('@backstage/cli-node');
8
8
 
@@ -105,4 +105,4 @@ async function loadCliConfig(options) {
105
105
  }
106
106
 
107
107
  exports.loadCliConfig = loadCliConfig;
108
- //# sourceMappingURL=config-DNG8-dI-.cjs.js.map
108
+ //# sourceMappingURL=config-qklGM2Df.cjs.js.map
@@ -7,8 +7,8 @@ var pLimit = require('p-limit');
7
7
  var os = require('os');
8
8
  var tar = require('tar');
9
9
  var partition = require('lodash/partition');
10
- var index = require('./index-DfiTBWVo.cjs.js');
11
- var run = require('./run-BxqzgMe1.cjs.js');
10
+ var index = require('./index-C_GzNGdx.cjs.js');
11
+ var run = require('./run-COGwx638.cjs.js');
12
12
  var rollup = require('rollup');
13
13
  var commonjs = require('@rollup/plugin-commonjs');
14
14
  var resolve = require('@rollup/plugin-node-resolve');
@@ -175,6 +175,7 @@ async function makeRollupConfigs(options) {
175
175
  ),
176
176
  output,
177
177
  onwarn,
178
+ makeAbsoluteExternalsRelative: false,
178
179
  preserveEntrySignatures: "strict",
179
180
  // All module imports are always marked as external
180
181
  external: (source, importer, isResolved) => Boolean(importer && !isResolved && !isFileImport(source)),
@@ -560,4 +561,4 @@ exports.buildPackage = buildPackage;
560
561
  exports.buildPackages = buildPackages;
561
562
  exports.createDistWorkspace = createDistWorkspace;
562
563
  exports.getOutputsForRole = getOutputsForRole;
563
- //# sourceMappingURL=createDistWorkspace-DoGYDldI.cjs.js.map
564
+ //# sourceMappingURL=createDistWorkspace-CHXweXXc.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-Bn_7NZRs.cjs.js');
14
- var index = require('./index-DfiTBWVo.cjs.js');
15
- var tasks = require('./tasks-CUknUESA.cjs.js');
13
+ var codeowners = require('./codeowners-BnjPN0mh.cjs.js');
14
+ var index = require('./index-C_GzNGdx.cjs.js');
15
+ var tasks = require('./tasks-1Jzu2AFr.cjs.js');
16
16
  var Lockfile = require('./Lockfile-B4mqBkH6.cjs.js');
17
17
  require('minimatch');
18
18
  require('@manypkg/get-packages');
19
19
  require('./yarn-Ukl9MOS0.cjs.js');
20
- require('./run-BxqzgMe1.cjs.js');
20
+ require('./run-COGwx638.cjs.js');
21
21
  require('commander');
22
22
  require('semver');
23
23
  require('@backstage/cli-common');
@@ -277,4 +277,4 @@ exports.addPluginExtensionToApp = addPluginExtensionToApp;
277
277
  exports.capitalize = capitalize;
278
278
  exports.default = createPlugin;
279
279
  exports.movePlugin = movePlugin;
280
- //# sourceMappingURL=createPlugin-EcI8e4EL.cjs.js.map
280
+ //# sourceMappingURL=createPlugin-BL6IF-2G.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-DfiTBWVo.cjs.js');
10
+ var index = require('./index-C_GzNGdx.cjs.js');
11
11
  require('commander');
12
12
  require('semver');
13
13
  require('@backstage/cli-common');
@@ -433,4 +433,4 @@ async function readPluginData() {
433
433
  }
434
434
 
435
435
  exports.default = diff;
436
- //# sourceMappingURL=diff-DuLU4DWx.cjs.js.map
436
+ //# sourceMappingURL=diff-BFp1ykNI.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-DNG8-dI-.cjs.js');
5
+ var config = require('./config-qklGM2Df.cjs.js');
6
6
  require('@backstage/config');
7
- require('./index-DfiTBWVo.cjs.js');
7
+ require('./index-C_GzNGdx.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-BBahqHYR.cjs.js.map
37
+ //# sourceMappingURL=docs-BJyeZtmo.cjs.js.map
@@ -3,7 +3,7 @@
3
3
  var cliNode = require('@backstage/cli-node');
4
4
  var fs = require('fs-extra');
5
5
  var path = require('path');
6
- var index = require('./index-DfiTBWVo.cjs.js');
6
+ var index = require('./index-C_GzNGdx.cjs.js');
7
7
  var publishing = require('./publishing-DQtsKTbc.cjs.js');
8
8
  require('commander');
9
9
  require('chalk');
@@ -359,4 +359,4 @@ exports.fixSideEffects = fixSideEffects;
359
359
  exports.printPackageFixHint = printPackageFixHint;
360
360
  exports.readFixablePackages = readFixablePackages;
361
361
  exports.writeFixedPackages = writeFixedPackages;
362
- //# sourceMappingURL=fix-Cdc7AiFz.cjs.js.map
362
+ //# sourceMappingURL=fix-CuhmjiSh.cjs.js.map
@@ -47,13 +47,13 @@ class NotFoundError extends CustomError {
47
47
 
48
48
  const paths = cliCommon.findPaths(__dirname);
49
49
 
50
- var version$f = "0.24.0";
50
+ var version$f = "0.25.0-next.1";
51
51
 
52
- var version$e = "0.8.0";
52
+ var version$e = "0.9.0-next.1";
53
53
 
54
- var version$d = "0.5.0";
54
+ var version$d = "0.6.0-next.1";
55
55
 
56
- var version$c = "0.27.0";
56
+ var version$c = "0.27.1-next.1";
57
57
  var dependencies = {
58
58
  "@backstage/catalog-model": "workspace:^",
59
59
  "@backstage/cli-common": "workspace:^",
@@ -104,7 +104,7 @@ var dependencies = {
104
104
  "css-loader": "^6.5.1",
105
105
  "ctrlc-windows": "^2.1.0",
106
106
  diff: "^5.0.0",
107
- esbuild: "^0.21.0",
107
+ esbuild: "^0.23.0",
108
108
  "esbuild-loader": "^4.0.0",
109
109
  eslint: "^8.6.0",
110
110
  "eslint-config-prettier": "^9.0.0",
@@ -208,23 +208,23 @@ var version$b = "1.2.0";
208
208
 
209
209
  var version$a = "1.14.2";
210
210
 
211
- var version$9 = "0.14.10";
211
+ var version$9 = "0.14.11-next.0";
212
212
 
213
213
  var version$8 = "1.9.3";
214
214
 
215
- var version$7 = "1.0.37";
215
+ var version$7 = "1.0.38-next.1";
216
216
 
217
- var version$6 = "1.5.10";
217
+ var version$6 = "1.6.0-next.0";
218
218
 
219
- var version$5 = "0.4.9";
219
+ var version$5 = "0.4.11-next.1";
220
220
 
221
- var version$4 = "0.22.10";
221
+ var version$4 = "0.23.0-next.1";
222
222
 
223
- var version$3 = "0.1.9";
223
+ var version$3 = "0.2.0-next.1";
224
224
 
225
225
  var version$2 = "0.5.6";
226
226
 
227
- var version$1 = "0.4.2";
227
+ var version$1 = "0.5.0-next.1";
228
228
 
229
229
  const packageVersions = {
230
230
  "@backstage/backend-common": version$f,
@@ -290,7 +290,7 @@ const configOption = [
290
290
  Array()
291
291
  ];
292
292
  function registerOnboardCommand(program) {
293
- program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DeB5bQ1o.cjs.js'); }).then((m) => m.command)));
293
+ program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-Dphv9YXX.cjs.js'); }).then((m) => m.command)));
294
294
  }
295
295
  function registerRepoCommand(program) {
296
296
  const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
@@ -302,7 +302,7 @@ function registerRepoCommand(program) {
302
302
  ).option(
303
303
  "--since <ref>",
304
304
  "Only build packages and their dev dependents that changed since the specified ref"
305
- ).action(lazy(() => Promise.resolve().then(function () { return require('./build-e65cFAsT.cjs.js'); }).then((m) => m.command)));
305
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./build-CWgSfGa7.cjs.js'); }).then((m) => m.command)));
306
306
  command.command("lint").description("Lint all packages in the project").option(
307
307
  "--format <format>",
308
308
  "Lint report output format",
@@ -310,17 +310,17 @@ function registerRepoCommand(program) {
310
310
  ).option(
311
311
  "--since <ref>",
312
312
  "Only lint packages that changed since the specified ref"
313
- ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-D-VKLcas.cjs.js'); }).then((m) => m.command)));
313
+ ).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-BscdoMED.cjs.js'); }).then((m) => m.command)));
314
314
  command.command("fix").description("Automatically fix packages in the project").option(
315
315
  "--publish",
316
316
  "Enable additional fixes that only apply when publishing packages"
317
317
  ).option(
318
318
  "--check",
319
319
  "Fail if any packages would have been changed by the command"
320
- ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-Cdc7AiFz.cjs.js'); }).then((m) => m.command)));
321
- command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-tX9tdH8x.cjs.js'); }).then((m) => m.command)));
320
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./fix-CuhmjiSh.cjs.js'); }).then((m) => m.command)));
321
+ command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BZ-rt4Vi.cjs.js'); }).then((m) => m.command)));
322
322
  command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
323
- lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-DIEhLZIf.cjs.js'); }).then((m) => m.command))
323
+ lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-B8UfuXLT.cjs.js'); }).then((m) => m.command))
324
324
  );
325
325
  command.command("test").allowUnknownOption(true).option(
326
326
  "--since <ref>",
@@ -328,14 +328,14 @@ function registerRepoCommand(program) {
328
328
  ).option(
329
329
  "--jest-help",
330
330
  "Show help for Jest CLI options, which are passed through"
331
- ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-BVIUfPlG.cjs.js'); }).then((m) => m.command)));
331
+ ).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-C_-fQX7I.cjs.js'); }).then((m) => m.command)));
332
332
  }
333
333
  function registerScriptCommand(program) {
334
334
  const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
335
335
  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 [host]", "Enable debugger in Node.js environments").option(
336
336
  "--inspect-brk [host]",
337
337
  "Enable debugger in Node.js environments, breaking before code starts"
338
- ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-BnnYyaQG.cjs.js'); }).then((m) => m.command)));
338
+ ).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-Ksgor-FS.cjs.js'); }).then((m) => m.command)));
339
339
  command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
340
340
  "--minify",
341
341
  "Minify the generated code. Does not apply to app package (app is minified by default)."
@@ -350,30 +350,30 @@ function registerScriptCommand(program) {
350
350
  "Config files to load instead of app-config.yaml. Applies to app packages only.",
351
351
  (opt, opts) => opts ? [...opts, opt] : [opt],
352
352
  Array()
353
- ).action(lazy(() => Promise.resolve().then(function () { return require('./index-_B4CH_66.cjs.js'); }).then((m) => m.command)));
353
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./index-wx4GtlYP.cjs.js'); }).then((m) => m.command)));
354
354
  command.command("lint [directories...]").option(
355
355
  "--format <format>",
356
356
  "Lint report output format",
357
357
  "eslint-formatter-friendly"
358
- ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-1eODFn2j.cjs.js'); }).then((m) => m.default)));
359
- 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-CxoCdBlN.cjs.js'); }).then((m) => m.default)));
360
- command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-z4Io0A3n.cjs.js'); }).then((m) => m.default)));
361
- command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-DoaZi1vE.cjs.js'); }).then((m) => m.pre)));
362
- command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-DoaZi1vE.cjs.js'); }).then((m) => m.post)));
358
+ ).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-BrDrGUOd.cjs.js'); }).then((m) => m.default)));
359
+ 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-BbPSX6DE.cjs.js'); }).then((m) => m.default)));
360
+ command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BEdAwrl-.cjs.js'); }).then((m) => m.default)));
361
+ command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-BshFfDf0.cjs.js'); }).then((m) => m.pre)));
362
+ command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-BshFfDf0.cjs.js'); }).then((m) => m.post)));
363
363
  }
364
364
  function registerMigrateCommand(program) {
365
365
  const command = program.command("migrate [command]").description("Migration utilities");
366
- 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-B3b4kR3S.cjs.js'); }).then((m) => m.default)));
366
+ 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-CgKhe_aD.cjs.js'); }).then((m) => m.default)));
367
367
  command.command("package-scripts").description("Set package scripts according to each package role").action(
368
368
  lazy(() => Promise.resolve().then(function () { return require('./packageScripts-DX6dilK6.cjs.js'); }).then((m) => m.command))
369
369
  );
370
370
  command.command("package-exports").description("Synchronize package subpath export definitions").action(
371
- lazy(() => Promise.resolve().then(function () { return require('./packageExports-CFc4liAj.cjs.js'); }).then((m) => m.command))
371
+ lazy(() => Promise.resolve().then(function () { return require('./packageExports-B_7Tw8EV.cjs.js'); }).then((m) => m.command))
372
372
  );
373
373
  command.command("package-lint-configs").description(
374
374
  "Migrates all packages to use @backstage/cli/config/eslint-factory"
375
375
  ).action(
376
- lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-BSGHfdO3.cjs.js'); }).then((m) => m.command))
376
+ lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-R-QHBO2s.cjs.js'); }).then((m) => m.command))
377
377
  );
378
378
  command.command("react-router-deps").description(
379
379
  "Migrates the react-router dependencies for all packages to be peer dependencies"
@@ -401,7 +401,7 @@ function registerCommands(program) {
401
401
  ).option(
402
402
  "--license <license>",
403
403
  "The license to use for any new packages (default: Apache-2.0)"
404
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-BwrzMsYZ.cjs.js'); }).then((m) => m.default)));
404
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-x7QFaSET.cjs.js'); }).then((m) => m.default)));
405
405
  program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
406
406
  "Open up an interactive guide to creating new things in your app [DEPRECATED]"
407
407
  ).option(
@@ -415,30 +415,30 @@ function registerCommands(program) {
415
415
  ).option("--scope <scope>", "The scope to use for new packages").option(
416
416
  "--npm-registry <URL>",
417
417
  "The package registry to use for new packages"
418
- ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-BwrzMsYZ.cjs.js'); }).then((m) => m.default)));
418
+ ).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-x7QFaSET.cjs.js'); }).then((m) => m.default)));
419
419
  program.command("create-plugin", { hidden: true }).option(
420
420
  "--backend",
421
421
  "Create plugin with the backend dependencies as default"
422
422
  ).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(
423
- lazy(() => Promise.resolve().then(function () { return require('./createPlugin-EcI8e4EL.cjs.js'); }).then((m) => m.default))
423
+ lazy(() => Promise.resolve().then(function () { return require('./createPlugin-BL6IF-2G.cjs.js'); }).then((m) => m.default))
424
424
  );
425
425
  program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
426
426
  "Diff an existing plugin with the creation template [DEPRECATED]"
427
- ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-DuLU4DWx.cjs.js'); }).then((m) => m.default)));
427
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./diff-BFp1ykNI.cjs.js'); }).then((m) => m.default)));
428
428
  program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
429
429
  "Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
430
- ).action(lazy(() => Promise.resolve().then(function () { return require('./test-CxoCdBlN.cjs.js'); }).then((m) => m.default)));
430
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./test-BbPSX6DE.cjs.js'); }).then((m) => m.default)));
431
431
  program.command("config:docs").option(
432
432
  "--package <name>",
433
433
  "Only include the schema that applies to the given package"
434
- ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-BBahqHYR.cjs.js'); }).then((m) => m.default)));
434
+ ).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-BJyeZtmo.cjs.js'); }).then((m) => m.default)));
435
435
  program.command("config:print").option(
436
436
  "--package <name>",
437
437
  "Only load config schema that applies to the given package"
438
438
  ).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(
439
439
  "--format <format>",
440
440
  "Format to print the configuration in, either json or yaml [yaml]"
441
- ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-COUsUHG5.cjs.js'); }).then((m) => m.default)));
441
+ ).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-DcrUhffw.cjs.js'); }).then((m) => m.default)));
442
442
  program.command("config:check").option(
443
443
  "--package <name>",
444
444
  "Only load config schema that applies to the given package"
@@ -447,14 +447,14 @@ function registerCommands(program) {
447
447
  "Enable strict config validation, forbidding errors and unknown keys"
448
448
  ).option(...configOption).description(
449
449
  "Validate that the given configuration loads and matches schema"
450
- ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-BTAIemXx.cjs.js'); }).then((m) => m.default)));
450
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./validate-BO_SPC57.cjs.js'); }).then((m) => m.default)));
451
451
  program.command("config:schema").option(
452
452
  "--package <name>",
453
453
  "Only output config schema that applies to the given package"
454
454
  ).option(
455
455
  "--format <format>",
456
456
  "Format to print the schema in, either json or yaml [yaml]"
457
- ).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-Dk-KtJXF.cjs.js'); }).then((m) => m.default)));
457
+ ).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-DD-nctmp.cjs.js'); }).then((m) => m.default)));
458
458
  registerRepoCommand(program);
459
459
  registerScriptCommand(program);
460
460
  registerMigrateCommand(program);
@@ -466,7 +466,7 @@ function registerCommands(program) {
466
466
  "--release <version|next|main>",
467
467
  "Bump to a specific Backstage release line or version",
468
468
  "main"
469
- ).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-Cc6UI4If.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
469
+ ).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-D04QfqBe.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
470
470
  program.command("versions:check", { hidden: true }).option("--fix", "Fix any auto-fixable versioning problems").description("Check Backstage package versioning").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Dkx_fBkS.cjs.js'); }).then((m) => m.default)));
471
471
  program.command("versions:migrate").option(
472
472
  "--pattern <glob>",
@@ -476,18 +476,18 @@ function registerCommands(program) {
476
476
  "Skip code changes and only update package.json files"
477
477
  ).description(
478
478
  "Migrate any plugins that have been moved to the @backstage-community namespace automatically"
479
- ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-Cc6UI4If.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
480
- program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-z4Io0A3n.cjs.js'); }).then((m) => m.default)));
479
+ ).action(lazy(() => Promise.resolve().then(function () { return require('./bump-D04QfqBe.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
480
+ program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-BEdAwrl-.cjs.js'); }).then((m) => m.default)));
481
481
  program.command("build-workspace <workspace-dir> [packages...]").option(
482
482
  "--alwaysYarnPack",
483
483
  "Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
484
- ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-DF5QblOe.cjs.js'); }).then((m) => m.default)));
485
- program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-Cw4p49j2.cjs.js'); }).then((m) => m.default)));
486
- program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-DBHwysJg.cjs.js'); }).then((m) => m.default)));
484
+ ).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-B0z3tt9J.cjs.js'); }).then((m) => m.default)));
485
+ program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-olkGK6rW.cjs.js'); }).then((m) => m.default)));
486
+ program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-D4GxuCW1.cjs.js'); }).then((m) => m.default)));
487
487
  program.command("install [plugin-id]", { hidden: true }).option(
488
488
  "--from <packageJsonFilePath>",
489
489
  "Install from a local package.json containing the installation recipe"
490
- ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-DS8M1M8_.cjs.js'); }).then((m) => m.default)));
490
+ ).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-CYgWqCNS.cjs.js'); }).then((m) => m.default)));
491
491
  }
492
492
  function lazy(getActionFunc) {
493
493
  return async (...args) => {
@@ -531,4 +531,4 @@ exports.devDependencies = devDependencies;
531
531
  exports.paths = paths;
532
532
  exports.version = version;
533
533
  exports.version$1 = version$c;
534
- //# sourceMappingURL=index-DfiTBWVo.cjs.js.map
534
+ //# sourceMappingURL=index-C_GzNGdx.cjs.js.map