@schematics/angular 17.0.0-rc.2 → 17.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,9 +9,36 @@
9
9
 
10
10
  <style>
11
11
  :host {
12
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
13
- font-size: 14px;
14
- color: #333;
12
+ --bright-blue: oklch(51.01% 0.274 263.83);
13
+ --electric-violet: oklch(53.18% 0.28 296.97);
14
+ --french-violet: oklch(47.66% 0.246 305.88);
15
+ --vivid-pink: oklch(69.02% 0.277 332.77);
16
+ --hot-red: oklch(61.42% 0.238 15.34);
17
+ --orange-red: oklch(63.32% 0.24 31.68);
18
+
19
+ --gray-900: oklch(19.37% 0.006 300.98);
20
+ --gray-700: oklch(36.98% 0.014 302.71);
21
+ --gray-400: oklch(70.9% 0.015 304.04);
22
+
23
+ --red-to-pink-to-purple-vertical-gradient: linear-gradient(
24
+ 180deg,
25
+ var(--orange-red) 0%,
26
+ var(--vivid-pink) 50%,
27
+ var(--electric-violet) 100%
28
+ );
29
+
30
+ --red-to-pink-to-purple-horizontal-gradient: linear-gradient(
31
+ 90deg,
32
+ var(--orange-red) 0%,
33
+ var(--vivid-pink) 50%,
34
+ var(--electric-violet) 100%
35
+ );
36
+
37
+ --pill-accent: var(--bright-blue);
38
+
39
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
40
+ Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
41
+ "Segoe UI Symbol";
15
42
  box-sizing: border-box;
16
43
  -webkit-font-smoothing: antialiased;
17
44
  -moz-osx-font-smoothing: grayscale;
@@ -23,454 +50,314 @@
23
50
  h4,
24
51
  h5,
25
52
  h6 {
26
- margin: 8px 0;
53
+ color: var(--gray-900);
54
+ font-weight: 500;
55
+ line-height: 100%;
56
+ letter-spacing: -0.125rem;
57
+ margin: 0;
58
+ font-family: "Inter Tight";
27
59
  }
28
60
 
29
- p {
30
- margin: 0;
61
+ h1 {
62
+ font-size: 3.125rem;
31
63
  }
32
64
 
33
- .spacer {
34
- flex: 1;
65
+ p {
66
+ margin: 0;
67
+ color: var(--gray-700);
35
68
  }
36
69
 
37
- .toolbar {
38
- position: absolute;
39
- top: 0;
40
- left: 0;
41
- right: 0;
42
- height: 60px;
70
+ main {
71
+ width: 100%;
72
+ min-height: 100%;
43
73
  display: flex;
74
+ justify-content: center;
44
75
  align-items: center;
45
- background-color: #1976d2;
46
- color: white;
47
- font-weight: 600;
48
- }
49
-
50
- .toolbar img {
51
- margin: 0 16px;
52
- }
53
-
54
- .toolbar #twitter-logo {
55
- height: 40px;
56
- margin: 0 8px;
57
- }
58
-
59
- .toolbar #youtube-logo {
60
- height: 40px;
61
- margin: 0 16px;
76
+ padding: 1rem;
77
+ box-sizing: inherit;
78
+ position: relative;
62
79
  }
63
80
 
64
- .toolbar #twitter-logo:hover,
65
- .toolbar #youtube-logo:hover {
66
- opacity: 0.8;
81
+ .angular-logo {
82
+ max-width: 9.2rem;
67
83
  }
68
84
 
69
85
  .content {
70
86
  display: flex;
71
- margin: 82px auto 32px;
72
- padding: 0 16px;
73
- max-width: 960px;
74
- flex-direction: column;
75
- align-items: center;
87
+ justify-content: space-around;
88
+ width: 100%;
89
+ max-width: 700px;
90
+ margin-bottom: 3rem;
76
91
  }
77
92
 
78
- svg.material-icons {
79
- height: 24px;
80
- width: auto;
93
+ .content h1 {
94
+ margin-top: 1.75rem;
81
95
  }
82
96
 
83
- svg.material-icons:not(:last-child) {
84
- margin-right: 8px;
97
+ .content p {
98
+ margin-top: 1.5rem;
85
99
  }
86
100
 
87
- .card svg.material-icons path {
88
- fill: #888;
101
+ .divider {
102
+ width: 1px;
103
+ background: var(--red-to-pink-to-purple-vertical-gradient);
104
+ margin-inline: 0.5rem;
89
105
  }
90
106
 
91
- .card-container {
107
+ .pill-group {
92
108
  display: flex;
109
+ flex-direction: column;
110
+ align-items: start;
93
111
  flex-wrap: wrap;
94
- justify-content: center;
95
- margin-top: 16px;
112
+ gap: 1.25rem;
96
113
  }
97
114
 
98
- .card {
99
- all: unset;
100
- border-radius: 4px;
101
- border: 1px solid #eee;
102
- background-color: #fafafa;
103
- height: 40px;
104
- width: 200px;
105
- margin: 0 8px 16px;
106
- padding: 16px;
115
+ .pill {
107
116
  display: flex;
108
- flex-direction: row;
109
- justify-content: center;
110
117
  align-items: center;
111
- transition: all 0.2s ease-in-out;
112
- line-height: 24px;
113
- }
114
-
115
- .card-container .card:not(:last-child) {
116
- margin-right: 0;
117
- }
118
-
119
- .card.card-small {
120
- height: 16px;
121
- width: 168px;
122
- }
123
-
124
- .card-container .card:not(.highlight-card) {
125
- cursor: pointer;
126
- }
127
-
128
- .card-container .card:not(.highlight-card):hover {
129
- transform: translateY(-3px);
130
- box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);
131
- }
132
-
133
- .card-container .card:not(.highlight-card):hover .material-icons path {
134
- fill: rgb(105, 103, 103);
135
- }
136
-
137
- .card.highlight-card {
138
- background-color: #1976d2;
139
- color: white;
140
- font-weight: 600;
141
- border: none;
142
- width: auto;
143
- min-width: 30%;
144
- position: relative;
145
- }
146
-
147
- .card.card.highlight-card span {
148
- margin-left: 60px;
149
- }
150
-
151
- svg#rocket {
152
- width: 80px;
153
- position: absolute;
154
- left: -10px;
155
- top: -24px;
156
- }
157
-
158
- svg#rocket-smoke {
159
- height: calc(100vh - 95px);
160
- position: absolute;
161
- top: 10px;
162
- right: 180px;
163
- z-index: -10;
164
- }
165
-
166
- a,
167
- a:visited,
168
- a:hover {
169
- color: #1976d2;
118
+ --pill-accent: var(--bright-blue);
119
+ background: color-mix(in srgb, var(--pill-accent) 5%, transparent);
120
+ color: var(--pill-accent);
121
+ padding-inline: 0.75rem;
122
+ padding-block: 0.375rem;
123
+ border-radius: 2.75rem;
124
+ border: 0;
125
+ transition: background 0.3s ease;
126
+ font-family: var(--inter-font);
127
+ font-size: 0.875rem;
128
+ font-style: normal;
129
+ font-weight: 500;
130
+ line-height: 1.4rem;
131
+ letter-spacing: -0.00875rem;
170
132
  text-decoration: none;
171
133
  }
172
134
 
173
- a:hover {
174
- color: #125699;
135
+ .pill:hover {
136
+ background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
175
137
  }
176
138
 
177
- .terminal {
178
- position: relative;
179
- width: 80%;
180
- max-width: 600px;
181
- border-radius: 6px;
182
- padding-top: 45px;
183
- margin-top: 8px;
184
- overflow: hidden;
185
- background-color: rgb(15, 15, 16);
186
- }
187
-
188
- .terminal::before {
189
- content: "\2022 \2022 \2022";
190
- position: absolute;
191
- top: 0;
192
- left: 0;
193
- height: 4px;
194
- background: rgb(58, 58, 58);
195
- color: #c2c3c4;
196
- width: 100%;
197
- font-size: 2rem;
198
- line-height: 0;
199
- padding: 14px 0;
200
- text-indent: 4px;
201
- }
202
-
203
- .terminal pre {
204
- font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
205
- color: white;
206
- padding: 0 1rem 1rem;
207
- margin: 0;
208
- }
209
-
210
- .circle-link {
211
- height: 40px;
212
- width: 40px;
213
- border-radius: 40px;
214
- margin: 8px;
215
- background-color: white;
216
- border: 1px solid #eeeeee;
217
- display: flex;
218
- justify-content: center;
219
- align-items: center;
220
- cursor: pointer;
221
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
222
- transition: 1s ease-out;
139
+ .pill-group .pill:nth-child(6n + 1) {
140
+ --pill-accent: var(--bright-blue);
223
141
  }
224
-
225
- .circle-link:hover {
226
- transform: translateY(-0.25rem);
227
- box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
142
+ .pill-group .pill:nth-child(6n + 2) {
143
+ --pill-accent: var(--french-violet);
228
144
  }
229
-
230
- footer {
231
- margin-top: 8px;
232
- display: flex;
233
- align-items: center;
234
- line-height: 20px;
145
+ .pill-group .pill:nth-child(6n + 3),
146
+ .pill-group .pill:nth-child(6n + 4),
147
+ .pill-group .pill:nth-child(6n + 5) {
148
+ --pill-accent: var(--hot-red);
235
149
  }
236
150
 
237
- footer a {
238
- display: flex;
239
- align-items: center;
151
+ .open-in-new-icon {
152
+ margin-inline-start: 0.25rem;
153
+ font-size: 1rem;
240
154
  }
241
155
 
242
- .github-star-badge {
243
- color: #24292e;
156
+ .social-links {
244
157
  display: flex;
245
158
  align-items: center;
246
- font-size: 12px;
247
- padding: 3px 10px;
248
- border: 1px solid rgba(27,31,35,.2);
249
- border-radius: 3px;
250
- background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);
251
- margin-left: 4px;
252
- font-weight: 600;
159
+ gap: 0.73rem;
160
+ margin-top: 1.5rem;
253
161
  }
254
162
 
255
- .github-star-badge:hover {
256
- background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);
257
- border-color: rgba(27,31,35,.35);
258
- background-position: -.5em;
163
+ .social-links path {
164
+ transition: fill 0.3s ease;
165
+ fill: var(--gray-400);
259
166
  }
260
167
 
261
- .github-star-badge .material-icons {
262
- height: 16px;
263
- width: 16px;
264
- margin-right: 4px;
168
+ .social-links a:hover svg path {
169
+ fill: var(--gray-900);
265
170
  }
266
171
 
267
- svg#clouds {
268
- position: fixed;
269
- bottom: -160px;
270
- left: -230px;
271
- z-index: -10;
272
- width: 1920px;
273
- }
274
-
275
- /* Responsive Styles */
276
- @media screen and (max-width: 767px) {
277
- .card-container > *:not(.circle-link) ,
278
- .terminal {
279
- width: 100%;
280
- }
281
-
282
- .card:not(.highlight-card) {
283
- height: 16px;
284
- margin: 8px 0;
285
- }
286
-
287
- .card.highlight-card span {
288
- margin-left: 72px;
289
- }
290
-
291
- svg#rocket-smoke {
292
- right: 120px;
293
- transform: rotate(-5deg);
172
+ @media screen and (max-width: 650px) {
173
+ .content {
174
+ flex-direction: column;
175
+ width: max-content;
294
176
  }
295
- }
296
177
 
297
- @media screen and (max-width: 575px) {
298
- svg#rocket-smoke {
299
- display: none;
300
- visibility: hidden;
178
+ .divider {
179
+ height: 1px;
180
+ width: 100%;
181
+ background: var(--red-to-pink-to-purple-horizontal-gradient);
182
+ margin-block: 1.5rem;
301
183
  }
302
184
  }
303
185
  </style>
304
186
 
305
- <!-- Toolbar -->
306
- <div class="toolbar" role="banner">
307
- <img
308
- width="40"
309
- alt="Angular Logo"
310
- src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
311
- />
312
- <span>Welcome</span>
313
- <div class="spacer"></div>
314
- <a aria-label="Angular on X" target="_blank" rel="noopener" href="https://twitter.com/angular" title="X">
315
- <svg id="twitter-logo" xmlns="http://www.w3.org/2000/svg" height="24" width="24" data-name="Logo" viewBox="0 0 512 512" fill="#fff">
316
- <path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/>
317
- </svg>
318
- </a>
319
- <a aria-label="Angular on YouTube" target="_blank" rel="noopener" href="https://youtube.com/angular" title="YouTube">
320
- <svg id="youtube-logo" height="24" width="24" data-name="Logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#fff">
321
- <path d="M0 0h24v24H0V0z" fill="none"/>
322
- <path d="M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"/>
323
- </svg>
324
- </a>
325
- </div>
326
-
327
- <div class="content" role="main">
328
-
329
- <!-- Highlight Card -->
330
- <div class="card highlight-card card-small">
331
-
332
- <svg id="rocket" xmlns="http://www.w3.org/2000/svg" width="101.678" height="101.678" viewBox="0 0 101.678 101.678">
333
- <title>Rocket Ship</title>
334
- <g id="Group_83" data-name="Group 83" transform="translate(-141 -696)">
335
- <circle id="Ellipse_8" data-name="Ellipse 8" cx="50.839" cy="50.839" r="50.839" transform="translate(141 696)" fill="#dd0031"/>
336
- <g id="Group_47" data-name="Group 47" transform="translate(165.185 720.185)">
337
- <path id="Path_33" data-name="Path 33" d="M3.4,42.615a3.084,3.084,0,0,0,3.553,3.553,21.419,21.419,0,0,0,12.215-6.107L9.511,30.4A21.419,21.419,0,0,0,3.4,42.615Z" transform="translate(0.371 3.363)" fill="#fff"/>
338
- <path id="Path_34" data-name="Path 34" d="M53.3,3.221A3.09,3.09,0,0,0,50.081,0,48.227,48.227,0,0,0,18.322,13.437c-6-1.666-14.991-1.221-18.322,7.218A33.892,33.892,0,0,1,9.439,25.1l-.333.666a3.013,3.013,0,0,0,.555,3.553L23.985,43.641a2.9,2.9,0,0,0,3.553.555l.666-.333A33.892,33.892,0,0,1,32.647,53.3c8.55-3.664,8.884-12.326,7.218-18.322A48.227,48.227,0,0,0,53.3,3.221ZM34.424,9.772a6.439,6.439,0,1,1,9.106,9.106,6.368,6.368,0,0,1-9.106,0A6.467,6.467,0,0,1,34.424,9.772Z" transform="translate(0 0.005)" fill="#fff"/>
187
+ <main class="main">
188
+ <div class="content">
189
+ <div class="left-side">
190
+ <svg
191
+ xmlns="http://www.w3.org/2000/svg"
192
+ viewBox="0 0 982 239"
193
+ fill="none"
194
+ class="angular-logo"
195
+ >
196
+ <g clip-path="url(#a)">
197
+ <path
198
+ fill="url(#b)"
199
+ d="M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"
200
+ />
201
+ <path
202
+ fill="url(#c)"
203
+ d="M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"
204
+ />
339
205
  </g>
340
- </g>
341
- </svg>
342
-
343
- <span>{{ title }} app is running!</span>
344
-
345
- <svg id="rocket-smoke" xmlns="http://www.w3.org/2000/svg" width="516.119" height="1083.632" viewBox="0 0 516.119 1083.632">
346
- <title>Rocket Ship Smoke</title>
347
- <path id="Path_40" data-name="Path 40" d="M644.6,141S143.02,215.537,147.049,870.207s342.774,201.755,342.774,201.755S404.659,847.213,388.815,762.2c-27.116-145.51-11.551-384.124,271.9-609.1C671.15,139.365,644.6,141,644.6,141Z" transform="translate(-147.025 -140.939)" fill="#f5f5f5"/>
348
- </svg>
349
-
350
- </div>
351
-
352
- <!-- Resources -->
353
- <h2>Resources</h2>
354
- <p>Here are some links to help you get started:</p>
355
-
356
- <div class="card-container">
357
- <a class="card" target="_blank" rel="noopener" href="https://angular.io/tutorial">
358
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"/></svg>
359
- <span>Learn Angular</span>
360
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg> </a>
361
-
362
- <a class="card" target="_blank" rel="noopener" href="https://angular.io/cli">
363
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg>
364
- <span>CLI Documentation</span>
365
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
366
- </a>
367
-
368
- <a class="card" target="_blank" rel="noopener" href="https://material.angular.io">
369
- <svg xmlns="http://www.w3.org/2000/svg" style="margin-right: 8px" width="21.813" height="23.453" viewBox="0 0 179.2 192.7"><path fill="#ffa726" d="M89.4 0 0 32l13.5 118.4 75.9 42.3 76-42.3L179.2 32 89.4 0z"/><path fill="#fb8c00" d="M89.4 0v192.7l76-42.3L179.2 32 89.4 0z"/><path fill="#ffe0b2" d="m102.9 146.3-63.3-30.5 36.3-22.4 63.7 30.6-36.7 22.3z"/><path fill="#fff3e0" d="M102.9 122.8 39.6 92.2l36.3-22.3 63.7 30.6-36.7 22.3z"/><path fill="#fff" d="M102.9 99.3 39.6 68.7l36.3-22.4 63.7 30.6-36.7 22.4z"/></svg>
370
- <span>Angular Material</span>
371
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
372
- </a>
373
-
374
- <a class="card" target="_blank" rel="noopener" href="https://blog.angular.io/">
375
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z"/></svg>
376
- <span>Angular Blog</span>
377
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
378
- </a>
379
-
380
- <a class="card" target="_blank" rel="noopener" href="https://angular.io/devtools/">
381
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M14.73,13.31C15.52,12.24,16,10.93,16,9.5C16,5.91,13.09,3,9.5,3S3,5.91,3,9.5C3,13.09,5.91,16,9.5,16 c1.43,0,2.74-0.48,3.81-1.27L19.59,21L21,19.59L14.73,13.31z M9.5,14C7.01,14,5,11.99,5,9.5S7.01,5,9.5,5S14,7.01,14,9.5 S11.99,14,9.5,14z"/><polygon points="10.29,8.44 9.5,6 8.71,8.44 6.25,8.44 8.26,10.03 7.49,12.5 9.5,10.97 11.51,12.5 10.74,10.03 12.75,8.44"/></g></g></svg>
382
- <span>Angular DevTools</span>
383
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
384
- </a>
385
-
386
- </div>
387
-
388
- <!-- Next Steps -->
389
- <h2>Next Steps</h2>
390
- <p>What do you want to do next with your app?</p>
391
-
392
- <input type="hidden" #selection>
393
-
394
- <div class="card-container">
395
- <button class="card card-small" (click)="selection.value = 'component'" tabindex="0">
396
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
397
- <span>New Component</span>
398
- </button>
399
-
400
- <button class="card card-small" (click)="selection.value = 'material'" tabindex="0">
401
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
402
- <span>Angular Material</span>
403
- </button>
404
-
405
- <button class="card card-small" (click)="selection.value = 'pwa'" tabindex="0">
406
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
407
- <span>Add PWA Support</span>
408
- </button>
409
-
410
- <button class="card card-small" (click)="selection.value = 'dependency'" tabindex="0">
411
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
412
- <span>Add Dependency</span>
413
- </button>
414
-
415
- <button class="card card-small" (click)="selection.value = 'test'" tabindex="0">
416
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
417
- <span>Run and Watch Tests</span>
418
- </button>
419
-
420
- <button class="card card-small" (click)="selection.value = 'build'" tabindex="0">
421
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
422
- <span>Build for Production</span>
423
- </button>
424
- </div>
425
-
426
- <!-- Terminal -->
427
- <div class="terminal" [ngSwitch]="selection.value">
428
- <pre *ngSwitchDefault>ng generate component xyz</pre>
429
- <pre *ngSwitchCase="'material'">ng add &#64;angular/material</pre>
430
- <pre *ngSwitchCase="'pwa'">ng add &#64;angular/pwa</pre>
431
- <pre *ngSwitchCase="'dependency'">ng add _____</pre>
432
- <pre *ngSwitchCase="'test'">ng test</pre>
433
- <pre *ngSwitchCase="'build'">ng build</pre>
434
- </div>
435
-
436
- <!-- Links -->
437
- <div class="card-container">
438
- <a class="circle-link" title="Find a Local Meetup" href="https://www.meetup.com/find/?keywords=angular" target="_blank" rel="noopener">
439
- <svg xmlns="http://www.w3.org/2000/svg" width="24.607" height="23.447" viewBox="0 0 24.607 23.447">
440
- <title>Meetup Logo</title>
441
- <path id="logo--mSwarm" d="M21.221,14.95A4.393,4.393,0,0,1,17.6,19.281a4.452,4.452,0,0,1-.8.069c-.09,0-.125.035-.154.117a2.939,2.939,0,0,1-2.506,2.091,2.868,2.868,0,0,1-2.248-.624.168.168,0,0,0-.245-.005,3.926,3.926,0,0,1-2.589.741,4.015,4.015,0,0,1-3.7-3.347,2.7,2.7,0,0,1-.043-.38c0-.106-.042-.146-.143-.166a3.524,3.524,0,0,1-1.516-.69A3.623,3.623,0,0,1,2.23,14.557a3.66,3.66,0,0,1,1.077-3.085.138.138,0,0,0,.026-.2,3.348,3.348,0,0,1-.451-1.821,3.46,3.46,0,0,1,2.749-3.28.44.44,0,0,0,.355-.281,5.072,5.072,0,0,1,3.863-3,5.028,5.028,0,0,1,3.555.666.31.31,0,0,0,.271.03A4.5,4.5,0,0,1,18.3,4.7a4.4,4.4,0,0,1,1.334,2.751,3.658,3.658,0,0,1,.022.706.131.131,0,0,0,.1.157,2.432,2.432,0,0,1,1.574,1.645,2.464,2.464,0,0,1-.7,2.616c-.065.064-.051.1-.014.166A4.321,4.321,0,0,1,21.221,14.95ZM13.4,14.607a2.09,2.09,0,0,0,1.409,1.982,4.7,4.7,0,0,0,1.275.221,1.807,1.807,0,0,0,.9-.151.542.542,0,0,0,.321-.545.558.558,0,0,0-.359-.534,1.2,1.2,0,0,0-.254-.078c-.262-.047-.526-.086-.787-.138a.674.674,0,0,1-.617-.75,3.394,3.394,0,0,1,.218-1.109c.217-.658.509-1.286.79-1.918a15.609,15.609,0,0,0,.745-1.86,1.95,1.95,0,0,0,.06-1.073,1.286,1.286,0,0,0-1.051-1.033,1.977,1.977,0,0,0-1.521.2.339.339,0,0,1-.446-.042c-.1-.092-.2-.189-.307-.284a1.214,1.214,0,0,0-1.643-.061,7.563,7.563,0,0,1-.614.512A.588.588,0,0,1,10.883,8c-.215-.115-.437-.215-.659-.316a2.153,2.153,0,0,0-.695-.248A2.091,2.091,0,0,0,7.541,8.562a9.915,9.915,0,0,0-.405.986c-.559,1.545-1.015,3.123-1.487,4.7a1.528,1.528,0,0,0,.634,1.777,1.755,1.755,0,0,0,1.5.211,1.35,1.35,0,0,0,.824-.858c.543-1.281,1.032-2.584,1.55-3.875.142-.355.28-.712.432-1.064a.548.548,0,0,1,.851-.24.622.622,0,0,1,.185.539,2.161,2.161,0,0,1-.181.621c-.337.852-.68,1.7-1.018,2.552a2.564,2.564,0,0,0-.173.528.624.624,0,0,0,.333.71,1.073,1.073,0,0,0,.814.034,1.22,1.22,0,0,0,.657-.655q.758-1.488,1.511-2.978.35-.687.709-1.37a1.073,1.073,0,0,1,.357-.434.43.43,0,0,1,.463-.016.373.373,0,0,1,.153.387.7.7,0,0,1-.057.236c-.065.157-.127.316-.2.469-.42.883-.846,1.763-1.262,2.648A2.463,2.463,0,0,0,13.4,14.607Zm5.888,6.508a1.09,1.09,0,0,0-2.179.006,1.09,1.09,0,0,0,2.179-.006ZM1.028,12.139a1.038,1.038,0,1,0,.01-2.075,1.038,1.038,0,0,0-.01,2.075ZM13.782.528a1.027,1.027,0,1,0-.011,2.055A1.027,1.027,0,0,0,13.782.528ZM22.21,6.95a.882.882,0,0,0-1.763.011A.882.882,0,0,0,22.21,6.95ZM4.153,4.439a.785.785,0,1,0,.787-.78A.766.766,0,0,0,4.153,4.439Zm8.221,18.22a.676.676,0,1,0-.677.666A.671.671,0,0,0,12.374,22.658ZM22.872,12.2a.674.674,0,0,0-.665.665.656.656,0,0,0,.655.643.634.634,0,0,0,.655-.644A.654.654,0,0,0,22.872,12.2ZM7.171-.123A.546.546,0,0,0,6.613.43a.553.553,0,1,0,1.106,0A.539.539,0,0,0,7.171-.123ZM24.119,9.234a.507.507,0,0,0-.493.488.494.494,0,0,0,.494.494.48.48,0,0,0,.487-.483A.491.491,0,0,0,24.119,9.234Zm-19.454,9.7a.5.5,0,0,0-.488-.488.491.491,0,0,0-.487.5.483.483,0,0,0,.491.479A.49.49,0,0,0,4.665,18.936Z" transform="translate(0 0.123)" fill="#f64060"/>
442
- </svg>
443
- </a>
444
-
445
- <a class="circle-link" title="Join the Conversation on Discord" href="https://discord.gg/angular" target="_blank" rel="noopener">
446
- <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 245 240">
447
- <title>Discord Logo</title>
448
- <path d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1.1-6.1-4.5-11.1-10.2-11.1zM140.9 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1s-4.5-11.1-10.2-11.1z"/>
449
- <path d="M189.5 20h-134C44.2 20 35 29.2 35 40.6v135.2c0 11.4 9.2 20.6 20.5 20.6h113.4l-5.3-18.5 12.8 11.9 12.1 11.2 21.5 19V40.6c0-11.4-9.2-20.6-20.5-20.6zm-38.6 130.6s-3.6-4.3-6.6-8.1c13.1-3.7 18.1-11.9 18.1-11.9-4.1 2.7-8 4.6-11.5 5.9-5 2.1-9.8 3.5-14.5 4.3-9.6 1.8-18.4 1.3-25.9-.1-5.7-1.1-10.6-2.7-14.7-4.3-2.3-.9-4.8-2-7.3-3.4-.3-.2-.6-.3-.9-.5-.2-.1-.3-.2-.4-.3-1.8-1-2.8-1.7-2.8-1.7s4.8 8 17.5 11.8c-3 3.8-6.7 8.3-6.7 8.3-22.1-.7-30.5-15.2-30.5-15.2 0-32.2 14.4-58.3 14.4-58.3 14.4-10.8 28.1-10.5 28.1-10.5l1 1.2c-18 5.2-26.3 13.1-26.3 13.1s2.2-1.2 5.9-2.9c10.7-4.7 19.2-6 22.7-6.3.6-.1 1.1-.2 1.7-.2 6.1-.8 13-1 20.2-.2 9.5 1.1 19.7 3.9 30.1 9.6 0 0-7.9-7.5-24.9-12.7l1.4-1.6s13.7-.3 28.1 10.5c0 0 14.4 26.1 14.4 58.3 0 0-8.5 14.5-30.6 15.2z"/>
206
+ <defs>
207
+ <radialGradient
208
+ id="c"
209
+ cx="0"
210
+ cy="0"
211
+ r="1"
212
+ gradientTransform="rotate(118.122 171.182 60.81) scale(205.794)"
213
+ gradientUnits="userSpaceOnUse"
214
+ >
215
+ <stop stop-color="#FF41F8" />
216
+ <stop offset=".707" stop-color="#FF41F8" stop-opacity=".5" />
217
+ <stop offset="1" stop-color="#FF41F8" stop-opacity="0" />
218
+ </radialGradient>
219
+ <linearGradient
220
+ id="b"
221
+ x1="0"
222
+ x2="982"
223
+ y1="192"
224
+ y2="192"
225
+ gradientUnits="userSpaceOnUse"
226
+ >
227
+ <stop stop-color="#F0060B" />
228
+ <stop offset="0" stop-color="#F0070C" />
229
+ <stop offset=".526" stop-color="#CC26D5" />
230
+ <stop offset="1" stop-color="#7702FF" />
231
+ </linearGradient>
232
+ <clipPath id="a"><path fill="#fff" d="M0 0h982v239H0z" /></clipPath>
233
+ </defs>
450
234
  </svg>
451
- </a>
235
+ <h1>Hello, {{ title }}</h1>
236
+ <p>Congratulations! Your app is running. 🎉</p>
237
+ </div>
238
+ <div class="divider" role="separator" aria-label="Divider"></div>
239
+ <div class="right-side">
240
+ <div class="pill-group">
241
+ <a
242
+ class="pill"
243
+ href="http://angular.dev"
244
+ target="_blank"
245
+ rel="noopener"
246
+ >
247
+ <span> Explore the Docs </span>
248
+ <i class="material-icons-outlined open-in-new-icon" aria-hidden="true"
249
+ >open_in_new</i
250
+ >
251
+ </a>
252
+ <a
253
+ class="pill"
254
+ href="http://angular.dev/tutorials"
255
+ target="_blank"
256
+ rel="noopener"
257
+ >
258
+ <span> Learn with Tutorials </span>
259
+ <i class="material-icons-outlined open-in-new-icon" aria-hidden="true"
260
+ >open_in_new</i
261
+ >
262
+ </a>
263
+ <a
264
+ class="pill"
265
+ href="http://angular.dev/tools/cli"
266
+ target="_blank"
267
+ rel="noopener"
268
+ >
269
+ <span> CLI Docs </span>
270
+ <i class="material-icons-outlined open-in-new-icon" aria-hidden="true"
271
+ >open_in_new</i
272
+ >
273
+ </a>
274
+ <a
275
+ class="pill"
276
+ href="http://angular.dev/tools/language-service"
277
+ target="_blank"
278
+ rel="noopener"
279
+ >
280
+ <span> Angular Language Service </span>
281
+ <i class="material-icons-outlined open-in-new-icon" aria-hidden="true"
282
+ >open_in_new</i
283
+ >
284
+ </a>
285
+ <a
286
+ class="pill"
287
+ href="http://angular.dev/tools/dev-tools"
288
+ target="_blank"
289
+ rel="noopener"
290
+ >
291
+ <span> Angular DevTools </span>
292
+ <i class="material-icons-outlined open-in-new-icon" aria-hidden="true"
293
+ >open_in_new</i
294
+ >
295
+ </a>
296
+ </div>
297
+ <div class="social-links">
298
+ <a
299
+ href="https://github.com/angular/angular"
300
+ aria-label="Github"
301
+ target="_blank"
302
+ rel="noopener"
303
+ >
304
+ <svg
305
+ width="25"
306
+ height="24"
307
+ viewBox="0 0 25 24"
308
+ fill="none"
309
+ xmlns="http://www.w3.org/2000/svg"
310
+ alt="Github"
311
+ >
312
+ <path
313
+ d="M12.3047 0C5.50634 0 0 5.50942 0 12.3047C0 17.7423 3.52529 22.3535 8.41332 23.9787C9.02856 24.0946 9.25414 23.7142 9.25414 23.3871C9.25414 23.0949 9.24389 22.3207 9.23876 21.2953C5.81601 22.0377 5.09414 19.6444 5.09414 19.6444C4.53427 18.2243 3.72524 17.8449 3.72524 17.8449C2.61064 17.082 3.81137 17.0973 3.81137 17.0973C5.04697 17.1835 5.69604 18.3647 5.69604 18.3647C6.79321 20.2463 8.57636 19.7029 9.27978 19.3881C9.39052 18.5924 9.70736 18.0499 10.0591 17.7423C7.32641 17.4347 4.45429 16.3765 4.45429 11.6618C4.45429 10.3185 4.9311 9.22133 5.72065 8.36C5.58222 8.04931 5.16694 6.79833 5.82831 5.10337C5.82831 5.10337 6.85883 4.77319 9.2121 6.36459C10.1965 6.09082 11.2424 5.95546 12.2883 5.94931C13.3342 5.95546 14.3801 6.09082 15.3644 6.36459C17.7023 4.77319 18.7328 5.10337 18.7328 5.10337C19.3942 6.79833 18.9789 8.04931 18.8559 8.36C19.6403 9.22133 20.1171 10.3185 20.1171 11.6618C20.1171 16.3888 17.2409 17.4296 14.5031 17.7321C14.9338 18.1012 15.3337 18.8559 15.3337 20.0084C15.3337 21.6552 15.3183 22.978 15.3183 23.3779C15.3183 23.7009 15.5336 24.0854 16.1642 23.9623C21.0871 22.3484 24.6094 17.7341 24.6094 12.3047C24.6094 5.50942 19.0999 0 12.3047 0Z"
314
+ />
315
+ </svg>
316
+ </a>
317
+ <a
318
+ href="https://twitter.com/angular"
319
+ aria-label="Twitter"
320
+ target="_blank"
321
+ rel="noopener"
322
+ >
323
+ <svg
324
+ width="25"
325
+ height="20"
326
+ viewBox="0 0 25 20"
327
+ fill="none"
328
+ xmlns="http://www.w3.org/2000/svg"
329
+ alt="Twitter"
330
+ >
331
+ <path
332
+ d="M8.04524 20C17.3335 20 22.4138 12.3047 22.4138 5.63144C22.4138 5.41287 22.4138 5.19529 22.399 4.97869C23.3874 4.26381 24.2405 3.37867 24.9185 2.3647C23.9969 2.77329 23.0192 3.04112 22.018 3.15923C23.0723 2.52818 23.8613 1.53552 24.2382 0.366057C23.2469 0.954335 22.1624 1.36889 21.0315 1.59182C20.2701 0.782212 19.2631 0.246107 18.1663 0.0664704C17.0695 -0.113166 15.9441 0.0736804 14.9642 0.598096C13.9843 1.12251 13.2046 1.95526 12.7457 2.96748C12.2868 3.9797 12.1742 5.11495 12.4255 6.19756C10.4178 6.09685 8.45366 5.57507 6.66064 4.66609C4.86763 3.75712 3.28579 2.48127 2.01781 0.921344C1.37203 2.03306 1.17424 3.34911 1.46472 4.60154C1.75519 5.85397 2.51208 6.9486 3.58128 7.66257C2.77759 7.63903 1.9914 7.42221 1.28924 7.03049V7.09449C1.28956 8.26041 1.69316 9.39034 2.4316 10.2926C3.17003 11.1949 4.19783 11.8139 5.34067 12.0448C4.59721 12.2476 3.81715 12.2772 3.06045 12.1315C3.38327 13.1348 4.01156 14.0122 4.85746 14.641C5.70337 15.2698 6.72461 15.6185 7.77842 15.6384C6.73139 16.4614 5.53237 17.0699 4.24995 17.4291C2.96753 17.7882 1.62687 17.891 0.304688 17.7316C2.61411 19.2136 5.30121 19.9997 8.04524 19.9961"
333
+ />
334
+ </svg>
335
+ </a>
336
+ <a
337
+ href="https://www.youtube.com/channel/UCbn1OgGei-DV7aSRo_HaAiw"
338
+ aria-label="Youtube"
339
+ target="_blank"
340
+ rel="noopener"
341
+ >
342
+ <svg
343
+ width="29"
344
+ height="20"
345
+ viewBox="0 0 29 20"
346
+ fill="none"
347
+ xmlns="http://www.w3.org/2000/svg"
348
+ alt="Youtube"
349
+ >
350
+ <path
351
+ fill-rule="evenodd"
352
+ clip-rule="evenodd"
353
+ d="M27.4896 1.52422C27.9301 1.96749 28.2463 2.51866 28.4068 3.12258C29.0004 5.35161 29.0004 10 29.0004 10C29.0004 10 29.0004 14.6484 28.4068 16.8774C28.2463 17.4813 27.9301 18.0325 27.4896 18.4758C27.0492 18.9191 26.5 19.2389 25.8972 19.4032C23.6778 20 14.8068 20 14.8068 20C14.8068 20 5.93586 20 3.71651 19.4032C3.11363 19.2389 2.56449 18.9191 2.12405 18.4758C1.68361 18.0325 1.36732 17.4813 1.20683 16.8774C0.613281 14.6484 0.613281 10 0.613281 10C0.613281 10 0.613281 5.35161 1.20683 3.12258C1.36732 2.51866 1.68361 1.96749 2.12405 1.52422C2.56449 1.08095 3.11363 0.76113 3.71651 0.596774C5.93586 0 14.8068 0 14.8068 0C14.8068 0 23.6778 0 25.8972 0.596774C26.5 0.76113 27.0492 1.08095 27.4896 1.52422ZM19.3229 10L11.9036 5.77905V14.221L19.3229 10Z"
354
+ />
355
+ </svg>
356
+ </a>
357
+ </div>
358
+ </div>
452
359
  </div>
453
-
454
- <!-- Footer -->
455
- <footer>
456
- Love Angular?&nbsp;
457
- <a href="https://github.com/angular/angular" target="_blank" rel="noopener"> Give our repo a star.
458
- <div class="github-star-badge">
459
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>
460
- Star
461
- </div>
462
- </a>
463
- <a href="https://github.com/angular/angular" target="_blank" rel="noopener">
464
- <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#1976d2"/><path d="M0 0h24v24H0z" fill="none"/></svg>
465
- </a>
466
- </footer>
467
-
468
- <svg id="clouds" xmlns="http://www.w3.org/2000/svg" width="2611.084" height="485.677" viewBox="0 0 2611.084 485.677">
469
- <title>Gray Clouds Background</title>
470
- <path id="Path_39" data-name="Path 39" d="M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z" transform="translate(142.69 -634.312)" fill="#eee"/>
471
- </svg>
472
-
473
- </div>
360
+ </main>
474
361
 
475
362
  <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
476
363
  <!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->
@@ -30,6 +30,6 @@ describe('AppComponent', () => {
30
30
  const fixture = TestBed.createComponent(AppComponent);
31
31
  fixture.detectChanges();
32
32
  const compiled = fixture.nativeElement as HTMLElement;
33
- expect(compiled.querySelector('.content span')?.textContent).toContain('<%= name %> app is running!');
33
+ expect(compiled.querySelector('h1')?.textContent).toContain('Hello, <%= name %>');
34
34
  });
35
35
  });
@@ -3,26 +3,8 @@ import { Component } from '@angular/core';
3
3
  @Component({
4
4
  selector: '<%= selector %>',<% if(inlineTemplate) { %>
5
5
  template: `
6
- <!--The content below is only a placeholder and can be replaced.-->
7
- <div style="text-align:center" class="content">
8
- <h1>
9
- Welcome to {{title}}!
10
- </h1>
11
- <span style="display: block">{{ title }} app is running!</span>
12
- <img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
13
- </div>
14
- <h2>Here are some links to help you start: </h2>
15
- <ul>
16
- <li>
17
- <h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
18
- </li>
19
- <li>
20
- <h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2>
21
- </li>
22
- <li>
23
- <h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
24
- </li>
25
- </ul>
6
+ <h1>Welcome to {{title}}!</h1>
7
+
26
8
  <% if (routing) {
27
9
  %><router-outlet></router-outlet><%
28
10
  } %>
@@ -24,6 +24,6 @@ describe('AppComponent', () => {
24
24
  const fixture = TestBed.createComponent(AppComponent);
25
25
  fixture.detectChanges();
26
26
  const compiled = fixture.nativeElement as HTMLElement;
27
- expect(compiled.querySelector('.content span')?.textContent).toContain('<%= name %> app is running!');
27
+ expect(compiled.querySelector('h1')?.textContent).toContain('Hello, <%= name %>');
28
28
  });
29
29
  });
@@ -7,26 +7,8 @@ import { RouterOutlet } from '@angular/router';<% } %>
7
7
  standalone: true,
8
8
  imports: [CommonModule<% if(routing) { %>, RouterOutlet<% } %>],<% if(inlineTemplate) { %>
9
9
  template: `
10
- <!--The content below is only a placeholder and can be replaced.-->
11
- <div style="text-align:center" class="content">
12
- <h1>
13
- Welcome to {{title}}!
14
- </h1>
15
- <span style="display: block">{{ title }} app is running!</span>
16
- <img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
17
- </div>
18
- <h2>Here are some links to help you start: </h2>
19
- <ul>
20
- <li>
21
- <h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
22
- </li>
23
- <li>
24
- <h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2>
25
- </li>
26
- <li>
27
- <h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
28
- </li>
29
- </ul>
10
+ <h1>Welcome to {{title}}!</h1>
11
+
30
12
  <% if (routing) {
31
13
  %><router-outlet></router-outlet><%
32
14
  } %>
@@ -11,14 +11,12 @@ import { CommonModule } from '@angular/common';<% } %>
11
11
  </p>
12
12
  `<% } else { %>
13
13
  templateUrl: './<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>.html'<% } if(inlineStyle) { %>,
14
- styles: [<% if(displayBlock){ %>
15
- `
16
- :host {
17
- display: block;
18
- }
19
- `<% } %>
20
- ]<% } else if (style !== 'none') { %>,
21
- styleUrls: ['./<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>.<%= style %>']<% } %><% if(!!viewEncapsulation) { %>,
14
+ styles: `<% if(displayBlock){ %>
15
+ :host {
16
+ display: block;
17
+ }
18
+ <% } %>`<% } else if (style !== 'none') { %>,
19
+ styleUrl: './<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>.<%= style %>'<% } %><% if(!!viewEncapsulation) { %>,
22
20
  encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
23
21
  changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %>
24
22
  })
@@ -10,7 +10,7 @@ describe('workspace-project App', () => {
10
10
 
11
11
  it('should display welcome message', async () => {
12
12
  await page.navigateTo();
13
- expect(await page.getTitleText()).toEqual('<%= relatedAppName %> app is running!');
13
+ expect(await page.getTitleText()).toEqual('Hello, <%= relatedAppName %>');
14
14
  });
15
15
 
16
16
  afterEach(async () => {
@@ -6,6 +6,6 @@ export class AppPage {
6
6
  }
7
7
 
8
8
  async getTitleText(): Promise<string> {
9
- return element(by.css('<%= rootSelector %> .content span')).getText();
9
+ return element(by.css('h1')).getText();
10
10
  }
11
11
  }
@@ -7,6 +7,7 @@
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ const core_1 = require("@angular-devkit/core");
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const utility_1 = require("../../utility");
12
13
  const dependencies_1 = require("../../utility/dependencies");
@@ -69,17 +70,34 @@ function default_1() {
69
70
  }
70
71
  }
71
72
  }
72
- // Replace server file
73
+ // Replace all import specifiers in all files.
74
+ let hasExpressTokens = false;
75
+ const root = project.sourceRoot ?? `${project.root}/src`;
76
+ const tokensFilePath = `/${root}/express.tokens.ts`;
77
+ for (const file of visit(tree.getDir(root))) {
78
+ const [path, content] = file;
79
+ let updatedContent = content;
80
+ // Check if file is importing tokens
81
+ if (content.includes('@nguniversal/express-engine/tokens')) {
82
+ hasExpressTokens ||= true;
83
+ let tokensFileRelativePath = (0, core_1.relative)((0, core_1.dirname)((0, core_1.normalize)(path)), (0, core_1.normalize)(tokensFilePath));
84
+ if (tokensFileRelativePath.charAt(0) !== '.') {
85
+ tokensFileRelativePath = './' + tokensFileRelativePath;
86
+ }
87
+ updatedContent = updatedContent.replaceAll('@nguniversal/express-engine/tokens', tokensFileRelativePath.slice(0, -3));
88
+ }
89
+ updatedContent = updatedContent.replaceAll(NGUNIVERSAL_PACKAGE_REGEXP, '@angular/ssr');
90
+ tree.overwrite(path, updatedContent);
91
+ }
92
+ // Replace server file and add tokens file if needed
73
93
  for (const [path, outputPath] of serverMainFiles.entries()) {
74
94
  tree.rename(path, path + '.bak');
75
- tree.create(path, getServerFileContents(outputPath));
95
+ tree.create(path, getServerFileContents(outputPath, hasExpressTokens));
96
+ if (hasExpressTokens) {
97
+ tree.create(tokensFilePath, TOKENS_FILE_CONTENT);
98
+ }
76
99
  }
77
100
  }
78
- // Replace all import specifiers in all files.
79
- for (const file of visit(tree.root)) {
80
- const [path, content] = file;
81
- tree.overwrite(path, content.replaceAll(NGUNIVERSAL_PACKAGE_REGEXP, '@angular/ssr'));
82
- }
83
101
  // Remove universal packages from deps.
84
102
  for (const name of UNIVERSAL_PACKAGES) {
85
103
  (0, dependencies_1.removePackageJsonDependency)(tree, name);
@@ -90,8 +108,15 @@ function default_1() {
90
108
  };
91
109
  }
92
110
  exports.default = default_1;
93
- function getServerFileContents(outputPath) {
94
- return `
111
+ const TOKENS_FILE_CONTENT = `
112
+ import { InjectionToken } from '@angular/core';
113
+ import { Request, Response } from 'express';
114
+
115
+ export const REQUEST = new InjectionToken<Request>('REQUEST');
116
+ export const RESPONSE = new InjectionToken<Response>('RESPONSE');
117
+ `;
118
+ function getServerFileContents(outputPath, hasExpressTokens) {
119
+ return (`
95
120
  import 'zone.js/node';
96
121
 
97
122
  import { APP_BASE_HREF } from '@angular/common';
@@ -99,7 +124,9 @@ import { CommonEngine } from '@angular/ssr';
99
124
  import * as express from 'express';
100
125
  import { existsSync } from 'node:fs';
101
126
  import { join } from 'node:path';
102
- import bootstrap from './src/main.server';
127
+ import bootstrap from './src/main.server';` +
128
+ (hasExpressTokens ? `\nimport { REQUEST, RESPONSE } from './src/express.tokens';` : '') +
129
+ `
103
130
 
104
131
  // The Express app is exported so that it can be used by serverless Functions.
105
132
  export function app(): express.Express {
@@ -131,7 +158,12 @@ export function app(): express.Express {
131
158
  documentFilePath: indexHtml,
132
159
  url: \`\${protocol}://\${headers.host}\${originalUrl}\`,
133
160
  publicPath: distFolder,
134
- providers: [{ provide: APP_BASE_HREF, useValue: baseUrl }],
161
+ providers: [
162
+ { provide: APP_BASE_HREF, useValue: baseUrl },` +
163
+ (hasExpressTokens
164
+ ? '\n { provide: RESPONSE, useValue: res },\n { provide: REQUEST, useValue: req }\n'
165
+ : '') +
166
+ `],
135
167
  })
136
168
  .then((html) => res.send(html))
137
169
  .catch((err) => next(err));
@@ -161,5 +193,5 @@ if (moduleFilename === __filename || moduleFilename.includes('iisnode')) {
161
193
  }
162
194
 
163
195
  export default bootstrap;
164
- `;
196
+ `);
165
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematics/angular",
3
- "version": "17.0.0-rc.2",
3
+ "version": "17.0.0-rc.4",
4
4
  "description": "Schematics specific to Angular",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "keywords": [
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "schematics": "./collection.json",
25
25
  "dependencies": {
26
- "@angular-devkit/core": "17.0.0-rc.2",
27
- "@angular-devkit/schematics": "17.0.0-rc.2",
26
+ "@angular-devkit/core": "17.0.0-rc.4",
27
+ "@angular-devkit/schematics": "17.0.0-rc.4",
28
28
  "jsonc-parser": "3.2.0"
29
29
  },
30
30
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "url": "https://github.com/angular/angular-cli.git"
33
33
  },
34
34
  "engines": {
35
- "node": ">=18.13.0",
35
+ "node": "^18.13.0 || >=20.9.0",
36
36
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
37
37
  "yarn": ">= 1.13.0"
38
38
  },
@@ -14,6 +14,6 @@ exports.latestVersions = {
14
14
  ...require('./latest-versions/package.json')['dependencies'],
15
15
  // As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
16
16
  Angular: '^17.0.0-next.0',
17
- DevkitBuildAngular: '^17.0.0-rc.2',
18
- AngularSSR: '^17.0.0-rc.2',
17
+ DevkitBuildAngular: '^17.0.0-rc.4',
18
+ AngularSSR: '^17.0.0-rc.4',
19
19
  };
@@ -9,7 +9,7 @@
9
9
  "noPropertyAccessFromIndexSignature": true,
10
10
  "noImplicitReturns": true,
11
11
  "noFallthroughCasesInSwitch": true,<% } %>
12
- "allowSyntheticDefaultImports": true,
12
+ "esModuleInterop": true,
13
13
  "sourceMap": true,
14
14
  "declaration": false,
15
15
  "downlevelIteration": true,