Skip to content

Commit 106516c

Browse files
authored
chore: pin coder to v2.33.1 and bump deps (#941)
- Pin coder to github:coder/coder#v2.33.1 (was #main) for reproducible builds; document the tagging convention in CONTRIBUTING.md. - Bump axios, zod, eslint, typescript-eslint, jsdom, globals, @eslint-react/eslint-plugin, @tanstack/react-query, react, react-dom, vite to latest minors/patches. - Promote @eslint-react v5's web-api-no-leaked-fetch and jsx-no-leaked-dollar from warn to error.
1 parent ae1920a commit 106516c

6 files changed

Lines changed: 632 additions & 623 deletions

File tree

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,11 @@ Some dependencies are not directly used in the source but are required anyway.
193193
- `bufferutil` and `utf-8-validate` are peer dependencies of `ws`.
194194
- `ua-parser-js` and `dayjs` are used by the Coder API client.
195195

196-
The coder client is vendored from coder/coder. Every now and then, we should be running `pnpm update coder`
197-
to make sure we're using up to date versions of the client.
196+
The coder client is vendored from coder/coder. Pin it to a release tag in
197+
`pnpm-workspace.yaml` (e.g. `coder: github:coder/coder#v2.33.1`), not `#main`.
198+
A tag gives reproducible builds and is not re-fetched on every `pnpm install`,
199+
unlike `#main` which can drift between installs. To update, bump the tag and
200+
run `pnpm install` (or `pnpm update coder`).
198201

199202
After running `pnpm update`, always run `pnpm dedupe` to consolidate duplicate
200203
package versions across the workspace. Without this, workspace packages can

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ export default defineConfig(
187187
rules: {
188188
// React Compiler auto-memoizes; exhaustive-deps false-positives on useCallback
189189
"@eslint-react/exhaustive-deps": "off",
190+
"@eslint-react/web-api-no-leaked-fetch": "error",
191+
"@eslint-react/jsx-no-leaked-dollar": "error",
190192
},
191193
},
192194

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@
673673
"@abraham/reflection": "^0.13.0",
674674
"@peculiar/x509": "^2.0.0",
675675
"@repo/shared": "workspace:*",
676-
"axios": "1.15.0",
676+
"axios": "1.16.0",
677677
"date-fns": "catalog:",
678678
"eventsource": "^4.1.0",
679679
"fflate": "^0.8.2",
@@ -687,10 +687,10 @@
687687
"strip-ansi": "^7.2.0",
688688
"ua-parser-js": "^1.0.41",
689689
"ws": "^8.20.0",
690-
"zod": "^4.3.6"
690+
"zod": "^4.4.3"
691691
},
692692
"devDependencies": {
693-
"@eslint-react/eslint-plugin": "^4.2.3",
693+
"@eslint-react/eslint-plugin": "^5.7.4",
694694
"@eslint/js": "^10.0.1",
695695
"@eslint/markdown": "^8.0.1",
696696
"@rolldown/plugin-babel": "catalog:",
@@ -707,8 +707,8 @@
707707
"@types/ua-parser-js": "0.7.39",
708708
"@types/vscode": "1.106.0",
709709
"@types/ws": "^8.18.1",
710-
"@typescript-eslint/eslint-plugin": "^8.59.1",
711-
"@typescript-eslint/parser": "^8.59.1",
710+
"@typescript-eslint/eslint-plugin": "^8.59.2",
711+
"@typescript-eslint/parser": "^8.59.2",
712712
"@vitejs/plugin-react": "catalog:",
713713
"@vitest/coverage-v8": "^4.1.5",
714714
"@vscode/test-cli": "^0.0.12",
@@ -722,20 +722,20 @@
722722
"dayjs": "^1.11.20",
723723
"electron": "39.8.5",
724724
"esbuild": "^0.28.0",
725-
"eslint": "^10.2.1",
725+
"eslint": "^10.3.0",
726726
"eslint-config-prettier": "^10.1.8",
727727
"eslint-import-resolver-typescript": "^4.4.4",
728728
"eslint-plugin-import-x": "^4.16.2",
729729
"eslint-plugin-package-json": "^0.91.2",
730-
"globals": "^17.5.0",
731-
"jsdom": "^29.1.0",
730+
"globals": "^17.6.0",
731+
"jsdom": "^29.1.1",
732732
"jsonc-eslint-parser": "^3.1.0",
733733
"memfs": "^4.57.2",
734734
"prettier": "^3.8.3",
735735
"react": "catalog:",
736736
"react-dom": "catalog:",
737737
"typescript": "catalog:",
738-
"typescript-eslint": "^8.59.1",
738+
"typescript-eslint": "^8.59.2",
739739
"utf-8-validate": "^6.0.6",
740740
"vite": "catalog:",
741741
"vitest": "^4.1.5"

0 commit comments

Comments
 (0)