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

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/plugin-techdocs-backend
2
2
 
3
+ ## 1.10.10-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - a16632c: Update configuration schema to match actual behavior
8
+ - Updated dependencies
9
+ - @backstage/backend-plugin-api@0.8.0-next.3
10
+ - @backstage/backend-common@0.23.4-next.3
11
+ - @backstage/plugin-techdocs-node@1.12.9-next.3
12
+ - @backstage/catalog-model@1.6.0-next.0
13
+ - @backstage/catalog-client@1.6.6-next.0
14
+ - @backstage/config@1.2.0
15
+ - @backstage/errors@1.2.4
16
+ - @backstage/integration@1.14.0-next.0
17
+ - @backstage/plugin-catalog-common@1.0.26-next.2
18
+ - @backstage/plugin-permission-common@0.8.1-next.1
19
+ - @backstage/plugin-search-backend-module-techdocs@0.1.28-next.3
20
+ - @backstage/plugin-techdocs-common@0.1.0-next.0
21
+
3
22
  ## 1.10.10-next.2
4
23
 
5
24
  ### 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-next.3",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/config.d.ts CHANGED
@@ -68,22 +68,14 @@ export interface Config {
68
68
  /**
69
69
  * Techdocs publisher information
70
70
  */
71
- publisher?:
72
- | {
73
- type:
74
- | 'local'
75
- | 'googleGcs'
76
- | 'awsS3'
77
- | 'azureBlobStorage'
78
- | 'openStackSwift';
79
-
80
- local?: {
81
- /**
82
- * Directory to store generated static files.
83
- */
84
- publishDirectory?: string;
85
- };
86
- }
71
+ publisher?: {
72
+ local?: {
73
+ /**
74
+ * Directory to store generated static files.
75
+ */
76
+ publishDirectory?: string;
77
+ };
78
+ } & (
87
79
  | {
88
80
  type: 'awsS3';
89
81
 
@@ -132,6 +124,11 @@ export interface Config {
132
124
  * (Required) Cloud Storage Bucket Name
133
125
  */
134
126
  bucketName: string;
127
+ /**
128
+ * (Optional) Location in storage bucket to save files
129
+ * If not set, the default location will be the root of the storage bucket
130
+ */
131
+ bucketRootPath?: string;
135
132
  /**
136
133
  * (Optional) AWS Region.
137
134
  * If not set, AWS_REGION environment variable or aws config file will be used.
@@ -261,7 +258,8 @@ export interface Config {
261
258
  */
262
259
  projectId?: string;
263
260
  };
264
- };
261
+ }
262
+ );
265
263
 
266
264
  /**
267
265
  * @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.2",
3
+ "version": "1.10.10-next.3",
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.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",
64
64
  "@backstage/config": "^1.2.0",
65
65
  "@backstage/errors": "^1.2.4",
66
66
  "@backstage/integration": "^1.14.0-next.0",
67
- "@backstage/plugin-catalog-common": "^1.0.26-next.1",
67
+ "@backstage/plugin-catalog-common": "^1.0.26-next.2",
68
68
  "@backstage/plugin-permission-common": "^0.8.1-next.1",
69
- "@backstage/plugin-search-backend-module-techdocs": "^0.1.28-next.2",
69
+ "@backstage/plugin-search-backend-module-techdocs": "^0.1.28-next.3",
70
70
  "@backstage/plugin-techdocs-common": "^0.1.0-next.0",
71
- "@backstage/plugin-techdocs-node": "^1.12.9-next.2",
71
+ "@backstage/plugin-techdocs-node": "^1.12.9-next.3",
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-next.3",
84
+ "@backstage/backend-test-utils": "^0.4.5-next.3",
85
+ "@backstage/cli": "^0.27.0-next.4",
86
86
  "msw": "^1.0.0",
87
87
  "supertest": "^6.1.3"
88
88
  },