You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,34 @@ To view and develop components in isolation, start Storybook for Angular:
30
30
npm run start
31
31
```
32
32
33
+
## Angular Version Support
34
+
35
+
The library supports the three latest Angular major versions. Angular releases a new major every 6 months and deprecates versions after 18 months. See the [Angular release schedule](https://angular.dev/reference/releases) for upcoming dates.
36
+
37
+
**Currently supported: Angular 19, 20, 21**
38
+
39
+
CI runs build and test jobs against all supported versions using a matrix strategy. The base version (used for `npm ci`) is determined by `devDependencies` in `package.json` — the other versions are installed on top via `ng update`.
40
+
41
+
### Adding a new Angular version
42
+
43
+
When a new Angular major is released (e.g. v22):
44
+
45
+
1.**`package.json`** — add `|| ^22.0.0` to every Angular peer dependency and `ngx-float-ui`
46
+
2.**`.github/workflows/angular-test-and-lint.yml`** — add `22` to the `angular-version` matrix in the `build` and `test` jobs
47
+
3.**`.github/workflows/angular-release.yml`** — add `22` to the `angular-version` matrix in the `test` job
48
+
49
+
### Dropping a deprecated Angular version
50
+
51
+
When an Angular major reaches end-of-life (e.g. v19):
52
+
53
+
1.**`package.json`** — remove `^19.0.0 ||` from every Angular peer dependency and `ngx-float-ui`
54
+
2.**`.github/workflows/angular-test-and-lint.yml`** — remove `19` from the `angular-version` matrix in the `build` and `test` jobs
55
+
3.**`.github/workflows/angular-release.yml`** — remove `19` from the `angular-version` matrix in the `test` job
56
+
4. Bump `devDependencies` to the new minimum supported Angular version so the library is always built and developed against a supported release
57
+
33
58
## Contributing
34
59
35
-
Check the [wiki](https://github.com/TEDI-Design-System/general) for component guidelines and coding standards.
60
+
Check the [wiki](https://github.com/TEDI-Design-System/general) for component guidelines and coding standards.
36
61
Report issues or contribute via [GitHub Issues](https://github.com/TEDI-Design-System/angular/issues).
0 commit comments