@backstage/plugin-techdocs-backend 1.10.10-next.2 → 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,46 @@
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
+
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
43
+
3
44
  ## 1.10.10-next.2
4
45
 
5
46
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend__alpha",
3
- "version": "1.10.10-next.2",
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
@@ -70,16 +70,14 @@ export interface Config {
70
70
  */
71
71
  publisher?:
72
72
  | {
73
- type:
74
- | 'local'
75
- | 'googleGcs'
76
- | 'awsS3'
77
- | 'azureBlobStorage'
78
- | 'openStackSwift';
73
+ type: 'local';
79
74
 
75
+ /**
76
+ * Optional when 'type' is set to local
77
+ */
80
78
  local?: {
81
79
  /**
82
- * Directory to store generated static files.
80
+ * (Optional) Directory to store generated static files.
83
81
  */
84
82
  publishDirectory?: string;
85
83
  };
@@ -132,6 +130,11 @@ export interface Config {
132
130
  * (Required) Cloud Storage Bucket Name
133
131
  */
134
132
  bucketName: string;
133
+ /**
134
+ * (Optional) Location in storage bucket to save files
135
+ * If not set, the default location will be the root of the storage bucket
136
+ */
137
+ bucketRootPath?: string;
135
138
  /**
136
139
  * (Optional) AWS Region.
137
140
  * If not set, AWS_REGION environment variable or aws config file will be used.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend",
3
- "version": "1.10.10-next.2",
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.2",
61
- "@backstage/backend-plugin-api": "^0.8.0-next.2",
62
- "@backstage/catalog-client": "^1.6.5",
63
- "@backstage/catalog-model": "^1.5.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.1",
68
- "@backstage/plugin-permission-common": "^0.8.1-next.1",
69
- "@backstage/plugin-search-backend-module-techdocs": "^0.1.28-next.2",
70
- "@backstage/plugin-techdocs-common": "^0.1.0-next.0",
71
- "@backstage/plugin-techdocs-node": "^1.12.9-next.2",
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.2",
84
- "@backstage/backend-test-utils": "^0.4.5-next.2",
85
- "@backstage/cli": "^0.27.0-next.3",
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
  },