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

View File

@@ -20,7 +20,9 @@
"release": "auto shipit",
"version": "auto version",
"changelog": "auto changelog",
"publish": "auto shipit --dry-run"
"publish": "auto shipit --dry-run",
"lerna:version": "lerna version --no-push",
"lerna:publish": "lerna publish from-package"
},
"devDependencies": {
"@auto-it/all-contributors": "^11.3.0",
@@ -31,6 +33,7 @@
"auto": "^11.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"lerna": "^8.2.3",
"turbo": "^2.5.5",
"typescript": "5.8.3"
},