Skip to content

Commit 0d65d46

Browse files
committed
build: upgrade to Typescript 7
1 parent 4e00ede commit 0d65d46

6 files changed

Lines changed: 926 additions & 570 deletions

File tree

.vscode/extensions.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"recommendations": ["fronterior.biome-monorepo", "bradlc.vscode-tailwindcss"]
3-
}
2+
"recommendations": [
3+
"fronterior.biome-monorepo",
4+
"bradlc.vscode-tailwindcss",
5+
"typescriptteam.native-preview"
6+
]
7+
}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
3. Install pnpm, using `npm i -g pnpm`.
1010
4. Install the packages in this repo by running `pnpm i -r` in the root of this repository.
1111

12+
> [!tip]
13+
> Typescript 7 is now out, and we find the Typescript 7 dev experience to be quite a bit faster than the default in VSCode. We recommend installing the plugins in `.vscode` and setting them up to enable TS7 support.
14+
1215
Check [.env.example](./.env.example) for an example env file. It can be arbitrary, though we recommend using:
1316

1417
```

backend/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "A rewrite of our ChronoFactorem project",
55
"type": "module",
66
"devDependencies": {
7-
"@biomejs/biome": "2.5.0",
7+
"@biomejs/biome": "2.5.5",
88
"nodemon": "^3.1.14",
9-
"prettier": "^3.8.4",
9+
"prettier": "^3.9.6",
1010
"ts-node": "10.9.2"
1111
},
1212
"dependencies": {
@@ -32,9 +32,9 @@
3232
"pino-pretty": "^13.1.3",
3333
"reflect-metadata": "^0.2.2",
3434
"sqids": "^0.3.0",
35-
"tsx": "^4.22.4",
36-
"typeorm": "1.0.0",
37-
"typescript": "6.0.3",
35+
"tsx": "^4.23.1",
36+
"typeorm": "1.1.0",
37+
"typescript": "7.0.2",
3838
"zod": "^4.4.3"
3939
},
4040
"scripts": {

frontend/package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,48 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@radix-ui/react-alert-dialog": "^1.1.17",
13-
"@radix-ui/react-dialog": "^1.1.17",
14-
"@radix-ui/react-dropdown-menu": "^2.1.18",
15-
"@radix-ui/react-label": "^2.1.10",
16-
"@radix-ui/react-popover": "^1.1.17",
17-
"@radix-ui/react-select": "^2.3.1",
12+
"@radix-ui/react-alert-dialog": "^1.1.20",
13+
"@radix-ui/react-dialog": "^1.1.20",
14+
"@radix-ui/react-dropdown-menu": "^2.1.21",
15+
"@radix-ui/react-label": "^2.1.12",
16+
"@radix-ui/react-popover": "^1.1.20",
17+
"@radix-ui/react-select": "^2.3.4",
1818
"@radix-ui/react-slot": "^1.3.0",
19-
"@radix-ui/react-switch": "^1.3.1",
20-
"@radix-ui/react-tabs": "^1.1.15",
21-
"@radix-ui/react-toast": "^1.2.17",
22-
"@radix-ui/react-tooltip": "^1.2.10",
23-
"@tailwindcss/vite": "^4.3.1",
24-
"@tanstack/react-query": "^5.101.0",
25-
"@tanstack/react-query-devtools": "^5.101.0",
26-
"@tanstack/react-router": "^1.170.16",
19+
"@radix-ui/react-switch": "^1.3.4",
20+
"@radix-ui/react-tabs": "^1.1.18",
21+
"@radix-ui/react-toast": "^1.2.20",
22+
"@radix-ui/react-tooltip": "^1.2.13",
23+
"@tailwindcss/vite": "^4.3.3",
24+
"@tanstack/react-query": "^5.101.3",
25+
"@tanstack/react-query-devtools": "^5.101.3",
26+
"@tanstack/react-router": "^1.170.18",
2727
"@tanstack/router-devtools": "^1.167.0",
2828
"@types/chrome": "^0.2.0",
2929
"@types/node": "^26.0.0",
3030
"@types/react": "^19.2.17",
3131
"@types/react-dom": "^19.2.3",
3232
"@vitejs/plugin-react-swc": "^4.3.1",
33-
"axios": "^1.18.0",
33+
"axios": "^1.18.1",
3434
"class-variance-authority": "^0.7.1",
3535
"clsx": "^2.1.1",
3636
"cmdk": "^1.1.1",
3737
"html-to-image": "^1.11.13",
3838
"lib": "workspace:*",
39-
"lucide": "^1.21.0",
40-
"lucide-react": "^1.21.0",
39+
"lucide": "^1.25.0",
40+
"lucide-react": "^1.25.0",
4141
"react": "^19.2.7",
4242
"react-cookie": "^8.1.2",
4343
"react-dom": "^19.2.7",
4444
"tailwind-merge": "^3.6.0",
45-
"tailwindcss": "^4.3.1",
45+
"tailwindcss": "^4.3.3",
4646
"tailwindcss-animate": "^1.0.7",
47-
"typescript": "^6.0.3",
47+
"typescript": "^7.0.2",
4848
"usehooks-ts": "^3.1.1",
49-
"vite": "^8.0.16",
49+
"vite": "^8.1.5",
5050
"zod": "^4.4.3"
5151
},
5252
"devDependencies": {
53-
"@biomejs/biome": "2.5.0"
53+
"@biomejs/biome": "2.5.5"
5454
},
5555
"packageManager": "pnpm@11.8.0"
5656
}

lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"author": "",
1818
"license": "ISC",
1919
"devDependencies": {
20-
"@biomejs/biome": "2.5.0",
20+
"@biomejs/biome": "2.5.5",
2121
"@types/node": "^26.0.0"
2222
},
2323
"dependencies": {
24-
"typescript": "^6.0.3",
24+
"typescript": "^7.0.2",
2525
"zod": "^4.4.3"
2626
},
2727
"packageManager": "pnpm@11.8.0"

0 commit comments

Comments
 (0)