Skip to content

Commit 68d924b

Browse files
KATTcursoragent
andauthored
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>&nbsp;<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>&nbsp;</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

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@
6969
},
7070
"publishConfig": {
7171
"access": "restricted"
72-
},
73-
"version": "11.16.0"
72+
}
7473
}

0 commit comments

Comments
 (0)