feat: add Lerna integration for proper monorepo versioning and publishing

- Add Lerna with independent versioning for better monorepo management
- Configure auto to work with Lerna for proper package detection
- Add canary release configuration for pull requests
- Fix tag conflicts and versioning issues
- Only publish CLI package, keep other packages private
- Support canary, prerelease, and production releases
This commit is contained in:
Aman Varshney
2025-08-15 16:42:50 +05:30
parent e16c229f07
commit 4729ee0420
4 changed files with 939 additions and 81 deletions

17
lerna.json Normal file
View File

@@ -0,0 +1,17 @@
{
"version": "independent",
"npmClient": "bun",
"command": {
"publish": {
"verifyAccess": false,
"message": "chore(release): publish"
},
"version": {
"message": "chore(release): version"
}
},
"packages": [
"apps/*",
"packages/*"
]
}