@techdocs/cli 0.0.0-nightly-20240622021615 → 0.0.0-nightly-20240623021817
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 +3 -3
- package/dist/embedded-app/.config-schema.json +138 -138
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20240623021817
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- c964a3d: Import discovery from backend-defaults instead of backend-common
|
|
8
8
|
- Updated dependencies
|
|
9
|
-
- @backstage/backend-defaults@0.0.0-nightly-
|
|
9
|
+
- @backstage/backend-defaults@0.0.0-nightly-20240623021817
|
|
10
10
|
- @backstage/catalog-model@1.5.0
|
|
11
11
|
- @backstage/cli-common@0.1.14
|
|
12
12
|
- @backstage/config@1.2.0
|
|
13
|
-
- @backstage/plugin-techdocs-node@0.0.0-nightly-
|
|
13
|
+
- @backstage/plugin-techdocs-node@0.0.0-nightly-20240623021817
|
|
14
14
|
|
|
15
15
|
## 1.8.12
|
|
16
16
|
|
|
@@ -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": {
|
|
@@ -1001,6 +1001,56 @@
|
|
|
1001
1001
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1002
1002
|
}
|
|
1003
1003
|
},
|
|
1004
|
+
{
|
|
1005
|
+
"path": "../../node_modules/@backstage-community/plugin-stackstorm/config.d.ts",
|
|
1006
|
+
"value": {
|
|
1007
|
+
"type": "object",
|
|
1008
|
+
"properties": {
|
|
1009
|
+
"stackstorm": {
|
|
1010
|
+
"type": "object",
|
|
1011
|
+
"properties": {
|
|
1012
|
+
"webUrl": {
|
|
1013
|
+
"description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
|
|
1014
|
+
"visibility": "frontend",
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"required": [
|
|
1019
|
+
"webUrl"
|
|
1020
|
+
]
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
|
|
1028
|
+
"value": {
|
|
1029
|
+
"type": "object",
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"scorecards": {
|
|
1032
|
+
"description": "Extra configuration for score card plugin",
|
|
1033
|
+
"type": "object",
|
|
1034
|
+
"properties": {
|
|
1035
|
+
"jsonDataUrl": {
|
|
1036
|
+
"description": "The public absolute root URL with json file defining the score card entries.",
|
|
1037
|
+
"visibility": "frontend",
|
|
1038
|
+
"type": "string"
|
|
1039
|
+
},
|
|
1040
|
+
"wikiLinkTemplate": {
|
|
1041
|
+
"description": "The template for the link to the wiki, e.g. \"https://TBD/XXX/_wiki/wikis/XXX.wiki/{id}\"",
|
|
1042
|
+
"visibility": "frontend",
|
|
1043
|
+
"type": "string"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
"required": [
|
|
1049
|
+
"scorecards"
|
|
1050
|
+
],
|
|
1051
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1004
1054
|
{
|
|
1005
1055
|
"path": "../backend-common/config.d.ts",
|
|
1006
1056
|
"value": {
|
|
@@ -1428,52 +1478,47 @@
|
|
|
1428
1478
|
}
|
|
1429
1479
|
},
|
|
1430
1480
|
{
|
|
1431
|
-
"path": "../../node_modules/@backstage-
|
|
1432
|
-
"value": {
|
|
1433
|
-
"type": "object",
|
|
1434
|
-
"properties": {
|
|
1435
|
-
"stackstorm": {
|
|
1436
|
-
"type": "object",
|
|
1437
|
-
"properties": {
|
|
1438
|
-
"webUrl": {
|
|
1439
|
-
"description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
|
|
1440
|
-
"visibility": "frontend",
|
|
1441
|
-
"type": "string"
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
"required": [
|
|
1445
|
-
"webUrl"
|
|
1446
|
-
]
|
|
1447
|
-
}
|
|
1448
|
-
},
|
|
1449
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1450
|
-
}
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
|
|
1481
|
+
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/core-components/config.d.ts",
|
|
1454
1482
|
"value": {
|
|
1455
1483
|
"type": "object",
|
|
1456
1484
|
"properties": {
|
|
1457
|
-
"
|
|
1458
|
-
"description": "Extra configuration for score card plugin",
|
|
1485
|
+
"auth": {
|
|
1459
1486
|
"type": "object",
|
|
1460
1487
|
"properties": {
|
|
1461
|
-
"
|
|
1462
|
-
"description": "
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1488
|
+
"autologout": {
|
|
1489
|
+
"description": "Autologout feature configuration",
|
|
1490
|
+
"type": "object",
|
|
1491
|
+
"properties": {
|
|
1492
|
+
"enabled": {
|
|
1493
|
+
"description": "Enable or disable the autologout feature",
|
|
1494
|
+
"visibility": "frontend",
|
|
1495
|
+
"type": "boolean"
|
|
1496
|
+
},
|
|
1497
|
+
"idleTimeoutMinutes": {
|
|
1498
|
+
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
1499
|
+
"visibility": "frontend",
|
|
1500
|
+
"type": "number"
|
|
1501
|
+
},
|
|
1502
|
+
"promptBeforeIdleSeconds": {
|
|
1503
|
+
"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.",
|
|
1504
|
+
"visibility": "frontend",
|
|
1505
|
+
"type": "number"
|
|
1506
|
+
},
|
|
1507
|
+
"useWorkerTimers": {
|
|
1508
|
+
"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.",
|
|
1509
|
+
"visibility": "frontend",
|
|
1510
|
+
"type": "boolean"
|
|
1511
|
+
},
|
|
1512
|
+
"logoutIfDisconnected": {
|
|
1513
|
+
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
1514
|
+
"visibility": "frontend",
|
|
1515
|
+
"type": "boolean"
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1470
1518
|
}
|
|
1471
1519
|
}
|
|
1472
1520
|
}
|
|
1473
1521
|
},
|
|
1474
|
-
"required": [
|
|
1475
|
-
"scorecards"
|
|
1476
|
-
],
|
|
1477
1522
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1478
1523
|
}
|
|
1479
1524
|
},
|
|
@@ -1587,7 +1632,7 @@
|
|
|
1587
1632
|
}
|
|
1588
1633
|
},
|
|
1589
1634
|
{
|
|
1590
|
-
"path": "../backend-
|
|
1635
|
+
"path": "../backend-app-api/config.d.ts",
|
|
1591
1636
|
"value": {
|
|
1592
1637
|
"type": "object",
|
|
1593
1638
|
"properties": {
|
|
@@ -1595,7 +1640,6 @@
|
|
|
1595
1640
|
"type": "object",
|
|
1596
1641
|
"properties": {
|
|
1597
1642
|
"auth": {
|
|
1598
|
-
"description": "Options used by the default auth, httpAuth and userInfo services.",
|
|
1599
1643
|
"type": "object",
|
|
1600
1644
|
"properties": {
|
|
1601
1645
|
"dangerouslyDisableDefaultAuthPolicy": {
|
|
@@ -1921,17 +1965,17 @@
|
|
|
1921
1965
|
}
|
|
1922
1966
|
},
|
|
1923
1967
|
"discovery": {
|
|
1924
|
-
"description": "
|
|
1968
|
+
"description": "Discovery options.",
|
|
1925
1969
|
"type": "object",
|
|
1926
1970
|
"properties": {
|
|
1927
1971
|
"endpoints": {
|
|
1928
|
-
"description": "
|
|
1972
|
+
"description": "Endpoints\n\nA list of target baseUrls and the associated plugins.",
|
|
1929
1973
|
"type": "array",
|
|
1930
1974
|
"items": {
|
|
1931
1975
|
"type": "object",
|
|
1932
1976
|
"properties": {
|
|
1933
1977
|
"target": {
|
|
1934
|
-
"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.",
|
|
1935
1979
|
"anyOf": [
|
|
1936
1980
|
{
|
|
1937
1981
|
"type": "object",
|
|
@@ -1954,7 +1998,7 @@
|
|
|
1954
1998
|
]
|
|
1955
1999
|
},
|
|
1956
2000
|
"plugins": {
|
|
1957
|
-
"description": "Array of plugins which use the target
|
|
2001
|
+
"description": "Array of plugins which use the target baseUrl.",
|
|
1958
2002
|
"type": "array",
|
|
1959
2003
|
"items": {
|
|
1960
2004
|
"type": "string"
|
|
@@ -1977,7 +2021,7 @@
|
|
|
1977
2021
|
}
|
|
1978
2022
|
},
|
|
1979
2023
|
{
|
|
1980
|
-
"path": "../backend-
|
|
2024
|
+
"path": "../backend-defaults/config.d.ts",
|
|
1981
2025
|
"value": {
|
|
1982
2026
|
"type": "object",
|
|
1983
2027
|
"properties": {
|
|
@@ -1985,6 +2029,7 @@
|
|
|
1985
2029
|
"type": "object",
|
|
1986
2030
|
"properties": {
|
|
1987
2031
|
"auth": {
|
|
2032
|
+
"description": "Options used by the default auth, httpAuth and userInfo services.",
|
|
1988
2033
|
"type": "object",
|
|
1989
2034
|
"properties": {
|
|
1990
2035
|
"dangerouslyDisableDefaultAuthPolicy": {
|
|
@@ -2310,17 +2355,17 @@
|
|
|
2310
2355
|
}
|
|
2311
2356
|
},
|
|
2312
2357
|
"discovery": {
|
|
2313
|
-
"description": "
|
|
2358
|
+
"description": "Options used by the default discovery service.",
|
|
2314
2359
|
"type": "object",
|
|
2315
2360
|
"properties": {
|
|
2316
2361
|
"endpoints": {
|
|
2317
|
-
"description": "
|
|
2362
|
+
"description": "A list of target baseUrls and the associated plugins.",
|
|
2318
2363
|
"type": "array",
|
|
2319
2364
|
"items": {
|
|
2320
2365
|
"type": "object",
|
|
2321
2366
|
"properties": {
|
|
2322
2367
|
"target": {
|
|
2323
|
-
"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.",
|
|
2324
2369
|
"anyOf": [
|
|
2325
2370
|
{
|
|
2326
2371
|
"type": "object",
|
|
@@ -2343,7 +2388,7 @@
|
|
|
2343
2388
|
]
|
|
2344
2389
|
},
|
|
2345
2390
|
"plugins": {
|
|
2346
|
-
"description": "Array of plugins which use the target
|
|
2391
|
+
"description": "Array of plugins which use the target base URL.",
|
|
2347
2392
|
"type": "array",
|
|
2348
2393
|
"items": {
|
|
2349
2394
|
"type": "string"
|
|
@@ -2364,51 +2409,6 @@
|
|
|
2364
2409
|
},
|
|
2365
2410
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2366
2411
|
}
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/core-components/config.d.ts",
|
|
2370
|
-
"value": {
|
|
2371
|
-
"type": "object",
|
|
2372
|
-
"properties": {
|
|
2373
|
-
"auth": {
|
|
2374
|
-
"type": "object",
|
|
2375
|
-
"properties": {
|
|
2376
|
-
"autologout": {
|
|
2377
|
-
"description": "Autologout feature configuration",
|
|
2378
|
-
"type": "object",
|
|
2379
|
-
"properties": {
|
|
2380
|
-
"enabled": {
|
|
2381
|
-
"description": "Enable or disable the autologout feature",
|
|
2382
|
-
"visibility": "frontend",
|
|
2383
|
-
"type": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"idleTimeoutMinutes": {
|
|
2386
|
-
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
2387
|
-
"visibility": "frontend",
|
|
2388
|
-
"type": "number"
|
|
2389
|
-
},
|
|
2390
|
-
"promptBeforeIdleSeconds": {
|
|
2391
|
-
"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.",
|
|
2392
|
-
"visibility": "frontend",
|
|
2393
|
-
"type": "number"
|
|
2394
|
-
},
|
|
2395
|
-
"useWorkerTimers": {
|
|
2396
|
-
"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.",
|
|
2397
|
-
"visibility": "frontend",
|
|
2398
|
-
"type": "boolean"
|
|
2399
|
-
},
|
|
2400
|
-
"logoutIfDisconnected": {
|
|
2401
|
-
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
2402
|
-
"visibility": "frontend",
|
|
2403
|
-
"type": "boolean"
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
}
|
|
2408
|
-
}
|
|
2409
|
-
},
|
|
2410
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2411
|
-
}
|
|
2412
2412
|
}
|
|
2413
2413
|
],
|
|
2414
2414
|
"backstageConfigSchemaVersion": 1
|
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": "0.0.0-nightly-
|
|
4
|
+
"version": "0.0.0-nightly-20240623021817",
|
|
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.0.0-nightly-
|
|
38
|
+
"@backstage/cli": "^0.0.0-nightly-20240623021817",
|
|
39
39
|
"@types/commander": "^2.12.2",
|
|
40
40
|
"@types/fs-extra": "^11.0.0",
|
|
41
41
|
"@types/http-proxy": "^1.17.4",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"ext": "ts"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@backstage/backend-defaults": "^0.0.0-nightly-
|
|
59
|
+
"@backstage/backend-defaults": "^0.0.0-nightly-20240623021817",
|
|
60
60
|
"@backstage/catalog-model": "^1.5.0",
|
|
61
61
|
"@backstage/cli-common": "^0.1.14",
|
|
62
62
|
"@backstage/config": "^1.2.0",
|
|
63
|
-
"@backstage/plugin-techdocs-node": "^0.0.0-nightly-
|
|
63
|
+
"@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240623021817",
|
|
64
64
|
"commander": "^12.0.0",
|
|
65
65
|
"fs-extra": "^11.0.0",
|
|
66
66
|
"global-agent": "^3.0.0",
|