@techdocs/cli 1.8.13 → 1.8.14
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 +11 -0
- package/dist/embedded-app/.config-schema.json +56 -56
- package/dist/index.cjs.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
+
## 1.8.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-defaults@0.3.2
|
|
9
|
+
- @backstage/catalog-model@1.5.0
|
|
10
|
+
- @backstage/cli-common@0.1.14
|
|
11
|
+
- @backstage/config@1.2.0
|
|
12
|
+
- @backstage/plugin-techdocs-node@1.12.6
|
|
13
|
+
|
|
3
14
|
## 1.8.13
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -125,6 +125,51 @@
|
|
|
125
125
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"path": "../core-components/config.d.ts",
|
|
130
|
+
"value": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"auth": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"properties": {
|
|
136
|
+
"autologout": {
|
|
137
|
+
"description": "Autologout feature configuration",
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"enabled": {
|
|
141
|
+
"description": "Enable or disable the autologout feature",
|
|
142
|
+
"visibility": "frontend",
|
|
143
|
+
"type": "boolean"
|
|
144
|
+
},
|
|
145
|
+
"idleTimeoutMinutes": {
|
|
146
|
+
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
147
|
+
"visibility": "frontend",
|
|
148
|
+
"type": "number"
|
|
149
|
+
},
|
|
150
|
+
"promptBeforeIdleSeconds": {
|
|
151
|
+
"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.",
|
|
152
|
+
"visibility": "frontend",
|
|
153
|
+
"type": "number"
|
|
154
|
+
},
|
|
155
|
+
"useWorkerTimers": {
|
|
156
|
+
"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.",
|
|
157
|
+
"visibility": "frontend",
|
|
158
|
+
"type": "boolean"
|
|
159
|
+
},
|
|
160
|
+
"logoutIfDisconnected": {
|
|
161
|
+
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
162
|
+
"visibility": "frontend",
|
|
163
|
+
"type": "boolean"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
128
173
|
{
|
|
129
174
|
"path": "../core-app-api/config.d.ts",
|
|
130
175
|
"value": {
|
|
@@ -333,51 +378,6 @@
|
|
|
333
378
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
334
379
|
}
|
|
335
380
|
},
|
|
336
|
-
{
|
|
337
|
-
"path": "../core-components/config.d.ts",
|
|
338
|
-
"value": {
|
|
339
|
-
"type": "object",
|
|
340
|
-
"properties": {
|
|
341
|
-
"auth": {
|
|
342
|
-
"type": "object",
|
|
343
|
-
"properties": {
|
|
344
|
-
"autologout": {
|
|
345
|
-
"description": "Autologout feature configuration",
|
|
346
|
-
"type": "object",
|
|
347
|
-
"properties": {
|
|
348
|
-
"enabled": {
|
|
349
|
-
"description": "Enable or disable the autologout feature",
|
|
350
|
-
"visibility": "frontend",
|
|
351
|
-
"type": "boolean"
|
|
352
|
-
},
|
|
353
|
-
"idleTimeoutMinutes": {
|
|
354
|
-
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
355
|
-
"visibility": "frontend",
|
|
356
|
-
"type": "number"
|
|
357
|
-
},
|
|
358
|
-
"promptBeforeIdleSeconds": {
|
|
359
|
-
"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.",
|
|
360
|
-
"visibility": "frontend",
|
|
361
|
-
"type": "number"
|
|
362
|
-
},
|
|
363
|
-
"useWorkerTimers": {
|
|
364
|
-
"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.",
|
|
365
|
-
"visibility": "frontend",
|
|
366
|
-
"type": "boolean"
|
|
367
|
-
},
|
|
368
|
-
"logoutIfDisconnected": {
|
|
369
|
-
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
370
|
-
"visibility": "frontend",
|
|
371
|
-
"type": "boolean"
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
381
|
{
|
|
382
382
|
"path": "../../plugins/techdocs/config.d.ts",
|
|
383
383
|
"value": {
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
}
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
|
-
"path": "../backend-
|
|
1635
|
+
"path": "../backend-app-api/config.d.ts",
|
|
1636
1636
|
"value": {
|
|
1637
1637
|
"type": "object",
|
|
1638
1638
|
"properties": {
|
|
@@ -1640,7 +1640,6 @@
|
|
|
1640
1640
|
"type": "object",
|
|
1641
1641
|
"properties": {
|
|
1642
1642
|
"auth": {
|
|
1643
|
-
"description": "Options used by the default auth, httpAuth and userInfo services.",
|
|
1644
1643
|
"type": "object",
|
|
1645
1644
|
"properties": {
|
|
1646
1645
|
"dangerouslyDisableDefaultAuthPolicy": {
|
|
@@ -1966,17 +1965,17 @@
|
|
|
1966
1965
|
}
|
|
1967
1966
|
},
|
|
1968
1967
|
"discovery": {
|
|
1969
|
-
"description": "
|
|
1968
|
+
"description": "Discovery options.",
|
|
1970
1969
|
"type": "object",
|
|
1971
1970
|
"properties": {
|
|
1972
1971
|
"endpoints": {
|
|
1973
|
-
"description": "
|
|
1972
|
+
"description": "Endpoints\n\nA list of target baseUrls and the associated plugins.",
|
|
1974
1973
|
"type": "array",
|
|
1975
1974
|
"items": {
|
|
1976
1975
|
"type": "object",
|
|
1977
1976
|
"properties": {
|
|
1978
1977
|
"target": {
|
|
1979
|
-
"description": "The target
|
|
1978
|
+
"description": "The target baseUrl to use for the plugin\n\nCan be either a string or an object with internal and external keys.\nTargets with `{{pluginId}}` or `{{ pluginId }} in the url will be replaced with the pluginId.",
|
|
1980
1979
|
"anyOf": [
|
|
1981
1980
|
{
|
|
1982
1981
|
"type": "object",
|
|
@@ -1999,7 +1998,7 @@
|
|
|
1999
1998
|
]
|
|
2000
1999
|
},
|
|
2001
2000
|
"plugins": {
|
|
2002
|
-
"description": "Array of plugins which use the target
|
|
2001
|
+
"description": "Array of plugins which use the target baseUrl.",
|
|
2003
2002
|
"type": "array",
|
|
2004
2003
|
"items": {
|
|
2005
2004
|
"type": "string"
|
|
@@ -2022,7 +2021,7 @@
|
|
|
2022
2021
|
}
|
|
2023
2022
|
},
|
|
2024
2023
|
{
|
|
2025
|
-
"path": "../backend-
|
|
2024
|
+
"path": "../backend-defaults/config.d.ts",
|
|
2026
2025
|
"value": {
|
|
2027
2026
|
"type": "object",
|
|
2028
2027
|
"properties": {
|
|
@@ -2030,6 +2029,7 @@
|
|
|
2030
2029
|
"type": "object",
|
|
2031
2030
|
"properties": {
|
|
2032
2031
|
"auth": {
|
|
2032
|
+
"description": "Options used by the default auth, httpAuth and userInfo services.",
|
|
2033
2033
|
"type": "object",
|
|
2034
2034
|
"properties": {
|
|
2035
2035
|
"dangerouslyDisableDefaultAuthPolicy": {
|
|
@@ -2355,17 +2355,17 @@
|
|
|
2355
2355
|
}
|
|
2356
2356
|
},
|
|
2357
2357
|
"discovery": {
|
|
2358
|
-
"description": "
|
|
2358
|
+
"description": "Options used by the default discovery service.",
|
|
2359
2359
|
"type": "object",
|
|
2360
2360
|
"properties": {
|
|
2361
2361
|
"endpoints": {
|
|
2362
|
-
"description": "
|
|
2362
|
+
"description": "A list of target baseUrls and the associated plugins.",
|
|
2363
2363
|
"type": "array",
|
|
2364
2364
|
"items": {
|
|
2365
2365
|
"type": "object",
|
|
2366
2366
|
"properties": {
|
|
2367
2367
|
"target": {
|
|
2368
|
-
"description": "The target
|
|
2368
|
+
"description": "The target base URL to use for the plugin.\n\nCan be either a string or an object with internal and external keys.\nTargets with `{{pluginId}}` or `{{ pluginId }} in the URL will be replaced with the plugin ID.",
|
|
2369
2369
|
"anyOf": [
|
|
2370
2370
|
{
|
|
2371
2371
|
"type": "object",
|
|
@@ -2388,7 +2388,7 @@
|
|
|
2388
2388
|
]
|
|
2389
2389
|
},
|
|
2390
2390
|
"plugins": {
|
|
2391
|
-
"description": "Array of plugins which use the target
|
|
2391
|
+
"description": "Array of plugins which use the target base URL.",
|
|
2392
2392
|
"type": "array",
|
|
2393
2393
|
"items": {
|
|
2394
2394
|
"type": "string"
|
package/dist/index.cjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techdocs/cli",
|
|
3
3
|
"description": "Utility CLI for managing TechDocs sites in Backstage.",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.14",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"techdocs-cli": "bin/techdocs-cli"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@backstage/cli": "^0.26.
|
|
38
|
+
"@backstage/cli": "^0.26.9",
|
|
39
39
|
"@types/commander": "^2.12.2",
|
|
40
40
|
"@types/fs-extra": "^11.0.0",
|
|
41
41
|
"@types/http-proxy": "^1.17.4",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"ext": "ts"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@backstage/backend-defaults": "^0.3.
|
|
59
|
+
"@backstage/backend-defaults": "^0.3.2",
|
|
60
60
|
"@backstage/catalog-model": "^1.5.0",
|
|
61
61
|
"@backstage/cli-common": "^0.1.14",
|
|
62
62
|
"@backstage/config": "^1.2.0",
|