chore: setup TypeScript 6 and pnpm with mise

- Add mise.toml with pnpm latest
- Create root workspace with pnpm-workspace.yaml
- Upgrade TypeScript from 5.9.3 to 6.0.3 in apps/web
- Add vite-env.d.ts for CSS module type declarations
- Switch from npm to pnpm package management
This commit is contained in:
2026-04-29 17:53:32 -04:00
parent 3d8ca8b54d
commit e45eeeb600
6 changed files with 2303 additions and 1 deletions

View File

@@ -10,14 +10,16 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"katex": "^0.16.45",
"lucide-preact": "^1.14.0",
"mermaid": "^11.14.0",
"preact": "^10.27.2",
"preact-iso": "^2.9.3"
},
"devDependencies": {
"@preact/preset-vite": "^2.10.2",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"vite": "^7.1.12"
}
}

6
apps/web/src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="vite/client" />
declare module "*.css" {
const content: string;
export default content;
}