Skip to content

chore: project config and tooling#158

Open
lucaaszsx wants to merge 5 commits into
ysdragon:mainfrom
lucaaszsx:chore/project-config-and-tooling
Open

chore: project config and tooling#158
lucaaszsx wants to merge 5 commits into
ysdragon:mainfrom
lucaaszsx:chore/project-config-and-tooling

Conversation

@lucaaszsx
Copy link
Copy Markdown

@lucaaszsx lucaaszsx commented May 22, 2026

Summary

Fixes TypeScript config, dependencies, and development tooling.

Changes

  • package.json: move @types/bcrypt and @types/bun to devDependencies; add tsx and rimraf; add dev, dev:server, prebuild, build:only and type-check scripts
  • tsconfig.json: add "types": ["bun"] to resolve Bun type definitions
  • Express types: annotate app and router explicitly to resolve TS2742 across server routes
  • .env.example: add NODE_ENV variable 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/bcrypt and @types/bun to devDependencies.
    • Add tsx and rimraf.
  • 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=development to .env.example.

Written for commit 92b2139. Summary will update on new commits. Review in cubic

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 9 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .env.example Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant