Feat/dev watch task improvement#585
Conversation
- Removed redundant tasks and scripts in turbo.json and package.json. - Added and aligned missing blocks and dependencies across apps. - Adjusted `dev` and build workflows for improved caching and output handling.
…ev` and introduce `watch` scripts - Replaced `npm run dev` references with `npm run watch:deps` and `npm run watch:apps`. - Added detailed notes and instructions for new development workflows. - Improved clarity on running individual apps and handling dependencies in monorepo setup.
WalkthroughThe PR reorganizes the monorepo development workflow by splitting the single Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@apps/api-harmonization/package.json`:
- Line 13: The dev script in package.json currently nests a redundant watcher by
using nest start --watch together with --exec "node --watch"; remove the --exec
"node --watch" fragment so the script uses only "nest start --watch
--preserveWatchOutput" (or alternatively replace with a two-step approach using
"nest build --watch" + "node --watch dist/main.js" if you need Node's native
watcher), updating the "dev" npm script value accordingly.
🧹 Nitpick comments (1)
apps/frontend/package.json (1)
18-53: Minor formatting inconsistency: double spaces before version specifier.The block dependencies have inconsistent spacing (e.g.,
"@o2s/blocks.article": "*"with two spaces) compared to other dependencies in this file (line 54 onward) and inapps/api-harmonization/package.jsonwhich use single spaces.Consider running your formatter to normalize the whitespace.
What does this PR do?
npm run devand introducewatchscriptsSummary by CodeRabbit
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.