@techdocs/cli 0.0.0-nightly-20240708021827 → 0.0.0-nightly-20240710021803
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 +120 -120
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20240710021803
|
|
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-
|
|
10
|
-
- @backstage/plugin-techdocs-node@0.0.0-nightly-
|
|
9
|
+
- @backstage/backend-defaults@0.0.0-nightly-20240710021803
|
|
10
|
+
- @backstage/plugin-techdocs-node@0.0.0-nightly-20240710021803
|
|
11
11
|
- @backstage/catalog-model@1.5.0
|
|
12
12
|
- @backstage/cli-common@0.1.14
|
|
13
13
|
- @backstage/config@1.2.0
|
|
@@ -1598,116 +1598,7 @@
|
|
|
1598
1598
|
}
|
|
1599
1599
|
},
|
|
1600
1600
|
{
|
|
1601
|
-
"path": "../
|
|
1602
|
-
"value": {
|
|
1603
|
-
"type": "object",
|
|
1604
|
-
"properties": {
|
|
1605
|
-
"aws": {
|
|
1606
|
-
"description": "Configuration for access to AWS accounts",
|
|
1607
|
-
"type": "object",
|
|
1608
|
-
"properties": {
|
|
1609
|
-
"accountDefaults": {
|
|
1610
|
-
"description": "Defaults for retrieving AWS account credentials",
|
|
1611
|
-
"type": "object",
|
|
1612
|
-
"properties": {
|
|
1613
|
-
"roleName": {
|
|
1614
|
-
"description": "The IAM role to assume to retrieve temporary AWS credentials",
|
|
1615
|
-
"type": "string"
|
|
1616
|
-
},
|
|
1617
|
-
"partition": {
|
|
1618
|
-
"description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
|
|
1619
|
-
"type": "string"
|
|
1620
|
-
},
|
|
1621
|
-
"region": {
|
|
1622
|
-
"description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
|
|
1623
|
-
"type": "string"
|
|
1624
|
-
},
|
|
1625
|
-
"externalId": {
|
|
1626
|
-
"description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
|
|
1627
|
-
"visibility": "secret",
|
|
1628
|
-
"type": "string"
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
},
|
|
1632
|
-
"mainAccount": {
|
|
1633
|
-
"description": "Main account to use for retrieving AWS account credentials",
|
|
1634
|
-
"type": "object",
|
|
1635
|
-
"properties": {
|
|
1636
|
-
"accessKeyId": {
|
|
1637
|
-
"description": "The access key ID for a set of static AWS credentials",
|
|
1638
|
-
"visibility": "secret",
|
|
1639
|
-
"type": "string"
|
|
1640
|
-
},
|
|
1641
|
-
"secretAccessKey": {
|
|
1642
|
-
"description": "The secret access key for a set of static AWS credentials",
|
|
1643
|
-
"visibility": "secret",
|
|
1644
|
-
"type": "string"
|
|
1645
|
-
},
|
|
1646
|
-
"profile": {
|
|
1647
|
-
"description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
|
|
1648
|
-
"type": "string"
|
|
1649
|
-
},
|
|
1650
|
-
"region": {
|
|
1651
|
-
"description": "The STS regional endpoint to use for the main account, e.g. \"ap-northeast-1\"",
|
|
1652
|
-
"type": "string"
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
},
|
|
1656
|
-
"accounts": {
|
|
1657
|
-
"description": "Configuration for retrieving AWS accounts credentials",
|
|
1658
|
-
"type": "array",
|
|
1659
|
-
"items": {
|
|
1660
|
-
"type": "object",
|
|
1661
|
-
"properties": {
|
|
1662
|
-
"accountId": {
|
|
1663
|
-
"description": "The account ID of the target account that this matches on, e.g. \"123456789012\"",
|
|
1664
|
-
"type": "string"
|
|
1665
|
-
},
|
|
1666
|
-
"accessKeyId": {
|
|
1667
|
-
"description": "The access key ID for a set of static AWS credentials",
|
|
1668
|
-
"visibility": "secret",
|
|
1669
|
-
"type": "string"
|
|
1670
|
-
},
|
|
1671
|
-
"secretAccessKey": {
|
|
1672
|
-
"description": "The secret access key for a set of static AWS credentials",
|
|
1673
|
-
"visibility": "secret",
|
|
1674
|
-
"type": "string"
|
|
1675
|
-
},
|
|
1676
|
-
"profile": {
|
|
1677
|
-
"description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
|
|
1678
|
-
"type": "string"
|
|
1679
|
-
},
|
|
1680
|
-
"roleName": {
|
|
1681
|
-
"description": "The IAM role to assume to retrieve temporary AWS credentials",
|
|
1682
|
-
"type": "string"
|
|
1683
|
-
},
|
|
1684
|
-
"partition": {
|
|
1685
|
-
"description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
|
|
1686
|
-
"type": "string"
|
|
1687
|
-
},
|
|
1688
|
-
"region": {
|
|
1689
|
-
"description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
|
|
1690
|
-
"type": "string"
|
|
1691
|
-
},
|
|
1692
|
-
"externalId": {
|
|
1693
|
-
"description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
|
|
1694
|
-
"visibility": "secret",
|
|
1695
|
-
"type": "string"
|
|
1696
|
-
}
|
|
1697
|
-
},
|
|
1698
|
-
"required": [
|
|
1699
|
-
"accountId"
|
|
1700
|
-
]
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
},
|
|
1706
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1707
|
-
}
|
|
1708
|
-
},
|
|
1709
|
-
{
|
|
1710
|
-
"path": "../backend-defaults/config.d.ts",
|
|
1601
|
+
"path": "../backend-app-api/config.d.ts",
|
|
1711
1602
|
"value": {
|
|
1712
1603
|
"type": "object",
|
|
1713
1604
|
"properties": {
|
|
@@ -1715,7 +1606,6 @@
|
|
|
1715
1606
|
"type": "object",
|
|
1716
1607
|
"properties": {
|
|
1717
1608
|
"auth": {
|
|
1718
|
-
"description": "Options used by the default auth, httpAuth and userInfo services.",
|
|
1719
1609
|
"type": "object",
|
|
1720
1610
|
"properties": {
|
|
1721
1611
|
"dangerouslyDisableDefaultAuthPolicy": {
|
|
@@ -2041,17 +1931,17 @@
|
|
|
2041
1931
|
}
|
|
2042
1932
|
},
|
|
2043
1933
|
"discovery": {
|
|
2044
|
-
"description": "
|
|
1934
|
+
"description": "Discovery options.",
|
|
2045
1935
|
"type": "object",
|
|
2046
1936
|
"properties": {
|
|
2047
1937
|
"endpoints": {
|
|
2048
|
-
"description": "
|
|
1938
|
+
"description": "Endpoints\n\nA list of target baseUrls and the associated plugins.",
|
|
2049
1939
|
"type": "array",
|
|
2050
1940
|
"items": {
|
|
2051
1941
|
"type": "object",
|
|
2052
1942
|
"properties": {
|
|
2053
1943
|
"target": {
|
|
2054
|
-
"description": "The target
|
|
1944
|
+
"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.",
|
|
2055
1945
|
"anyOf": [
|
|
2056
1946
|
{
|
|
2057
1947
|
"type": "object",
|
|
@@ -2074,7 +1964,7 @@
|
|
|
2074
1964
|
]
|
|
2075
1965
|
},
|
|
2076
1966
|
"plugins": {
|
|
2077
|
-
"description": "Array of plugins which use the target
|
|
1967
|
+
"description": "Array of plugins which use the target baseUrl.",
|
|
2078
1968
|
"type": "array",
|
|
2079
1969
|
"items": {
|
|
2080
1970
|
"type": "string"
|
|
@@ -2097,7 +1987,7 @@
|
|
|
2097
1987
|
}
|
|
2098
1988
|
},
|
|
2099
1989
|
{
|
|
2100
|
-
"path": "../backend-
|
|
1990
|
+
"path": "../backend-defaults/config.d.ts",
|
|
2101
1991
|
"value": {
|
|
2102
1992
|
"type": "object",
|
|
2103
1993
|
"properties": {
|
|
@@ -2105,6 +1995,7 @@
|
|
|
2105
1995
|
"type": "object",
|
|
2106
1996
|
"properties": {
|
|
2107
1997
|
"auth": {
|
|
1998
|
+
"description": "Options used by the default auth, httpAuth and userInfo services.",
|
|
2108
1999
|
"type": "object",
|
|
2109
2000
|
"properties": {
|
|
2110
2001
|
"dangerouslyDisableDefaultAuthPolicy": {
|
|
@@ -2430,17 +2321,17 @@
|
|
|
2430
2321
|
}
|
|
2431
2322
|
},
|
|
2432
2323
|
"discovery": {
|
|
2433
|
-
"description": "
|
|
2324
|
+
"description": "Options used by the default discovery service.",
|
|
2434
2325
|
"type": "object",
|
|
2435
2326
|
"properties": {
|
|
2436
2327
|
"endpoints": {
|
|
2437
|
-
"description": "
|
|
2328
|
+
"description": "A list of target baseUrls and the associated plugins.",
|
|
2438
2329
|
"type": "array",
|
|
2439
2330
|
"items": {
|
|
2440
2331
|
"type": "object",
|
|
2441
2332
|
"properties": {
|
|
2442
2333
|
"target": {
|
|
2443
|
-
"description": "The target
|
|
2334
|
+
"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.",
|
|
2444
2335
|
"anyOf": [
|
|
2445
2336
|
{
|
|
2446
2337
|
"type": "object",
|
|
@@ -2463,7 +2354,7 @@
|
|
|
2463
2354
|
]
|
|
2464
2355
|
},
|
|
2465
2356
|
"plugins": {
|
|
2466
|
-
"description": "Array of plugins which use the target
|
|
2357
|
+
"description": "Array of plugins which use the target base URL.",
|
|
2467
2358
|
"type": "array",
|
|
2468
2359
|
"items": {
|
|
2469
2360
|
"type": "string"
|
|
@@ -2485,6 +2376,115 @@
|
|
|
2485
2376
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2486
2377
|
}
|
|
2487
2378
|
},
|
|
2379
|
+
{
|
|
2380
|
+
"path": "../integration-aws-node/config.d.ts",
|
|
2381
|
+
"value": {
|
|
2382
|
+
"type": "object",
|
|
2383
|
+
"properties": {
|
|
2384
|
+
"aws": {
|
|
2385
|
+
"description": "Configuration for access to AWS accounts",
|
|
2386
|
+
"type": "object",
|
|
2387
|
+
"properties": {
|
|
2388
|
+
"accountDefaults": {
|
|
2389
|
+
"description": "Defaults for retrieving AWS account credentials",
|
|
2390
|
+
"type": "object",
|
|
2391
|
+
"properties": {
|
|
2392
|
+
"roleName": {
|
|
2393
|
+
"description": "The IAM role to assume to retrieve temporary AWS credentials",
|
|
2394
|
+
"type": "string"
|
|
2395
|
+
},
|
|
2396
|
+
"partition": {
|
|
2397
|
+
"description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
|
|
2398
|
+
"type": "string"
|
|
2399
|
+
},
|
|
2400
|
+
"region": {
|
|
2401
|
+
"description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
|
|
2402
|
+
"type": "string"
|
|
2403
|
+
},
|
|
2404
|
+
"externalId": {
|
|
2405
|
+
"description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
|
|
2406
|
+
"visibility": "secret",
|
|
2407
|
+
"type": "string"
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
"mainAccount": {
|
|
2412
|
+
"description": "Main account to use for retrieving AWS account credentials",
|
|
2413
|
+
"type": "object",
|
|
2414
|
+
"properties": {
|
|
2415
|
+
"accessKeyId": {
|
|
2416
|
+
"description": "The access key ID for a set of static AWS credentials",
|
|
2417
|
+
"visibility": "secret",
|
|
2418
|
+
"type": "string"
|
|
2419
|
+
},
|
|
2420
|
+
"secretAccessKey": {
|
|
2421
|
+
"description": "The secret access key for a set of static AWS credentials",
|
|
2422
|
+
"visibility": "secret",
|
|
2423
|
+
"type": "string"
|
|
2424
|
+
},
|
|
2425
|
+
"profile": {
|
|
2426
|
+
"description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
|
|
2427
|
+
"type": "string"
|
|
2428
|
+
},
|
|
2429
|
+
"region": {
|
|
2430
|
+
"description": "The STS regional endpoint to use for the main account, e.g. \"ap-northeast-1\"",
|
|
2431
|
+
"type": "string"
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
"accounts": {
|
|
2436
|
+
"description": "Configuration for retrieving AWS accounts credentials",
|
|
2437
|
+
"type": "array",
|
|
2438
|
+
"items": {
|
|
2439
|
+
"type": "object",
|
|
2440
|
+
"properties": {
|
|
2441
|
+
"accountId": {
|
|
2442
|
+
"description": "The account ID of the target account that this matches on, e.g. \"123456789012\"",
|
|
2443
|
+
"type": "string"
|
|
2444
|
+
},
|
|
2445
|
+
"accessKeyId": {
|
|
2446
|
+
"description": "The access key ID for a set of static AWS credentials",
|
|
2447
|
+
"visibility": "secret",
|
|
2448
|
+
"type": "string"
|
|
2449
|
+
},
|
|
2450
|
+
"secretAccessKey": {
|
|
2451
|
+
"description": "The secret access key for a set of static AWS credentials",
|
|
2452
|
+
"visibility": "secret",
|
|
2453
|
+
"type": "string"
|
|
2454
|
+
},
|
|
2455
|
+
"profile": {
|
|
2456
|
+
"description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
|
|
2457
|
+
"type": "string"
|
|
2458
|
+
},
|
|
2459
|
+
"roleName": {
|
|
2460
|
+
"description": "The IAM role to assume to retrieve temporary AWS credentials",
|
|
2461
|
+
"type": "string"
|
|
2462
|
+
},
|
|
2463
|
+
"partition": {
|
|
2464
|
+
"description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
|
|
2465
|
+
"type": "string"
|
|
2466
|
+
},
|
|
2467
|
+
"region": {
|
|
2468
|
+
"description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
|
|
2469
|
+
"type": "string"
|
|
2470
|
+
},
|
|
2471
|
+
"externalId": {
|
|
2472
|
+
"description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
|
|
2473
|
+
"visibility": "secret",
|
|
2474
|
+
"type": "string"
|
|
2475
|
+
}
|
|
2476
|
+
},
|
|
2477
|
+
"required": [
|
|
2478
|
+
"accountId"
|
|
2479
|
+
]
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2486
|
+
}
|
|
2487
|
+
},
|
|
2488
2488
|
{
|
|
2489
2489
|
"path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/integration/config.d.ts",
|
|
2490
2490
|
"value": {
|
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-20240710021803",
|
|
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-20240710021803",
|
|
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-20240710021803",
|
|
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-20240710021803",
|
|
64
64
|
"commander": "^12.0.0",
|
|
65
65
|
"fs-extra": "^11.0.0",
|
|
66
66
|
"global-agent": "^3.0.0",
|