Commit ffe053a
authored
Chore/dependency updates (#88)
* chore: update dependencies to latest versions
## Angular
- @angular/compiler: ^19.2.20 → ^22.0.1 (version mismatch fix)
- @angular/compiler-cli: 19.2.19 → ^22.0.1
- @angular/cli: 21.2.2 → ^22.0.8
- @angular-devkit/build-angular: 21.2.19 → ^22.0.8
- Remove @angular/build override (19.2.22)
## TypeScript
- typescript: ~5.6.3 → ~6.0.0 (required by Angular 22)
- tsconfig.json: add ignoreDeprecations: '6.0' for baseUrl & downlevelIteration
## NgRx
- @ngrx/schematics: ^19.0.0 → ^21.1.1 (align with other ngrx packages)
## ngx-translate v15 → v18
- TranslateModule removed: replaced with standalone TranslatePipe per component
- TranslateModule.forRoot() → provideTranslateService({ lang, fallbackLang })
- HttpLoaderFactory → provideTranslateHttpLoader({ prefix, suffix })
- TranslateService.setDefaultLang removed: configured via provideTranslateService
- currentLang is now a Signal: use currentLang() instead of currentLang
## Tailwind CSS v3 → v4
- tailwindcss: ^3.4.16 → ^4.3.3
- Add @tailwindcss/postcss: ^4.3.3 (replaces tailwindcss in postcss.config)
- postcss.config.js: tailwindcss:{} → '@tailwindcss/postcss':{}
- autoprefixer removed from postcss (built into Tailwind v4)
- styles.scss: @tailwind directives → @import 'tailwindcss'
- Plugin imports moved to CSS: @plugin '@tailwindcss/typography/forms'
- Dark mode, theme, sources configured via CSS directives
- tailwind.config.ts deleted (config now lives in styles.scss)
- Tailwind plugins moved from dependencies → devDependencies
- @tailwindcss/forms: ^0.5.9 → ^0.5.11
- @tailwindcss/typography: ^0.5.15 → ^0.5.20
- @tailwindcss/aspect-ratio removed (built into Tailwind v4)
## Other
- zone.js: ^0.15.0 → ^0.16.0
- @ngx-translate/core: ^15.0.0 → ^18.0.0
- @ngx-translate/http-loader: ^8.0.0 → ^18.0.0
* fix: correct Tailwind v4 + Angular build integration
- angular.json: migrate all builders from @angular-devkit/build-angular
to @angular/build (official esbuild builder, removes deprecation warning)
- postcss.config.js → postcss.config.json: @angular/build only reads
JSON PostCSS config, not .js files
- styles.scss → styles.css: Tailwind v4 requires a plain CSS file so
PostCSS (@tailwindcss/postcss) runs before esbuild resolves imports;
@source directive explicitly scans src/**/*.{html,ts} for utility classes
- error.interceptor.ts: fix circular DI dependency (TranslateService →
TranslateHttpLoader → HttpClient → interceptor → TranslateService)
by using lazy inject(Injector) instead of eager inject(TranslateService)
* fix: migrate Tailwind v3 opacity utilities to v4 slash syntax
Replace deprecated bg-opacity-*, text-opacity-*, etc. with the
Tailwind v4 slash syntax (e.g. bg-white/20, bg-black/50) across:
- footer.component.html: bg-white bg-opacity-20 → bg-white/20
- header.component.html: bg-opacity-90 → bg-white/90 dark:bg-gray-900/90
- home.component.html: text-opacity-90, dark:bg-opacity-20
- api-demo.component.html: dark:bg-opacity-20
- features-demo.component.html: dark:bg-opacity-20
- loading-spinner.component.ts: bg-opacity-50 → bg-black/50
- modal.component.ts: bg-opacity-50 → bg-black/50
* chore: remove postcss.config.js (restored by lint-staged stash)
* chore: reorder imports in modal.component.ts for consistency
* chore: release v2.0.0
- Bump version to 2.0.0 (major: Angular 22, Tailwind 4, TypeScript 6)
- Add docs/CHANGELOG.md with full migration notes
- Update README badges and Key Features for Angular 22 / Tailwind 4
- Add Changelog link to Documentation section1 parent 6332a3d commit ffe053a
38 files changed
Lines changed: 3231 additions & 6289 deletions
File tree
- docs
- src
- app
- core
- header
- interceptors
- features
- admin/pages
- admin-dashboard
- admin-settings
- admin-users
- home
- components
- feature-overview
- page-not-found
- pages
- about
- api-demo
- components-demo
- drag-drop-demo
- features-demo
- home
- imprint
- login
- privacy
- virtual-scroll-demo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
37 | 28 | | |
38 | 29 | | |
39 | 30 | | |
| |||
67 | 58 | | |
68 | 59 | | |
69 | 60 | | |
70 | | - | |
| 61 | + | |
71 | 62 | | |
72 | 63 | | |
73 | 64 | | |
| |||
82 | 73 | | |
83 | 74 | | |
84 | 75 | | |
85 | | - | |
| 76 | + | |
86 | 77 | | |
87 | 78 | | |
88 | | - | |
| 79 | + | |
89 | 80 | | |
90 | 81 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 82 | + | |
94 | 83 | | |
95 | 84 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 85 | + | |
| 86 | + | |
103 | 87 | | |
104 | 88 | | |
105 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
0 commit comments