refactor: migrate from primeng to optimus-ui - #9
Conversation
Garfield-fr
commented
Aug 6, 2026
- Replace primeng, primeicons and tailwindcss-primeui with @openng/optimus-ui, @openng/icons, @openng/optimus-ui-themes and @openng/optimus-ui-tailwindcss
- Update imports and provider calls across app config, toast, paginator, interceptor and feature components
- Switch package manager artifacts from npm to pnpm
- Bump Angular, ngrx/signals, tailwindcss, vitest and other dependencies within their existing semver ranges
1d957b2 to
021d71a
Compare
WalkthroughThe project upgraded Angular, NgRx, TypeScript, Vitest, Tailwind, RxJS, and related dependencies. It added OpenNG Optimus UI packages and build-script allowlisting. PrimeNG providers, components, services, icons, themes, and Tailwind integration were replaced with Optimus UI equivalents. TypeScript root directories and path aliases were updated. Estimated code review effort: 3 (Moderate) | ~20 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
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: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/app/app.config.ts`:
- Line 4: Update the Aura import in app.config.ts to use the lowercase
`@openng/optimus-ui-themes/aura` subpath, preserving the existing Aura symbol
usage.
In `@src/styles.scss`:
- Line 3: Update the Stylelint configuration for the scss/at-rule-no-unknown
rule to recognize the `@plugin` directive used by the stylesheet, using the
narrowest available exception without weakening validation for other unknown
at-rules.
🪄 Autofix
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: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 42aaf9fc-bf4e-439a-a26b-0ea08870ad8b
⛔ Files ignored due to path filters (2)
package-lock.jsonis excluded by!**/package-lock.jsonpnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (17)
package.jsonpnpm-workspace.yamlsrc/app/app.config.mock.tssrc/app/app.config.tssrc/app/app.tssrc/app/features/books/search.tssrc/app/features/login/login.tssrc/app/features/sidebar/sidebar.tssrc/app/features/todo/store/todo.store.tssrc/app/features/todo/todo.tssrc/app/shared/component/paginator.tssrc/app/shared/interceptor/http-response-error-interceptor.tssrc/app/shared/store/paginator-feature.tssrc/styles.scsstsconfig.app.jsontsconfig.jsontsconfig.spec.json
5fe318a to
8171355
Compare
* Replace primeng, primeicons and tailwindcss-primeui with @openng/optimus-ui, @openng/icons, @openng/optimus-ui-themes and @openng/optimus-ui-tailwindcss * Update imports and provider calls across app config, toast, paginator, interceptor and feature components * Switch package manager artifacts from npm to pnpm * Update CI workflow to install and test with pnpm * Bump Angular, ngrx/signals, tailwindcss, vitest and other dependencies within their existing semver ranges Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
8171355 to
71025d2
Compare