Skip to content

chore: configure TypeScript project references - #330

Merged
chrispader merged 1 commit into
mainfrom
@chrispader/chore/tsconfig-project-references
Sep 10, 2026
Merged

chore: configure TypeScript project references#330
chrispader merged 1 commit into
mainfrom
@chrispader/chore/tsconfig-project-references

Conversation

@chrispader

Copy link
Copy Markdown
Member

The workspace previously typechecked each package independently and pulled sibling source trees into dependent TSConfig scopes. That blurred project boundaries and forced example tests to reach into the main package through fragile deep relative paths. This PR adds a root solution TSConfig, models package dependencies with project references, narrows every subproject to its own files, and introduces an @nitro-sqlite/* alias for internal example imports.

The core package emits declaration-only reference artifacts into an ignored .tsbuild directory, while the example and vec projects build their declared dependencies during standalone typechecks. The imports added by #320 now use the alias.

@chrispader
chrispader merged commit 94675b7 into main Sep 10, 2026
5 checks passed
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