@knocklabs/cli 0.1.19 → 0.1.21
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/README.md +51 -29
- package/dist/commands/message-type/get.js +124 -0
- package/dist/commands/message-type/list.js +101 -0
- package/dist/commands/message-type/pull.js +218 -0
- package/dist/commands/message-type/push.js +171 -0
- package/dist/commands/message-type/validate.js +148 -0
- package/dist/commands/partial/pull.js +2 -2
- package/dist/commands/workflow/generate-types.js +138 -0
- package/dist/lib/api-v1.js +47 -0
- package/dist/lib/base-command.js +1 -4
- package/dist/lib/helpers/const.js +3 -3
- package/dist/lib/helpers/error.js +3 -6
- package/dist/lib/helpers/flag.js +16 -0
- package/dist/lib/helpers/page.js +3 -3
- package/dist/lib/marshal/guide/index.js +19 -0
- package/dist/lib/marshal/guide/processor.isomorphic.js +85 -0
- package/dist/lib/marshal/guide/types.js +4 -0
- package/dist/lib/marshal/index.isomorphic.js +12 -8
- package/dist/lib/marshal/message-type/helpers.js +135 -0
- package/dist/lib/marshal/message-type/index.js +3 -0
- package/dist/lib/marshal/message-type/reader.js +198 -0
- package/dist/lib/marshal/message-type/writer.js +175 -0
- package/dist/lib/marshal/partial/reader.js +3 -3
- package/dist/lib/marshal/partial/types.js +3 -3
- package/dist/lib/marshal/workflow/types.js +3 -3
- package/dist/lib/run-context/loader.js +35 -31
- package/dist/lib/type-generator.js +100 -0
- package/oclif.manifest.json +446 -1
- package/package.json +16 -15
package/oclif.manifest.json
CHANGED
|
@@ -1568,6 +1568,396 @@
|
|
|
1568
1568
|
"validate.js"
|
|
1569
1569
|
]
|
|
1570
1570
|
},
|
|
1571
|
+
"message-type:get": {
|
|
1572
|
+
"aliases": [],
|
|
1573
|
+
"args": {
|
|
1574
|
+
"messageTypeKey": {
|
|
1575
|
+
"name": "messageTypeKey",
|
|
1576
|
+
"required": true
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"flags": {
|
|
1580
|
+
"json": {
|
|
1581
|
+
"description": "Format output as json.",
|
|
1582
|
+
"helpGroup": "GLOBAL",
|
|
1583
|
+
"name": "json",
|
|
1584
|
+
"allowNo": false,
|
|
1585
|
+
"type": "boolean"
|
|
1586
|
+
},
|
|
1587
|
+
"service-token": {
|
|
1588
|
+
"env": "KNOCK_SERVICE_TOKEN",
|
|
1589
|
+
"name": "service-token",
|
|
1590
|
+
"required": true,
|
|
1591
|
+
"summary": "The service token to authenticate with.",
|
|
1592
|
+
"hasDynamicHelp": false,
|
|
1593
|
+
"multiple": false,
|
|
1594
|
+
"type": "option"
|
|
1595
|
+
},
|
|
1596
|
+
"api-origin": {
|
|
1597
|
+
"hidden": true,
|
|
1598
|
+
"name": "api-origin",
|
|
1599
|
+
"required": false,
|
|
1600
|
+
"hasDynamicHelp": false,
|
|
1601
|
+
"multiple": false,
|
|
1602
|
+
"type": "option"
|
|
1603
|
+
},
|
|
1604
|
+
"environment": {
|
|
1605
|
+
"name": "environment",
|
|
1606
|
+
"summary": "The environment to use.",
|
|
1607
|
+
"default": "development",
|
|
1608
|
+
"hasDynamicHelp": false,
|
|
1609
|
+
"multiple": false,
|
|
1610
|
+
"type": "option"
|
|
1611
|
+
},
|
|
1612
|
+
"hide-uncommitted-changes": {
|
|
1613
|
+
"name": "hide-uncommitted-changes",
|
|
1614
|
+
"summary": "Hide any uncommitted changes.",
|
|
1615
|
+
"allowNo": false,
|
|
1616
|
+
"type": "boolean"
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"hasDynamicHelp": false,
|
|
1620
|
+
"hidden": true,
|
|
1621
|
+
"hiddenAliases": [],
|
|
1622
|
+
"id": "message-type:get",
|
|
1623
|
+
"pluginAlias": "@knocklabs/cli",
|
|
1624
|
+
"pluginName": "@knocklabs/cli",
|
|
1625
|
+
"pluginType": "core",
|
|
1626
|
+
"strict": true,
|
|
1627
|
+
"summary": "Display a single in-app message type from an environment.",
|
|
1628
|
+
"enableJsonFlag": true,
|
|
1629
|
+
"isESM": false,
|
|
1630
|
+
"relativePath": [
|
|
1631
|
+
"dist",
|
|
1632
|
+
"commands",
|
|
1633
|
+
"message-type",
|
|
1634
|
+
"get.js"
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
"message-type:list": {
|
|
1638
|
+
"aliases": [],
|
|
1639
|
+
"args": {},
|
|
1640
|
+
"flags": {
|
|
1641
|
+
"json": {
|
|
1642
|
+
"description": "Format output as json.",
|
|
1643
|
+
"helpGroup": "GLOBAL",
|
|
1644
|
+
"name": "json",
|
|
1645
|
+
"allowNo": false,
|
|
1646
|
+
"type": "boolean"
|
|
1647
|
+
},
|
|
1648
|
+
"service-token": {
|
|
1649
|
+
"env": "KNOCK_SERVICE_TOKEN",
|
|
1650
|
+
"name": "service-token",
|
|
1651
|
+
"required": true,
|
|
1652
|
+
"summary": "The service token to authenticate with.",
|
|
1653
|
+
"hasDynamicHelp": false,
|
|
1654
|
+
"multiple": false,
|
|
1655
|
+
"type": "option"
|
|
1656
|
+
},
|
|
1657
|
+
"api-origin": {
|
|
1658
|
+
"hidden": true,
|
|
1659
|
+
"name": "api-origin",
|
|
1660
|
+
"required": false,
|
|
1661
|
+
"hasDynamicHelp": false,
|
|
1662
|
+
"multiple": false,
|
|
1663
|
+
"type": "option"
|
|
1664
|
+
},
|
|
1665
|
+
"environment": {
|
|
1666
|
+
"name": "environment",
|
|
1667
|
+
"summary": "The environment to use.",
|
|
1668
|
+
"default": "development",
|
|
1669
|
+
"hasDynamicHelp": false,
|
|
1670
|
+
"multiple": false,
|
|
1671
|
+
"type": "option"
|
|
1672
|
+
},
|
|
1673
|
+
"hide-uncommitted-changes": {
|
|
1674
|
+
"name": "hide-uncommitted-changes",
|
|
1675
|
+
"summary": "Hide any uncommitted changes.",
|
|
1676
|
+
"allowNo": false,
|
|
1677
|
+
"type": "boolean"
|
|
1678
|
+
},
|
|
1679
|
+
"after": {
|
|
1680
|
+
"name": "after",
|
|
1681
|
+
"summary": "The cursor after which to fetch the next page.",
|
|
1682
|
+
"hasDynamicHelp": false,
|
|
1683
|
+
"multiple": false,
|
|
1684
|
+
"type": "option"
|
|
1685
|
+
},
|
|
1686
|
+
"before": {
|
|
1687
|
+
"name": "before",
|
|
1688
|
+
"summary": "The cursor before which to fetch the previous page.",
|
|
1689
|
+
"hasDynamicHelp": false,
|
|
1690
|
+
"multiple": false,
|
|
1691
|
+
"type": "option"
|
|
1692
|
+
},
|
|
1693
|
+
"limit": {
|
|
1694
|
+
"name": "limit",
|
|
1695
|
+
"summary": "The total number of entries to fetch per page.",
|
|
1696
|
+
"hasDynamicHelp": false,
|
|
1697
|
+
"multiple": false,
|
|
1698
|
+
"type": "option"
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"hasDynamicHelp": false,
|
|
1702
|
+
"hidden": true,
|
|
1703
|
+
"hiddenAliases": [],
|
|
1704
|
+
"id": "message-type:list",
|
|
1705
|
+
"pluginAlias": "@knocklabs/cli",
|
|
1706
|
+
"pluginName": "@knocklabs/cli",
|
|
1707
|
+
"pluginType": "core",
|
|
1708
|
+
"strict": true,
|
|
1709
|
+
"summary": "Display all in-app message types for an environment.",
|
|
1710
|
+
"enableJsonFlag": true,
|
|
1711
|
+
"isESM": false,
|
|
1712
|
+
"relativePath": [
|
|
1713
|
+
"dist",
|
|
1714
|
+
"commands",
|
|
1715
|
+
"message-type",
|
|
1716
|
+
"list.js"
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1719
|
+
"message-type:pull": {
|
|
1720
|
+
"aliases": [],
|
|
1721
|
+
"args": {
|
|
1722
|
+
"messageTypeKey": {
|
|
1723
|
+
"name": "messageTypeKey",
|
|
1724
|
+
"required": false
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
"flags": {
|
|
1728
|
+
"service-token": {
|
|
1729
|
+
"env": "KNOCK_SERVICE_TOKEN",
|
|
1730
|
+
"name": "service-token",
|
|
1731
|
+
"required": true,
|
|
1732
|
+
"summary": "The service token to authenticate with.",
|
|
1733
|
+
"hasDynamicHelp": false,
|
|
1734
|
+
"multiple": false,
|
|
1735
|
+
"type": "option"
|
|
1736
|
+
},
|
|
1737
|
+
"api-origin": {
|
|
1738
|
+
"hidden": true,
|
|
1739
|
+
"name": "api-origin",
|
|
1740
|
+
"required": false,
|
|
1741
|
+
"hasDynamicHelp": false,
|
|
1742
|
+
"multiple": false,
|
|
1743
|
+
"type": "option"
|
|
1744
|
+
},
|
|
1745
|
+
"environment": {
|
|
1746
|
+
"name": "environment",
|
|
1747
|
+
"summary": "The environment to use.",
|
|
1748
|
+
"default": "development",
|
|
1749
|
+
"hasDynamicHelp": false,
|
|
1750
|
+
"multiple": false,
|
|
1751
|
+
"type": "option"
|
|
1752
|
+
},
|
|
1753
|
+
"all": {
|
|
1754
|
+
"name": "all",
|
|
1755
|
+
"summary": "Whether to pull all in-app message types from the specified environment.",
|
|
1756
|
+
"allowNo": false,
|
|
1757
|
+
"type": "boolean"
|
|
1758
|
+
},
|
|
1759
|
+
"message-types-dir": {
|
|
1760
|
+
"dependsOn": [
|
|
1761
|
+
"all"
|
|
1762
|
+
],
|
|
1763
|
+
"name": "message-types-dir",
|
|
1764
|
+
"summary": "The target directory path to pull all in-app message types into.",
|
|
1765
|
+
"hasDynamicHelp": false,
|
|
1766
|
+
"multiple": false,
|
|
1767
|
+
"type": "option"
|
|
1768
|
+
},
|
|
1769
|
+
"hide-uncommitted-changes": {
|
|
1770
|
+
"name": "hide-uncommitted-changes",
|
|
1771
|
+
"summary": "Hide any uncommitted changes.",
|
|
1772
|
+
"allowNo": false,
|
|
1773
|
+
"type": "boolean"
|
|
1774
|
+
},
|
|
1775
|
+
"force": {
|
|
1776
|
+
"name": "force",
|
|
1777
|
+
"summary": "Remove the confirmation prompt.",
|
|
1778
|
+
"allowNo": false,
|
|
1779
|
+
"type": "boolean"
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
"hasDynamicHelp": false,
|
|
1783
|
+
"hidden": true,
|
|
1784
|
+
"hiddenAliases": [],
|
|
1785
|
+
"id": "message-type:pull",
|
|
1786
|
+
"pluginAlias": "@knocklabs/cli",
|
|
1787
|
+
"pluginName": "@knocklabs/cli",
|
|
1788
|
+
"pluginType": "core",
|
|
1789
|
+
"strict": true,
|
|
1790
|
+
"summary": "Pull one or more in-app message types from an environment into a local file system.",
|
|
1791
|
+
"enableJsonFlag": false,
|
|
1792
|
+
"isESM": false,
|
|
1793
|
+
"relativePath": [
|
|
1794
|
+
"dist",
|
|
1795
|
+
"commands",
|
|
1796
|
+
"message-type",
|
|
1797
|
+
"pull.js"
|
|
1798
|
+
]
|
|
1799
|
+
},
|
|
1800
|
+
"message-type:push": {
|
|
1801
|
+
"aliases": [],
|
|
1802
|
+
"args": {
|
|
1803
|
+
"messageTypeKey": {
|
|
1804
|
+
"name": "messageTypeKey",
|
|
1805
|
+
"required": false
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
"flags": {
|
|
1809
|
+
"service-token": {
|
|
1810
|
+
"env": "KNOCK_SERVICE_TOKEN",
|
|
1811
|
+
"name": "service-token",
|
|
1812
|
+
"required": true,
|
|
1813
|
+
"summary": "The service token to authenticate with.",
|
|
1814
|
+
"hasDynamicHelp": false,
|
|
1815
|
+
"multiple": false,
|
|
1816
|
+
"type": "option"
|
|
1817
|
+
},
|
|
1818
|
+
"api-origin": {
|
|
1819
|
+
"hidden": true,
|
|
1820
|
+
"name": "api-origin",
|
|
1821
|
+
"required": false,
|
|
1822
|
+
"hasDynamicHelp": false,
|
|
1823
|
+
"multiple": false,
|
|
1824
|
+
"type": "option"
|
|
1825
|
+
},
|
|
1826
|
+
"environment": {
|
|
1827
|
+
"name": "environment",
|
|
1828
|
+
"summary": "Pushing a message type is only allowed in the development environment",
|
|
1829
|
+
"default": "development",
|
|
1830
|
+
"hasDynamicHelp": false,
|
|
1831
|
+
"multiple": false,
|
|
1832
|
+
"options": [
|
|
1833
|
+
"development"
|
|
1834
|
+
],
|
|
1835
|
+
"type": "option"
|
|
1836
|
+
},
|
|
1837
|
+
"all": {
|
|
1838
|
+
"name": "all",
|
|
1839
|
+
"summary": "Whether to push all message types from the target directory.",
|
|
1840
|
+
"allowNo": false,
|
|
1841
|
+
"type": "boolean"
|
|
1842
|
+
},
|
|
1843
|
+
"message-types-dir": {
|
|
1844
|
+
"dependsOn": [
|
|
1845
|
+
"all"
|
|
1846
|
+
],
|
|
1847
|
+
"name": "message-types-dir",
|
|
1848
|
+
"summary": "The target directory path to find all message types to push.",
|
|
1849
|
+
"hasDynamicHelp": false,
|
|
1850
|
+
"multiple": false,
|
|
1851
|
+
"type": "option"
|
|
1852
|
+
},
|
|
1853
|
+
"commit": {
|
|
1854
|
+
"name": "commit",
|
|
1855
|
+
"summary": "Push and commit the message type(s) at the same time",
|
|
1856
|
+
"allowNo": false,
|
|
1857
|
+
"type": "boolean"
|
|
1858
|
+
},
|
|
1859
|
+
"commit-message": {
|
|
1860
|
+
"char": "m",
|
|
1861
|
+
"dependsOn": [
|
|
1862
|
+
"commit"
|
|
1863
|
+
],
|
|
1864
|
+
"name": "commit-message",
|
|
1865
|
+
"summary": "Use the given value as the commit message",
|
|
1866
|
+
"hasDynamicHelp": false,
|
|
1867
|
+
"multiple": false,
|
|
1868
|
+
"type": "option"
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1871
|
+
"hasDynamicHelp": false,
|
|
1872
|
+
"hidden": true,
|
|
1873
|
+
"hiddenAliases": [],
|
|
1874
|
+
"id": "message-type:push",
|
|
1875
|
+
"pluginAlias": "@knocklabs/cli",
|
|
1876
|
+
"pluginName": "@knocklabs/cli",
|
|
1877
|
+
"pluginType": "core",
|
|
1878
|
+
"strict": true,
|
|
1879
|
+
"summary": "Push one or more message types from a local file system to Knock.",
|
|
1880
|
+
"enableJsonFlag": false,
|
|
1881
|
+
"isESM": false,
|
|
1882
|
+
"relativePath": [
|
|
1883
|
+
"dist",
|
|
1884
|
+
"commands",
|
|
1885
|
+
"message-type",
|
|
1886
|
+
"push.js"
|
|
1887
|
+
]
|
|
1888
|
+
},
|
|
1889
|
+
"message-type:validate": {
|
|
1890
|
+
"aliases": [],
|
|
1891
|
+
"args": {
|
|
1892
|
+
"messageTypeKey": {
|
|
1893
|
+
"name": "messageTypeKey",
|
|
1894
|
+
"required": false
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
"flags": {
|
|
1898
|
+
"service-token": {
|
|
1899
|
+
"env": "KNOCK_SERVICE_TOKEN",
|
|
1900
|
+
"name": "service-token",
|
|
1901
|
+
"required": true,
|
|
1902
|
+
"summary": "The service token to authenticate with.",
|
|
1903
|
+
"hasDynamicHelp": false,
|
|
1904
|
+
"multiple": false,
|
|
1905
|
+
"type": "option"
|
|
1906
|
+
},
|
|
1907
|
+
"api-origin": {
|
|
1908
|
+
"hidden": true,
|
|
1909
|
+
"name": "api-origin",
|
|
1910
|
+
"required": false,
|
|
1911
|
+
"hasDynamicHelp": false,
|
|
1912
|
+
"multiple": false,
|
|
1913
|
+
"type": "option"
|
|
1914
|
+
},
|
|
1915
|
+
"environment": {
|
|
1916
|
+
"name": "environment",
|
|
1917
|
+
"summary": "Validating a message type is only done in the development environment",
|
|
1918
|
+
"default": "development",
|
|
1919
|
+
"hasDynamicHelp": false,
|
|
1920
|
+
"multiple": false,
|
|
1921
|
+
"options": [
|
|
1922
|
+
"development"
|
|
1923
|
+
],
|
|
1924
|
+
"type": "option"
|
|
1925
|
+
},
|
|
1926
|
+
"all": {
|
|
1927
|
+
"name": "all",
|
|
1928
|
+
"summary": "Whether to validate all message types from the target directory.",
|
|
1929
|
+
"allowNo": false,
|
|
1930
|
+
"type": "boolean"
|
|
1931
|
+
},
|
|
1932
|
+
"message-types-dir": {
|
|
1933
|
+
"dependsOn": [
|
|
1934
|
+
"all"
|
|
1935
|
+
],
|
|
1936
|
+
"name": "message-types-dir",
|
|
1937
|
+
"summary": "The target directory path to find all message types to validate.",
|
|
1938
|
+
"hasDynamicHelp": false,
|
|
1939
|
+
"multiple": false,
|
|
1940
|
+
"type": "option"
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
"hasDynamicHelp": false,
|
|
1944
|
+
"hidden": true,
|
|
1945
|
+
"hiddenAliases": [],
|
|
1946
|
+
"id": "message-type:validate",
|
|
1947
|
+
"pluginAlias": "@knocklabs/cli",
|
|
1948
|
+
"pluginName": "@knocklabs/cli",
|
|
1949
|
+
"pluginType": "core",
|
|
1950
|
+
"strict": true,
|
|
1951
|
+
"summary": "Validate one or more message types from a local file system.",
|
|
1952
|
+
"enableJsonFlag": false,
|
|
1953
|
+
"isESM": false,
|
|
1954
|
+
"relativePath": [
|
|
1955
|
+
"dist",
|
|
1956
|
+
"commands",
|
|
1957
|
+
"message-type",
|
|
1958
|
+
"validate.js"
|
|
1959
|
+
]
|
|
1960
|
+
},
|
|
1571
1961
|
"workflow:activate": {
|
|
1572
1962
|
"aliases": [],
|
|
1573
1963
|
"args": {
|
|
@@ -1639,6 +2029,61 @@
|
|
|
1639
2029
|
"activate.js"
|
|
1640
2030
|
]
|
|
1641
2031
|
},
|
|
2032
|
+
"workflow:generate-types": {
|
|
2033
|
+
"aliases": [],
|
|
2034
|
+
"args": {},
|
|
2035
|
+
"description": "Generate types for all workflows in the development environment and write them to a file.",
|
|
2036
|
+
"flags": {
|
|
2037
|
+
"service-token": {
|
|
2038
|
+
"env": "KNOCK_SERVICE_TOKEN",
|
|
2039
|
+
"name": "service-token",
|
|
2040
|
+
"required": true,
|
|
2041
|
+
"summary": "The service token to authenticate with.",
|
|
2042
|
+
"hasDynamicHelp": false,
|
|
2043
|
+
"multiple": false,
|
|
2044
|
+
"type": "option"
|
|
2045
|
+
},
|
|
2046
|
+
"api-origin": {
|
|
2047
|
+
"hidden": true,
|
|
2048
|
+
"name": "api-origin",
|
|
2049
|
+
"required": false,
|
|
2050
|
+
"hasDynamicHelp": false,
|
|
2051
|
+
"multiple": false,
|
|
2052
|
+
"type": "option"
|
|
2053
|
+
},
|
|
2054
|
+
"environment": {
|
|
2055
|
+
"name": "environment",
|
|
2056
|
+
"summary": "Select the environment to generate types for.",
|
|
2057
|
+
"default": "development",
|
|
2058
|
+
"hasDynamicHelp": false,
|
|
2059
|
+
"multiple": false,
|
|
2060
|
+
"type": "option"
|
|
2061
|
+
},
|
|
2062
|
+
"output-file": {
|
|
2063
|
+
"name": "output-file",
|
|
2064
|
+
"required": true,
|
|
2065
|
+
"summary": "The output file to write the generated types to. We currently support .ts, .rb, .go, .py files only. Your file extension will determine the target language for the generated types.",
|
|
2066
|
+
"hasDynamicHelp": false,
|
|
2067
|
+
"multiple": false,
|
|
2068
|
+
"type": "option"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
2071
|
+
"hasDynamicHelp": false,
|
|
2072
|
+
"hiddenAliases": [],
|
|
2073
|
+
"id": "workflow:generate-types",
|
|
2074
|
+
"pluginAlias": "@knocklabs/cli",
|
|
2075
|
+
"pluginName": "@knocklabs/cli",
|
|
2076
|
+
"pluginType": "core",
|
|
2077
|
+
"strict": true,
|
|
2078
|
+
"enableJsonFlag": false,
|
|
2079
|
+
"isESM": false,
|
|
2080
|
+
"relativePath": [
|
|
2081
|
+
"dist",
|
|
2082
|
+
"commands",
|
|
2083
|
+
"workflow",
|
|
2084
|
+
"generate-types.js"
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
1642
2087
|
"workflow:get": {
|
|
1643
2088
|
"aliases": [],
|
|
1644
2089
|
"args": {
|
|
@@ -2167,5 +2612,5 @@
|
|
|
2167
2612
|
]
|
|
2168
2613
|
}
|
|
2169
2614
|
},
|
|
2170
|
-
"version": "0.1.
|
|
2615
|
+
"version": "0.1.21"
|
|
2171
2616
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knocklabs/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Knock CLI",
|
|
5
5
|
"author": "@knocklabs",
|
|
6
6
|
"bin": {
|
|
@@ -19,25 +19,26 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@oclif/core": "^3",
|
|
21
21
|
"@oclif/plugin-help": "^6",
|
|
22
|
-
"@prantlf/jsonlint": "^14.0
|
|
23
|
-
"axios": "^1.
|
|
22
|
+
"@prantlf/jsonlint": "^14.1.0",
|
|
23
|
+
"axios": "^1.9.0",
|
|
24
24
|
"date-fns": "^2.30.0",
|
|
25
25
|
"enquirer": "^2.4.1",
|
|
26
|
-
"fs-extra": "^11.
|
|
27
|
-
"liquidjs": "^10.
|
|
26
|
+
"fs-extra": "^11.3.0",
|
|
27
|
+
"liquidjs": "^10.21.1",
|
|
28
28
|
"locale-codes": "^1.3.1",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
|
-
"
|
|
30
|
+
"quicktype-core": "^23.0.171",
|
|
31
|
+
"yup": "^1.6.1"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@oclif/test": "^3",
|
|
34
|
-
"@swc/cli": "^0.
|
|
35
|
-
"@swc/core": "^1.
|
|
36
|
-
"@swc/helpers": "^0.5.
|
|
35
|
+
"@swc/cli": "^0.7.5",
|
|
36
|
+
"@swc/core": "^1.11.24",
|
|
37
|
+
"@swc/helpers": "^0.5.17",
|
|
37
38
|
"@types/chai": "^4",
|
|
38
39
|
"@types/fs-extra": "^11.0.4",
|
|
39
|
-
"@types/mocha": "^10.0.
|
|
40
|
-
"@types/node": "^20.
|
|
40
|
+
"@types/mocha": "^10.0.10",
|
|
41
|
+
"@types/node": "^20.17.46",
|
|
41
42
|
"chai": "^4",
|
|
42
43
|
"eslint": "^7.32.0",
|
|
43
44
|
"eslint-config-oclif": "^4",
|
|
@@ -46,15 +47,15 @@
|
|
|
46
47
|
"eslint-plugin-prettier": "^4.2.1",
|
|
47
48
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
48
49
|
"mocha": "^10",
|
|
49
|
-
"nock": "^13.5.
|
|
50
|
+
"nock": "^13.5.6",
|
|
50
51
|
"oclif": "^4",
|
|
51
52
|
"prettier": "2.8.8",
|
|
52
|
-
"shx": "^0.
|
|
53
|
+
"shx": "^0.4.0",
|
|
53
54
|
"sinon": "^16.1.3",
|
|
54
55
|
"ts-node": "^10.9.1",
|
|
55
56
|
"tsconfig-paths": "^4.2.0",
|
|
56
|
-
"tslib": "^2.
|
|
57
|
-
"typescript": "^5.
|
|
57
|
+
"tslib": "^2.8.1",
|
|
58
|
+
"typescript": "^5.8.3"
|
|
58
59
|
},
|
|
59
60
|
"oclif": {
|
|
60
61
|
"bin": "knock",
|