@backstage/plugin-techdocs-backend 0.0.0-nightly-20240813022007 → 0.0.0-nightly-20240815021638

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,25 +1,45 @@
1
1
  # @backstage/plugin-techdocs-backend
2
2
 
3
- ## 0.0.0-nightly-20240813022007
3
+ ## 0.0.0-nightly-20240815021638
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 69bd940: Use annotation constants from new techdocs-common package.
8
8
  - 93095ee: Make sure node-fetch is version 2.7.0 or greater
9
+ - b77fbf4: Added back `type: 'local'` to TechDocs config schema for `publisher`
9
10
  - a16632c: Update configuration schema to match actual behavior
10
11
  - Updated dependencies
11
- - @backstage/backend-plugin-api@0.0.0-nightly-20240813022007
12
- - @backstage/backend-common@0.0.0-nightly-20240813022007
13
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20240813022007
14
- - @backstage/plugin-permission-common@0.0.0-nightly-20240813022007
15
- - @backstage/plugin-search-backend-module-techdocs@0.0.0-nightly-20240813022007
16
- - @backstage/integration@0.0.0-nightly-20240813022007
17
- - @backstage/plugin-techdocs-common@0.0.0-nightly-20240813022007
18
- - @backstage/catalog-model@0.0.0-nightly-20240813022007
19
- - @backstage/catalog-client@0.0.0-nightly-20240813022007
12
+ - @backstage/backend-plugin-api@0.0.0-nightly-20240815021638
13
+ - @backstage/backend-common@0.0.0-nightly-20240815021638
14
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20240815021638
15
+ - @backstage/plugin-permission-common@0.0.0-nightly-20240815021638
16
+ - @backstage/plugin-search-backend-module-techdocs@0.0.0-nightly-20240815021638
17
+ - @backstage/integration@0.0.0-nightly-20240815021638
18
+ - @backstage/plugin-techdocs-common@0.0.0-nightly-20240815021638
19
+ - @backstage/catalog-model@0.0.0-nightly-20240815021638
20
+ - @backstage/catalog-client@0.0.0-nightly-20240815021638
20
21
  - @backstage/config@1.2.0
21
22
  - @backstage/errors@1.2.4
22
- - @backstage/plugin-catalog-common@0.0.0-nightly-20240813022007
23
+ - @backstage/plugin-catalog-common@0.0.0-nightly-20240815021638
24
+
25
+ ## 1.10.10-next.3
26
+
27
+ ### Patch Changes
28
+
29
+ - a16632c: Update configuration schema to match actual behavior
30
+ - Updated dependencies
31
+ - @backstage/backend-plugin-api@0.8.0-next.3
32
+ - @backstage/backend-common@0.23.4-next.3
33
+ - @backstage/plugin-techdocs-node@1.12.9-next.3
34
+ - @backstage/catalog-model@1.6.0-next.0
35
+ - @backstage/catalog-client@1.6.6-next.0
36
+ - @backstage/config@1.2.0
37
+ - @backstage/errors@1.2.4
38
+ - @backstage/integration@1.14.0-next.0
39
+ - @backstage/plugin-catalog-common@1.0.26-next.2
40
+ - @backstage/plugin-permission-common@0.8.1-next.1
41
+ - @backstage/plugin-search-backend-module-techdocs@0.1.28-next.3
42
+ - @backstage/plugin-techdocs-common@0.1.0-next.0
23
43
 
24
44
  ## 1.10.10-next.2
25
45
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend__alpha",
3
- "version": "0.0.0-nightly-20240813022007",
3
+ "version": "0.0.0-nightly-20240815021638",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/config.d.ts CHANGED
@@ -68,14 +68,20 @@ export interface Config {
68
68
  /**
69
69
  * Techdocs publisher information
70
70
  */
71
- publisher?: {
72
- local?: {
73
- /**
74
- * Directory to store generated static files.
75
- */
76
- publishDirectory?: string;
77
- };
78
- } & (
71
+ publisher?:
72
+ | {
73
+ type: 'local';
74
+
75
+ /**
76
+ * Optional when 'type' is set to local
77
+ */
78
+ local?: {
79
+ /**
80
+ * (Optional) Directory to store generated static files.
81
+ */
82
+ publishDirectory?: string;
83
+ };
84
+ }
79
85
  | {
80
86
  type: 'awsS3';
81
87
 
@@ -258,8 +264,7 @@ export interface Config {
258
264
  */
259
265
  projectId?: string;
260
266
  };
261
- }
262
- );
267
+ };
263
268
 
264
269
  /**
265
270
  * @example http://localhost:7007/api/techdocs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend",
3
- "version": "0.0.0-nightly-20240813022007",
3
+ "version": "0.0.0-nightly-20240815021638",
4
4
  "description": "The Backstage backend plugin that renders technical documentation for your components",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -57,18 +57,18 @@
57
57
  "test": "backstage-cli package test"
58
58
  },
59
59
  "dependencies": {
60
- "@backstage/backend-common": "^0.0.0-nightly-20240813022007",
61
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20240813022007",
62
- "@backstage/catalog-client": "^0.0.0-nightly-20240813022007",
63
- "@backstage/catalog-model": "^0.0.0-nightly-20240813022007",
60
+ "@backstage/backend-common": "^0.0.0-nightly-20240815021638",
61
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20240815021638",
62
+ "@backstage/catalog-client": "^0.0.0-nightly-20240815021638",
63
+ "@backstage/catalog-model": "^0.0.0-nightly-20240815021638",
64
64
  "@backstage/config": "^1.2.0",
65
65
  "@backstage/errors": "^1.2.4",
66
- "@backstage/integration": "^0.0.0-nightly-20240813022007",
67
- "@backstage/plugin-catalog-common": "^0.0.0-nightly-20240813022007",
68
- "@backstage/plugin-permission-common": "^0.0.0-nightly-20240813022007",
69
- "@backstage/plugin-search-backend-module-techdocs": "^0.0.0-nightly-20240813022007",
70
- "@backstage/plugin-techdocs-common": "^0.0.0-nightly-20240813022007",
71
- "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240813022007",
66
+ "@backstage/integration": "^0.0.0-nightly-20240815021638",
67
+ "@backstage/plugin-catalog-common": "^0.0.0-nightly-20240815021638",
68
+ "@backstage/plugin-permission-common": "^0.0.0-nightly-20240815021638",
69
+ "@backstage/plugin-search-backend-module-techdocs": "^0.0.0-nightly-20240815021638",
70
+ "@backstage/plugin-techdocs-common": "^0.0.0-nightly-20240815021638",
71
+ "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240815021638",
72
72
  "@types/express": "^4.17.6",
73
73
  "express": "^4.17.1",
74
74
  "express-promise-router": "^4.1.0",
@@ -80,9 +80,9 @@
80
80
  "winston": "^3.2.1"
81
81
  },
82
82
  "devDependencies": {
83
- "@backstage/backend-defaults": "^0.0.0-nightly-20240813022007",
84
- "@backstage/backend-test-utils": "^0.0.0-nightly-20240813022007",
85
- "@backstage/cli": "^0.0.0-nightly-20240813022007",
83
+ "@backstage/backend-defaults": "^0.0.0-nightly-20240815021638",
84
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20240815021638",
85
+ "@backstage/cli": "^0.0.0-nightly-20240815021638",
86
86
  "msw": "^1.0.0",
87
87
  "supertest": "^6.1.3"
88
88
  },