Commit 5990f88
authored
chore: Migrate to angular 20 (#527)
This pull request includes various updates across multiple files to
streamline configurations, modernize dependencies, and remove unused
code. Key changes include updates to Node.js versions in workflows,
removal of the `ngu-carousel-e2e` project and its associated files, and
improvements to Angular configurations.
### Workflow and Dependency Updates:
* Updated Node.js versions in `.github/workflows/nodejs.yml` to include
version `22` and in `.github/workflows/npm-publish.yml` to version `20`,
ensuring compatibility with newer Node.js features.
[[1]](diffhunk://#diff-e98936aa52a6dd7416e4296e9628456227d834f7245967383fd9ff80fd985dadL18-R18)
[[2]](diffhunk://#diff-8a5ce8b612395836520d0655143f732d08e747af57f3cfe76b5e283600106240L24-R24)
[[3]](diffhunk://#diff-8a5ce8b612395836520d0655143f732d08e747af57f3cfe76b5e283600106240L38-R38)
### Removal of `ngu-carousel-e2e` Project:
* Completely removed the `ngu-carousel-e2e` project, including its
Cypress configuration, ESLint rules, project schema, and all related
test files. This cleanup eliminates unused testing infrastructure.
[[1]](diffhunk://#diff-37b71680045a40a6d1b8544c18e461613afc6d1c7514665f45f347c22ac21688L1-L17)
[[2]](diffhunk://#diff-15c991a824aa5dd87e56858c2d49ada2356dbb332f4e9f70ab64cf007098b140L1-L20)
[[3]](diffhunk://#diff-51af146d79a69453ac935c521342f8639f9e4afd72b4232d1b8c556288166572L1-L16)
[[4]](diffhunk://#diff-aa4b106d8326de265cb5f1770d7e3bd77fbe1db378d899ab67569a433c04f9e4L1-L13)
[[5]](diffhunk://#diff-8ba266b996f5556bf6770d2f09aad160d445b476327f5d00fb9af4cb0118de92L1-L4)
[[6]](diffhunk://#diff-045d43aa95b7835690f8cbe6fe195a53c71cad9365edc9c93da40371b3a8b167L1)
[[7]](diffhunk://#diff-52fbee3faf4ff1495788ecc673ca75923e503ad25cd1b7ffdbe777d907716530L1-L31)
[[8]](diffhunk://#diff-9cbedc07d1ac15a9bcc718d0e95fe084b84d69794d85832c33f3c493ad6b6b25L1-L17)
[[9]](diffhunk://#diff-6a924783e1bc508219e16c8e2fa9e2aea2515dd5eb8f421f32b11e3f69d1aebfL1-L10)
### Angular Configuration Enhancements:
* Updated `apps/ngu-carousel-example/project.json` to simplify JSON
formatting and add a `continuous` flag for development configurations.
[[1]](diffhunk://#diff-1c17283ee280f97c2f69cf7a48fd2d3afb3ecfb6514819b9aadb437c851c7eb7L35-R35)
[[2]](diffhunk://#diff-1c17283ee280f97c2f69cf7a48fd2d3afb3ecfb6514819b9aadb437c851c7eb7L74-R73)
[[3]](diffhunk://#diff-1c17283ee280f97c2f69cf7a48fd2d3afb3ecfb6514819b9aadb437c851c7eb7L94-R100)
[[4]](diffhunk://#diff-1c17283ee280f97c2f69cf7a48fd2d3afb3ecfb6514819b9aadb437c851c7eb7L150-R150)
* Replaced `provideExperimentalZonelessChangeDetection` with
`provideZonelessChangeDetection` in `app.config.ts` to use the stable
API.
* Adjusted the import path for `provideServerRendering` in
`app-server.config.ts` to reflect the latest Angular SSR module.
### Minor Improvements:
* Simplified JSON formatting in `.all-contributorsrc` for better
readability.
[[1]](diffhunk://#diff-cb22095514d0cab1f755ae3a7902f7d64d10199da210fbd1eb2b29eb758b38d2L2-R2)
[[2]](diffhunk://#diff-cb22095514d0cab1f755ae3a7902f7d64d10199da210fbd1eb2b29eb758b38d2L13-R137)
* Added spacing in `README.md` for better badge alignment.
*
closes #5251 parent 735c712 commit 5990f88
File tree
39 files changed
+14716
-7454
lines changed- .github/workflows
- apps
- ngu-carousel-e2e
- src
- e2e
- fixtures
- support
- ngu-carousel-example
- src
- app
- banner-vertical
- banner
- getting-started
- tile
- assets/mock
- libs/ngu/carousel
- .storybook
- cypress/support
- src/lib
- ngu-carousel
- ngu-tile
39 files changed
+14716
-7454
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 18 | + | |
25 | 19 | | |
26 | 20 | | |
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
30 | 24 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 25 | + | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
38 | 30 | | |
39 | 31 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 32 | + | |
43 | 33 | | |
44 | 34 | | |
45 | 35 | | |
46 | 36 | | |
47 | 37 | | |
48 | 38 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 39 | + | |
52 | 40 | | |
53 | 41 | | |
54 | 42 | | |
55 | 43 | | |
56 | 44 | | |
57 | 45 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 46 | + | |
61 | 47 | | |
62 | 48 | | |
63 | 49 | | |
64 | 50 | | |
65 | 51 | | |
66 | 52 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 53 | + | |
70 | 54 | | |
71 | 55 | | |
72 | 56 | | |
73 | 57 | | |
74 | 58 | | |
75 | 59 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 60 | + | |
79 | 61 | | |
80 | 62 | | |
81 | 63 | | |
82 | 64 | | |
83 | 65 | | |
84 | 66 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 67 | + | |
88 | 68 | | |
89 | 69 | | |
90 | 70 | | |
91 | 71 | | |
92 | 72 | | |
93 | 73 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 74 | + | |
97 | 75 | | |
98 | 76 | | |
99 | 77 | | |
100 | 78 | | |
101 | 79 | | |
102 | 80 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 81 | + | |
106 | 82 | | |
107 | 83 | | |
108 | 84 | | |
109 | 85 | | |
110 | 86 | | |
111 | 87 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 88 | + | |
115 | 89 | | |
116 | 90 | | |
117 | 91 | | |
118 | 92 | | |
119 | 93 | | |
120 | 94 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 95 | + | |
124 | 96 | | |
125 | 97 | | |
126 | 98 | | |
127 | 99 | | |
128 | 100 | | |
129 | 101 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 102 | + | |
133 | 103 | | |
134 | 104 | | |
135 | 105 | | |
136 | 106 | | |
137 | 107 | | |
138 | 108 | | |
139 | | - | |
140 | | - | |
141 | | - | |
| 109 | + | |
142 | 110 | | |
143 | 111 | | |
144 | 112 | | |
145 | 113 | | |
146 | 114 | | |
147 | 115 | | |
148 | | - | |
149 | | - | |
150 | | - | |
| 116 | + | |
151 | 117 | | |
152 | 118 | | |
153 | 119 | | |
154 | 120 | | |
155 | 121 | | |
156 | 122 | | |
157 | | - | |
158 | | - | |
159 | | - | |
| 123 | + | |
160 | 124 | | |
161 | 125 | | |
162 | 126 | | |
163 | 127 | | |
164 | 128 | | |
165 | 129 | | |
166 | | - | |
167 | | - | |
168 | | - | |
| 130 | + | |
169 | 131 | | |
170 | 132 | | |
171 | 133 | | |
172 | 134 | | |
173 | 135 | | |
174 | 136 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 137 | + | |
178 | 138 | | |
179 | 139 | | |
180 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments