Commit aa0df63
chore: update CLI dependencies (#1294)
* chore(cli): remove unnecessary @types/glob dependency
glob@10 ships its own TypeScript types, making @types/glob redundant.
Removing it also resolves an upcoming type conflict with newer minimatch
versions where @types/glob references removed IOptions/IMinimatch exports.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): remove duplicate simple-git-hooks devDependency
simple-git-hooks is configured and used at the monorepo root level.
The copy in packages/cli was redundant.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(create-cli): remove unused config and @types/config devDependencies
Neither package is imported anywhere in create-checkly source code.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(cli): upgrade TypeScript to v6 and update eslint tooling
- Upgrade typescript from 5.3.3 to 6.0.3 in both packages
- Upgrade @typescript-eslint/typescript-estree from 8.50.0 to 8.59.2
(required for TS 6 peer dependency compatibility)
- Upgrade typescript-eslint from 8.30.0 to 8.59.2
Adapt to TypeScript 6 breaking changes:
- Change rootDirs to rootDir (TS 6 requires explicit rootDir)
- Add types: ["node"] (TS 6 defaults types to [] instead of all @types)
- Add skipLibCheck: true (transitive lru-cache types incompatibility)
- Include tsconfig.tsbuildinfo in clean scripts (now lives outside dist/)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update oclif packages to latest minor versions
- @oclif/core 4.8.0 → 4.11.1
- @oclif/plugin-help 6.2.36 → 6.2.46
- @oclif/plugin-not-found 3.2.73 → 3.2.82
- @oclif/plugin-warn-if-update-available 3.1.53 → 3.1.62
- oclif (dev) 4.22.56 → 4.23.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update acorn packages
- acorn 8.15.0 → 8.16.0
- acorn-walk 8.3.4 → 8.3.5
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update uuid 11.1.0 → 11.1.1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update type definition packages
- @types/debug 4.1.12 → 4.1.13
- @types/node 22.14.1 → 22.19.17
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update dev/testing dependencies
- @playwright/test 1.57.0 → 1.59.1
- cross-env 7.0.3 → 10.1.0 (major, drop-in CLI replacement)
- nanoid 3.3.11 → 3.3.12
- tar 7.5.7 → 7.5.14
- vitest 3.1.2 → 4.1.5 (major, no config changes needed)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update networking dependencies
- axios 1.13.5 → 1.16.0 (security fixes for SSRF, header injection)
- mqtt 5.14.1 → 5.15.1 (transitive security fixes)
- proxy-from-env 1.1.0 → 2.1.0 (major, same API, stricter URL parsing)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: update linting and code quality dependencies
- eslint 9.32.0 → 10.0.1 (major, flat config only)
- @eslint/js 9.32.0 → 10.0.1
- @stylistic/eslint-plugin 5.2.2 → 5.10.0
- globals 16.0.0 → 17.6.0 (major, AudioWorklet globals split)
- @commitlint/cli 17.8.1 → 20.5.3 (major, ESM)
- @commitlint/config-conventional 17.8.1 → 20.5.3
- lint-staged 15.5.1 → 15.5.2
- simple-git-hooks 2.12.1 → 2.13.1
Fix new ESLint 10 recommended rule violations:
- preserve-caught-error: add { cause } to re-thrown errors
- no-useless-assignment: remove dead variable assignments
- @stylistic/indent: auto-fixed indentation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update remaining compatible dependencies
- ci-info 4.3.1 → 4.4.0
- dotenv 16.5.0 → 16.6.1
- giget 3.1.2 → 3.2.0
- jiti 2.6.1 → 2.7.0
- minimatch 9.0.5 → 9.0.9
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update @types/archiver 6.0.3 → 7.0.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(cli): update jwt-decode 3.1.2 → 4.0.0
Migrate from default import to named import per v4 API change.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: fix transitive dependency vulnerabilities via npm audit fix
Patches brace-expansion, minimatch, picomatch, yaml, flatted,
and ip-address to resolve all 6 known vulnerabilities.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: fix .gitignore pattern for tsbuildinfo files
Change `.tsbuildinfo` to `*.tsbuildinfo` to match files like
`tsconfig.tsbuildinfo` which TS 6 places at the project root.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(cli): resolve ts-node + TypeScript 6 moduleResolution deprecation
ts-node with TypeScript 6 errors on the implicit moduleResolution
"node10" default when module is "commonjs". Fix by:
- Adding ignoreDeprecations: "6.0" to ts-node compilerOptions in both
CLI and create-CLI loaders
- Adding ignoreDeprecations to create-cli tsconfig.json (ts-node picks
up this tsconfig when running from subdirectories)
- Moving ts-node from devDependencies to optional peerDependencies
since it's a runtime fallback loader, not a build requirement
- Replacing ts-node with jiti in the prepare:ai-context build script
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove accidentally added checkly and jiti from root package.json
These were added by a local create-checkly run during e2e debugging.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(cli): roll back vitest to v3 due to Windows bug in v4
Vitest 4's Module Runner generates incorrect file URLs on Windows
(missing drive letter in createRequire calls), breaking tests that
use require() on fixture files. Rolling back to vitest 3.2.4 until
the upstream issue is resolved.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(cli): only set ignoreDeprecations when user has TypeScript 6+
The ignoreDeprecations compiler option is only needed for TS 6+ (which
deprecated moduleResolution "node10"). Detect the user's TypeScript
version at runtime and only set it when appropriate, avoiding
"Unknown compiler option" errors on older TS versions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent acfb34e commit aa0df63
25 files changed
Lines changed: 5408 additions & 5615 deletions
File tree
- packages
- cli
- src
- auth
- commands
- env
- import
- constructs
- helpers
- loader
- rest
- services
- check-parser
- create-cli
- src
- loader
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
136 | 135 | | |
137 | | - | |
| 136 | + | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
148 | 147 | | |
149 | | - | |
150 | | - | |
| 148 | + | |
151 | 149 | | |
152 | | - | |
153 | | - | |
| 150 | + | |
| 151 | + | |
154 | 152 | | |
155 | 153 | | |
156 | | - | |
| 154 | + | |
| 155 | + | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
55 | 47 | | |
56 | 48 | | |
57 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
56 | 48 | | |
57 | 49 | | |
58 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | | - | |
| 1537 | + | |
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments