checkly 8.23.1 → 8.23.2-prerelease-519cfcb

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.
@@ -183,6 +183,19 @@ export class PathResolver {
183
183
  }
184
184
  }
185
185
  export function isLocalPath(importPath) {
186
+ // Bare '.' and '..' are directory imports of the importing file's own
187
+ // directory and its parent, equivalent to './' and '../'. Without these
188
+ // checks they would fall through and be misclassified as npm package names.
189
+ //
190
+ // Note that this predicate also gates tsconfig `extends` and package.json
191
+ // `imports` target resolution. Strictly speaking, tsc sends a bare '.'
192
+ // in `extends` through node module resolution, and Node requires `imports`
193
+ // targets to start with './' to count as relative — but both of those are
194
+ // degenerate configs, and treating '.' and '..' as local paths is the more
195
+ // useful interpretation in every call site.
196
+ if (importPath === '.' || importPath === '..') {
197
+ return true;
198
+ }
186
199
  if (importPath.startsWith('/')) {
187
200
  return true;
188
201
  }
@@ -1 +1 @@
1
- {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../../src/services/check-parser/package-files/paths.ts"],"names":[],"mappings":"AAEA,MAAM,cAAc;IAClB;;;;;;;;;OASG;IACH,MAAM,CAAQ;IAEd;;OAEG;IACH,MAAM,CAAS;IAEf,YAAuB,MAAc,EAAE,MAAe;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,MAAM,CAAE,KAAc;QACpB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,IAAI,CAAC,MAAM,CAAA;QACpB,CAAC;QAED,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;QAClC,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,MAAM,C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AG,CAAC;KACrB,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../../src/services/check-parser/package-files/paths.ts"],"names":[],"mappings":"AAEA,MAAM,cAAc;IAClB;;;;;;;;;OASG;IACH,MAAM,CAAQ;IAEd;;OAEG;IACH,MAAM,CAAS;IAEf,YAAuB,MAAc,EAAE,MAAe;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,MAAM,CAAE,KAAc;QACpB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,IAAI,CAAC,MAAM,CAAA;QACpB,CAAC;QAED,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;QAClC,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,MAAM,CAAE,IAAY;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QAChC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,KAAK,CAAA;QAC9B,OAAO,IAAI,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC3C,CAAC;CACF;AAOD,MAAM,eAAe;IACnB,EAAE,CAAS;IACX,OAAO,CAAoB;IAE3B,YAAqB,EAAW,EAAE,OAA2B;QAC3D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;QACZ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,IAAI,CAAE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nC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAE,UAAkB;IACpD,OAAO,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;AACrC,CAAC;AAED,MAAM,UAAU,aAAa,CAAE,UAAkB;IAC/C,IAAI,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAOD,MAAM,UAAU,iBAAiB,CAAE,UAAkB;IACnD,IAAI,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC/B,MAAM,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QACvD,OAAO;YACL,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,SAAS;YAC7C,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;SACrB,CAAA;IACH,CAAC;IAED,MAAM,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAE5C,OAAO;QACL,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;KACrB,CAAA;AACH,CAAC"}
@@ -1693,168 +1693,6 @@
1693
1693
  "list.js"
1694
1694
  ]
1695
1695
  },
1696
- "debug:parse-file": {
1697
- "aliases": [],
1698
- "args": {},
1699
- "description": "Parses and outputs relevant details of a code file.",
1700
- "flags": {
1701
- "file": {
1702
- "name": "file",
1703
- "required": true,
1704
- "hasDynamicHelp": false,
1705
- "multiple": false,
1706
- "type": "option"
1707
- },
1708
- "restricted": {
1709
- "name": "restricted",
1710
- "allowNo": false,
1711
- "type": "boolean"
1712
- },
1713
- "detect-workspace": {
1714
- "name": "detect-workspace",
1715
- "allowNo": true,
1716
- "type": "boolean"
1717
- },
1718
- "supported-module": {
1719
- "name": "supported-module",
1720
- "default": [],
1721
- "delimiter": ",",
1722
- "hasDynamicHelp": false,
1723
- "multiple": true,
1724
- "type": "option"
1725
- },
1726
- "check-unsupported-modules": {
1727
- "name": "check-unsupported-modules",
1728
- "allowNo": false,
1729
- "type": "boolean"
1730
- }
1731
- },
1732
- "hasDynamicHelp": false,
1733
- "hidden": true,
1734
- "hiddenAliases": [],
1735
- "id": "debug:parse-file",
1736
- "pluginAlias": "checkly",
1737
- "pluginName": "checkly",
1738
- "pluginType": "core",
1739
- "strict": true,
1740
- "enableJsonFlag": false,
1741
- "isESM": true,
1742
- "relativePath": [
1743
- "dist",
1744
- "commands",
1745
- "debug",
1746
- "parse-file.js"
1747
- ]
1748
- },
1749
- "debug:parse-playwright-config": {
1750
- "aliases": [],
1751
- "args": {},
1752
- "description": "Parses and outputs relevant details of a Playwright configuration file.",
1753
- "flags": {
1754
- "file": {
1755
- "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
1756
- "name": "file",
1757
- "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
1758
- "hasDynamicHelp": false,
1759
- "multiple": false,
1760
- "type": "option"
1761
- }
1762
- },
1763
- "hasDynamicHelp": false,
1764
- "hidden": true,
1765
- "hiddenAliases": [],
1766
- "id": "debug:parse-playwright-config",
1767
- "pluginAlias": "checkly",
1768
- "pluginName": "checkly",
1769
- "pluginType": "core",
1770
- "strict": true,
1771
- "enableJsonFlag": false,
1772
- "isESM": true,
1773
- "relativePath": [
1774
- "dist",
1775
- "commands",
1776
- "debug",
1777
- "parse-playwright-config.js"
1778
- ]
1779
- },
1780
- "debug:parse-project": {
1781
- "aliases": [],
1782
- "args": {},
1783
- "description": "Parses a Checkly project.",
1784
- "flags": {
1785
- "config": {
1786
- "char": "c",
1787
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1788
- "env": "CHECKLY_CONFIG_FILE",
1789
- "name": "config",
1790
- "hasDynamicHelp": false,
1791
- "multiple": false,
1792
- "type": "option"
1793
- },
1794
- "default-runtime": {
1795
- "description": "The default runtime to use if none is specified.",
1796
- "env": "CHECKLY_DEFAULT_RUNTIME",
1797
- "name": "default-runtime",
1798
- "default": "2025.04",
1799
- "hasDynamicHelp": false,
1800
- "multiple": false,
1801
- "type": "option"
1802
- },
1803
- "verify-runtime-dependencies": {
1804
- "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
1805
- "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
1806
- "name": "verify-runtime-dependencies",
1807
- "allowNo": true,
1808
- "type": "boolean"
1809
- },
1810
- "emulate-pw-test": {
1811
- "description": "Pretend to be the pw-test command. Affects validation.",
1812
- "env": "CHECKLY_EMULATE_PW_TEST",
1813
- "name": "emulate-pw-test",
1814
- "allowNo": false,
1815
- "type": "boolean"
1816
- },
1817
- "include": {
1818
- "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
1819
- "name": "include",
1820
- "default": [],
1821
- "hasDynamicHelp": false,
1822
- "multiple": true,
1823
- "type": "option"
1824
- },
1825
- "inject-private-location": {
1826
- "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
1827
- "name": "inject-private-location",
1828
- "default": [],
1829
- "delimiter": ",",
1830
- "hasDynamicHelp": false,
1831
- "multiple": true,
1832
- "type": "option"
1833
- },
1834
- "stats": {
1835
- "description": "Print parse/bundle/synthesize timing and heap usage to stderr. Run with NODE_OPTIONS=--expose-gc to also report the retained (post-GC) heap.",
1836
- "name": "stats",
1837
- "allowNo": false,
1838
- "type": "boolean"
1839
- }
1840
- },
1841
- "hasDynamicHelp": false,
1842
- "hidden": true,
1843
- "hiddenAliases": [],
1844
- "id": "debug:parse-project",
1845
- "pluginAlias": "checkly",
1846
- "pluginName": "checkly",
1847
- "pluginType": "core",
1848
- "strict": true,
1849
- "enableJsonFlag": false,
1850
- "isESM": true,
1851
- "relativePath": [
1852
- "dist",
1853
- "commands",
1854
- "debug",
1855
- "parse-project.js"
1856
- ]
1857
- },
1858
1696
  "checks:delete": {
1859
1697
  "aliases": [],
1860
1698
  "args": {
@@ -2319,40 +2157,419 @@
2319
2157
  ],
2320
2158
  "type": "option"
2321
2159
  },
2322
- "output": {
2323
- "char": "o",
2324
- "description": "Output format.",
2325
- "name": "output",
2326
- "default": "table",
2327
- "hasDynamicHelp": false,
2328
- "multiple": false,
2329
- "options": [
2330
- "table",
2331
- "json",
2332
- "md"
2160
+ "output": {
2161
+ "char": "o",
2162
+ "description": "Output format.",
2163
+ "name": "output",
2164
+ "default": "table",
2165
+ "hasDynamicHelp": false,
2166
+ "multiple": false,
2167
+ "options": [
2168
+ "table",
2169
+ "json",
2170
+ "md"
2171
+ ],
2172
+ "type": "option"
2173
+ }
2174
+ },
2175
+ "hasDynamicHelp": false,
2176
+ "hidden": false,
2177
+ "hiddenAliases": [],
2178
+ "id": "checks:stats",
2179
+ "pluginAlias": "checkly",
2180
+ "pluginName": "checkly",
2181
+ "pluginType": "core",
2182
+ "strict": false,
2183
+ "enableJsonFlag": false,
2184
+ "coreCommand": false,
2185
+ "readOnly": true,
2186
+ "destructive": false,
2187
+ "idempotent": true,
2188
+ "isESM": true,
2189
+ "relativePath": [
2190
+ "dist",
2191
+ "commands",
2192
+ "checks",
2193
+ "stats.js"
2194
+ ]
2195
+ },
2196
+ "debug:parse-file": {
2197
+ "aliases": [],
2198
+ "args": {},
2199
+ "description": "Parses and outputs relevant details of a code file.",
2200
+ "flags": {
2201
+ "file": {
2202
+ "name": "file",
2203
+ "required": true,
2204
+ "hasDynamicHelp": false,
2205
+ "multiple": false,
2206
+ "type": "option"
2207
+ },
2208
+ "restricted": {
2209
+ "name": "restricted",
2210
+ "allowNo": false,
2211
+ "type": "boolean"
2212
+ },
2213
+ "detect-workspace": {
2214
+ "name": "detect-workspace",
2215
+ "allowNo": true,
2216
+ "type": "boolean"
2217
+ },
2218
+ "supported-module": {
2219
+ "name": "supported-module",
2220
+ "default": [],
2221
+ "delimiter": ",",
2222
+ "hasDynamicHelp": false,
2223
+ "multiple": true,
2224
+ "type": "option"
2225
+ },
2226
+ "check-unsupported-modules": {
2227
+ "name": "check-unsupported-modules",
2228
+ "allowNo": false,
2229
+ "type": "boolean"
2230
+ }
2231
+ },
2232
+ "hasDynamicHelp": false,
2233
+ "hidden": true,
2234
+ "hiddenAliases": [],
2235
+ "id": "debug:parse-file",
2236
+ "pluginAlias": "checkly",
2237
+ "pluginName": "checkly",
2238
+ "pluginType": "core",
2239
+ "strict": true,
2240
+ "enableJsonFlag": false,
2241
+ "isESM": true,
2242
+ "relativePath": [
2243
+ "dist",
2244
+ "commands",
2245
+ "debug",
2246
+ "parse-file.js"
2247
+ ]
2248
+ },
2249
+ "debug:parse-playwright-config": {
2250
+ "aliases": [],
2251
+ "args": {},
2252
+ "description": "Parses and outputs relevant details of a Playwright configuration file.",
2253
+ "flags": {
2254
+ "file": {
2255
+ "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
2256
+ "name": "file",
2257
+ "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
2258
+ "hasDynamicHelp": false,
2259
+ "multiple": false,
2260
+ "type": "option"
2261
+ }
2262
+ },
2263
+ "hasDynamicHelp": false,
2264
+ "hidden": true,
2265
+ "hiddenAliases": [],
2266
+ "id": "debug:parse-playwright-config",
2267
+ "pluginAlias": "checkly",
2268
+ "pluginName": "checkly",
2269
+ "pluginType": "core",
2270
+ "strict": true,
2271
+ "enableJsonFlag": false,
2272
+ "isESM": true,
2273
+ "relativePath": [
2274
+ "dist",
2275
+ "commands",
2276
+ "debug",
2277
+ "parse-playwright-config.js"
2278
+ ]
2279
+ },
2280
+ "debug:parse-project": {
2281
+ "aliases": [],
2282
+ "args": {},
2283
+ "description": "Parses a Checkly project.",
2284
+ "flags": {
2285
+ "config": {
2286
+ "char": "c",
2287
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2288
+ "env": "CHECKLY_CONFIG_FILE",
2289
+ "name": "config",
2290
+ "hasDynamicHelp": false,
2291
+ "multiple": false,
2292
+ "type": "option"
2293
+ },
2294
+ "default-runtime": {
2295
+ "description": "The default runtime to use if none is specified.",
2296
+ "env": "CHECKLY_DEFAULT_RUNTIME",
2297
+ "name": "default-runtime",
2298
+ "default": "2025.04",
2299
+ "hasDynamicHelp": false,
2300
+ "multiple": false,
2301
+ "type": "option"
2302
+ },
2303
+ "verify-runtime-dependencies": {
2304
+ "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
2305
+ "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
2306
+ "name": "verify-runtime-dependencies",
2307
+ "allowNo": true,
2308
+ "type": "boolean"
2309
+ },
2310
+ "emulate-pw-test": {
2311
+ "description": "Pretend to be the pw-test command. Affects validation.",
2312
+ "env": "CHECKLY_EMULATE_PW_TEST",
2313
+ "name": "emulate-pw-test",
2314
+ "allowNo": false,
2315
+ "type": "boolean"
2316
+ },
2317
+ "include": {
2318
+ "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
2319
+ "name": "include",
2320
+ "default": [],
2321
+ "hasDynamicHelp": false,
2322
+ "multiple": true,
2323
+ "type": "option"
2324
+ },
2325
+ "inject-private-location": {
2326
+ "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
2327
+ "name": "inject-private-location",
2328
+ "default": [],
2329
+ "delimiter": ",",
2330
+ "hasDynamicHelp": false,
2331
+ "multiple": true,
2332
+ "type": "option"
2333
+ },
2334
+ "stats": {
2335
+ "description": "Print parse/bundle/synthesize timing and heap usage to stderr. Run with NODE_OPTIONS=--expose-gc to also report the retained (post-GC) heap.",
2336
+ "name": "stats",
2337
+ "allowNo": false,
2338
+ "type": "boolean"
2339
+ }
2340
+ },
2341
+ "hasDynamicHelp": false,
2342
+ "hidden": true,
2343
+ "hiddenAliases": [],
2344
+ "id": "debug:parse-project",
2345
+ "pluginAlias": "checkly",
2346
+ "pluginName": "checkly",
2347
+ "pluginType": "core",
2348
+ "strict": true,
2349
+ "enableJsonFlag": false,
2350
+ "isESM": true,
2351
+ "relativePath": [
2352
+ "dist",
2353
+ "commands",
2354
+ "debug",
2355
+ "parse-project.js"
2356
+ ]
2357
+ },
2358
+ "env:add": {
2359
+ "aliases": [],
2360
+ "args": {
2361
+ "key": {
2362
+ "description": "Environment variable key.",
2363
+ "name": "key",
2364
+ "required": true
2365
+ },
2366
+ "value": {
2367
+ "description": "Environment variable value.",
2368
+ "name": "value",
2369
+ "required": false
2370
+ }
2371
+ },
2372
+ "description": "Add environment variable via \"checkly env add <key> <value>\".",
2373
+ "flags": {
2374
+ "locked": {
2375
+ "char": "l",
2376
+ "description": "Indicate that the environment variable will be locked.",
2377
+ "name": "locked",
2378
+ "allowNo": false,
2379
+ "type": "boolean"
2380
+ },
2381
+ "secret": {
2382
+ "char": "s",
2383
+ "description": "Indicate that the environment variable will be secret.",
2384
+ "exclusive": [
2385
+ "locked"
2386
+ ],
2387
+ "name": "secret",
2388
+ "allowNo": false,
2389
+ "type": "boolean"
2390
+ }
2391
+ },
2392
+ "hasDynamicHelp": false,
2393
+ "hidden": false,
2394
+ "hiddenAliases": [],
2395
+ "id": "env:add",
2396
+ "pluginAlias": "checkly",
2397
+ "pluginName": "checkly",
2398
+ "pluginType": "core",
2399
+ "strict": true,
2400
+ "enableJsonFlag": false,
2401
+ "coreCommand": false,
2402
+ "readOnly": false,
2403
+ "destructive": false,
2404
+ "idempotent": false,
2405
+ "isESM": true,
2406
+ "relativePath": [
2407
+ "dist",
2408
+ "commands",
2409
+ "env",
2410
+ "add.js"
2411
+ ]
2412
+ },
2413
+ "env:ls": {
2414
+ "aliases": [],
2415
+ "args": {},
2416
+ "description": "List all Checkly environment variables via \"checkly env ls\".",
2417
+ "flags": {},
2418
+ "hasDynamicHelp": false,
2419
+ "hidden": false,
2420
+ "hiddenAliases": [],
2421
+ "id": "env:ls",
2422
+ "pluginAlias": "checkly",
2423
+ "pluginName": "checkly",
2424
+ "pluginType": "core",
2425
+ "strict": true,
2426
+ "enableJsonFlag": false,
2427
+ "coreCommand": false,
2428
+ "readOnly": true,
2429
+ "destructive": false,
2430
+ "idempotent": true,
2431
+ "isESM": true,
2432
+ "relativePath": [
2433
+ "dist",
2434
+ "commands",
2435
+ "env",
2436
+ "ls.js"
2437
+ ]
2438
+ },
2439
+ "env:pull": {
2440
+ "aliases": [],
2441
+ "args": {
2442
+ "filename": {
2443
+ "default": ".env",
2444
+ "description": "Filename of the generated file.",
2445
+ "name": "filename",
2446
+ "required": false
2447
+ }
2448
+ },
2449
+ "description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
2450
+ "flags": {
2451
+ "force": {
2452
+ "char": "f",
2453
+ "description": "Force to overwrite existing file.",
2454
+ "name": "force",
2455
+ "allowNo": false,
2456
+ "type": "boolean"
2457
+ }
2458
+ },
2459
+ "hasDynamicHelp": false,
2460
+ "hidden": false,
2461
+ "hiddenAliases": [],
2462
+ "id": "env:pull",
2463
+ "pluginAlias": "checkly",
2464
+ "pluginName": "checkly",
2465
+ "pluginType": "core",
2466
+ "strict": true,
2467
+ "enableJsonFlag": false,
2468
+ "coreCommand": false,
2469
+ "readOnly": true,
2470
+ "destructive": false,
2471
+ "idempotent": true,
2472
+ "isESM": true,
2473
+ "relativePath": [
2474
+ "dist",
2475
+ "commands",
2476
+ "env",
2477
+ "pull.js"
2478
+ ]
2479
+ },
2480
+ "env:rm": {
2481
+ "aliases": [],
2482
+ "args": {
2483
+ "key": {
2484
+ "description": "Environment variable key to remove.",
2485
+ "name": "key",
2486
+ "required": true
2487
+ }
2488
+ },
2489
+ "description": "Remove environment variable via \"checkly env rm <key>\".",
2490
+ "flags": {
2491
+ "force": {
2492
+ "char": "f",
2493
+ "description": "Skip confirmation prompt.",
2494
+ "name": "force",
2495
+ "allowNo": false,
2496
+ "type": "boolean"
2497
+ }
2498
+ },
2499
+ "hasDynamicHelp": false,
2500
+ "hidden": false,
2501
+ "hiddenAliases": [],
2502
+ "id": "env:rm",
2503
+ "pluginAlias": "checkly",
2504
+ "pluginName": "checkly",
2505
+ "pluginType": "core",
2506
+ "strict": true,
2507
+ "enableJsonFlag": false,
2508
+ "coreCommand": false,
2509
+ "readOnly": false,
2510
+ "destructive": true,
2511
+ "idempotent": false,
2512
+ "isESM": true,
2513
+ "relativePath": [
2514
+ "dist",
2515
+ "commands",
2516
+ "env",
2517
+ "rm.js"
2518
+ ]
2519
+ },
2520
+ "env:update": {
2521
+ "aliases": [],
2522
+ "args": {
2523
+ "key": {
2524
+ "description": "Environment variable key.",
2525
+ "name": "key",
2526
+ "required": true
2527
+ },
2528
+ "value": {
2529
+ "description": "Environment variable value.",
2530
+ "name": "value",
2531
+ "required": false
2532
+ }
2533
+ },
2534
+ "description": "Update environment variable via \"checkly env update <key> <value>\".",
2535
+ "flags": {
2536
+ "locked": {
2537
+ "char": "l",
2538
+ "description": "Indicate if environment variable is locked.",
2539
+ "name": "locked",
2540
+ "allowNo": false,
2541
+ "type": "boolean"
2542
+ },
2543
+ "secret": {
2544
+ "char": "s",
2545
+ "description": "Indicate if environment variable is secret.",
2546
+ "exclusive": [
2547
+ "locked"
2333
2548
  ],
2334
- "type": "option"
2549
+ "name": "secret",
2550
+ "allowNo": false,
2551
+ "type": "boolean"
2335
2552
  }
2336
2553
  },
2337
2554
  "hasDynamicHelp": false,
2338
2555
  "hidden": false,
2339
2556
  "hiddenAliases": [],
2340
- "id": "checks:stats",
2557
+ "id": "env:update",
2341
2558
  "pluginAlias": "checkly",
2342
2559
  "pluginName": "checkly",
2343
2560
  "pluginType": "core",
2344
- "strict": false,
2561
+ "strict": true,
2345
2562
  "enableJsonFlag": false,
2346
2563
  "coreCommand": false,
2347
- "readOnly": true,
2564
+ "readOnly": false,
2348
2565
  "destructive": false,
2349
2566
  "idempotent": true,
2350
2567
  "isESM": true,
2351
2568
  "relativePath": [
2352
2569
  "dist",
2353
2570
  "commands",
2354
- "checks",
2355
- "stats.js"
2571
+ "env",
2572
+ "update.js"
2356
2573
  ]
2357
2574
  },
2358
2575
  "import:apply": {
@@ -2948,223 +3165,6 @@
2948
3165
  "update.js"
2949
3166
  ]
2950
3167
  },
2951
- "env:add": {
2952
- "aliases": [],
2953
- "args": {
2954
- "key": {
2955
- "description": "Environment variable key.",
2956
- "name": "key",
2957
- "required": true
2958
- },
2959
- "value": {
2960
- "description": "Environment variable value.",
2961
- "name": "value",
2962
- "required": false
2963
- }
2964
- },
2965
- "description": "Add environment variable via \"checkly env add <key> <value>\".",
2966
- "flags": {
2967
- "locked": {
2968
- "char": "l",
2969
- "description": "Indicate that the environment variable will be locked.",
2970
- "name": "locked",
2971
- "allowNo": false,
2972
- "type": "boolean"
2973
- },
2974
- "secret": {
2975
- "char": "s",
2976
- "description": "Indicate that the environment variable will be secret.",
2977
- "exclusive": [
2978
- "locked"
2979
- ],
2980
- "name": "secret",
2981
- "allowNo": false,
2982
- "type": "boolean"
2983
- }
2984
- },
2985
- "hasDynamicHelp": false,
2986
- "hidden": false,
2987
- "hiddenAliases": [],
2988
- "id": "env:add",
2989
- "pluginAlias": "checkly",
2990
- "pluginName": "checkly",
2991
- "pluginType": "core",
2992
- "strict": true,
2993
- "enableJsonFlag": false,
2994
- "coreCommand": false,
2995
- "readOnly": false,
2996
- "destructive": false,
2997
- "idempotent": false,
2998
- "isESM": true,
2999
- "relativePath": [
3000
- "dist",
3001
- "commands",
3002
- "env",
3003
- "add.js"
3004
- ]
3005
- },
3006
- "env:ls": {
3007
- "aliases": [],
3008
- "args": {},
3009
- "description": "List all Checkly environment variables via \"checkly env ls\".",
3010
- "flags": {},
3011
- "hasDynamicHelp": false,
3012
- "hidden": false,
3013
- "hiddenAliases": [],
3014
- "id": "env:ls",
3015
- "pluginAlias": "checkly",
3016
- "pluginName": "checkly",
3017
- "pluginType": "core",
3018
- "strict": true,
3019
- "enableJsonFlag": false,
3020
- "coreCommand": false,
3021
- "readOnly": true,
3022
- "destructive": false,
3023
- "idempotent": true,
3024
- "isESM": true,
3025
- "relativePath": [
3026
- "dist",
3027
- "commands",
3028
- "env",
3029
- "ls.js"
3030
- ]
3031
- },
3032
- "env:pull": {
3033
- "aliases": [],
3034
- "args": {
3035
- "filename": {
3036
- "default": ".env",
3037
- "description": "Filename of the generated file.",
3038
- "name": "filename",
3039
- "required": false
3040
- }
3041
- },
3042
- "description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
3043
- "flags": {
3044
- "force": {
3045
- "char": "f",
3046
- "description": "Force to overwrite existing file.",
3047
- "name": "force",
3048
- "allowNo": false,
3049
- "type": "boolean"
3050
- }
3051
- },
3052
- "hasDynamicHelp": false,
3053
- "hidden": false,
3054
- "hiddenAliases": [],
3055
- "id": "env:pull",
3056
- "pluginAlias": "checkly",
3057
- "pluginName": "checkly",
3058
- "pluginType": "core",
3059
- "strict": true,
3060
- "enableJsonFlag": false,
3061
- "coreCommand": false,
3062
- "readOnly": true,
3063
- "destructive": false,
3064
- "idempotent": true,
3065
- "isESM": true,
3066
- "relativePath": [
3067
- "dist",
3068
- "commands",
3069
- "env",
3070
- "pull.js"
3071
- ]
3072
- },
3073
- "env:rm": {
3074
- "aliases": [],
3075
- "args": {
3076
- "key": {
3077
- "description": "Environment variable key to remove.",
3078
- "name": "key",
3079
- "required": true
3080
- }
3081
- },
3082
- "description": "Remove environment variable via \"checkly env rm <key>\".",
3083
- "flags": {
3084
- "force": {
3085
- "char": "f",
3086
- "description": "Skip confirmation prompt.",
3087
- "name": "force",
3088
- "allowNo": false,
3089
- "type": "boolean"
3090
- }
3091
- },
3092
- "hasDynamicHelp": false,
3093
- "hidden": false,
3094
- "hiddenAliases": [],
3095
- "id": "env:rm",
3096
- "pluginAlias": "checkly",
3097
- "pluginName": "checkly",
3098
- "pluginType": "core",
3099
- "strict": true,
3100
- "enableJsonFlag": false,
3101
- "coreCommand": false,
3102
- "readOnly": false,
3103
- "destructive": true,
3104
- "idempotent": false,
3105
- "isESM": true,
3106
- "relativePath": [
3107
- "dist",
3108
- "commands",
3109
- "env",
3110
- "rm.js"
3111
- ]
3112
- },
3113
- "env:update": {
3114
- "aliases": [],
3115
- "args": {
3116
- "key": {
3117
- "description": "Environment variable key.",
3118
- "name": "key",
3119
- "required": true
3120
- },
3121
- "value": {
3122
- "description": "Environment variable value.",
3123
- "name": "value",
3124
- "required": false
3125
- }
3126
- },
3127
- "description": "Update environment variable via \"checkly env update <key> <value>\".",
3128
- "flags": {
3129
- "locked": {
3130
- "char": "l",
3131
- "description": "Indicate if environment variable is locked.",
3132
- "name": "locked",
3133
- "allowNo": false,
3134
- "type": "boolean"
3135
- },
3136
- "secret": {
3137
- "char": "s",
3138
- "description": "Indicate if environment variable is secret.",
3139
- "exclusive": [
3140
- "locked"
3141
- ],
3142
- "name": "secret",
3143
- "allowNo": false,
3144
- "type": "boolean"
3145
- }
3146
- },
3147
- "hasDynamicHelp": false,
3148
- "hidden": false,
3149
- "hiddenAliases": [],
3150
- "id": "env:update",
3151
- "pluginAlias": "checkly",
3152
- "pluginName": "checkly",
3153
- "pluginType": "core",
3154
- "strict": true,
3155
- "enableJsonFlag": false,
3156
- "coreCommand": false,
3157
- "readOnly": false,
3158
- "destructive": false,
3159
- "idempotent": true,
3160
- "isESM": true,
3161
- "relativePath": [
3162
- "dist",
3163
- "commands",
3164
- "env",
3165
- "update.js"
3166
- ]
3167
- },
3168
3168
  "members:delete": {
3169
3169
  "aliases": [],
3170
3170
  "args": {
@@ -3866,5 +3866,5 @@
3866
3866
  ]
3867
3867
  }
3868
3868
  },
3869
- "version": "8.23.1"
3869
+ "version": "8.23.2-prerelease-519cfcb"
3870
3870
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkly",
3
- "version": "8.23.1",
3
+ "version": "8.23.2-prerelease-519cfcb",
4
4
  "type": "module",
5
5
  "description": "Checkly CLI",
6
6
  "main": "dist/index.js",