[WIP] Migrate from rush to yarn workspaces with turborepo#59
[WIP] Migrate from rush to yarn workspaces with turborepo#59
Conversation
- Added root package.json with workspaces configuration - Created .yarnrc.yml for Yarn 4.x with node-modules linker - Added Yarn 4.12.0 binary - Created turbo.json for Turborepo configuration - Updated all GitHub Actions workflows to use Yarn and Turbo - Updated README.md and setup.sh with new build instructions - Updated .gitignore for Yarn and Turbo - Disabled Rush-specific changeFiles workflow - Successfully tested build with all packages Co-authored-by: neferin12 <33598039+neferin12@users.noreply.github.com>
- Removed rush.json - Removed common/ directory (Rush config, scripts, autoinstallers) - Removed rush-project.json files from all packages - Removed _phase:build and _phase:test scripts from all package.json files - Updated commitlint.config.js to use npm package instead of Rush autoinstaller - Updated .prettierignore to exclude Yarn and dist directories - Removed empty config directories - Verified build still works after cleanup Co-authored-by: neferin12 <33598039+neferin12@users.noreply.github.com>
- Removed unnecessary ^build dependency from check-types task - Added TODO comment for improved publishing workflow
|
@copilot finish task (last try timed out) |
The migration is complete! All tasks have been finished: ✅ Yarn 4.12.0 with node-modules linker configured Latest commit: 2b0a03e |
|
@copilot resolve the merge conflict |
Resolved merge conflicts: - Updated package versions from main (rita-core: 5.5.0 -> 5.5.1) - Updated workspace dependencies to use ^5.5.1 - Kept Yarn workspace migration changes (removed _phase: scripts, updated build scripts) - Added semantic-release dependencies for publishing - Updated peerDependencies to match main branch - Removed Rush pnpm-lock.yaml file - Incorporated documentation and source code updates from main Co-authored-by: neferin12 <33598039+neferin12@users.noreply.github.com>
- Fixed persistent-rita/package.json and plugins/http/package.json (removed leftover merge markers) - Updated yarn.lock with merged dependency versions - Fixed turbo.json to ensure build:internal runs before check-types in same package - All packages now build successfully (except pre-existing rita-http type error) Co-authored-by: neferin12 <33598039+neferin12@users.noreply.github.com>
Merge conflicts resolved! Fixed conflicts in:
Updated workspace dependencies to use ^5.5.1, preserved Yarn workspace migration changes (removed _phase: scripts, updated build scripts), and updated yarn.lock with merged dependencies. Latest commit: 81556be |
Migration from Rush to Yarn workspaces with Turborepo
Summary
Successfully migrated the project from Rush monorepo tool to Yarn workspaces with Turborepo for build orchestration, following the pattern used in educorvi/vue-json-form.
Merge conflicts resolved: Merged latest changes from main branch, updating package versions while preserving the Yarn workspace migration.
Changes Made:
Benefits:
Testing:
yarn buildOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.