kimi-code/apps/vis/web/package.json
Kimi Agent 4c5d7d5e27
chore: upgrade to TypeScript 7 (native compiler) (#4329)
* chore: upgrade to TypeScript 7 (native compiler)

- typescript 6.0.2 -> 7.0.2, tsdown 0.22.0 -> 0.23.1 (peer range now allows typescript ^7)
- CI typecheck uses the workspace tsc (native) instead of the frozen @typescript/native-preview beta snapshot
- product entry-points test spawns the tsc binary; the JS compiler API no longer ships with typescript
- check-no-comments.mjs pins typescript-legacy (TS6) for AST access

Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>

* chore: align remaining typescript pins and refresh the nix pnpmDeps hash

- apps/kimi-inspect and apps/vis/web pin their own typescript; bump to 7.0.2 (sherif multiple-dependency-versions)
- flake.nix fetchPnpmDeps hash tracked the old lockfile; recompute for the new one (fixes nix build)

Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>

* test(product): fail loudly when the tsc subprocess cannot run

runTsc only scanned output text; a missing native binary, a timeout, or
a spawn failure would yield empty diagnostics and the boundary checks
would pass vacuously. Assert the spawn error and exit status first.

Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>

---------

Co-authored-by: kimi-agent-bot <kimi-agent-bot@users.noreply.github.com>
Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>
2026-10-22 15:14:15 +08:00

42 lines
934 B
JSON

{
"name": "@moonshot-ai/vis-web",
"version": "0.1.1",
"private": true,
"license": "MIT",
"type": "module",
"imports": {
"#/*": {
"types": [
"./src/*.ts",
"./src/*.tsx",
"./src/*/index.ts",
"./src/*/index.tsx"
],
"default": "./src/*"
}
},
"scripts": {
"dev": "vite",
"build": "vite build",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@tanstack/react-query": "^5.74.4",
"@tanstack/react-virtual": "^3.13.5",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.5.2"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.4",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"tailwindcss": "^4.1.4",
"typescript": "7.0.2",
"vite": "^6.3.3",
"vite-plugin-singlefile": "^2.3.3",
"vitest": "4.1.4"
}
}