Add missing TypeScript project references for @objectstack/runtime#131
Merged
hotlong merged 2 commits intocopilot/load-plugins-and-start-servicefrom Jan 28, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update action run job status for better tracking
Add missing TypeScript project references for @objectstack/runtime
Jan 28, 2026
d91d453
into
copilot/load-plugins-and-start-service
2 checks passed
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a TypeScript build failure by adding missing project references for the @objectstack/runtime package. The package was already present in the monorepo and was being imported by the server package, but TypeScript couldn't resolve its type declarations because it wasn't included in the project references configuration.
Changes:
- Added
./packages/runtimeto the roottsconfig.jsonreferences array - Added
../runtimeto thepackages/server/tsconfig.jsonreferences array to enable type resolution for imports from@objectstack/runtime
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tsconfig.json | Added runtime package to root-level TypeScript project references |
| packages/server/tsconfig.json | Added runtime package reference to enable type resolution for server imports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TypeScript build fails with
Cannot find module '@objectstack/runtime'despite the package existing in the monorepo. The runtime package was not included in TypeScript project references.Changes
Added missing project references:
tsconfig.json: Added./packages/runtimeto references arraypackages/server/tsconfig.json: Added../runtimeto references arrayThis allows TypeScript to resolve type declarations for
@objectstack/runtimewhen building the server package.{ "files": [], "references": [ { "path": "./packages/kernel" }, { "path": "./packages/runtime" }, // Added { "path": "./packages/server" } ] }Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.