Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ bun run test:coverage
bun run check # everything CI runs on a pull request: typecheck, lint, tests with coverage, both builds
```

`bun run typecheck` uses TypeScript 7 (the `@typescript/native` package, with the `tsc` command). ESLint and `next build` still need the TypeScript API, which 7.0 doesn't have, so the `typescript` package is the TypeScript 6 compatibility release (`@typescript/typescript6`), as Microsoft recommends until typescript-eslint supports 7.

CI runs the same steps as `bun run check` on every pull request and on every commit to `main`, plus the tests on Windows; a pull request can only be merged when both pass. Dependabot opens grouped update pull requests every Monday, and security fixes as soon as they are published. It fails when coverage drops below the thresholds in `vitest.config.mts`. Tests never touch your real trips: each suite uses its own temporary `TRIPDECK_HOME`, and the OneDrive folder is replaced with a temporary one.

`bun install` points git at the hooks in `.githooks/`: they refuse a commit or push that contains the value of any key, secret, token or password from your `.env.local`.
Expand Down
49 changes: 47 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
},
"devDependencies": {
"@capacitor/cli": "^8.5.3",
"@typescript/native": "npm:typescript@^7.0.2",
"@types/google.maps": "^3.66.7",
"@types/node": "^26.6.5",
"@types/react": "^19.3.0",
Expand All @@ -54,7 +55,7 @@
"eslint": "^9",
"eslint-config-next": "16.4.2",
"sharp": "^0.35.5",
"typescript": "5",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.3.4",
"vitest": "^5.0.5"
}
Expand Down
Loading