@techdocs/cli 0.0.0-nightly-20240727021731 → 0.0.0-nightly-20240728022021

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 CHANGED
@@ -1,12 +1,12 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20240727021731
3
+ ## 0.0.0-nightly-20240728022021
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-defaults@0.0.0-nightly-20240727021731
9
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20240727021731
8
+ - @backstage/backend-defaults@0.0.0-nightly-20240728022021
9
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20240728022021
10
10
  - @backstage/catalog-model@1.5.0
11
11
  - @backstage/cli-common@0.1.14
12
12
  - @backstage/config@1.2.0
@@ -1031,56 +1031,6 @@
1031
1031
  "$schema": "http://json-schema.org/draft-07/schema#"
1032
1032
  }
1033
1033
  },
1034
- {
1035
- "path": "../../node_modules/@backstage-community/plugin-stackstorm/config.d.ts",
1036
- "value": {
1037
- "type": "object",
1038
- "properties": {
1039
- "stackstorm": {
1040
- "type": "object",
1041
- "properties": {
1042
- "webUrl": {
1043
- "description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
1044
- "visibility": "frontend",
1045
- "type": "string"
1046
- }
1047
- },
1048
- "required": [
1049
- "webUrl"
1050
- ]
1051
- }
1052
- },
1053
- "$schema": "http://json-schema.org/draft-07/schema#"
1054
- }
1055
- },
1056
- {
1057
- "path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
1058
- "value": {
1059
- "type": "object",
1060
- "properties": {
1061
- "scorecards": {
1062
- "description": "Extra configuration for score card plugin",
1063
- "type": "object",
1064
- "properties": {
1065
- "jsonDataUrl": {
1066
- "description": "The public absolute root URL with json file defining the score card entries.",
1067
- "visibility": "frontend",
1068
- "type": "string"
1069
- },
1070
- "wikiLinkTemplate": {
1071
- "description": "The template for the link to the wiki, e.g. \"https://TBD/XXX/_wiki/wikis/XXX.wiki/{id}\"",
1072
- "visibility": "frontend",
1073
- "type": "string"
1074
- }
1075
- }
1076
- }
1077
- },
1078
- "required": [
1079
- "scorecards"
1080
- ],
1081
- "$schema": "http://json-schema.org/draft-07/schema#"
1082
- }
1083
- },
1084
1034
  {
1085
1035
  "path": "../backend-common/config.d.ts",
1086
1036
  "value": {
@@ -1508,88 +1458,157 @@
1508
1458
  }
1509
1459
  },
1510
1460
  {
1511
- "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/core-components/config.d.ts",
1461
+ "path": "../../node_modules/@backstage-community/plugin-stackstorm/config.d.ts",
1512
1462
  "value": {
1513
1463
  "type": "object",
1514
1464
  "properties": {
1515
- "auth": {
1465
+ "stackstorm": {
1516
1466
  "type": "object",
1517
1467
  "properties": {
1518
- "autologout": {
1519
- "description": "Autologout feature configuration",
1520
- "type": "object",
1521
- "properties": {
1522
- "enabled": {
1523
- "description": "Enable or disable the autologout feature",
1524
- "visibility": "frontend",
1525
- "type": "boolean"
1526
- },
1527
- "idleTimeoutMinutes": {
1528
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
1529
- "visibility": "frontend",
1530
- "type": "number"
1531
- },
1532
- "promptBeforeIdleSeconds": {
1533
- "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.",
1534
- "visibility": "frontend",
1535
- "type": "number"
1536
- },
1537
- "useWorkerTimers": {
1538
- "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.",
1539
- "visibility": "frontend",
1540
- "type": "boolean"
1541
- },
1542
- "logoutIfDisconnected": {
1543
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
1544
- "visibility": "frontend",
1545
- "type": "boolean"
1546
- }
1547
- }
1468
+ "webUrl": {
1469
+ "description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
1470
+ "visibility": "frontend",
1471
+ "type": "string"
1472
+ }
1473
+ },
1474
+ "required": [
1475
+ "webUrl"
1476
+ ]
1477
+ }
1478
+ },
1479
+ "$schema": "http://json-schema.org/draft-07/schema#"
1480
+ }
1481
+ },
1482
+ {
1483
+ "path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
1484
+ "value": {
1485
+ "type": "object",
1486
+ "properties": {
1487
+ "scorecards": {
1488
+ "description": "Extra configuration for score card plugin",
1489
+ "type": "object",
1490
+ "properties": {
1491
+ "jsonDataUrl": {
1492
+ "description": "The public absolute root URL with json file defining the score card entries.",
1493
+ "visibility": "frontend",
1494
+ "type": "string"
1495
+ },
1496
+ "wikiLinkTemplate": {
1497
+ "description": "The template for the link to the wiki, e.g. \"https://TBD/XXX/_wiki/wikis/XXX.wiki/{id}\"",
1498
+ "visibility": "frontend",
1499
+ "type": "string"
1548
1500
  }
1549
1501
  }
1550
1502
  }
1551
1503
  },
1504
+ "required": [
1505
+ "scorecards"
1506
+ ],
1552
1507
  "$schema": "http://json-schema.org/draft-07/schema#"
1553
1508
  }
1554
1509
  },
1555
1510
  {
1556
- "path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/core-components/config.d.ts",
1511
+ "path": "../integration-aws-node/config.d.ts",
1557
1512
  "value": {
1558
1513
  "type": "object",
1559
1514
  "properties": {
1560
- "auth": {
1515
+ "aws": {
1516
+ "description": "Configuration for access to AWS accounts",
1561
1517
  "type": "object",
1562
1518
  "properties": {
1563
- "autologout": {
1564
- "description": "Autologout feature configuration",
1519
+ "accountDefaults": {
1520
+ "description": "Defaults for retrieving AWS account credentials",
1565
1521
  "type": "object",
1566
1522
  "properties": {
1567
- "enabled": {
1568
- "description": "Enable or disable the autologout feature",
1569
- "visibility": "frontend",
1570
- "type": "boolean"
1523
+ "roleName": {
1524
+ "description": "The IAM role to assume to retrieve temporary AWS credentials",
1525
+ "type": "string"
1571
1526
  },
1572
- "idleTimeoutMinutes": {
1573
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
1574
- "visibility": "frontend",
1575
- "type": "number"
1527
+ "partition": {
1528
+ "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
1529
+ "type": "string"
1576
1530
  },
1577
- "promptBeforeIdleSeconds": {
1578
- "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.",
1579
- "visibility": "frontend",
1580
- "type": "number"
1531
+ "region": {
1532
+ "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
1533
+ "type": "string"
1581
1534
  },
1582
- "useWorkerTimers": {
1583
- "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.",
1584
- "visibility": "frontend",
1585
- "type": "boolean"
1535
+ "externalId": {
1536
+ "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
1537
+ "visibility": "secret",
1538
+ "type": "string"
1539
+ }
1540
+ }
1541
+ },
1542
+ "mainAccount": {
1543
+ "description": "Main account to use for retrieving AWS account credentials",
1544
+ "type": "object",
1545
+ "properties": {
1546
+ "accessKeyId": {
1547
+ "description": "The access key ID for a set of static AWS credentials",
1548
+ "visibility": "secret",
1549
+ "type": "string"
1586
1550
  },
1587
- "logoutIfDisconnected": {
1588
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
1589
- "visibility": "frontend",
1590
- "type": "boolean"
1551
+ "secretAccessKey": {
1552
+ "description": "The secret access key for a set of static AWS credentials",
1553
+ "visibility": "secret",
1554
+ "type": "string"
1555
+ },
1556
+ "profile": {
1557
+ "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
1558
+ "type": "string"
1559
+ },
1560
+ "region": {
1561
+ "description": "The STS regional endpoint to use for the main account, e.g. \"ap-northeast-1\"",
1562
+ "type": "string"
1591
1563
  }
1592
1564
  }
1565
+ },
1566
+ "accounts": {
1567
+ "description": "Configuration for retrieving AWS accounts credentials",
1568
+ "type": "array",
1569
+ "items": {
1570
+ "type": "object",
1571
+ "properties": {
1572
+ "accountId": {
1573
+ "description": "The account ID of the target account that this matches on, e.g. \"123456789012\"",
1574
+ "type": "string"
1575
+ },
1576
+ "accessKeyId": {
1577
+ "description": "The access key ID for a set of static AWS credentials",
1578
+ "visibility": "secret",
1579
+ "type": "string"
1580
+ },
1581
+ "secretAccessKey": {
1582
+ "description": "The secret access key for a set of static AWS credentials",
1583
+ "visibility": "secret",
1584
+ "type": "string"
1585
+ },
1586
+ "profile": {
1587
+ "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
1588
+ "type": "string"
1589
+ },
1590
+ "roleName": {
1591
+ "description": "The IAM role to assume to retrieve temporary AWS credentials",
1592
+ "type": "string"
1593
+ },
1594
+ "partition": {
1595
+ "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
1596
+ "type": "string"
1597
+ },
1598
+ "region": {
1599
+ "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
1600
+ "type": "string"
1601
+ },
1602
+ "externalId": {
1603
+ "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
1604
+ "visibility": "secret",
1605
+ "type": "string"
1606
+ }
1607
+ },
1608
+ "required": [
1609
+ "accountId"
1610
+ ]
1611
+ }
1593
1612
  }
1594
1613
  }
1595
1614
  }
@@ -2377,106 +2396,87 @@
2377
2396
  }
2378
2397
  },
2379
2398
  {
2380
- "path": "../integration-aws-node/config.d.ts",
2399
+ "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/core-components/config.d.ts",
2381
2400
  "value": {
2382
2401
  "type": "object",
2383
2402
  "properties": {
2384
- "aws": {
2385
- "description": "Configuration for access to AWS accounts",
2403
+ "auth": {
2386
2404
  "type": "object",
2387
2405
  "properties": {
2388
- "accountDefaults": {
2389
- "description": "Defaults for retrieving AWS account credentials",
2406
+ "autologout": {
2407
+ "description": "Autologout feature configuration",
2390
2408
  "type": "object",
2391
2409
  "properties": {
2392
- "roleName": {
2393
- "description": "The IAM role to assume to retrieve temporary AWS credentials",
2394
- "type": "string"
2410
+ "enabled": {
2411
+ "description": "Enable or disable the autologout feature",
2412
+ "visibility": "frontend",
2413
+ "type": "boolean"
2395
2414
  },
2396
- "partition": {
2397
- "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
2398
- "type": "string"
2415
+ "idleTimeoutMinutes": {
2416
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
2417
+ "visibility": "frontend",
2418
+ "type": "number"
2399
2419
  },
2400
- "region": {
2401
- "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
2402
- "type": "string"
2420
+ "promptBeforeIdleSeconds": {
2421
+ "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.",
2422
+ "visibility": "frontend",
2423
+ "type": "number"
2403
2424
  },
2404
- "externalId": {
2405
- "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
2406
- "visibility": "secret",
2407
- "type": "string"
2425
+ "useWorkerTimers": {
2426
+ "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.",
2427
+ "visibility": "frontend",
2428
+ "type": "boolean"
2429
+ },
2430
+ "logoutIfDisconnected": {
2431
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
2432
+ "visibility": "frontend",
2433
+ "type": "boolean"
2408
2434
  }
2409
2435
  }
2410
- },
2411
- "mainAccount": {
2412
- "description": "Main account to use for retrieving AWS account credentials",
2436
+ }
2437
+ }
2438
+ }
2439
+ },
2440
+ "$schema": "http://json-schema.org/draft-07/schema#"
2441
+ }
2442
+ },
2443
+ {
2444
+ "path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/core-components/config.d.ts",
2445
+ "value": {
2446
+ "type": "object",
2447
+ "properties": {
2448
+ "auth": {
2449
+ "type": "object",
2450
+ "properties": {
2451
+ "autologout": {
2452
+ "description": "Autologout feature configuration",
2413
2453
  "type": "object",
2414
2454
  "properties": {
2415
- "accessKeyId": {
2416
- "description": "The access key ID for a set of static AWS credentials",
2417
- "visibility": "secret",
2418
- "type": "string"
2455
+ "enabled": {
2456
+ "description": "Enable or disable the autologout feature",
2457
+ "visibility": "frontend",
2458
+ "type": "boolean"
2419
2459
  },
2420
- "secretAccessKey": {
2421
- "description": "The secret access key for a set of static AWS credentials",
2422
- "visibility": "secret",
2423
- "type": "string"
2460
+ "idleTimeoutMinutes": {
2461
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
2462
+ "visibility": "frontend",
2463
+ "type": "number"
2424
2464
  },
2425
- "profile": {
2426
- "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
2427
- "type": "string"
2465
+ "promptBeforeIdleSeconds": {
2466
+ "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.",
2467
+ "visibility": "frontend",
2468
+ "type": "number"
2428
2469
  },
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
- }
2470
+ "useWorkerTimers": {
2471
+ "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.",
2472
+ "visibility": "frontend",
2473
+ "type": "boolean"
2476
2474
  },
2477
- "required": [
2478
- "accountId"
2479
- ]
2475
+ "logoutIfDisconnected": {
2476
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
2477
+ "visibility": "frontend",
2478
+ "type": "boolean"
2479
+ }
2480
2480
  }
2481
2481
  }
2482
2482
  }
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-20240727021731",
4
+ "version": "0.0.0-nightly-20240728022021",
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-20240727021731",
38
+ "@backstage/cli": "^0.0.0-nightly-20240728022021",
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-20240727021731",
59
+ "@backstage/backend-defaults": "^0.0.0-nightly-20240728022021",
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-20240727021731",
63
+ "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240728022021",
64
64
  "commander": "^12.0.0",
65
65
  "fs-extra": "^11.0.0",
66
66
  "global-agent": "^3.0.0",