Skip to content

Chore/angular 22 - #152

Draft
fbaldo3181-hub wants to merge 2 commits into
themesberg:mainfrom
fbaldo3181-hub:chore/angular-22
Draft

fbaldo3181-hub wants to merge 2 commits into
themesberg:mainfrom
fbaldo3181-hub:chore/angular-22

Conversation

@fbaldo3181-hub

@fbaldo3181-hub fbaldo3181-hub commented Oct 8, 2026 •

Copy link
Copy Markdown

PR Checklist

Please check if your PR fulfills the following requirements:

  • Docs have been added/updated (for bug fixes/features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • CI-related changes
  • Documentation content changes
  • Other... Please describe:

Add compatibility to Angular 22

Issue Number

Issue Number: #151

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Summary by CodeRabbit

  • Compatibility

    • Updated the Angular library to support Angular 22.
  • Developer Experience

    • Updated the project’s build and development tooling.
    • Adjusted Storybook configuration for serving its static build and producing diagnostic build output.
    • Updated linting configuration across the workspace.

Done

  • lint system has been udated
  • dependencies have been updated
  • all:lint command succeed
  • lib:build command succeed (tools also)

TODO

  • fix build for doc & storybook

@vercel

vercel Bot commented Oct 8, 2026

Copy link
Copy Markdown

@fbaldo3181-hub is attempting to deploy a commit to the Bergside Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: themesberg/flowbite-angular/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5f1f67bc-b2bf-458b-9787-c6d240d16ffd
📥 Commits

Reviewing files that changed from the base of the PR and between 9ee2313 and 8bce880.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (18)
  • .eslintrc.json
  • .gitignore
  • apps/docs/project.json
  • apps/storybook/project.json
  • apps/storybook/tsconfig.editor.json
  • eslint.config.mjs
  • libs/flowbite-angular/.eslintrc.json
  • libs/flowbite-angular/eslint.config.mjs
  • libs/flowbite-angular/package.json
  • libs/flowbite-angular/project.json
  • libs/tools/.eslintrc.json
  • libs/tools/eslint.config.mjs
  • libs/tools/package.json
  • libs/tools/project.json
  • nx.json
  • package.json
  • pnpm-workspace.yaml
  • tsconfig.base.json
💤 Files with no reviewable changes (3)
  • .eslintrc.json
  • libs/flowbite-angular/.eslintrc.json
  • libs/tools/.eslintrc.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.


Walkthrough

The workspace updates Angular, Nx, Storybook, ESLint, and TypeScript dependencies. It replaces legacy ESLint configuration with flat configs, changes Nx lint settings and project targets, and adjusts Storybook and workspace configuration.

Changes

Workspace Tooling and Configuration

Layer / File(s) Summary
Update workspace toolchain
package.json, libs/tools/package.json, libs/flowbite-angular/package.json, pnpm-workspace.yaml, tsconfig.base.json
Updates Angular, Nx, Storybook, ESLint, and TypeScript dependency versions. The Angular library peer ranges move to major version 22. The pnpm workspace adds build-script and minimum-release-age settings. The base TypeScript config removes baseUrl.
Migrate ESLint configuration
.eslintrc.json, eslint.config.mjs, libs/flowbite-angular/*eslint*, libs/tools/*eslint*, nx.json, apps/docs/project.json, libs/flowbite-angular/project.json, libs/tools/project.json, .gitignore
Adds flat ESLint configs at the workspace root and in the libraries, and removes the legacy configs. Nx gains ESLint plugin settings and updated ESLint inputs. The docs and library lint targets are removed. .gitignore excludes additional Nx data directories.
Adjust Storybook settings
apps/storybook/project.json, apps/storybook/tsconfig.editor.json, package.json
Adds ./ to the Storybook static path and editor TypeScript include pattern. The Storybook build script adds --debug-webpack.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Merge Risk: 🔵 Low · up to 8bce8

This draft upgrades the workspace to Angular 22 and Nx 23. Lint targets are still provided through the ESLint plugin. The author reports that the documentation and Storybook builds are not finished, so confirm that both build before merging.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the main change: Angular 22 compatibility. It is concise and related to the pull request.
Description check ✅ Passed The description includes the change type, issue number, breaking-change indicator, implementation summary, validation results, and remaining work. It does not provide migration details for the stated …
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

A rabbit checks the configs in the moonlit glow
New flat rules line up where old ones used to go
Nx caches hide beneath the workspace floor
Storybook gets a debug flag to explore
The rabbit hops through versions, neat in a row
Then nibbles clover as the builds begin to flow

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants