chore: project config and tooling
LU
6mo ago+24+24+01234567890123456789-14-14-01234567890123456789
Summary
Fixes TypeScript config, dependencies, and development tooling.
Changes
- package.json: move
@types/bcryptand@types/buntodevDependencies; addtsxandrimraf; adddev,dev:server,prebuild,build:onlyandtype-checkscripts - tsconfig.json: add
"types": ["bun"]to resolve Bun type definitions - Express types: annotate
appandrouterexplicitly to resolve TS2742 across server routes - .env.example: add
NODE_ENVvariable documentation
Summary by cubic
Streamlines TypeScript setup and dev tooling for smoother local development. Fixes Express type errors, adds Bun typings, and adds dev/watch/type-check scripts.
-
Dependencies
- Move
@types/bcryptand@types/bunto devDependencies. - Add
tsxandrimraf.
- Move
-
Bug Fixes
- Resolve TS2742 by explicitly typing Express app/router and enabling Bun types in tsconfig.
- Safer parsing of Content-Length in remote upload.
- Add
NODE_ENV=developmentto.env.example.