Repository navigation
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 42 minutes and 24 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR migrates the build system from Rollup to tsdown across 14+ packages by removing all rollup.config.mjs files, adding tsdown.config.ts equivalents, updating build scripts to use tsdown instead of rollup, and removing NODE_ENV=production settings. Additionally, CSS import paths are updated from index.css to style.css, package dependencies are adjusted, and minor code tweaks are applied. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 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. ✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Pull request overview
This PR migrates the repo’s JS bundling from Rollup to tsdown, standardizing ESM builds across packages/apps and updating related build scripts and consumer CSS paths.
Changes:
- Removed shared/per-package Rollup configs and Rollup-related devDependencies; added tsdown (+ @tsdown/css) to the root toolchain.
- Added
tsdown.config.tsfiles across packages/apps and updatedbuild:js(and related) scripts to invoketsdown. - Updated client-web-kit CSS export/import path (
index.css→style.css) and adjusted server-core CLI output paths to.mjs.
Reviewed changes
Copilot reviewed 48 out of 49 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rollup.config.mjs | Removed shared Rollup config factory (migration to tsdown). |
| package.json | Dropped Rollup devDependencies; added tsdown and @tsdown/css. |
| packages/specs/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/specs/rollup.config.mjs | Removed per-package Rollup config. |
| packages/specs/package.json | Updated build scripts to use tsdown. |
| packages/server-kit/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/server-kit/rollup.config.mjs | Removed per-package Rollup config. |
| packages/server-kit/package.json | Updated build scripts to use tsdown. |
| packages/server-adapter-socket-io/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/server-adapter-socket-io/rollup.config.mjs | Removed per-package Rollup config (incl. prior externals list). |
| packages/server-adapter-socket-io/package.json | Updated build scripts to use tsdown. |
| packages/server-adapter-kit/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/server-adapter-kit/rollup.config.mjs | Removed per-package Rollup config (incl. prior externals list). |
| packages/server-adapter-kit/package.json | Updated build scripts to use tsdown. |
| packages/server-adapter-http/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/server-adapter-http/rollup.config.mjs | Removed per-package Rollup config (incl. prior externals list). |
| packages/server-adapter-http/package.json | Updated build scripts to use tsdown. |
| packages/kit/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/kit/rollup.config.mjs | Removed per-package Rollup config. |
| packages/kit/package.json | Updated build scripts to use tsdown. |
| packages/errors/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/errors/rollup.config.mjs | Removed per-package Rollup config. |
| packages/errors/package.json | Updated build scripts to use tsdown. |
| packages/core-realtime-kit/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/core-realtime-kit/rollup.config.mjs | Removed per-package Rollup config. |
| packages/core-realtime-kit/package.json | Updated build scripts to use tsdown. |
| packages/core-kit/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/core-kit/rollup.config.mjs | Removed per-package Rollup config. |
| packages/core-kit/package.json | Updated build scripts to use tsdown. |
| packages/core-http-kit/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/core-http-kit/rollup.config.mjs | Removed per-package Rollup config. |
| packages/core-http-kit/package.json | Updated build scripts to use tsdown. |
| packages/client-web-kit/tsdown.config.ts | New tsdown config with Vue plugin; disables dts in bundler. |
| packages/client-web-kit/rollup.config.mjs | Removed per-package Rollup config (previously handled CSS extraction). |
| packages/client-web-kit/package.json | Switched build script to tsdown; changed exported CSS filename; added ilingo deps. |
| packages/client-web-kit/src/components/utility/entity/collection/module.ts | Formatting tweaks + added a log statement in delete handler. |
| packages/access/tsdown.config.ts | New tsdown config for ESM bundling. |
| packages/access/rollup.config.mjs | Removed per-package Rollup config. |
| packages/access/package.json | Updated build scripts to use tsdown; removed Rollup-specific devDependency. |
| apps/server-core/tsdown.config.ts | New tsdown config with SWC rolldown plugin for decorators metadata. |
| apps/server-core/rollup.config.mjs | Removed app Rollup build config. |
| apps/server-core/package.json | Updated entry points/scripts to .mjs; switched server JS build to tsdown. |
| apps/client-web/pages/roles/index/index.vue | Formatting cleanup; adjusted deleted event handler binding. |
| apps/client-web/nuxt.config.ts | Updated imported CSS path to new client-web-kit CSS output name. |
| apps/client-web-slim/src/app.ts | Updated imported CSS path to new client-web-kit CSS output name. |
| apps/authup/tsdown.config.ts | New tsdown config for ESM bundling. |
| apps/authup/rollup.config.mjs | Removed app Rollup build config. |
| apps/authup/package.json | Switched JS build script to tsdown. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/access/package.json`:
- Around line 62-66: The package.json devDependencies are missing unplugin-swc
which is imported by packages/access/test/vitest.config.ts and causes test
resolution failures; add "unplugin-swc" (appropriate version, e.g., a compatible
latest) to the "devDependencies" block in packages/access/package.json, then run
install so vitest can resolve the import in test/vitest.config.ts and the SWC
plugin is available during tests.
In `@packages/client-web-kit/src/components/utility/entity/collection/module.ts`:
- Around line 224-225: Remove the debug console.log from the delete flow: in the
hot runtime handler where console.log(value) precedes handleDeleted(value),
delete the console.log call and leave only the handleDeleted(value) invocation
so entity payloads are not logged and the handler remains intact.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 2e80d5d5-5b59-44ae-84fb-9eba1ea0ece0
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (48)
apps/authup/package.jsonapps/authup/rollup.config.mjsapps/authup/tsdown.config.tsapps/client-web-slim/src/app.tsapps/client-web/nuxt.config.tsapps/client-web/pages/roles/index/index.vueapps/server-core/package.jsonapps/server-core/rollup.config.mjsapps/server-core/tsdown.config.tspackage.jsonpackages/access/package.jsonpackages/access/rollup.config.mjspackages/access/tsdown.config.tspackages/client-web-kit/package.jsonpackages/client-web-kit/rollup.config.mjspackages/client-web-kit/src/components/utility/entity/collection/module.tspackages/client-web-kit/tsdown.config.tspackages/core-http-kit/package.jsonpackages/core-http-kit/rollup.config.mjspackages/core-http-kit/tsdown.config.tspackages/core-kit/package.jsonpackages/core-kit/rollup.config.mjspackages/core-kit/tsdown.config.tspackages/core-realtime-kit/package.jsonpackages/core-realtime-kit/rollup.config.mjspackages/core-realtime-kit/tsdown.config.tspackages/errors/package.jsonpackages/errors/rollup.config.mjspackages/errors/tsdown.config.tspackages/kit/package.jsonpackages/kit/rollup.config.mjspackages/kit/tsdown.config.tspackages/server-adapter-http/package.jsonpackages/server-adapter-http/rollup.config.mjspackages/server-adapter-http/tsdown.config.tspackages/server-adapter-kit/package.jsonpackages/server-adapter-kit/rollup.config.mjspackages/server-adapter-kit/tsdown.config.tspackages/server-adapter-socket-io/package.jsonpackages/server-adapter-socket-io/rollup.config.mjspackages/server-adapter-socket-io/tsdown.config.tspackages/server-kit/package.jsonpackages/server-kit/rollup.config.mjspackages/server-kit/tsdown.config.tspackages/specs/package.jsonpackages/specs/rollup.config.mjspackages/specs/tsdown.config.tsrollup.config.mjs
💤 Files with no reviewable changes (15)
- packages/server-adapter-kit/rollup.config.mjs
- packages/core-http-kit/rollup.config.mjs
- apps/server-core/rollup.config.mjs
- packages/server-adapter-http/rollup.config.mjs
- packages/server-kit/rollup.config.mjs
- packages/client-web-kit/rollup.config.mjs
- packages/errors/rollup.config.mjs
- apps/authup/rollup.config.mjs
- packages/core-kit/rollup.config.mjs
- packages/access/rollup.config.mjs
- packages/specs/rollup.config.mjs
- packages/kit/rollup.config.mjs
- packages/core-realtime-kit/rollup.config.mjs
- rollup.config.mjs
- packages/server-adapter-socket-io/rollup.config.mjs
Summary by CodeRabbit
Release Notes
Build Performance
Bug Fixes
Chores