@backstage/plugin-techdocs-backend 0.0.0-nightly-20240814021923 → 0.0.0-nightly-20240816021916

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,26 @@
1
1
  # @backstage/plugin-techdocs-backend
2
2
 
3
- ## 0.0.0-nightly-20240814021923
3
+ ## 0.0.0-nightly-20240816021916
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-20240814021923
12
- - @backstage/backend-common@0.0.0-nightly-20240814021923
13
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20240814021923
14
- - @backstage/plugin-permission-common@0.0.0-nightly-20240814021923
15
- - @backstage/plugin-search-backend-module-techdocs@0.0.0-nightly-20240814021923
16
- - @backstage/integration@0.0.0-nightly-20240814021923
17
- - @backstage/plugin-techdocs-common@0.0.0-nightly-20240814021923
18
- - @backstage/catalog-model@0.0.0-nightly-20240814021923
19
- - @backstage/catalog-client@0.0.0-nightly-20240814021923
12
+ - @backstage/backend-plugin-api@0.0.0-nightly-20240816021916
13
+ - @backstage/backend-common@0.0.0-nightly-20240816021916
14
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20240816021916
15
+ - @backstage/plugin-permission-common@0.0.0-nightly-20240816021916
16
+ - @backstage/plugin-search-backend-module-techdocs@0.0.0-nightly-20240816021916
17
+ - @backstage/integration@0.0.0-nightly-20240816021916
18
+ - @backstage/plugin-techdocs-common@0.0.0-nightly-20240816021916
19
+ - @backstage/catalog-model@0.0.0-nightly-20240816021916
20
+ - @backstage/catalog-client@0.0.0-nightly-20240816021916
20
21
  - @backstage/config@1.2.0
21
22
  - @backstage/errors@1.2.4
22
- - @backstage/plugin-catalog-common@0.0.0-nightly-20240814021923
23
+ - @backstage/plugin-catalog-common@0.0.0-nightly-20240816021916
23
24
 
24
25
  ## 1.10.10-next.3
25
26
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend__alpha",
3
- "version": "0.0.0-nightly-20240814021923",
3
+ "version": "0.0.0-nightly-20240816021916",
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-20240814021923",
3
+ "version": "0.0.0-nightly-20240816021916",
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-20240814021923",
61
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20240814021923",
62
- "@backstage/catalog-client": "^0.0.0-nightly-20240814021923",
63
- "@backstage/catalog-model": "^0.0.0-nightly-20240814021923",
60
+ "@backstage/backend-common": "^0.0.0-nightly-20240816021916",
61
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20240816021916",
62
+ "@backstage/catalog-client": "^0.0.0-nightly-20240816021916",
63
+ "@backstage/catalog-model": "^0.0.0-nightly-20240816021916",
64
64
  "@backstage/config": "^1.2.0",
65
65
  "@backstage/errors": "^1.2.4",
66
- "@backstage/integration": "^0.0.0-nightly-20240814021923",
67
- "@backstage/plugin-catalog-common": "^0.0.0-nightly-20240814021923",
68
- "@backstage/plugin-permission-common": "^0.0.0-nightly-20240814021923",
69
- "@backstage/plugin-search-backend-module-techdocs": "^0.0.0-nightly-20240814021923",
70
- "@backstage/plugin-techdocs-common": "^0.0.0-nightly-20240814021923",
71
- "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240814021923",
66
+ "@backstage/integration": "^0.0.0-nightly-20240816021916",
67
+ "@backstage/plugin-catalog-common": "^0.0.0-nightly-20240816021916",
68
+ "@backstage/plugin-permission-common": "^0.0.0-nightly-20240816021916",
69
+ "@backstage/plugin-search-backend-module-techdocs": "^0.0.0-nightly-20240816021916",
70
+ "@backstage/plugin-techdocs-common": "^0.0.0-nightly-20240816021916",
71
+ "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240816021916",
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-20240814021923",
84
- "@backstage/backend-test-utils": "^0.0.0-nightly-20240814021923",
85
- "@backstage/cli": "^0.0.0-nightly-20240814021923",
83
+ "@backstage/backend-defaults": "^0.0.0-nightly-20240816021916",
84
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20240816021916",
85
+ "@backstage/cli": "^0.0.0-nightly-20240816021916",
86
86
  "msw": "^1.0.0",
87
87
  "supertest": "^6.1.3"
88
88
  },