checkly 7.7.0-prerelease-04cc5a2 → 7.7.0

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.
Files changed (2) hide show
  1. package/oclif.manifest.json +242 -242
  2. package/package.json +1 -1
@@ -1706,198 +1706,6 @@
1706
1706
  "update.js"
1707
1707
  ]
1708
1708
  },
1709
- "import:apply": {
1710
- "aliases": [],
1711
- "args": {},
1712
- "description": "Attach imported resources into your project in a pending state.",
1713
- "flags": {
1714
- "config": {
1715
- "char": "c",
1716
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1717
- "name": "config",
1718
- "hasDynamicHelp": false,
1719
- "multiple": false,
1720
- "type": "option"
1721
- }
1722
- },
1723
- "hasDynamicHelp": false,
1724
- "hidden": false,
1725
- "hiddenAliases": [],
1726
- "id": "import:apply",
1727
- "pluginAlias": "checkly",
1728
- "pluginName": "checkly",
1729
- "pluginType": "core",
1730
- "strict": true,
1731
- "enableJsonFlag": false,
1732
- "coreCommand": false,
1733
- "readOnly": false,
1734
- "destructive": false,
1735
- "idempotent": false,
1736
- "isESM": false,
1737
- "relativePath": [
1738
- "dist",
1739
- "commands",
1740
- "import",
1741
- "apply.js"
1742
- ]
1743
- },
1744
- "import:cancel": {
1745
- "aliases": [],
1746
- "args": {},
1747
- "description": "Cancels an ongoing import plan that has not been committed yet.",
1748
- "flags": {
1749
- "config": {
1750
- "char": "c",
1751
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1752
- "name": "config",
1753
- "hasDynamicHelp": false,
1754
- "multiple": false,
1755
- "type": "option"
1756
- },
1757
- "all": {
1758
- "description": "Cancel all plans.",
1759
- "name": "all",
1760
- "allowNo": false,
1761
- "type": "boolean"
1762
- }
1763
- },
1764
- "hasDynamicHelp": false,
1765
- "hidden": false,
1766
- "hiddenAliases": [],
1767
- "id": "import:cancel",
1768
- "pluginAlias": "checkly",
1769
- "pluginName": "checkly",
1770
- "pluginType": "core",
1771
- "strict": true,
1772
- "enableJsonFlag": false,
1773
- "coreCommand": false,
1774
- "readOnly": false,
1775
- "destructive": false,
1776
- "idempotent": true,
1777
- "isESM": false,
1778
- "relativePath": [
1779
- "dist",
1780
- "commands",
1781
- "import",
1782
- "cancel.js"
1783
- ]
1784
- },
1785
- "import:commit": {
1786
- "aliases": [],
1787
- "args": {},
1788
- "description": "Permanently commit imported resources into your project.",
1789
- "flags": {
1790
- "config": {
1791
- "char": "c",
1792
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1793
- "name": "config",
1794
- "hasDynamicHelp": false,
1795
- "multiple": false,
1796
- "type": "option"
1797
- }
1798
- },
1799
- "hasDynamicHelp": false,
1800
- "hidden": false,
1801
- "hiddenAliases": [],
1802
- "id": "import:commit",
1803
- "pluginAlias": "checkly",
1804
- "pluginName": "checkly",
1805
- "pluginType": "core",
1806
- "strict": true,
1807
- "enableJsonFlag": false,
1808
- "coreCommand": false,
1809
- "readOnly": false,
1810
- "destructive": false,
1811
- "idempotent": false,
1812
- "isESM": false,
1813
- "relativePath": [
1814
- "dist",
1815
- "commands",
1816
- "import",
1817
- "commit.js"
1818
- ]
1819
- },
1820
- "import:plan": {
1821
- "aliases": [],
1822
- "args": {
1823
- "resource": {
1824
- "description": "A specific resource to import.",
1825
- "name": "resource",
1826
- "required": false
1827
- }
1828
- },
1829
- "description": "Import existing resources from your Checkly account to your project.\n\nBy default, all resources that can be imported will be imported. However, you\nmay fine-tune the process by including or excluding any combination of\nresources.\n\nThe import process consists of three steps:\n\n1. Creating a plan, which generates the appropriate code for your resources\n2. Applying the plan, which links your resources to the generated code\n3. Committing the plan, which finalizes the import session\n\nCREATING A PLAN\n\nCreating a plan carries no risk as no concrete links to your Checkly resources\nare made at this point. However, if you accidentally deploy the generated code\nbefore applying the plan, you will end up with duplicate resources and will\nnot be able to complete the import session without first deleting the\nduplicates.\n\nFor the curious, you may also preview the generated code with the '--preview'\noption. No plan will be created, allowing you to leisurely inspect the\ngenerated code. However keep in mind that you will need to create a plan to\nactually import any resources, at which point the code will be generated\nagain.\n\nYou may cancel any plan you've created without affecting any of the\nunderlying resources.\n\nAPPLYING A PLAN\n\nApplying a plan links your existing resources to the generated code. You\nshould carefully review the generated code to make sure that it contains the\nresources you expect before applying a plan. After a plan has been applied,\nany deployments of those resources will irreversibly modify the underlying\nCheckly resources. However, as a fail safe against concurrent use, any\ndeployments not including the imported resources will not delete the\nunderlying resources (or the links to the resources). This means that there\nis no need to block deployments while working on an import session.\n\nEven after you've applied a plan, you may still cancel it, which will unlink\nthe underlying resources from your project once more. However, keep in mind\nthat any changes to the resources that you've already deployed cannot be\nundone.\n\nCOMMITTING A PLAN\n\nFinally, committing a plan removes all fail safes and permanently links the\nimported resources to your project. Any resources you remove from your code\nwill result in the underlying resources also getting irrevocably deleted on\nthe next deploy. You should only commit your plan once you are sure that all\nfuture deployments include the imported resources.",
1830
- "flags": {
1831
- "config": {
1832
- "char": "c",
1833
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1834
- "name": "config",
1835
- "hasDynamicHelp": false,
1836
- "multiple": false,
1837
- "type": "option"
1838
- },
1839
- "root": {
1840
- "description": "The root folder in which to write generated code files.",
1841
- "name": "root",
1842
- "default": "__checks__",
1843
- "hasDynamicHelp": false,
1844
- "multiple": false,
1845
- "type": "option"
1846
- },
1847
- "preview": {
1848
- "description": "Preview generated code without creating an actual import plan.",
1849
- "name": "preview",
1850
- "allowNo": false,
1851
- "type": "boolean"
1852
- },
1853
- "debug-import-plan": {
1854
- "description": "Output the import plan to a file.",
1855
- "hidden": true,
1856
- "name": "debug-import-plan",
1857
- "allowNo": false,
1858
- "type": "boolean"
1859
- },
1860
- "debug-import-plan-input-file": {
1861
- "description": "A file to load an import plan from.",
1862
- "hidden": true,
1863
- "name": "debug-import-plan-input-file",
1864
- "hasDynamicHelp": false,
1865
- "multiple": false,
1866
- "type": "option"
1867
- },
1868
- "debug-import-plan-output-file": {
1869
- "description": "The file to output the import plan to.",
1870
- "hidden": true,
1871
- "name": "debug-import-plan-output-file",
1872
- "default": "./debug-import-plan.json",
1873
- "hasDynamicHelp": false,
1874
- "multiple": false,
1875
- "type": "option"
1876
- }
1877
- },
1878
- "hasDynamicHelp": false,
1879
- "hidden": false,
1880
- "hiddenAliases": [
1881
- "import"
1882
- ],
1883
- "id": "import:plan",
1884
- "pluginAlias": "checkly",
1885
- "pluginName": "checkly",
1886
- "pluginType": "core",
1887
- "strict": false,
1888
- "enableJsonFlag": false,
1889
- "coreCommand": false,
1890
- "readOnly": true,
1891
- "destructive": false,
1892
- "idempotent": true,
1893
- "isESM": false,
1894
- "relativePath": [
1895
- "dist",
1896
- "commands",
1897
- "import",
1898
- "plan.js"
1899
- ]
1900
- },
1901
1709
  "incidents:create": {
1902
1710
  "aliases": [],
1903
1711
  "args": {},
@@ -2246,103 +2054,185 @@
2246
2054
  "update.js"
2247
2055
  ]
2248
2056
  },
2249
- "status-pages:get": {
2057
+ "import:apply": {
2250
2058
  "aliases": [],
2251
- "args": {
2252
- "id": {
2253
- "description": "The ID of the status page to retrieve.",
2254
- "name": "id",
2255
- "required": true
2059
+ "args": {},
2060
+ "description": "Attach imported resources into your project in a pending state.",
2061
+ "flags": {
2062
+ "config": {
2063
+ "char": "c",
2064
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2065
+ "name": "config",
2066
+ "hasDynamicHelp": false,
2067
+ "multiple": false,
2068
+ "type": "option"
2256
2069
  }
2257
2070
  },
2258
- "description": "Get details of a status page, including its cards and services.",
2071
+ "hasDynamicHelp": false,
2072
+ "hidden": false,
2073
+ "hiddenAliases": [],
2074
+ "id": "import:apply",
2075
+ "pluginAlias": "checkly",
2076
+ "pluginName": "checkly",
2077
+ "pluginType": "core",
2078
+ "strict": true,
2079
+ "enableJsonFlag": false,
2080
+ "coreCommand": false,
2081
+ "readOnly": false,
2082
+ "destructive": false,
2083
+ "idempotent": false,
2084
+ "isESM": false,
2085
+ "relativePath": [
2086
+ "dist",
2087
+ "commands",
2088
+ "import",
2089
+ "apply.js"
2090
+ ]
2091
+ },
2092
+ "import:cancel": {
2093
+ "aliases": [],
2094
+ "args": {},
2095
+ "description": "Cancels an ongoing import plan that has not been committed yet.",
2259
2096
  "flags": {
2260
- "output": {
2261
- "char": "o",
2262
- "description": "Output format.",
2263
- "name": "output",
2264
- "default": "detail",
2097
+ "config": {
2098
+ "char": "c",
2099
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2100
+ "name": "config",
2265
2101
  "hasDynamicHelp": false,
2266
2102
  "multiple": false,
2267
- "options": [
2268
- "detail",
2269
- "json",
2270
- "md"
2271
- ],
2272
2103
  "type": "option"
2104
+ },
2105
+ "all": {
2106
+ "description": "Cancel all plans.",
2107
+ "name": "all",
2108
+ "allowNo": false,
2109
+ "type": "boolean"
2273
2110
  }
2274
2111
  },
2275
2112
  "hasDynamicHelp": false,
2276
2113
  "hidden": false,
2277
2114
  "hiddenAliases": [],
2278
- "id": "status-pages:get",
2115
+ "id": "import:cancel",
2279
2116
  "pluginAlias": "checkly",
2280
2117
  "pluginName": "checkly",
2281
2118
  "pluginType": "core",
2282
2119
  "strict": true,
2283
2120
  "enableJsonFlag": false,
2284
2121
  "coreCommand": false,
2285
- "readOnly": true,
2122
+ "readOnly": false,
2286
2123
  "destructive": false,
2287
2124
  "idempotent": true,
2288
2125
  "isESM": false,
2289
2126
  "relativePath": [
2290
2127
  "dist",
2291
2128
  "commands",
2292
- "status-pages",
2293
- "get.js"
2129
+ "import",
2130
+ "cancel.js"
2294
2131
  ]
2295
2132
  },
2296
- "status-pages:list": {
2133
+ "import:commit": {
2297
2134
  "aliases": [],
2298
2135
  "args": {},
2299
- "description": "List all status pages in your account.",
2136
+ "description": "Permanently commit imported resources into your project.",
2300
2137
  "flags": {
2301
- "limit": {
2302
- "char": "l",
2303
- "description": "Number of status pages to return (1-100).",
2304
- "name": "limit",
2305
- "default": 25,
2138
+ "config": {
2139
+ "char": "c",
2140
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2141
+ "name": "config",
2142
+ "hasDynamicHelp": false,
2143
+ "multiple": false,
2144
+ "type": "option"
2145
+ }
2146
+ },
2147
+ "hasDynamicHelp": false,
2148
+ "hidden": false,
2149
+ "hiddenAliases": [],
2150
+ "id": "import:commit",
2151
+ "pluginAlias": "checkly",
2152
+ "pluginName": "checkly",
2153
+ "pluginType": "core",
2154
+ "strict": true,
2155
+ "enableJsonFlag": false,
2156
+ "coreCommand": false,
2157
+ "readOnly": false,
2158
+ "destructive": false,
2159
+ "idempotent": false,
2160
+ "isESM": false,
2161
+ "relativePath": [
2162
+ "dist",
2163
+ "commands",
2164
+ "import",
2165
+ "commit.js"
2166
+ ]
2167
+ },
2168
+ "import:plan": {
2169
+ "aliases": [],
2170
+ "args": {
2171
+ "resource": {
2172
+ "description": "A specific resource to import.",
2173
+ "name": "resource",
2174
+ "required": false
2175
+ }
2176
+ },
2177
+ "description": "Import existing resources from your Checkly account to your project.\n\nBy default, all resources that can be imported will be imported. However, you\nmay fine-tune the process by including or excluding any combination of\nresources.\n\nThe import process consists of three steps:\n\n1. Creating a plan, which generates the appropriate code for your resources\n2. Applying the plan, which links your resources to the generated code\n3. Committing the plan, which finalizes the import session\n\nCREATING A PLAN\n\nCreating a plan carries no risk as no concrete links to your Checkly resources\nare made at this point. However, if you accidentally deploy the generated code\nbefore applying the plan, you will end up with duplicate resources and will\nnot be able to complete the import session without first deleting the\nduplicates.\n\nFor the curious, you may also preview the generated code with the '--preview'\noption. No plan will be created, allowing you to leisurely inspect the\ngenerated code. However keep in mind that you will need to create a plan to\nactually import any resources, at which point the code will be generated\nagain.\n\nYou may cancel any plan you've created without affecting any of the\nunderlying resources.\n\nAPPLYING A PLAN\n\nApplying a plan links your existing resources to the generated code. You\nshould carefully review the generated code to make sure that it contains the\nresources you expect before applying a plan. After a plan has been applied,\nany deployments of those resources will irreversibly modify the underlying\nCheckly resources. However, as a fail safe against concurrent use, any\ndeployments not including the imported resources will not delete the\nunderlying resources (or the links to the resources). This means that there\nis no need to block deployments while working on an import session.\n\nEven after you've applied a plan, you may still cancel it, which will unlink\nthe underlying resources from your project once more. However, keep in mind\nthat any changes to the resources that you've already deployed cannot be\nundone.\n\nCOMMITTING A PLAN\n\nFinally, committing a plan removes all fail safes and permanently links the\nimported resources to your project. Any resources you remove from your code\nwill result in the underlying resources also getting irrevocably deleted on\nthe next deploy. You should only commit your plan once you are sure that all\nfuture deployments include the imported resources.",
2178
+ "flags": {
2179
+ "config": {
2180
+ "char": "c",
2181
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2182
+ "name": "config",
2306
2183
  "hasDynamicHelp": false,
2307
2184
  "multiple": false,
2308
2185
  "type": "option"
2309
2186
  },
2310
- "cursor": {
2311
- "description": "Cursor for next page (from previous output).",
2312
- "name": "cursor",
2187
+ "root": {
2188
+ "description": "The root folder in which to write generated code files.",
2189
+ "name": "root",
2190
+ "default": "__checks__",
2313
2191
  "hasDynamicHelp": false,
2314
2192
  "multiple": false,
2315
2193
  "type": "option"
2316
2194
  },
2317
- "compact": {
2318
- "description": "Show one row per status page instead of per service.",
2319
- "name": "compact",
2195
+ "preview": {
2196
+ "description": "Preview generated code without creating an actual import plan.",
2197
+ "name": "preview",
2320
2198
  "allowNo": false,
2321
2199
  "type": "boolean"
2322
2200
  },
2323
- "output": {
2324
- "char": "o",
2325
- "description": "Output format.",
2326
- "name": "output",
2327
- "default": "table",
2201
+ "debug-import-plan": {
2202
+ "description": "Output the import plan to a file.",
2203
+ "hidden": true,
2204
+ "name": "debug-import-plan",
2205
+ "allowNo": false,
2206
+ "type": "boolean"
2207
+ },
2208
+ "debug-import-plan-input-file": {
2209
+ "description": "A file to load an import plan from.",
2210
+ "hidden": true,
2211
+ "name": "debug-import-plan-input-file",
2212
+ "hasDynamicHelp": false,
2213
+ "multiple": false,
2214
+ "type": "option"
2215
+ },
2216
+ "debug-import-plan-output-file": {
2217
+ "description": "The file to output the import plan to.",
2218
+ "hidden": true,
2219
+ "name": "debug-import-plan-output-file",
2220
+ "default": "./debug-import-plan.json",
2328
2221
  "hasDynamicHelp": false,
2329
2222
  "multiple": false,
2330
- "options": [
2331
- "table",
2332
- "json",
2333
- "md"
2334
- ],
2335
2223
  "type": "option"
2336
2224
  }
2337
2225
  },
2338
2226
  "hasDynamicHelp": false,
2339
2227
  "hidden": false,
2340
- "hiddenAliases": [],
2341
- "id": "status-pages:list",
2228
+ "hiddenAliases": [
2229
+ "import"
2230
+ ],
2231
+ "id": "import:plan",
2342
2232
  "pluginAlias": "checkly",
2343
2233
  "pluginName": "checkly",
2344
2234
  "pluginType": "core",
2345
- "strict": true,
2235
+ "strict": false,
2346
2236
  "enableJsonFlag": false,
2347
2237
  "coreCommand": false,
2348
2238
  "readOnly": true,
@@ -2352,8 +2242,8 @@
2352
2242
  "relativePath": [
2353
2243
  "dist",
2354
2244
  "commands",
2355
- "status-pages",
2356
- "list.js"
2245
+ "import",
2246
+ "plan.js"
2357
2247
  ]
2358
2248
  },
2359
2249
  "skills": {
@@ -2448,7 +2338,117 @@
2448
2338
  "skills",
2449
2339
  "install.js"
2450
2340
  ]
2341
+ },
2342
+ "status-pages:get": {
2343
+ "aliases": [],
2344
+ "args": {
2345
+ "id": {
2346
+ "description": "The ID of the status page to retrieve.",
2347
+ "name": "id",
2348
+ "required": true
2349
+ }
2350
+ },
2351
+ "description": "Get details of a status page, including its cards and services.",
2352
+ "flags": {
2353
+ "output": {
2354
+ "char": "o",
2355
+ "description": "Output format.",
2356
+ "name": "output",
2357
+ "default": "detail",
2358
+ "hasDynamicHelp": false,
2359
+ "multiple": false,
2360
+ "options": [
2361
+ "detail",
2362
+ "json",
2363
+ "md"
2364
+ ],
2365
+ "type": "option"
2366
+ }
2367
+ },
2368
+ "hasDynamicHelp": false,
2369
+ "hidden": false,
2370
+ "hiddenAliases": [],
2371
+ "id": "status-pages:get",
2372
+ "pluginAlias": "checkly",
2373
+ "pluginName": "checkly",
2374
+ "pluginType": "core",
2375
+ "strict": true,
2376
+ "enableJsonFlag": false,
2377
+ "coreCommand": false,
2378
+ "readOnly": true,
2379
+ "destructive": false,
2380
+ "idempotent": true,
2381
+ "isESM": false,
2382
+ "relativePath": [
2383
+ "dist",
2384
+ "commands",
2385
+ "status-pages",
2386
+ "get.js"
2387
+ ]
2388
+ },
2389
+ "status-pages:list": {
2390
+ "aliases": [],
2391
+ "args": {},
2392
+ "description": "List all status pages in your account.",
2393
+ "flags": {
2394
+ "limit": {
2395
+ "char": "l",
2396
+ "description": "Number of status pages to return (1-100).",
2397
+ "name": "limit",
2398
+ "default": 25,
2399
+ "hasDynamicHelp": false,
2400
+ "multiple": false,
2401
+ "type": "option"
2402
+ },
2403
+ "cursor": {
2404
+ "description": "Cursor for next page (from previous output).",
2405
+ "name": "cursor",
2406
+ "hasDynamicHelp": false,
2407
+ "multiple": false,
2408
+ "type": "option"
2409
+ },
2410
+ "compact": {
2411
+ "description": "Show one row per status page instead of per service.",
2412
+ "name": "compact",
2413
+ "allowNo": false,
2414
+ "type": "boolean"
2415
+ },
2416
+ "output": {
2417
+ "char": "o",
2418
+ "description": "Output format.",
2419
+ "name": "output",
2420
+ "default": "table",
2421
+ "hasDynamicHelp": false,
2422
+ "multiple": false,
2423
+ "options": [
2424
+ "table",
2425
+ "json",
2426
+ "md"
2427
+ ],
2428
+ "type": "option"
2429
+ }
2430
+ },
2431
+ "hasDynamicHelp": false,
2432
+ "hidden": false,
2433
+ "hiddenAliases": [],
2434
+ "id": "status-pages:list",
2435
+ "pluginAlias": "checkly",
2436
+ "pluginName": "checkly",
2437
+ "pluginType": "core",
2438
+ "strict": true,
2439
+ "enableJsonFlag": false,
2440
+ "coreCommand": false,
2441
+ "readOnly": true,
2442
+ "destructive": false,
2443
+ "idempotent": true,
2444
+ "isESM": false,
2445
+ "relativePath": [
2446
+ "dist",
2447
+ "commands",
2448
+ "status-pages",
2449
+ "list.js"
2450
+ ]
2451
2451
  }
2452
2452
  },
2453
- "version": "7.7.0-prerelease-04cc5a2"
2453
+ "version": "7.7.0"
2454
2454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkly",
3
- "version": "7.7.0-prerelease-04cc5a2",
3
+ "version": "7.7.0",
4
4
  "description": "Checkly CLI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",