feat: update to angular v21#561
Conversation
|
View your CI Pipeline Execution ↗ for commit 2475e92
☁️ Nx Cloud last updated this comment at |
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
📝 WalkthroughWalkthroughThe PR migrates the project from Angular 20 to Angular 21, updating core dependencies, build toolchain versions, and configuration files to align with the new Angular ecosystem while adjusting Storybook configuration and story definitions to match updated patterns. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. Comment |
|
Thank you @Avcharov |
Closes: #552
Changes by Nx Migrations (automatic)
module: "preserve",moduleResolution: "bundler"update-module-resolution-22-2-0lib: ["dom", "es2022"]update-typescript-lib-22-2-0isolatedModules: truein tsconfig.spec.jsonset-isolated-modules-22-3-0tsConfigin project.jsonset-tsconfig-optionBootstrapContextin main.server.tsadd-bootstrap-context-to-server-mainChanges by Storybook 10 Migration (automatic)
module.exports→export defaultaddon-essentials→addon-docsdocs: { autodocs: true }Manual Changes for Storybook 10
type: "module"in library package.jsonjsx: "react",skipLibCheck: truein .storybook/tsconfig.jsondeclarations→importsin stories@storybook/core-serverManual Changes for Angular 21
^21.1.0Summary by CodeRabbit