@techdocs/cli 0.0.0-nightly-20240922023345 → 0.0.0-nightly-20240924023337

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,15 +1,15 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20240922023345
3
+ ## 0.0.0-nightly-20240924023337
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-defaults@0.0.0-nightly-20240922023345
8
+ - @backstage/backend-defaults@0.0.0-nightly-20240924023337
9
9
  - @backstage/catalog-model@1.7.0
10
10
  - @backstage/cli-common@0.1.14
11
11
  - @backstage/config@1.2.0
12
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20240922023345
12
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20240924023337
13
13
 
14
14
  ## 1.8.19
15
15
 
@@ -354,51 +354,6 @@
354
354
  "$schema": "http://json-schema.org/draft-07/schema#"
355
355
  }
356
356
  },
357
- {
358
- "path": "../core-components/config.d.ts",
359
- "value": {
360
- "type": "object",
361
- "properties": {
362
- "auth": {
363
- "type": "object",
364
- "properties": {
365
- "autologout": {
366
- "description": "Autologout feature configuration",
367
- "type": "object",
368
- "properties": {
369
- "enabled": {
370
- "description": "Enable or disable the autologout feature",
371
- "visibility": "frontend",
372
- "type": "boolean"
373
- },
374
- "idleTimeoutMinutes": {
375
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
376
- "visibility": "frontend",
377
- "type": "number"
378
- },
379
- "promptBeforeIdleSeconds": {
380
- "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.",
381
- "visibility": "frontend",
382
- "type": "number"
383
- },
384
- "useWorkerTimers": {
385
- "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.",
386
- "visibility": "frontend",
387
- "type": "boolean"
388
- },
389
- "logoutIfDisconnected": {
390
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
391
- "visibility": "frontend",
392
- "type": "boolean"
393
- }
394
- }
395
- }
396
- }
397
- }
398
- },
399
- "$schema": "http://json-schema.org/draft-07/schema#"
400
- }
401
- },
402
357
  {
403
358
  "path": "../../plugins/techdocs/config.d.ts",
404
359
  "value": {
@@ -889,6 +844,51 @@
889
844
  "$schema": "http://json-schema.org/draft-07/schema#"
890
845
  }
891
846
  },
847
+ {
848
+ "path": "../core-components/config.d.ts",
849
+ "value": {
850
+ "type": "object",
851
+ "properties": {
852
+ "auth": {
853
+ "type": "object",
854
+ "properties": {
855
+ "autologout": {
856
+ "description": "Autologout feature configuration",
857
+ "type": "object",
858
+ "properties": {
859
+ "enabled": {
860
+ "description": "Enable or disable the autologout feature",
861
+ "visibility": "frontend",
862
+ "type": "boolean"
863
+ },
864
+ "idleTimeoutMinutes": {
865
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
866
+ "visibility": "frontend",
867
+ "type": "number"
868
+ },
869
+ "promptBeforeIdleSeconds": {
870
+ "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.",
871
+ "visibility": "frontend",
872
+ "type": "number"
873
+ },
874
+ "useWorkerTimers": {
875
+ "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.",
876
+ "visibility": "frontend",
877
+ "type": "boolean"
878
+ },
879
+ "logoutIfDisconnected": {
880
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
881
+ "visibility": "frontend",
882
+ "type": "boolean"
883
+ }
884
+ }
885
+ }
886
+ }
887
+ }
888
+ },
889
+ "$schema": "http://json-schema.org/draft-07/schema#"
890
+ }
891
+ },
892
892
  {
893
893
  "path": "../../plugins/catalog/config.d.ts",
894
894
  "value": {
@@ -1081,24 +1081,6 @@
1081
1081
  "$schema": "http://json-schema.org/draft-07/schema#"
1082
1082
  }
1083
1083
  },
1084
- {
1085
- "path": "../backend-plugin-api/config.d.ts",
1086
- "value": {
1087
- "type": "object",
1088
- "properties": {
1089
- "backend": {
1090
- "type": "object",
1091
- "properties": {
1092
- "workingDirectory": {
1093
- "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1094
- "type": "string"
1095
- }
1096
- }
1097
- }
1098
- },
1099
- "$schema": "http://json-schema.org/draft-07/schema#"
1100
- }
1101
- },
1102
1084
  {
1103
1085
  "path": "../../node_modules/@backstage/backend-common/config.d.ts",
1104
1086
  "value": {
@@ -1523,6 +1505,24 @@
1523
1505
  "$schema": "http://json-schema.org/draft-07/schema#"
1524
1506
  }
1525
1507
  },
