Merge branch 'master' of github.com:zjpersc/backstage into techdocs-global

This commit is contained in:
zjpersc
2023-03-07 16:22:10 -06:00
828 changed files with 15600 additions and 2162 deletions
+25
View File
@@ -1,5 +1,30 @@
# @techdocs/cli
## 1.4.0-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-techdocs-node@1.6.0-next.2
- @backstage/backend-common@0.18.3-next.2
- @backstage/config@1.0.7-next.0
## 1.4.0-next.1
### Minor Changes
- 8e465ce52e2: Running `@techdocs/cli generate` with the `--verbose` flag will now print the mkdocs output.
- ea2bbef1b16: Added support for an HTTPS proxy for techdocs AWS S3 requests
### Patch Changes
- Updated dependencies
- @backstage/plugin-techdocs-node@1.6.0-next.1
- @backstage/backend-common@0.18.3-next.1
- @backstage/cli-common@0.1.12-next.0
- @backstage/config@1.0.7-next.0
- @backstage/catalog-model@1.2.1-next.1
## 1.3.3-next.0
### Patch Changes
+1
View File
@@ -77,6 +77,7 @@ Options:
--azureAccountKey <AZURE ACCOUNT KEY>
--awsRoleArn <AWS ROLE ARN>
--awsEndpoint <AWS ENDPOINT>
--awsProxy <HTTPS Proxy>
--awsS3sse <AWS SSE>
--awsS3ForcePathStyle
--awsBucketRootPath <AWS BUCKET ROOT PATH>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@techdocs/cli",
"description": "Utility CLI for managing TechDocs sites in Backstage.",
"version": "1.3.3-next.0",
"version": "1.4.0-next.2",
"publishConfig": {
"access": "public"
},
@@ -173,6 +173,10 @@ export function registerCommands(program: Command) {
'--awsEndpoint <AWS ENDPOINT>',
'Optional AWS endpoint to send requests to.',
)
.option(
'--awsProxy <HTTPS Proxy>',
'Optional Proxy to use for AWS requests.',
)
.option('--awsS3sse <AWS SSE>', 'Optional AWS S3 Server Side Encryption.')
.option(
'--awsS3ForcePathStyle',
@@ -94,6 +94,7 @@ export class PublisherConfig {
...(opts.awsEndpoint && { endpoint: opts.awsEndpoint }),
...(opts.awsS3ForcePathStyle && { s3ForcePathStyle: true }),
...(opts.awsS3sse && { sse: opts.awsS3sse }),
...(opts.awsProxy && { httpsProxy: opts.awsProxy }),
},
};
}