Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript): process referenced projects in typecheck script #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

supachaidev
Copy link

When we run tsc without the -b flag, it skips over referenced projects. This means that every time we run npm run typecheck, TypeScript won’t catch errors in those referenced projects. By adding the -b flag, we ensure all referenced projects are included, so tsc can properly check everything and catch any errors.


This pull request includes updates to .gitignore and package.json files across multiple directories to improve TypeScript incremental compilation and cache management.

Updates to .gitignore files:

  • Added TypeScript incremental compilation cache (*.tsbuildinfo) to .gitignore in cloudflare-d1, cloudflare, node-custom-server, and node-postgres. [1] [2] [3] [4]

Updates to package.json files:

  • Modified the typecheck script to use the -b flag for TypeScript incremental builds in cloudflare-d1, cloudflare, node-custom-server, and node-postgres. [1] [2] [3] [4]

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