1508
+ {
1509
+ "path": "../backend-plugin-api/config.d.ts",
1510
+ "value": {
1511
+ "type": "object",
1512
+ "properties": {
1513
+ "backend": {
1514
+ "type": "object",
1515
+ "properties": {
1516
+ "workingDirectory": {
1517
+ "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1518
+ "type": "string"
1519
+ }
1520
+ }
1521
+ }
1522
+ },
1523
+ "$schema": "http://json-schema.org/draft-07/schema#"
1524
+ }
1525
+ },
1526
1526
  {
1527
1527
  "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/core-components/config.d.ts",
1528
1528
  "value": {
@@ -1613,6 +1613,115 @@
1613
1613
  "$schema": "http://json-schema.org/draft-07/schema#"
1614
1614
  }
1615
1615
  },
1616
+ {
1617
+ "path": "../integration-aws-node/config.d.ts",
1618
+ "value": {
1619
+ "type": "object",
1620
+ "properties": {
1621
+ "aws": {
1622
+ "description": "Configuration for access to AWS accounts",
1623
+ "type": "object",
1624
+ "properties": {
1625
+ "accountDefaults": {
1626
+ "description": "Defaults for retrieving AWS account credentials",
1627
+ "type": "object",
1628
+ "properties": {
1629
+ "roleName": {
1630
+ "description": "The IAM role to assume to retrieve temporary AWS credentials",
1631
+ "type": "string"
1632
+ },
1633
+ "partition": {
1634
+ "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
1635
+ "type": "string"
1636
+ },
1637
+ "region": {
1638
+ "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
1639
+ "type": "string"
1640
+ },
1641
+ "externalId": {
1642
+ "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
1643
+ "visibility": "secret",
1644
+ "type": "string"
1645
+ }
1646
+ }
1647
+ },
1648
+ "mainAccount": {
1649
+ "description": "Main account to use for retrieving AWS account credentials",
1650
+ "type": "object",
1651
+ "properties": {
1652
+ "accessKeyId": {
1653
+ "description": "The access key ID for a set of static AWS credentials",
1654
+ "visibility": "secret",
1655
+ "type": "string"
1656
+ },
1657
+ "secretAccessKey": {
1658
+ "description": "The secret access key for a set of static AWS credentials",
1659
+ "visibility": "secret",
1660
+ "type": "string"
1661
+ },
1662
+ "profile": {
1663
+ "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
1664
+ "type": "string"
1665
+ },
1666
+ "region": {
1667
+ "description": "The STS regional endpoint to use for the main account, e.g. \"ap-northeast-1\"",
1668
+ "type": "string"
1669
+ }
1670
+ }
1671
+ },
1672
+ "accounts": {
1673
+ "description": "Configuration for retrieving AWS accounts credentials",
1674
+ "type": "array",
1675
+ "items": {
1676
+ "type": "object",
1677
+ "properties": {
1678
+ "accountId": {
1679
+ "description": "The account ID of the target account that this matches on, e.g. \"123456789012\"",
1680
+ "type": "string"
1681
+ },
1682
+ "accessKeyId": {
1683
+ "description": "The access key ID for a set of static AWS credentials",
1684
+ "visibility": "secret",
1685
+ "type": "string"
1686
+ },
1687
+ "secretAccessKey": {
1688
+ "description": "The secret access key for a set of static AWS credentials",
1689
+ "visibility": "secret",
1690
+ "type": "string"
1691
+ },
1692
+ "profile": {
1693
+ "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
1694
+ "type": "string"
1695
+ },
1696
+ "roleName": {
1697
+ "description": "The IAM role to assume to retrieve temporary AWS credentials",
1698
+ "type": "string"
1699
+ },
1700
+ "partition": {
1701
+ "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
1702
+ "type": "string"
1703
+ },
1704
+ "region": {
1705
+ "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
1706
+ "type": "string"
1707
+ },
1708
+ "externalId": {
1709
+ "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
1710
+ "visibility": "secret",
1711
+ "type": "string"
1712
+ }
1713
+ },
1714
+ "required": [
1715
+ "accountId"
1716
+ ]
1717
+ }
1718
+ }
1719
+ }
1720
+ }
1721
+ },
1722
+ "$schema": "http://json-schema.org/draft-07/schema#"
1723
+ }
1724
+ },
1616
1725
  {
1617
1726
  "path": "../backend-app-api/config.d.ts",
1618
1727
  "value": {
@@ -2478,115 +2587,6 @@
2478
2587
  ],
2479
2588
  "$schema": "http://json-schema.org/draft-07/schema#"
2480
2589
  }
2481
- },
2482
- {
2483
- "path": "../integration-aws-node/config.d.ts",
2484
- "value": {
2485
- "type": "object",
2486
- "properties": {
2487
- "aws": {
2488
- "description": "Configuration for access to AWS accounts",
2489
- "type": "object",
2490
- "properties": {
2491
- "accountDefaults": {
2492
- "description": "Defaults for retrieving AWS account credentials",
2493
- "type": "object",
2494
- "properties": {
2495
- "roleName": {
2496
- "description": "The IAM role to assume to retrieve temporary AWS credentials",
2497
- "type": "string"
2498
- },
2499
- "partition": {
2500
- "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
2501
- "type": "string"
2502
- },
2503
- "region": {
2504
- "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
2505
- "type": "string"
2506
- },
2507
- "externalId": {
2508
- "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
2509
- "visibility": "secret",
2510
- "type": "string"
2511
- }
2512
- }
2513
- },
2514
- "mainAccount": {
2515
- "description": "Main account to use for retrieving AWS account credentials",
2516
- "type": "object",
2517
- "properties": {
2518
- "accessKeyId": {
2519
- "description": "The access key ID for a set of static AWS credentials",
2520
- "visibility": "secret",
2521
- "type": "string"
2522
- },
2523
- "secretAccessKey": {
2524
- "description": "The secret access key for a set of static AWS credentials",
2525
- "visibility": "secret",
2526
- "type": "string"
2527
- },
2528
- "profile": {
2529
- "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
2530
- "type": "string"
2531
- },
2532
- "region": {
2533
- "description": "The STS regional endpoint to use for the main account, e.g. \"ap-northeast-1\"",
2534
- "type": "string"
2535
- }
2536
- }
2537
- },
2538
- "accounts": {
2539
- "description": "Configuration for retrieving AWS accounts credentials",
2540
- "type": "array",
2541
- "items": {
2542
- "type": "object",
2543
- "properties": {
2544
- "accountId": {
2545
- "description": "The account ID of the target account that this matches on, e.g. \"123456789012\"",
2546
- "type": "string"
2547
- },
2548
- "accessKeyId": {
2549
- "description": "The access key ID for a set of static AWS credentials",
2550
- "visibility": "secret",
2551
- "type": "string"
2552
- },
2553
- "secretAccessKey": {
2554
- "description": "The secret access key for a set of static AWS credentials",
2555
- "visibility": "secret",
2556
- "type": "string"
2557
- },
2558
- "profile": {
2559
- "description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
2560
- "type": "string"
2561
- },
2562
- "roleName": {
2563
- "description": "The IAM role to assume to retrieve temporary AWS credentials",
2564
- "type": "string"
2565
- },
2566
- "partition": {
2567
- "description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
2568
- "type": "string"
2569
- },
2570
- "region": {
2571
- "description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
2572
- "type": "string"
2573
- },
2574
- "externalId": {
2575
- "description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
2576
- "visibility": "secret",
2577
- "type": "string"
2578
- }
2579
- },
2580
- "required": [
2581
- "accountId"
2582
- ]
2583
- }
2584
- }
2585
- }
2586
- }
2587
- },
2588
- "$schema": "http://json-schema.org/draft-07/schema#"
2589
- }
2590
2590
  }
2591
2591
  ],
2592
2592
  "backstageConfigSchemaVersion": 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techdocs/cli",
3
- "version": "0.0.0-nightly-20240922023345",
3
+ "version": "0.0.0-nightly-20240924023337",
4
4
  "description": "Utility CLI for managing TechDocs sites in Backstage.",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -35,8 +35,8 @@
35
35
  "prepack": "./scripts/prepack.sh",
36
36
  "start": "nodemon --",
37
37
  "test": "backstage-cli package test",
38
- "test:e2e": "backstage-cli test --config cli-e2e-test.config.js",
39
- "test:e2e:ci": "backstage-cli test --config cli-e2e-test.config.js --watchAll=false --ci"
38
+ "test:e2e": "backstage-cli package test --config cli-e2e-test.config.js",
39
+ "test:e2e:ci": "backstage-cli package test --config cli-e2e-test.config.js --watchAll=false --ci"
40
40
  },
41
41
  "nodemonConfig": {
42
42
  "exec": "bin/techdocs-cli",
@@ -44,11 +44,11 @@
44
44
  "watch": "./src"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/backend-defaults": "^0.0.0-nightly-20240922023345",
47
+ "@backstage/backend-defaults": "^0.0.0-nightly-20240924023337",
48
48
  "@backstage/catalog-model": "^1.7.0",
49
49
  "@backstage/cli-common": "^0.1.14",
50
50
  "@backstage/config": "^1.2.0",
51
- "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240922023345",
51
+ "@backstage/plugin-techdocs-node": "^0.0.0-nightly-20240924023337",
52
52
  "commander": "^12.0.0",
53
53
  "fs-extra": "^11.0.0",
54
54
  "global-agent": "^3.0.0",
@@ -58,7 +58,7 @@
58
58
  "winston": "^3.2.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@backstage/cli": "^0.0.0-nightly-20240922023345",
61
+ "@backstage/cli": "^0.0.0-nightly-20240924023337",
62
62
  "@types/commander": "^2.12.2",
63
63
  "@types/fs-extra": "^11.0.0",
64
64
  "@types/http-proxy": "^1.17.4",