@backstage/plugin-techdocs-node 0.0.0-nightly-20241001023625 → 0.0.0-nightly-20241003023252
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 +19 -3
- package/dist/index.cjs.js +7 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs-node
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20241003023252
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- 7774828: Updated dependency `@smithy/node-http-handler` to `^3.0.0`.
|
|
8
|
+
- fbdc631: Allow to pass StorageOptions to GCS Publisher
|
|
7
9
|
- Updated dependencies
|
|
8
|
-
- @backstage/
|
|
10
|
+
- @backstage/integration@0.0.0-nightly-20241003023252
|
|
11
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20241003023252
|
|
12
|
+
- @backstage/catalog-model@1.7.0
|
|
13
|
+
- @backstage/config@1.2.0
|
|
14
|
+
- @backstage/errors@1.2.4
|
|
15
|
+
- @backstage/integration-aws-node@0.1.12
|
|
16
|
+
- @backstage/plugin-search-common@1.2.14
|
|
17
|
+
- @backstage/plugin-techdocs-common@0.1.0
|
|
18
|
+
|
|
19
|
+
## 1.12.12-next.1
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @backstage/integration@1.15.1-next.0
|
|
25
|
+
- @backstage/backend-plugin-api@1.0.1-next.0
|
|
9
26
|
- @backstage/catalog-model@1.7.0
|
|
10
27
|
- @backstage/config@1.2.0
|
|
11
28
|
- @backstage/errors@1.2.4
|
|
12
|
-
- @backstage/integration@1.15.0
|
|
13
29
|
- @backstage/integration-aws-node@0.1.12
|
|
14
30
|
- @backstage/plugin-search-common@1.2.14
|
|
15
31
|
- @backstage/plugin-techdocs-common@0.1.0
|
package/dist/index.cjs.js
CHANGED
|
@@ -1737,7 +1737,7 @@ class GoogleGCSPublish {
|
|
|
1737
1737
|
this.logger = options.logger;
|
|
1738
1738
|
this.bucketRootPath = options.bucketRootPath;
|
|
1739
1739
|
}
|
|
1740
|
-
static fromConfig(config, logger) {
|
|
1740
|
+
static fromConfig(config, logger, options) {
|
|
1741
1741
|
let bucketName = "";
|
|
1742
1742
|
try {
|
|
1743
1743
|
bucketName = config.getString("techdocs.publisher.googleGcs.bucketName");
|
|
@@ -1765,7 +1765,7 @@ class GoogleGCSPublish {
|
|
|
1765
1765
|
);
|
|
1766
1766
|
}
|
|
1767
1767
|
}
|
|
1768
|
-
const clientOpts = {};
|
|
1768
|
+
const clientOpts = options ?? {};
|
|
1769
1769
|
if (projectId) {
|
|
1770
1770
|
clientOpts.projectId = projectId;
|
|
1771
1771
|
}
|
|
@@ -2527,7 +2527,11 @@ class Publisher {
|
|
|
2527
2527
|
logger.info("Creating Google Storage Bucket publisher for TechDocs");
|
|
2528
2528
|
publishers.register(
|
|
2529
2529
|
publisherType,
|
|
2530
|
-
GoogleGCSPublish.fromConfig(
|
|
2530
|
+
GoogleGCSPublish.fromConfig(
|
|
2531
|
+
config,
|
|
2532
|
+
logger,
|
|
2533
|
+
options.publisherSettings?.googleGcs
|
|
2534
|
+
)
|
|
2531
2535
|
);
|
|
2532
2536
|
break;
|
|
2533
2537
|
case "awsS3":
|