-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: Switch to Typescript project references to better watch/VSCode refactor support #562
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
Merged
kingston
merged 17 commits into
main
from
kingston/eng-624-use-project-references-for-building-project-to-allow-ide-to
Jun 3, 2025
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d636f78
Update workspace-meta to latest
kingston 7dc43ff
Add script to update all project references in tsconfig.build.json
kingston 497da7c
Rename exportable test-helpers to .test-utils
kingston 82e87fa
Rename logger test-helper to test-utils
kingston 02b61e0
Re-export type for plugins
kingston 83e74de
Implement project references for projects
kingston b81b1ea
Include root package in tsconfig.build.json
kingston 55f1c37
Fix type errors in config
kingston dc2da8e
Clean up watch scripts to avoid too many tsc scripts running at the s…
kingston 89d0540
Fix knip
kingston 9387ca5
Refactor project-builder-cli to have explicit CLI entrypoint and use …
kingston 90c1de9
Move create-project to bin folder for consistency
kingston 98a71dc
Update ui-components to use dist/*.css instead of src/*.css
kingston 0f71506
Keep files consistent between packages
kingston b68d743
Add changeset
kingston fa8e33a
Run pnpm install
kingston 2ff6790
Upgrade tarfs
kingston File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| '@baseplate-dev/project-builder-server': patch | ||
| '@baseplate-dev/project-builder-cli': patch | ||
| '@baseplate-dev/project-builder-lib': patch | ||
| '@baseplate-dev/project-builder-web': patch | ||
| '@baseplate-dev/fastify-generators': patch | ||
| '@baseplate-dev/react-generators': patch | ||
| '@baseplate-dev/core-generators': patch | ||
| '@baseplate-dev/create-project': patch | ||
| '@baseplate-dev/ui-components': patch | ||
| '@baseplate-dev/plugin-storage': patch | ||
| '@baseplate-dev/plugin-auth': patch | ||
| '@baseplate-dev/utils': patch | ||
| '@baseplate-dev/sync': patch | ||
| --- | ||
|
|
||
| Switch to Typescript project references for building/watching project |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #!/usr/bin/env node | ||
|
|
||
| import '../dist/create-baseplate-project.js'; |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #!/usr/bin/env node | ||
|
|
||
| import '../dist/cli.js'; |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add error handling for JSON parsing.
The JSON.parse operation could throw an error if the tsconfig.build.json file contains malformed JSON, which would cause the plugin to fail.
📝 Committable suggestion
🤖 Prompt for AI Agents