@backstage/repo-tools 0.15.4-next.0 → 0.16.0-next.2

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.16.0-next.2
4
+
5
+ ### Minor Changes
6
+
7
+ - 11c61f2: The `package-docs` command will now automatically use a `typedoc.json` file if one exists at the root of your project.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @backstage/backend-plugin-api@1.5.0-next.2
13
+
14
+ ## 0.15.4-next.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 8f56eae: Updated knip-reports to detect dependencies in dev/alpha pattern
19
+ - Updated dependencies
20
+ - @backstage/backend-plugin-api@1.5.0-next.1
21
+
3
22
  ## 0.15.4-next.0
4
23
 
5
24
  ### Patch Changes
@@ -34,7 +34,7 @@ async function generateKnipConfig({ knipConfigPath }) {
34
34
  workspaces: {
35
35
  ".": {},
36
36
  "{packages,plugins}/*": {
37
- entry: ["dev/index.{ts,tsx}", "src/index.{ts,tsx}"],
37
+ entry: ["dev/**/*.{ts,tsx}", "src/index.{ts,tsx}"],
38
38
  ignore: [
39
39
  ".eslintrc.js",
40
40
  "config.d.ts",
@@ -8,10 +8,11 @@ var paths = require('../../lib/paths.cjs.js');
8
8
  var utils = require('./utils.cjs.js');
9
9
  var promises = require('fs/promises');
10
10
  var pLimit = require('p-limit');
11
- var fs = require('fs-extra');
11
+ var fs$1 = require('fs-extra');
12
12
  var Cache = require('./Cache.cjs.js');
13
13
  var cliNode = require('@backstage/cli-node');
14
14
  var glob = require('glob');
15
+ var fs = require('fs');
15
16
 
16
17
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
17
18
 
@@ -66,7 +67,7 @@ async function generateDocJson(pkg) {
66
67
  if (!exports.length || !exports.some((e) => e.startsWith("src") || e.startsWith("./src"))) {
67
68
  return false;
68
69
  }
69
- await fs.mkdirp(paths.paths.resolveTargetRoot(`dist-types`, pkg));
70
+ await fs$1.mkdirp(paths.paths.resolveTargetRoot(`dist-types`, pkg));
70
71
  const { stdout, stderr } = await execAsync(
71
72
  [
72
73
  paths.paths.resolveTargetRoot("node_modules/.bin/typedoc"),
@@ -192,7 +193,8 @@ async function packageDocs(paths$1 = [], opts) {
192
193
  ]),
193
194
  ...HIGHLIGHT_LANGUAGES.flatMap((e) => ["--highlightLanguages", e]),
194
195
  "--out",
195
- paths.paths.resolveTargetRoot("type-docs")
196
+ paths.paths.resolveTargetRoot("type-docs"),
197
+ ...fs.existsSync(paths.paths.resolveTargetRoot("typedoc.json")) ? ["--options", paths.paths.resolveTargetRoot("typedoc.json")] : []
196
198
  ].join(" "),
197
199
  {
198
200
  cwd: paths.paths.targetRoot
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.15.4-next.0";
3
+ var version = "0.16.0-next.2";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=package.json.cjs.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/repo-tools",
3
- "version": "0.15.4-next.0",
3
+ "version": "0.16.0-next.2",
4
4
  "description": "CLI for Backstage repo tooling ",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@apidevtools/swagger-parser": "^10.1.0",
45
45
  "@apisyouwonthate/style-guide": "^1.4.0",
46
- "@backstage/backend-plugin-api": "1.4.5-next.0",
46
+ "@backstage/backend-plugin-api": "1.5.0-next.2",
47
47
  "@backstage/catalog-model": "1.7.6-next.0",
48
48
  "@backstage/cli-common": "0.1.15",
49
49
  "@backstage/cli-node": "0.2.15-next.0",
@@ -86,8 +86,8 @@
86
86
  "zod": "^3.22.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@backstage/backend-test-utils": "1.10.0-next.0",
90
- "@backstage/cli": "0.34.5-next.0",
89
+ "@backstage/backend-test-utils": "1.10.0-next.2",
90
+ "@backstage/cli": "0.34.5-next.1",
91
91
  "@backstage/types": "1.2.2",
92
92
  "@types/is-glob": "^4.0.2",
93
93
  "@types/node": "^20.16.0",