@backstage/plugin-techdocs-backend 1.10.10-next.3 → 1.10.10

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,27 @@
1
1
  # @backstage/plugin-techdocs-backend
2
2
 
3
+ ## 1.10.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 69bd940: Use annotation constants from new techdocs-common package.
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`
10
+ - a16632c: Update configuration schema to match actual behavior
11
+ - Updated dependencies
12
+ - @backstage/backend-plugin-api@0.8.0
13
+ - @backstage/backend-common@0.24.0
14
+ - @backstage/plugin-techdocs-node@1.12.9
15
+ - @backstage/plugin-permission-common@0.8.1
16
+ - @backstage/plugin-search-backend-module-techdocs@0.2.0
17
+ - @backstage/integration@1.14.0
18
+ - @backstage/plugin-techdocs-common@0.1.0
19
+ - @backstage/catalog-model@1.6.0
20
+ - @backstage/catalog-client@1.6.6
21
+ - @backstage/config@1.2.0
22
+ - @backstage/errors@1.2.4
23
+ - @backstage/plugin-catalog-common@1.0.26
24
+
3
25
  ## 1.10.10-next.3
4
26
 
5
27
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend__alpha",
3
- "version": "1.10.10-next.3",
3
+ "version": "1.10.10",
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": "1.10.10-next.3",
3
+ "version": "1.10.10",
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.23.4-next.3",
61
- "@backstage/backend-plugin-api": "^0.8.0-next.3",
62
- "@backstage/catalog-client": "^1.6.6-next.0",
63
- "@backstage/catalog-model": "^1.6.0-next.0",
60
+ "@backstage/backend-common": "^0.24.0",
61
+ "@backstage/backend-plugin-api": "^0.8.0",
62
+ "@backstage/catalog-client": "^1.6.6",
63
+ "@backstage/catalog-model": "^1.6.0",
64
64
  "@backstage/config": "^1.2.0",
65
65
  "@backstage/errors": "^1.2.4",
66
- "@backstage/integration": "^1.14.0-next.0",
67
- "@backstage/plugin-catalog-common": "^1.0.26-next.2",
68
- "@backstage/plugin-permission-common": "^0.8.1-next.1",
69
- "@backstage/plugin-search-backend-module-techdocs": "^0.1.28-next.3",
70
- "@backstage/plugin-techdocs-common": "^0.1.0-next.0",
71
- "@backstage/plugin-techdocs-node": "^1.12.9-next.3",
66
+ "@backstage/integration": "^1.14.0",
67
+ "@backstage/plugin-catalog-common": "^1.0.26",
68
+ "@backstage/plugin-permission-common": "^0.8.1",
69
+ "@backstage/plugin-search-backend-module-techdocs": "^0.2.0",
70
+ "@backstage/plugin-techdocs-common": "^0.1.0",
71
+ "@backstage/plugin-techdocs-node": "^1.12.9",
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.4.2-next.3",
84
- "@backstage/backend-test-utils": "^0.4.5-next.3",
85
- "@backstage/cli": "^0.27.0-next.4",
83
+ "@backstage/backend-defaults": "^0.4.2",
84
+ "@backstage/backend-test-utils": "^0.5.0",
85
+ "@backstage/cli": "^0.27.0",
86
86
  "msw": "^1.0.0",
87
87
  "supertest": "^6.1.3"
88
88
  },