Commit 68d924b
chore(monorepo): remove versions from private workspaces (#7306)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Closes #
## 🎯 Changes
Remove the redundant `version` field from private/non-published
workspace packages.
Update `scripts/version.ts` because it previously assumed every package
in `packages/*` declared a local `version`. Once private workspaces like
`@trpc/tests` stop carrying that field, the script still needs a version
source for pinning `@trpc/*` dependencies, so it now falls back to the
repo version from `lerna.json`.
## ✅ Checklist
- [x] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [ ] If necessary, I have added documentation related to the changes
made.
- [ ] I have added or updated the tests related to the changes made.
<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a
href="https://cursor.com/agents/bc-380a6de9-6b07-4dd3-a317-09fbfa8949f0"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a
href="https://cursor.com/background-agent?bcId=bc-380a6de9-6b07-4dd3-a317-09fbfa8949f0"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated package version management configuration across example
projects and the build system.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent 8a0ba8c commit 68d924b
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
74 | 73 | | |
0 commit comments