mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
Test files were typechecked by nothing: tsconfig.build.json excludes them (correctly — they must not land in dist), and vitest transforms with esbuild, which strips types without checking them. That gap is where the review's two tsc breaks and the fixture drift accumulated. Adds 'typecheck' scripts per package (dev tsconfigs, which include src/**/*.test.ts; renderer reuses its existing tsc -b), a root orchestrator mirroring the test script, and a CI step in the vitest job. All three packages are currently clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
37 lines
1.5 KiB
JSON
37 lines
1.5 KiB
JSON
{
|
|
"name": "x",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"dev": "npm run deps && concurrently -k \"npm:renderer\" \"npm:main\"",
|
|
"renderer": "cd apps/renderer && npm run dev",
|
|
"shared": "cd packages/shared && npm run build",
|
|
"core": "cd packages/core && npm run build",
|
|
"preload": "cd apps/preload && npm run build",
|
|
"deps": "npm run shared && npm run core && npm run preload",
|
|
"main": "wait-on http://localhost:5173 && cd apps/main && npm run build && npm run start",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"test": "npm run shared && npm run test:shared && npm run test:core && npm run test:renderer",
|
|
"test:shared": "cd packages/shared && npm test",
|
|
"test:core": "cd packages/core && npm test",
|
|
"test:renderer": "cd apps/renderer && npm test",
|
|
"typecheck": "npm run shared && npm run typecheck:shared && npm run typecheck:core && npm run typecheck:renderer",
|
|
"typecheck:shared": "cd packages/shared && npm run typecheck",
|
|
"typecheck:core": "cd packages/core && npm run typecheck",
|
|
"typecheck:renderer": "cd apps/renderer && npm run typecheck"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.2",
|
|
"@types/node": "^25.0.3",
|
|
"concurrently": "^9.2.1",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
"globals": "^16.5.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.50.1",
|
|
"wait-on": "^9.0.3"
|
|
}
|
|
}
|