@techdocs/cli 0.0.0-nightly-20231120021609 → 0.0.0-nightly-20231122021643
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 +22 -3
- package/dist/cjs/{generate-5fb2bc8c.cjs.js → generate-f9a039d6.cjs.js} +3 -2
- package/dist/cjs/{generate-5fb2bc8c.cjs.js.map → generate-f9a039d6.cjs.js.map} +1 -1
- package/dist/embedded-app/.config-schema.json +507 -20
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/static/{1032.88fa9fda.chunk.js → 1032.8ff1a4ae.chunk.js} +2 -2
- package/dist/embedded-app/static/{1032.88fa9fda.chunk.js.map → 1032.8ff1a4ae.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{1105.2ef0665c.chunk.js → 1105.cdd66625.chunk.js} +2 -2
- package/dist/embedded-app/static/{1105.2ef0665c.chunk.js.map → 1105.cdd66625.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{184.8fc549e9.chunk.js → 184.c5591ae8.chunk.js} +2 -2
- package/dist/embedded-app/static/{184.8fc549e9.chunk.js.map → 184.c5591ae8.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{2440.2451b337.chunk.js → 2440.f1360e66.chunk.js} +2 -2
- package/dist/embedded-app/static/{2440.2451b337.chunk.js.map → 2440.f1360e66.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{3487.1c93df49.chunk.js → 3487.8e09c79a.chunk.js} +2 -2
- package/dist/embedded-app/static/{3487.1c93df49.chunk.js.map → 3487.8e09c79a.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{3510.6d8cb98c.chunk.js → 3510.3082d0d9.chunk.js} +1 -1
- package/dist/embedded-app/static/{3510.6d8cb98c.chunk.js.map → 3510.3082d0d9.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{4109.6335d16f.chunk.js → 4109.703c7257.chunk.js} +1 -1
- package/dist/embedded-app/static/4109.703c7257.chunk.js.map +1 -0
- package/dist/embedded-app/static/{5458.abed4572.chunk.js → 5458.8860bd67.chunk.js} +2 -2
- package/dist/embedded-app/static/{5458.abed4572.chunk.js.map → 5458.8860bd67.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{5877.c521a57f.chunk.js → 5877.a7d3fb6d.chunk.js} +2 -2
- package/dist/embedded-app/static/5877.a7d3fb6d.chunk.js.map +1 -0
- package/dist/embedded-app/static/{7750.cb06dc85.chunk.js → 7750.80c8867a.chunk.js} +1 -1
- package/dist/embedded-app/static/7750.80c8867a.chunk.js.map +1 -0
- package/dist/embedded-app/static/{8096.e4370e56.chunk.js → 8096.c58c75a0.chunk.js} +1 -1
- package/dist/embedded-app/static/8096.c58c75a0.chunk.js.map +1 -0
- package/dist/embedded-app/static/{9545.8e4a2868.chunk.js → 9545.d08cf7be.chunk.js} +2 -2
- package/dist/embedded-app/static/9545.d08cf7be.chunk.js.map +1 -0
- package/dist/embedded-app/static/{9770.2d75fe33.chunk.js → 9770.733a2bbb.chunk.js} +2 -2
- package/dist/embedded-app/static/{9770.2d75fe33.chunk.js.map → 9770.733a2bbb.chunk.js.map} +1 -1
- package/dist/embedded-app/static/9814.d48dafd2.chunk.js +3 -0
- package/dist/embedded-app/static/9814.d48dafd2.chunk.js.map +1 -0
- package/dist/embedded-app/static/main.2b22ee03.js +487 -0
- package/dist/embedded-app/static/main.2b22ee03.js.map +1 -0
- package/dist/embedded-app/static/{module-material-ui.263ce9b5.js → module-material-ui.0420d68d.js} +2 -2
- package/dist/embedded-app/static/{module-material-ui.263ce9b5.js.map → module-material-ui.0420d68d.js.map} +1 -1
- package/dist/embedded-app/static/{runtime.aca7118f.js → runtime.2b22ee03.js} +2 -2
- package/dist/embedded-app/static/{runtime.aca7118f.js.map → runtime.2b22ee03.js.map} +1 -1
- package/dist/embedded-app/static/vendor.2b22ee03.js +159 -0
- package/dist/embedded-app/static/vendor.2b22ee03.js.map +1 -0
- package/dist/index.cjs.js +6 -2
- package/dist/index.cjs.js.map +1 -1
- package/package.json +4 -4
- package/dist/embedded-app/static/1600.951887bd.chunk.js +0 -3
- package/dist/embedded-app/static/1600.951887bd.chunk.js.map +0 -1
- package/dist/embedded-app/static/4109.6335d16f.chunk.js.map +0 -1
- package/dist/embedded-app/static/5877.c521a57f.chunk.js.map +0 -1
- package/dist/embedded-app/static/7750.cb06dc85.chunk.js.map +0 -1
- package/dist/embedded-app/static/8096.e4370e56.chunk.js.map +0 -1
- package/dist/embedded-app/static/9545.8e4a2868.chunk.js.map +0 -1
- package/dist/embedded-app/static/main.aca7118f.js +0 -487
- package/dist/embedded-app/static/main.aca7118f.js.map +0 -1
- package/dist/embedded-app/static/vendor.aca7118f.js +0 -207
- package/dist/embedded-app/static/vendor.aca7118f.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20231122021643
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d15d483a4928: Add command `--runAsDefaultUser` for `@techdocs/cli generate` to bypass running the docker builds as host user for macOS and Linux.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/backend-common@0.0.0-nightly-20231122021643
|
|
13
|
+
- @backstage/plugin-techdocs-node@0.0.0-nightly-20231122021643
|
|
14
|
+
- @backstage/catalog-model@1.4.3
|
|
15
|
+
- @backstage/cli-common@0.1.13
|
|
16
|
+
- @backstage/config@1.1.1
|
|
17
|
+
|
|
18
|
+
## 1.8.0-next.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- d15d483a49: Add command `--runAsDefaultUser` for `@techdocs/cli generate` to bypass running the docker builds as host user for macOS and Linux.
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
6
25
|
|
|
7
26
|
- Updated dependencies
|
|
8
|
-
- @backstage/backend-common@0.0.0
|
|
9
|
-
- @backstage/plugin-techdocs-node@
|
|
27
|
+
- @backstage/backend-common@0.20.0-next.0
|
|
28
|
+
- @backstage/plugin-techdocs-node@1.11.0-next.0
|
|
10
29
|
- @backstage/catalog-model@1.4.3
|
|
11
30
|
- @backstage/cli-common@0.1.13
|
|
12
31
|
- @backstage/config@1.1.1
|
|
@@ -75,7 +75,8 @@ async function generate(opts) {
|
|
|
75
75
|
logger,
|
|
76
76
|
etag: opts.etag,
|
|
77
77
|
logStream: utility.getLogStream(logger),
|
|
78
|
-
siteOptions: { name: opts.siteName }
|
|
78
|
+
siteOptions: { name: opts.siteName },
|
|
79
|
+
runAsDefaultUser: opts.runAsDefaultUser
|
|
79
80
|
});
|
|
80
81
|
if (configIsTemporary) {
|
|
81
82
|
process.on("exit", async () => {
|
|
@@ -86,4 +87,4 @@ async function generate(opts) {
|
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
exports["default"] = generate;
|
|
89
|
-
//# sourceMappingURL=generate-
|
|
90
|
+
//# sourceMappingURL=generate-f9a039d6.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-
|
|
1
|
+
{"version":3,"file":"generate-f9a039d6.cjs.js","sources":["../../src/commands/generate/generate.ts"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { resolve } from 'path';\nimport { OptionValues } from 'commander';\nimport fs from 'fs-extra';\nimport Docker from 'dockerode';\nimport {\n TechdocsGenerator,\n ParsedLocationAnnotation,\n getMkdocsYml,\n} from '@backstage/plugin-techdocs-node';\nimport {\n ContainerRunner,\n DockerContainerRunner,\n} from '@backstage/backend-common';\nimport { ConfigReader } from '@backstage/config';\nimport {\n convertTechDocsRefToLocationAnnotation,\n createLogger,\n getLogStream,\n} from '../../lib/utility';\n\nexport default async function generate(opts: OptionValues) {\n // Use techdocs-node package to generate docs. Keep consistency between Backstage and CI generating docs.\n // Docs can be prepared using actions/checkout or git clone, or similar paradigms on CI. The TechDocs CI workflow\n // will run on the CI pipeline containing the documentation files.\n\n const logger = createLogger({ verbose: opts.verbose });\n\n const sourceDir = resolve(opts.sourceDir);\n const outputDir = resolve(opts.outputDir);\n const omitTechdocsCorePlugin = opts.omitTechdocsCoreMkdocsPlugin;\n const dockerImage = opts.dockerImage;\n const pullImage = opts.pull;\n const legacyCopyReadmeMdToIndexMd = opts.legacyCopyReadmeMdToIndexMd;\n const defaultPlugins = opts.defaultPlugin;\n\n logger.info(`Using source dir ${sourceDir}`);\n logger.info(`Will output generated files in ${outputDir}`);\n\n logger.verbose('Creating output directory if it does not exist.');\n\n await fs.ensureDir(outputDir);\n\n const { path: mkdocsYmlPath, configIsTemporary } = await getMkdocsYml(\n sourceDir,\n );\n\n const config = new ConfigReader({\n techdocs: {\n generator: {\n runIn: opts.docker ? 'docker' : 'local',\n dockerImage,\n pullImage,\n mkdocs: {\n legacyCopyReadmeMdToIndexMd,\n omitTechdocsCorePlugin,\n defaultPlugins,\n },\n },\n },\n });\n\n // Docker client (conditionally) used by the generators, based on techdocs.generators config.\n let containerRunner: ContainerRunner | undefined;\n\n if (opts.docker) {\n const dockerClient = new Docker();\n containerRunner = new DockerContainerRunner({ dockerClient });\n }\n\n let parsedLocationAnnotation = {} as ParsedLocationAnnotation;\n if (opts.techdocsRef) {\n try {\n parsedLocationAnnotation = convertTechDocsRefToLocationAnnotation(\n opts.techdocsRef,\n );\n } catch (err) {\n logger.error(err.message);\n }\n }\n\n // Generate docs using @backstage/plugin-techdocs-node\n const techdocsGenerator = await TechdocsGenerator.fromConfig(config, {\n logger,\n containerRunner,\n });\n\n logger.info('Generating documentation...');\n\n await techdocsGenerator.run({\n inputDir: sourceDir,\n outputDir,\n ...(opts.techdocsRef\n ? {\n parsedLocationAnnotation,\n }\n : {}),\n logger,\n etag: opts.etag,\n logStream: getLogStream(logger),\n siteOptions: { name: opts.siteName },\n runAsDefaultUser: opts.runAsDefaultUser,\n });\n\n if (configIsTemporary) {\n process.on('exit', async () => {\n fs.rmSync(mkdocsYmlPath, {});\n });\n }\n\n logger.info('Done!');\n}\n"],"names":["createLogger","resolve","fs","getMkdocsYml","config","ConfigReader","Docker","DockerContainerRunner","convertTechDocsRefToLocationAnnotation","TechdocsGenerator","getLogStream"],"mappings":"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"}
|
|
@@ -95,26 +95,6 @@
|
|
|
95
95
|
},
|
|
96
96
|
"path": "../cli/package.json"
|
|
97
97
|
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../plugins/permission-common/config.d.ts",
|
|
100
|
-
"value": {
|
|
101
|
-
"type": "object",
|
|
102
|
-
"properties": {
|
|
103
|
-
"permission": {
|
|
104
|
-
"description": "Configuration options for Backstage permissions and authorization",
|
|
105
|
-
"type": "object",
|
|
106
|
-
"properties": {
|
|
107
|
-
"enabled": {
|
|
108
|
-
"description": "Whether authorization is enabled in Backstage. Defaults to false, which means authorization\nrequests will be automatically allowed without invoking the authorization policy.",
|
|
109
|
-
"visibility": "frontend",
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
98
|
{
|
|
119
99
|
"path": "../core-app-api/config.d.ts",
|
|
120
100
|
"value": {
|
|
@@ -323,6 +303,26 @@
|
|
|
323
303
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
324
304
|
}
|
|
325
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"path": "../../plugins/permission-common/config.d.ts",
|
|
308
|
+
"value": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"properties": {
|
|
311
|
+
"permission": {
|
|
312
|
+
"description": "Configuration options for Backstage permissions and authorization",
|
|
313
|
+
"type": "object",
|
|
314
|
+
"properties": {
|
|
315
|
+
"enabled": {
|
|
316
|
+
"description": "Whether authorization is enabled in Backstage. Defaults to false, which means authorization\nrequests will be automatically allowed without invoking the authorization policy.",
|
|
317
|
+
"visibility": "frontend",
|
|
318
|
+
"type": "boolean"
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
326
|
{
|
|
327
327
|
"path": "../core-components/config.d.ts",
|
|
328
328
|
"value": {
|
|
@@ -828,6 +828,36 @@
|
|
|
828
828
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
829
829
|
}
|
|
830
830
|
},
|
|
831
|
+
{
|
|
832
|
+
"path": "../../plugins/catalog/config.d.ts",
|
|
833
|
+
"value": {
|
|
834
|
+
"type": "object",
|
|
835
|
+
"properties": {
|
|
836
|
+
"catalog": {
|
|
837
|
+
"type": "object",
|
|
838
|
+
"properties": {
|
|
839
|
+
"experimentalPagination": {
|
|
840
|
+
"deepVisibility": "frontend",
|
|
841
|
+
"anyOf": [
|
|
842
|
+
{
|
|
843
|
+
"type": "object",
|
|
844
|
+
"properties": {
|
|
845
|
+
"limit": {
|
|
846
|
+
"type": "number"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"type": "boolean"
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
831
861
|
{
|
|
832
862
|
"path": "../frontend-app-api/config.d.ts",
|
|
833
863
|
"value": {
|
|
@@ -1560,6 +1590,463 @@
|
|
|
1560
1590
|
},
|
|
1561
1591
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1562
1592
|
}
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/plugin-catalog-react/node_modules/@backstage/core-components/config.d.ts",
|
|
1596
|
+
"value": {
|
|
1597
|
+
"type": "object",
|
|
1598
|
+
"properties": {
|
|
1599
|
+
"auth": {
|
|
1600
|
+
"type": "object",
|
|
1601
|
+
"properties": {
|
|
1602
|
+
"autologout": {
|
|
1603
|
+
"description": "Autologout feature configuration",
|
|
1604
|
+
"type": "object",
|
|
1605
|
+
"properties": {
|
|
1606
|
+
"enabled": {
|
|
1607
|
+
"description": "Enable or disable the autologout feature",
|
|
1608
|
+
"visibility": "frontend",
|
|
1609
|
+
"type": "boolean"
|
|
1610
|
+
},
|
|
1611
|
+
"idleTimeoutMinutes": {
|
|
1612
|
+
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
1613
|
+
"visibility": "frontend",
|
|
1614
|
+
"type": "number"
|
|
1615
|
+
},
|
|
1616
|
+
"promptBeforeIdleSeconds": {
|
|
1617
|
+
"description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
|
|
1618
|
+
"visibility": "frontend",
|
|
1619
|
+
"type": "number"
|
|
1620
|
+
},
|
|
1621
|
+
"useWorkerTimers": {
|
|
1622
|
+
"description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
|
|
1623
|
+
"visibility": "frontend",
|
|
1624
|
+
"type": "boolean"
|
|
1625
|
+
},
|
|
1626
|
+
"logoutIfDisconnected": {
|
|
1627
|
+
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
1628
|
+
"visibility": "frontend",
|
|
1629
|
+
"type": "boolean"
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/integration/config.d.ts",
|
|
1641
|
+
"value": {
|
|
1642
|
+
"type": "object",
|
|
1643
|
+
"properties": {
|
|
1644
|
+
"integrations": {
|
|
1645
|
+
"description": "Configuration for integrations towards various external repository provider systems",
|
|
1646
|
+
"visibility": "frontend",
|
|
1647
|
+
"type": "object",
|
|
1648
|
+
"properties": {
|
|
1649
|
+
"azure": {
|
|
1650
|
+
"description": "Integration configuration for Azure",
|
|
1651
|
+
"type": "array",
|
|
1652
|
+
"items": {
|
|
1653
|
+
"type": "object",
|
|
1654
|
+
"properties": {
|
|
1655
|
+
"host": {
|
|
1656
|
+
"description": "The hostname of the given Azure instance",
|
|
1657
|
+
"visibility": "frontend",
|
|
1658
|
+
"type": "string"
|
|
1659
|
+
},
|
|
1660
|
+
"token": {
|
|
1661
|
+
"description": "Token used to authenticate requests.",
|
|
1662
|
+
"visibility": "secret",
|
|
1663
|
+
"deprecated": "Use `credentials` instead.",
|
|
1664
|
+
"type": "string"
|
|
1665
|
+
},
|
|
1666
|
+
"credential": {
|
|
1667
|
+
"description": "The credential to use for requests.\n\nIf no credential is specified anonymous access is used.",
|
|
1668
|
+
"deepVisibility": "secret",
|
|
1669
|
+
"deprecated": "Use `credentials` instead.",
|
|
1670
|
+
"type": "object",
|
|
1671
|
+
"properties": {
|
|
1672
|
+
"clientId": {
|
|
1673
|
+
"type": "string"
|
|
1674
|
+
},
|
|
1675
|
+
"clientSecret": {
|
|
1676
|
+
"type": "string"
|
|
1677
|
+
},
|
|
1678
|
+
"tenantId": {
|
|
1679
|
+
"type": "string"
|
|
1680
|
+
},
|
|
1681
|
+
"personalAccessToken": {
|
|
1682
|
+
"type": "string"
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
"credentials": {
|
|
1687
|
+
"description": "The credentials to use for requests. If multiple credentials are specified the first one that matches the organization is used.\nIf not organization matches the first credential without an organization is used.\n\nIf no credentials are specified at all, either a default credential (for Azure DevOps) or anonymous access (for Azure DevOps Server) is used.",
|
|
1688
|
+
"deepVisibility": "secret",
|
|
1689
|
+
"type": "array",
|
|
1690
|
+
"items": {
|
|
1691
|
+
"type": "object",
|
|
1692
|
+
"properties": {
|
|
1693
|
+
"clientId": {
|
|
1694
|
+
"type": "string"
|
|
1695
|
+
},
|
|
1696
|
+
"clientSecret": {
|
|
1697
|
+
"type": "string"
|
|
1698
|
+
},
|
|
1699
|
+
"tenantId": {
|
|
1700
|
+
"type": "string"
|
|
1701
|
+
},
|
|
1702
|
+
"personalAccessToken": {
|
|
1703
|
+
"type": "string"
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
"required": [
|
|
1710
|
+
"host"
|
|
1711
|
+
]
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
"bitbucket": {
|
|
1715
|
+
"description": "Integration configuration for Bitbucket",
|
|
1716
|
+
"deprecated": "replaced by bitbucketCloud and bitbucketServer",
|
|
1717
|
+
"type": "array",
|
|
1718
|
+
"items": {
|
|
1719
|
+
"type": "object",
|
|
1720
|
+
"properties": {
|
|
1721
|
+
"host": {
|
|
1722
|
+
"description": "The hostname of the given Bitbucket instance",
|
|
1723
|
+
"visibility": "frontend",
|
|
1724
|
+
"type": "string"
|
|
1725
|
+
},
|
|
1726
|
+
"token": {
|
|
1727
|
+
"description": "Token used to authenticate requests.",
|
|
1728
|
+
"visibility": "secret",
|
|
1729
|
+
"type": "string"
|
|
1730
|
+
},
|
|
1731
|
+
"apiBaseUrl": {
|
|
1732
|
+
"description": "The base url for the Bitbucket API, for example https://api.bitbucket.org/2.0",
|
|
1733
|
+
"visibility": "frontend",
|
|
1734
|
+
"type": "string"
|
|
1735
|
+
},
|
|
1736
|
+
"username": {
|
|
1737
|
+
"description": "The username to use for authenticated requests.",
|
|
1738
|
+
"visibility": "secret",
|
|
1739
|
+
"type": "string"
|
|
1740
|
+
},
|
|
1741
|
+
"appPassword": {
|
|
1742
|
+
"description": "Bitbucket app password used to authenticate requests.",
|
|
1743
|
+
"visibility": "secret",
|
|
1744
|
+
"type": "string"
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"required": [
|
|
1748
|
+
"host"
|
|
1749
|
+
]
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"bitbucketCloud": {
|
|
1753
|
+
"description": "Integration configuration for Bitbucket Cloud",
|
|
1754
|
+
"type": "array",
|
|
1755
|
+
"items": {
|
|
1756
|
+
"type": "object",
|
|
1757
|
+
"properties": {
|
|
1758
|
+
"username": {
|
|
1759
|
+
"description": "The username to use for authenticated requests.",
|
|
1760
|
+
"visibility": "secret",
|
|
1761
|
+
"type": "string"
|
|
1762
|
+
},
|
|
1763
|
+
"appPassword": {
|
|
1764
|
+
"description": "Bitbucket Cloud app password used to authenticate requests.",
|
|
1765
|
+
"visibility": "secret",
|
|
1766
|
+
"type": "string"
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"required": [
|
|
1770
|
+
"appPassword",
|
|
1771
|
+
"username"
|
|
1772
|
+
]
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
"bitbucketServer": {
|
|
1776
|
+
"description": "Integration configuration for Bitbucket Server",
|
|
1777
|
+
"type": "array",
|
|
1778
|
+
"items": {
|
|
1779
|
+
"type": "object",
|
|
1780
|
+
"properties": {
|
|
1781
|
+
"host": {
|
|
1782
|
+
"description": "The hostname of the given Bitbucket Server instance",
|
|
1783
|
+
"visibility": "frontend",
|
|
1784
|
+
"type": "string"
|
|
1785
|
+
},
|
|
1786
|
+
"token": {
|
|
1787
|
+
"description": "Token used to authenticate requests.",
|
|
1788
|
+
"visibility": "secret",
|
|
1789
|
+
"type": "string"
|
|
1790
|
+
},
|
|
1791
|
+
"username": {
|
|
1792
|
+
"description": "Username used to authenticate requests with Basic Auth.",
|
|
1793
|
+
"visibility": "secret",
|
|
1794
|
+
"type": "string"
|
|
1795
|
+
},
|
|
1796
|
+
"password": {
|
|
1797
|
+
"description": "Password (or token as password) used to authenticate requests with Basic Auth.",
|
|
1798
|
+
"visibility": "secret",
|
|
1799
|
+
"type": "string"
|
|
1800
|
+
},
|
|
1801
|
+
"apiBaseUrl": {
|
|
1802
|
+
"description": "The base url for the Bitbucket Server API, for example https://<host>/rest/api/1.0",
|
|
1803
|
+
"visibility": "frontend",
|
|
1804
|
+
"type": "string"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
"required": [
|
|
1808
|
+
"host"
|
|
1809
|
+
]
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
"gerrit": {
|
|
1813
|
+
"description": "Integration configuration for Gerrit",
|
|
1814
|
+
"type": "array",
|
|
1815
|
+
"items": {
|
|
1816
|
+
"type": "object",
|
|
1817
|
+
"properties": {
|
|
1818
|
+
"host": {
|
|
1819
|
+
"description": "The hostname of the given Gerrit instance",
|
|
1820
|
+
"visibility": "frontend",
|
|
1821
|
+
"type": "string"
|
|
1822
|
+
},
|
|
1823
|
+
"baseUrl": {
|
|
1824
|
+
"description": "The base url for the Gerrit instance.",
|
|
1825
|
+
"visibility": "frontend",
|
|
1826
|
+
"type": "string"
|
|
1827
|
+
},
|
|
1828
|
+
"cloneUrl": {
|
|
1829
|
+
"description": "The base url for cloning repos.",
|
|
1830
|
+
"visibility": "frontend",
|
|
1831
|
+
"type": "string"
|
|
1832
|
+
},
|
|
1833
|
+
"username": {
|
|
1834
|
+
"description": "The username to use for authenticated requests.",
|
|
1835
|
+
"visibility": "secret",
|
|
1836
|
+
"type": "string"
|
|
1837
|
+
},
|
|
1838
|
+
"password": {
|
|
1839
|
+
"description": "Gerrit password used to authenticate requests. This can be either a password\nor a generated access token.",
|
|
1840
|
+
"visibility": "secret",
|
|
1841
|
+
"type": "string"
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
"required": [
|
|
1845
|
+
"host"
|
|
1846
|
+
]
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
"github": {
|
|
1850
|
+
"description": "Integration configuration for GitHub",
|
|
1851
|
+
"type": "array",
|
|
1852
|
+
"items": {
|
|
1853
|
+
"type": "object",
|
|
1854
|
+
"properties": {
|
|
1855
|
+
"host": {
|
|
1856
|
+
"description": "The hostname of the given GitHub instance",
|
|
1857
|
+
"visibility": "frontend",
|
|
1858
|
+
"type": "string"
|
|
1859
|
+
},
|
|
1860
|
+
"token": {
|
|
1861
|
+
"description": "Token used to authenticate requests.",
|
|
1862
|
+
"visibility": "secret",
|
|
1863
|
+
"type": "string"
|
|
1864
|
+
},
|
|
1865
|
+
"apiBaseUrl": {
|
|
1866
|
+
"description": "The base url for the GitHub API, for example https://api.github.com",
|
|
1867
|
+
"visibility": "frontend",
|
|
1868
|
+
"type": "string"
|
|
1869
|
+
},
|
|
1870
|
+
"rawBaseUrl": {
|
|
1871
|
+
"description": "The base url for GitHub raw resources, for example https://raw.githubusercontent.com",
|
|
1872
|
+
"visibility": "frontend",
|
|
1873
|
+
"type": "string"
|
|
1874
|
+
},
|
|
1875
|
+
"apps": {
|
|
1876
|
+
"description": "GitHub Apps configuration",
|
|
1877
|
+
"type": "array",
|
|
1878
|
+
"items": {
|
|
1879
|
+
"type": "object",
|
|
1880
|
+
"properties": {
|
|
1881
|
+
"appId": {
|
|
1882
|
+
"description": "The numeric GitHub App ID, string for environment variables",
|
|
1883
|
+
"type": [
|
|
1884
|
+
"string",
|
|
1885
|
+
"number"
|
|
1886
|
+
]
|
|
1887
|
+
},
|
|
1888
|
+
"privateKey": {
|
|
1889
|
+
"description": "The private key to use for auth against the app",
|
|
1890
|
+
"visibility": "secret",
|
|
1891
|
+
"type": "string"
|
|
1892
|
+
},
|
|
1893
|
+
"webhookSecret": {
|
|
1894
|
+
"description": "The secret used for webhooks",
|
|
1895
|
+
"visibility": "secret",
|
|
1896
|
+
"type": "string"
|
|
1897
|
+
},
|
|
1898
|
+
"clientId": {
|
|
1899
|
+
"description": "The client ID to use",
|
|
1900
|
+
"type": "string"
|
|
1901
|
+
},
|
|
1902
|
+
"clientSecret": {
|
|
1903
|
+
"description": "The client secret to use",
|
|
1904
|
+
"visibility": "secret",
|
|
1905
|
+
"type": "string"
|
|
1906
|
+
},
|
|
1907
|
+
"allowedInstallationOwners": {
|
|
1908
|
+
"description": "List of installation owners allowed to be used by this GitHub app. The GitHub UI does not provide a way to list the installations.\nHowever you can list the installations with the GitHub API. You can find the list of installations here:\nhttps://api.github.com/app/installations\nThe relevant documentation for this is here.\nhttps://docs.github.com/en/rest/reference/apps#list-installations-for-the-authenticated-app--code-samples",
|
|
1909
|
+
"type": "array",
|
|
1910
|
+
"items": {
|
|
1911
|
+
"type": "string"
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
},
|
|
1915
|
+
"required": [
|
|
1916
|
+
"appId",
|
|
1917
|
+
"clientId",
|
|
1918
|
+
"clientSecret",
|
|
1919
|
+
"privateKey",
|
|
1920
|
+
"webhookSecret"
|
|
1921
|
+
]
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
"required": [
|
|
1926
|
+
"host"
|
|
1927
|
+
]
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
"gitlab": {
|
|
1931
|
+
"description": "Integration configuration for GitLab",
|
|
1932
|
+
"type": "array",
|
|
1933
|
+
"items": {
|
|
1934
|
+
"type": "object",
|
|
1935
|
+
"properties": {
|
|
1936
|
+
"host": {
|
|
1937
|
+
"description": "The host of the target that this matches on, e.g. \"gitlab.com\".",
|
|
1938
|
+
"visibility": "frontend",
|
|
1939
|
+
"type": "string"
|
|
1940
|
+
},
|
|
1941
|
+
"apiBaseUrl": {
|
|
1942
|
+
"description": "The base URL of the API of this provider, e.g.\n\"https://gitlab.com/api/v4\", with no trailing slash.\n\nMay be omitted specifically for public GitLab; then it will be deduced.",
|
|
1943
|
+
"visibility": "frontend",
|
|
1944
|
+
"type": "string"
|
|
1945
|
+
},
|
|
1946
|
+
"token": {
|
|
1947
|
+
"description": "The authorization token to use for requests to this provider.\n\nIf no token is specified, anonymous access is used.",
|
|
1948
|
+
"visibility": "secret",
|
|
1949
|
+
"type": "string"
|
|
1950
|
+
},
|
|
1951
|
+
"baseUrl": {
|
|
1952
|
+
"description": "The baseUrl of this provider, e.g. \"https://gitlab.com\", which is\npassed into the GitLab client.\n\nIf no baseUrl is provided, it will default to https://${host}.",
|
|
1953
|
+
"visibility": "frontend",
|
|
1954
|
+
"type": "string"
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
"required": [
|
|
1958
|
+
"host"
|
|
1959
|
+
]
|
|
1960
|
+
}
|
|
1961
|
+
},
|
|
1962
|
+
"googleGcs": {
|
|
1963
|
+
"description": "Integration configuration for Google Cloud Storage",
|
|
1964
|
+
"type": "object",
|
|
1965
|
+
"properties": {
|
|
1966
|
+
"clientEmail": {
|
|
1967
|
+
"description": "Service account email used to authenticate requests.",
|
|
1968
|
+
"type": "string"
|
|
1969
|
+
},
|
|
1970
|
+
"privateKey": {
|
|
1971
|
+
"description": "Service account private key used to authenticate requests.",
|
|
1972
|
+
"visibility": "secret",
|
|
1973
|
+
"type": "string"
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1977
|
+
"awsS3": {
|
|
1978
|
+
"description": "Integration configuration for AWS S3 Service",
|
|
1979
|
+
"type": "array",
|
|
1980
|
+
"items": {
|
|
1981
|
+
"type": "object",
|
|
1982
|
+
"properties": {
|
|
1983
|
+
"endpoint": {
|
|
1984
|
+
"description": "AWS Endpoint.\nThe endpoint URI to send requests to. The default endpoint is built from the configured region.",
|
|
1985
|
+
"visibility": "frontend",
|
|
1986
|
+
"type": "string"
|
|
1987
|
+
},
|
|
1988
|
+
"s3ForcePathStyle": {
|
|
1989
|
+
"description": "Whether to use path style URLs when communicating with S3.\nDefaults to false.\nThis allows providers like LocalStack, Minio and Wasabi (and possibly others) to be used.",
|
|
1990
|
+
"visibility": "frontend",
|
|
1991
|
+
"type": "boolean"
|
|
1992
|
+
},
|
|
1993
|
+
"accessKeyId": {
|
|
1994
|
+
"description": "Account access key used to authenticate requests.",
|
|
1995
|
+
"type": "string"
|
|
1996
|
+
},
|
|
1997
|
+
"secretAccessKey": {
|
|
1998
|
+
"description": "Account secret key used to authenticate requests.",
|
|
1999
|
+
"visibility": "secret",
|
|
2000
|
+
"type": "string"
|
|
2001
|
+
},
|
|
2002
|
+
"roleArn": {
|
|
2003
|
+
"description": "ARN of the role to be assumed",
|
|
2004
|
+
"type": "string"
|
|
2005
|
+
},
|
|
2006
|
+
"externalId": {
|
|
2007
|
+
"description": "External ID to use when assuming role",
|
|
2008
|
+
"type": "string"
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
"gitea": {
|
|
2014
|
+
"description": "Integration configuration for Gitea",
|
|
2015
|
+
"type": "array",
|
|
2016
|
+
"items": {
|
|
2017
|
+
"type": "object",
|
|
2018
|
+
"properties": {
|
|
2019
|
+
"host": {
|
|
2020
|
+
"description": "The hostname of the given Gitea instance",
|
|
2021
|
+
"visibility": "frontend",
|
|
2022
|
+
"type": "string"
|
|
2023
|
+
},
|
|
2024
|
+
"baseUrl": {
|
|
2025
|
+
"description": "The base url for the Gitea instance.",
|
|
2026
|
+
"visibility": "frontend",
|
|
2027
|
+
"type": "string"
|
|
2028
|
+
},
|
|
2029
|
+
"username": {
|
|
2030
|
+
"description": "The username to use for authenticated requests.",
|
|
2031
|
+
"visibility": "secret",
|
|
2032
|
+
"type": "string"
|
|
2033
|
+
},
|
|
2034
|
+
"password": {
|
|
2035
|
+
"description": "Gitea password used to authenticate requests. This can be either a password\nor a generated access token.",
|
|
2036
|
+
"visibility": "secret",
|
|
2037
|
+
"type": "string"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
"required": [
|
|
2041
|
+
"host"
|
|
2042
|
+
]
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2049
|
+
}
|
|
1563
2050
|
}
|
|
1564
2051
|
],
|
|
1565
2052
|
"backstageConfigSchemaVersion": 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open platform for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><script defer="defer" src="/static/runtime.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open platform for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><script defer="defer" src="/static/runtime.2b22ee03.js"></script><script defer="defer" src="/static/module-material-ui.0420d68d.js"></script><script defer="defer" src="/static/module-lodash.fa492ce2.js"></script><script defer="defer" src="/static/module-date-fns.b8b6c380.js"></script><script defer="defer" src="/static/module-material-table.3c68edc1.js"></script><script defer="defer" src="/static/module-react-dom.f7ae1c8b.js"></script><script defer="defer" src="/static/module-react-router.67245b2c.js"></script><script defer="defer" src="/static/module-react-router-dom.48ea1f60.js"></script><script defer="defer" src="/static/module-zod.9e0f365e.js"></script><script defer="defer" src="/static/module-i18next.db8a27ed.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.71ae82d9.js"></script><script defer="defer" src="/static/vendor.2b22ee03.js"></script><script defer="defer" src="/static/main.2b22ee03.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|