@backstage/plugin-techdocs-node 1.12.9 → 1.12.11-next.0
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 +16 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +184 -153
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs-node
|
|
2
2
|
|
|
3
|
+
## 1.12.11-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4417dd4: Fix typo and unify TechDocs casing in doc strings
|
|
8
|
+
- 33ebb28: As the `@backstage/backend-common` package is deprecated, we have updated the `techdocs-node` package to stop depending on it.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/backend-plugin-api@0.9.0-next.0
|
|
11
|
+
- @backstage/catalog-model@1.6.0
|
|
12
|
+
- @backstage/config@1.2.0
|
|
13
|
+
- @backstage/errors@1.2.4
|
|
14
|
+
- @backstage/integration@1.14.0
|
|
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
|
+
|
|
3
19
|
## 1.12.9
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -1249,7 +1249,7 @@ class AwsS3Publish {
|
|
|
1249
1249
|
return;
|
|
1250
1250
|
}
|
|
1251
1251
|
try {
|
|
1252
|
-
this.logger.
|
|
1252
|
+
this.logger.debug(`Migrating ${file}`);
|
|
1253
1253
|
await this.storageClient.send(
|
|
1254
1254
|
new clientS3.CopyObjectCommand({
|
|
1255
1255
|
Bucket: this.bucketName,
|
|
@@ -1572,7 +1572,7 @@ class AzureBlobStoragePublish {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
if (originalPath === newPath) return;
|
|
1574
1574
|
try {
|
|
1575
|
-
this.logger.
|
|
1575
|
+
this.logger.debug(`Migrating ${originalPath}`);
|
|
1576
1576
|
await this.renameBlob(originalPath, newPath, removeOriginal);
|
|
1577
1577
|
} catch (e) {
|
|
1578
1578
|
errors.assertError(e);
|
|
@@ -1648,7 +1648,7 @@ class MigrateWriteStream extends stream.Writable {
|
|
|
1648
1648
|
shouldCallNext = false;
|
|
1649
1649
|
}
|
|
1650
1650
|
const migrate = this.removeOriginal ? file.move.bind(file) : file.copy.bind(file);
|
|
1651
|
-
this.logger.
|
|
1651
|
+
this.logger.debug(`Migrating ${file.name}`);
|
|
1652
1652
|
migrate(newFile).catch(
|
|
1653
1653
|
(e) => this.logger.warn(`Unable to migrate ${file.name}: ${e.message}`)
|
|
1654
1654
|
).finally(() => {
|
|
@@ -2106,7 +2106,7 @@ class LocalPublish {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
await new Promise((resolve) => {
|
|
2108
2108
|
const migrate = removeOriginal ? fs__default.default.move : fs__default.default.copyFile;
|
|
2109
|
-
this.logger.
|
|
2109
|
+
this.logger.debug(`Migrating ${relativeFile}`);
|
|
2110
2110
|
migrate(file, newFile, (err) => {
|
|
2111
2111
|
if (err) {
|
|
2112
2112
|
this.logger.warn(
|
|
@@ -2370,7 +2370,7 @@ class OpenStackSwiftPublish {
|
|
|
2370
2370
|
return;
|
|
2371
2371
|
}
|
|
2372
2372
|
try {
|
|
2373
|
-
this.logger.
|
|
2373
|
+
this.logger.debug(`Migrating ${file} to ${newPath}`);
|
|
2374
2374
|
await this.storageClient.copy(
|
|
2375
2375
|
this.containerName,
|
|
2376
2376
|
file,
|