vg-coder-cli 1.0.16 → 2.0.0

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.
Files changed (78) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/PUBLISHING.md +86 -0
  3. package/README.md +92 -318
  4. package/SYSTEM_PROMPT.md +157 -0
  5. package/init-nx-monorepo.sh +107 -0
  6. package/package.json +11 -4
  7. package/src/server/api-server.js +6 -1
  8. package/src/server/views/dashboard.html +69 -4
  9. package/vg/.vscode/extensions.json +8 -0
  10. package/vg/.vscode/launch.json +23 -0
  11. package/vg/README.md +85 -0
  12. package/vg/apps/api/project.json +83 -0
  13. package/vg/apps/api/src/app/analyze.controller.ts +17 -0
  14. package/vg/apps/api/src/app/analyze.service.ts +57 -0
  15. package/vg/apps/api/src/app/app.controller.ts +12 -0
  16. package/vg/apps/api/src/app/app.module.ts +29 -0
  17. package/vg/apps/api/src/app/app.service.ts +8 -0
  18. package/vg/apps/api/src/app/clean.controller.ts +40 -0
  19. package/vg/apps/api/src/app/execute.controller.ts +19 -0
  20. package/vg/apps/api/src/app/execute.service.ts +46 -0
  21. package/vg/apps/api/src/app/info.controller.ts +12 -0
  22. package/vg/apps/api/src/app/info.service.ts +65 -0
  23. package/vg/apps/api/src/assets/.gitkeep +0 -0
  24. package/vg/apps/api/src/main.ts +28 -0
  25. package/vg/apps/api/webpack.config.js +25 -0
  26. package/vg/apps/api-e2e/jest.config.cts +18 -0
  27. package/vg/apps/api-e2e/project.json +17 -0
  28. package/vg/apps/api-e2e/src/support/global-setup.ts +16 -0
  29. package/vg/apps/api-e2e/src/support/global-teardown.ts +10 -0
  30. package/vg/apps/api-e2e/src/support/test-setup.ts +9 -0
  31. package/vg/apps/ng-app/jest.config.ts +21 -0
  32. package/vg/apps/ng-app/project.json +110 -0
  33. package/vg/apps/ng-app/proxy.conf.json +8 -0
  34. package/vg/apps/ng-app/public/favicon.ico +0 -0
  35. package/vg/apps/ng-app/src/app/app.config.ts +17 -0
  36. package/vg/apps/ng-app/src/app/app.html +1 -0
  37. package/vg/apps/ng-app/src/app/app.routes.ts +7 -0
  38. package/vg/apps/ng-app/src/app/app.scss +0 -0
  39. package/vg/apps/ng-app/src/app/app.ts +12 -0
  40. package/vg/apps/ng-app/src/app/dashboard/dashboard.component.html +87 -0
  41. package/vg/apps/ng-app/src/app/dashboard/dashboard.component.scss +290 -0
  42. package/vg/apps/ng-app/src/app/dashboard/dashboard.component.ts +236 -0
  43. package/vg/apps/ng-app/src/app/nx-welcome.ts +872 -0
  44. package/vg/apps/ng-app/src/app/services/api.service.ts +28 -0
  45. package/vg/apps/ng-app/src/index.html +13 -0
  46. package/vg/apps/ng-app/src/main.ts +5 -0
  47. package/vg/apps/ng-app/src/styles.scss +1 -0
  48. package/vg/apps/ng-app/src/test-setup.ts +6 -0
  49. package/vg/jest.config.ts +6 -0
  50. package/vg/nx.json +85 -0
  51. package/vg/package-lock.json +30707 -0
  52. package/vg/package.json +75 -0
  53. package/vg/packages/client/data-access/README.md +7 -0
  54. package/vg/packages/client/data-access/jest.config.ts +21 -0
  55. package/vg/packages/client/data-access/project.json +21 -0
  56. package/vg/packages/client/data-access/src/index.ts +1 -0
  57. package/vg/packages/client/data-access/src/lib/data-access/data-access.html +1 -0
  58. package/vg/packages/client/data-access/src/lib/data-access/data-access.scss +0 -0
  59. package/vg/packages/client/data-access/src/lib/data-access/data-access.ts +9 -0
  60. package/vg/packages/client/data-access/src/test-setup.ts +6 -0
  61. package/vg/packages/core/README.md +11 -0
  62. package/vg/packages/core/jest.config.ts +10 -0
  63. package/vg/packages/core/package.json +11 -0
  64. package/vg/packages/core/project.json +26 -0
  65. package/vg/packages/core/src/index.ts +6 -0
  66. package/vg/packages/core/src/lib/core.ts +3 -0
  67. package/vg/packages/core/src/lib/detectors/project-detector.ts +343 -0
  68. package/vg/packages/core/src/lib/ignore/ignore-manager.ts +315 -0
  69. package/vg/packages/core/src/lib/scanner/file-scanner.ts +675 -0
  70. package/vg/packages/core/src/lib/tokenizer/token-manager.ts +435 -0
  71. package/vg/packages/core/src/lib/utils/bash-executor.ts +146 -0
  72. package/vg/packages/shared/data-types/README.md +11 -0
  73. package/vg/packages/shared/data-types/jest.config.ts +10 -0
  74. package/vg/packages/shared/data-types/package.json +11 -0
  75. package/vg/packages/shared/data-types/project.json +26 -0
  76. package/vg/packages/shared/data-types/src/index.ts +1 -0
  77. package/vg/packages/shared/data-types/src/lib/data-types.ts +3 -0
  78. package/vg/start-dev.sh +22 -0
@@ -0,0 +1,872 @@
1
+ import { Component, ViewEncapsulation } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+
4
+ @Component({
5
+ selector: 'app-nx-welcome',
6
+ imports: [CommonModule],
7
+ template: `
8
+ <!--
9
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * *
10
+ This is a starter component and can be deleted.
11
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * *
12
+ Delete this file and get started with your project!
13
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * *
14
+ -->
15
+ <style>
16
+ html {
17
+ -webkit-text-size-adjust: 100%;
18
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
19
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
20
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
21
+ 'Noto Color Emoji';
22
+ line-height: 1.5;
23
+ tab-size: 4;
24
+ scroll-behavior: smooth;
25
+ }
26
+ body {
27
+ font-family: inherit;
28
+ line-height: inherit;
29
+ margin: 0;
30
+ }
31
+ h1,
32
+ h2,
33
+ p,
34
+ pre {
35
+ margin: 0;
36
+ }
37
+ *,
38
+ ::before,
39
+ ::after {
40
+ box-sizing: border-box;
41
+ border-width: 0;
42
+ border-style: solid;
43
+ border-color: currentColor;
44
+ }
45
+ h1,
46
+ h2 {
47
+ font-size: inherit;
48
+ font-weight: inherit;
49
+ }
50
+ a {
51
+ color: inherit;
52
+ text-decoration: inherit;
53
+ }
54
+ pre {
55
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
56
+ 'Liberation Mono', 'Courier New', monospace;
57
+ }
58
+ svg {
59
+ display: block;
60
+ vertical-align: middle;
61
+ }
62
+ svg {
63
+ shape-rendering: auto;
64
+ text-rendering: optimizeLegibility;
65
+ }
66
+ pre {
67
+ background-color: rgba(55, 65, 81, 1);
68
+ border-radius: 0.25rem;
69
+ color: rgba(229, 231, 235, 1);
70
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
71
+ 'Liberation Mono', 'Courier New', monospace;
72
+ overflow: auto;
73
+ padding: 0.5rem 0.75rem;
74
+ }
75
+ .shadow {
76
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
77
+ 0 4px 6px -2px rgba(0, 0, 0, 0.05);
78
+ }
79
+ .rounded {
80
+ border-radius: 1.5rem;
81
+ }
82
+ .wrapper {
83
+ width: 100%;
84
+ }
85
+ .container {
86
+ margin-left: auto;
87
+ margin-right: auto;
88
+ max-width: 768px;
89
+ padding-bottom: 3rem;
90
+ padding-left: 1rem;
91
+ padding-right: 1rem;
92
+ color: rgba(55, 65, 81, 1);
93
+ width: 100%;
94
+ }
95
+ #welcome {
96
+ margin-top: 2.5rem;
97
+ }
98
+ #welcome h1 {
99
+ font-size: 3rem;
100
+ font-weight: 500;
101
+ letter-spacing: -0.025em;
102
+ line-height: 1;
103
+ }
104
+ #welcome span {
105
+ display: block;
106
+ font-size: 1.875rem;
107
+ font-weight: 300;
108
+ line-height: 2.25rem;
109
+ margin-bottom: 0.5rem;
110
+ }
111
+ #hero {
112
+ align-items: center;
113
+ background-color: hsla(214, 62%, 21%, 1);
114
+ border: none;
115
+ box-sizing: border-box;
116
+ color: rgba(55, 65, 81, 1);
117
+ display: grid;
118
+ grid-template-columns: 1fr;
119
+ margin-top: 3.5rem;
120
+ }
121
+ #hero .text-container {
122
+ color: rgba(255, 255, 255, 1);
123
+ padding: 3rem 2rem;
124
+ }
125
+ #hero .text-container h2 {
126
+ font-size: 1.5rem;
127
+ line-height: 2rem;
128
+ position: relative;
129
+ }
130
+ #hero .text-container h2 svg {
131
+ color: hsla(162, 47%, 50%, 1);
132
+ height: 2rem;
133
+ left: -0.25rem;
134
+ position: absolute;
135
+ top: 0;
136
+ width: 2rem;
137
+ }
138
+ #hero .text-container h2 span {
139
+ margin-left: 2.5rem;
140
+ }
141
+ #hero .text-container a {
142
+ background-color: rgba(255, 255, 255, 1);
143
+ border-radius: 0.75rem;
144
+ color: rgba(55, 65, 81, 1);
145
+ display: inline-block;
146
+ margin-top: 1.5rem;
147
+ padding: 1rem 2rem;
148
+ text-decoration: inherit;
149
+ }
150
+ #hero .logo-container {
151
+ display: none;
152
+ justify-content: center;
153
+ padding-left: 2rem;
154
+ padding-right: 2rem;
155
+ }
156
+ #hero .logo-container svg {
157
+ color: rgba(255, 255, 255, 1);
158
+ width: 66.666667%;
159
+ }
160
+ #middle-content {
161
+ align-items: flex-start;
162
+ display: grid;
163
+ grid-template-columns: 1fr;
164
+ margin-top: 3.5rem;
165
+ }
166
+ #middle-content #middle-left-content {
167
+ display: flex;
168
+ flex-direction: column;
169
+ gap: 2rem;
170
+ }
171
+ #learning-materials {
172
+ padding: 2.5rem 2rem;
173
+ }
174
+ #learning-materials h2 {
175
+ font-weight: 500;
176
+ font-size: 1.25rem;
177
+ letter-spacing: -0.025em;
178
+ line-height: 1.75rem;
179
+ padding-left: 1rem;
180
+ padding-right: 1rem;
181
+ }
182
+ .list-item-link {
183
+ align-items: center;
184
+ border-radius: 0.75rem;
185
+ display: flex;
186
+ margin-top: 1rem;
187
+ padding: 1rem;
188
+ transition-property: background-color, border-color, color, fill, stroke,
189
+ opacity, box-shadow, transform, filter, backdrop-filter,
190
+ -webkit-backdrop-filter;
191
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
192
+ transition-duration: 150ms;
193
+ width: 100%;
194
+ }
195
+ .list-item-link svg:first-child {
196
+ margin-right: 1rem;
197
+ height: 1.5rem;
198
+ transition-property: background-color, border-color, color, fill, stroke,
199
+ opacity, box-shadow, transform, filter, backdrop-filter,
200
+ -webkit-backdrop-filter;
201
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
202
+ transition-duration: 150ms;
203
+ width: 1.5rem;
204
+ }
205
+ .list-item-link > span {
206
+ flex-grow: 1;
207
+ font-weight: 400;
208
+ transition-property: background-color, border-color, color, fill, stroke,
209
+ opacity, box-shadow, transform, filter, backdrop-filter,
210
+ -webkit-backdrop-filter;
211
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
212
+ }
213
+ .list-item-link > span > span {
214
+ color: rgba(107, 114, 128, 1);
215
+ display: block;
216
+ flex-grow: 1;
217
+ font-size: 0.75rem;
218
+ font-weight: 300;
219
+ line-height: 1rem;
220
+ transition-property: background-color, border-color, color, fill, stroke,
221
+ opacity, box-shadow, transform, filter, backdrop-filter,
222
+ -webkit-backdrop-filter;
223
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
224
+ }
225
+ .list-item-link svg:last-child {
226
+ height: 1rem;
227
+ transition-property: all;
228
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
229
+ transition-duration: 150ms;
230
+ width: 1rem;
231
+ }
232
+ .list-item-link:hover {
233
+ color: rgba(255, 255, 255, 1);
234
+ background-color: hsla(162, 55%, 33%, 1);
235
+ }
236
+
237
+ .list-item-link:hover > span > span {
238
+ color: rgba(243, 244, 246, 1);
239
+ }
240
+ .list-item-link:hover svg:last-child {
241
+ transform: translateX(0.25rem);
242
+ }
243
+
244
+ .button-pill {
245
+ padding: 1.5rem 2rem;
246
+ margin-bottom: 2rem;
247
+ transition-duration: 300ms;
248
+ transition-property: background-color, border-color, color, fill, stroke,
249
+ opacity, box-shadow, transform, filter, backdrop-filter,
250
+ -webkit-backdrop-filter;
251
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
252
+ align-items: center;
253
+ display: flex;
254
+ }
255
+ .button-pill svg {
256
+ transition-property: background-color, border-color, color, fill, stroke,
257
+ opacity, box-shadow, transform, filter, backdrop-filter,
258
+ -webkit-backdrop-filter;
259
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
260
+ transition-duration: 150ms;
261
+ flex-shrink: 0;
262
+ width: 3rem;
263
+ }
264
+ .button-pill > span {
265
+ letter-spacing: -0.025em;
266
+ font-weight: 400;
267
+ font-size: 1.125rem;
268
+ line-height: 1.75rem;
269
+ padding-left: 1rem;
270
+ padding-right: 1rem;
271
+ }
272
+ .button-pill span span {
273
+ display: block;
274
+ font-size: 0.875rem;
275
+ font-weight: 300;
276
+ line-height: 1.25rem;
277
+ }
278
+ .button-pill:hover svg,
279
+ .button-pill:hover {
280
+ color: rgba(255, 255, 255, 1) !important;
281
+ }
282
+ .nx-console:hover {
283
+ background-color: rgba(0, 122, 204, 1);
284
+ }
285
+ .nx-console svg {
286
+ color: rgba(0, 122, 204, 1);
287
+ }
288
+ .nx-console-jetbrains {
289
+ margin-top: 2rem;
290
+ }
291
+ .nx-console-jetbrains:hover {
292
+ background-color: rgba(255, 49, 140, 1);
293
+ }
294
+ .nx-console-jetbrains svg {
295
+ color: rgba(255, 49, 140, 1);
296
+ }
297
+ #nx-repo:hover {
298
+ background-color: rgba(24, 23, 23, 1);
299
+ }
300
+ #nx-repo svg {
301
+ color: rgba(24, 23, 23, 1);
302
+ }
303
+ #nx-cloud {
304
+ margin-bottom: 2rem;
305
+ margin-top: 2rem;
306
+ padding: 2.5rem 2rem;
307
+ }
308
+ #nx-cloud > div {
309
+ align-items: center;
310
+ display: flex;
311
+ }
312
+ #nx-cloud > div svg {
313
+ border-radius: 0.375rem;
314
+ flex-shrink: 0;
315
+ width: 3rem;
316
+ }
317
+ #nx-cloud > div h2 {
318
+ font-size: 1.125rem;
319
+ font-weight: 400;
320
+ letter-spacing: -0.025em;
321
+ line-height: 1.75rem;
322
+ padding-left: 1rem;
323
+ padding-right: 1rem;
324
+ }
325
+ #nx-cloud > div h2 span {
326
+ display: block;
327
+ font-size: 0.875rem;
328
+ font-weight: 300;
329
+ line-height: 1.25rem;
330
+ }
331
+ #nx-cloud p {
332
+ font-size: 1rem;
333
+ line-height: 1.5rem;
334
+ margin-top: 1rem;
335
+ }
336
+ #nx-cloud pre {
337
+ margin-top: 1rem;
338
+ }
339
+ #nx-cloud a {
340
+ color: rgba(107, 114, 128, 1);
341
+ display: block;
342
+ font-size: 0.875rem;
343
+ line-height: 1.25rem;
344
+ margin-top: 1.5rem;
345
+ text-align: right;
346
+ }
347
+ #nx-cloud a:hover {
348
+ text-decoration: underline;
349
+ }
350
+ #commands {
351
+ padding: 2.5rem 2rem;
352
+ margin-top: 3.5rem;
353
+ }
354
+ #commands h2 {
355
+ font-size: 1.25rem;
356
+ font-weight: 400;
357
+ letter-spacing: -0.025em;
358
+ line-height: 1.75rem;
359
+ padding-left: 1rem;
360
+ padding-right: 1rem;
361
+ }
362
+ #commands p {
363
+ font-size: 1rem;
364
+ font-weight: 300;
365
+ line-height: 1.5rem;
366
+ margin-top: 1rem;
367
+ padding-left: 1rem;
368
+ padding-right: 1rem;
369
+ }
370
+ details {
371
+ align-items: center;
372
+ display: flex;
373
+ margin-top: 1rem;
374
+ padding-left: 1rem;
375
+ padding-right: 1rem;
376
+ width: 100%;
377
+ }
378
+ details pre > span {
379
+ color: rgba(181, 181, 181, 1);
380
+ }
381
+ summary {
382
+ border-radius: 0.5rem;
383
+ display: flex;
384
+ font-weight: 400;
385
+ padding: 0.5rem;
386
+ cursor: pointer;
387
+ transition-property: background-color, border-color, color, fill, stroke,
388
+ opacity, box-shadow, transform, filter, backdrop-filter,
389
+ -webkit-backdrop-filter;
390
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
391
+ transition-duration: 150ms;
392
+ }
393
+ summary:hover {
394
+ background-color: rgba(243, 244, 246, 1);
395
+ }
396
+ summary svg {
397
+ height: 1.5rem;
398
+ margin-right: 1rem;
399
+ width: 1.5rem;
400
+ }
401
+ #love {
402
+ color: rgba(107, 114, 128, 1);
403
+ font-size: 0.875rem;
404
+ line-height: 1.25rem;
405
+ margin-top: 3.5rem;
406
+ opacity: 0.6;
407
+ text-align: center;
408
+ }
409
+ #love svg {
410
+ color: rgba(252, 165, 165, 1);
411
+ width: 1.25rem;
412
+ height: 1.25rem;
413
+ display: inline;
414
+ margin-top: -0.25rem;
415
+ }
416
+ @media screen and (min-width: 768px) {
417
+ #hero {
418
+ grid-template-columns: repeat(2, minmax(0, 1fr));
419
+ }
420
+ #hero .logo-container {
421
+ display: flex;
422
+ }
423
+ #middle-content {
424
+ grid-template-columns: repeat(2, minmax(0, 1fr));
425
+ gap: 4rem;
426
+ }
427
+ }
428
+ </style>
429
+ <div class="wrapper">
430
+ <div class="container">
431
+ <!-- WELCOME -->
432
+ <div id="welcome">
433
+ <h1>
434
+ <span> Hello there, </span>
435
+ Welcome ng-app 👋
436
+ </h1>
437
+ </div>
438
+ <!-- HERO -->
439
+ <div id="hero" class="rounded">
440
+ <div class="text-container">
441
+ <h2>
442
+ <svg
443
+ fill="none"
444
+ stroke="currentColor"
445
+ viewBox="0 0 24 24"
446
+ xmlns="http://www.w3.org/2000/svg"
447
+ >
448
+ <path
449
+ stroke-linecap="round"
450
+ stroke-linejoin="round"
451
+ stroke-width="2"
452
+ d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"
453
+ />
454
+ </svg>
455
+ <span>You&apos;re up and running</span>
456
+ </h2>
457
+ <a href="#commands"> What&apos;s next? </a>
458
+ </div>
459
+ <div class="logo-container">
460
+ <svg
461
+ fill="currentColor"
462
+ role="img"
463
+ viewBox="0 0 24 24"
464
+ xmlns="http://www.w3.org/2000/svg"
465
+ >
466
+ <path
467
+ d="M11.987 14.138l-3.132 4.923-5.193-8.427-.012 8.822H0V4.544h3.691l5.247 8.833.005-3.998 3.044 4.759zm.601-5.761c.024-.048 0-3.784.008-3.833h-3.65c.002.059-.005 3.776-.003 3.833h3.645zm5.634 4.134a2.061 2.061 0 0 0-1.969 1.336 1.963 1.963 0 0 1 2.343-.739c.396.161.917.422 1.33.283a2.1 2.1 0 0 0-1.704-.88zm3.39 1.061c-.375-.13-.8-.277-1.109-.681-.06-.08-.116-.17-.176-.265a2.143 2.143 0 0 0-.533-.642c-.294-.216-.68-.322-1.18-.322a2.482 2.482 0 0 0-2.294 1.536 2.325 2.325 0 0 1 4.002.388.75.75 0 0 0 .836.334c.493-.105.46.36 1.203.518v-.133c-.003-.446-.246-.55-.75-.733zm2.024 1.266a.723.723 0 0 0 .347-.638c-.01-2.957-2.41-5.487-5.37-5.487a5.364 5.364 0 0 0-4.487 2.418c-.01-.026-1.522-2.39-1.538-2.418H8.943l3.463 5.423-3.379 5.32h3.54l1.54-2.366 1.568 2.366h3.541l-3.21-5.052a.7.7 0 0 1-.084-.32 2.69 2.69 0 0 1 2.69-2.691h.001c1.488 0 1.736.89 2.057 1.308.634.826 1.9.464 1.9 1.541a.707.707 0 0 0 1.066.596zm.35.133c-.173.372-.56.338-.755.639-.176.271.114.412.114.412s.337.156.538-.311c.104-.231.14-.488.103-.74z"
468
+ />
469
+ </svg>
470
+ </div>
471
+ </div>
472
+ <!-- MIDDLE CONTENT -->
473
+ <div id="middle-content">
474
+ <div id="middle-left-content">
475
+ <div id="learning-materials" class="rounded shadow">
476
+ <h2>Learning materials</h2>
477
+ <a
478
+ href="https://nx.dev/getting-started/intro?utm_source=nx-project"
479
+ target="_blank"
480
+ rel="noreferrer"
481
+ class="list-item-link"
482
+ >
483
+ <svg
484
+ fill="none"
485
+ stroke="currentColor"
486
+ viewBox="0 0 24 24"
487
+ xmlns="http://www.w3.org/2000/svg"
488
+ >
489
+ <path
490
+ stroke-linecap="round"
491
+ stroke-linejoin="round"
492
+ stroke-width="2"
493
+ d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
494
+ />
495
+ </svg>
496
+ <span>
497
+ Documentation
498
+ <span> Everything is in there </span>
499
+ </span>
500
+ <svg
501
+ fill="none"
502
+ stroke="currentColor"
503
+ viewBox="0 0 24 24"
504
+ xmlns="http://www.w3.org/2000/svg"
505
+ >
506
+ <path
507
+ stroke-linecap="round"
508
+ stroke-linejoin="round"
509
+ stroke-width="2"
510
+ d="M9 5l7 7-7 7"
511
+ />
512
+ </svg>
513
+ </a>
514
+ <a
515
+ href="https://nx.dev/blog?utm_source=nx-project"
516
+ target="_blank"
517
+ rel="noreferrer"
518
+ class="list-item-link"
519
+ >
520
+ <svg
521
+ fill="none"
522
+ stroke="currentColor"
523
+ viewBox="0 0 24 24"
524
+ xmlns="http://www.w3.org/2000/svg"
525
+ >
526
+ <path
527
+ stroke-linecap="round"
528
+ stroke-linejoin="round"
529
+ stroke-width="2"
530
+ d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
531
+ />
532
+ </svg>
533
+ <span>
534
+ Blog
535
+ <span> Changelog, features & events </span>
536
+ </span>
537
+ <svg
538
+ fill="none"
539
+ stroke="currentColor"
540
+ viewBox="0 0 24 24"
541
+ xmlns="http://www.w3.org/2000/svg"
542
+ >
543
+ <path
544
+ stroke-linecap="round"
545
+ stroke-linejoin="round"
546
+ stroke-width="2"
547
+ d="M9 5l7 7-7 7"
548
+ />
549
+ </svg>
550
+ </a>
551
+ <a
552
+ href="https://www.youtube.com/@NxDevtools/videos?utm_source=nx-project&sub_confirmation=1"
553
+ target="_blank"
554
+ rel="noreferrer"
555
+ class="list-item-link"
556
+ >
557
+ <svg
558
+ role="img"
559
+ viewBox="0 0 24 24"
560
+ fill="currentColor"
561
+ xmlns="http://www.w3.org/2000/svg"
562
+ >
563
+ <title>YouTube</title>
564
+ <path
565
+ d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
566
+ />
567
+ </svg>
568
+ <span>
569
+ YouTube channel
570
+ <span> Nx Show, talks & tutorials </span>
571
+ </span>
572
+ <svg
573
+ fill="none"
574
+ stroke="currentColor"
575
+ viewBox="0 0 24 24"
576
+ xmlns="http://www.w3.org/2000/svg"
577
+ >
578
+ <path
579
+ stroke-linecap="round"
580
+ stroke-linejoin="round"
581
+ stroke-width="2"
582
+ d="M9 5l7 7-7 7"
583
+ />
584
+ </svg>
585
+ </a>
586
+ <a
587
+ href="https://nx.dev/getting-started/tutorials/angular-standalone-tutorial?utm_source=nx-project"
588
+ target="_blank"
589
+ rel="noreferrer"
590
+ class="list-item-link"
591
+ >
592
+ <svg
593
+ fill="none"
594
+ stroke="currentColor"
595
+ viewBox="0 0 24 24"
596
+ xmlns="http://www.w3.org/2000/svg"
597
+ >
598
+ <path
599
+ stroke-linecap="round"
600
+ stroke-linejoin="round"
601
+ stroke-width="2"
602
+ d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"
603
+ />
604
+ </svg>
605
+ <span>
606
+ Interactive tutorials
607
+ <span> Create an app, step-by-step </span>
608
+ </span>
609
+ <svg
610
+ fill="none"
611
+ stroke="currentColor"
612
+ viewBox="0 0 24 24"
613
+ xmlns="http://www.w3.org/2000/svg"
614
+ >
615
+ <path
616
+ stroke-linecap="round"
617
+ stroke-linejoin="round"
618
+ stroke-width="2"
619
+ d="M9 5l7 7-7 7"
620
+ />
621
+ </svg>
622
+ </a>
623
+ </div>
624
+ <a
625
+ id="nx-repo"
626
+ class="button-pill rounded shadow"
627
+ href="https://github.com/nrwl/nx?utm_source=nx-project"
628
+ target="_blank"
629
+ rel="noreferrer"
630
+ >
631
+ <svg
632
+ fill="currentColor"
633
+ role="img"
634
+ viewBox="0 0 24 24"
635
+ xmlns="http://www.w3.org/2000/svg"
636
+ >
637
+ <path
638
+ d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
639
+ />
640
+ </svg>
641
+ <span>
642
+ Nx is open source
643
+ <span> Love Nx? Give us a star! </span>
644
+ </span>
645
+ </a>
646
+ </div>
647
+ <div id="other-links">
648
+ <a
649
+ class="button-pill rounded shadow nx-console"
650
+ href="https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console&utm_source=nx-project"
651
+ target="_blank"
652
+ rel="noreferrer"
653
+ >
654
+ <svg
655
+ fill="currentColor"
656
+ role="img"
657
+ viewBox="0 0 24 24"
658
+ xmlns="http://www.w3.org/2000/svg"
659
+ >
660
+ <title>Visual Studio Code</title>
661
+ <path
662
+ d="M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z"
663
+ />
664
+ </svg>
665
+ <span>
666
+ Install Nx Console for VSCode
667
+ <span>The official VSCode extension for Nx.</span>
668
+ </span>
669
+ </a>
670
+ <a
671
+ class="button-pill rounded shadow nx-console-jetbrains"
672
+ href="https://plugins.jetbrains.com/plugin/21060-nx-console"
673
+ target="_blank"
674
+ rel="noreferrer"
675
+ >
676
+ <svg
677
+ height="48"
678
+ width="48"
679
+ viewBox="20 20 60 60"
680
+ xmlns="http://www.w3.org/2000/svg"
681
+ >
682
+ <path d="m22.5 22.5h60v60h-60z" />
683
+ <g fill="#fff">
684
+ <path d="m29.03 71.25h22.5v3.75h-22.5z" />
685
+ <path
686
+ d="m28.09 38 1.67-1.58a1.88 1.88 0 0 0 1.47.87c.64 0 1.06-.44 1.06-1.31v-5.98h2.58v6a3.48 3.48 0 0 1 -.87 2.6 3.56 3.56 0 0 1 -2.57.95 3.84 3.84 0 0 1 -3.34-1.55z"
687
+ />
688
+ <path
689
+ d="m36 30h7.53v2.19h-5v1.44h4.49v2h-4.42v1.49h5v2.21h-7.6z"
690
+ />
691
+ <path d="m47.23 32.29h-2.8v-2.29h8.21v2.27h-2.81v7.1h-2.6z" />
692
+ <path
693
+ d="m29.13 43.08h4.42a3.53 3.53 0 0 1 2.55.83 2.09 2.09 0 0 1 .6 1.53 2.16 2.16 0 0 1 -1.44 2.09 2.27 2.27 0 0 1 1.86 2.29c0 1.61-1.31 2.59-3.55 2.59h-4.44zm5 2.89c0-.52-.42-.8-1.18-.8h-1.29v1.64h1.24c.79 0 1.25-.26 1.25-.81zm-.9 2.66h-1.57v1.73h1.62c.8 0 1.24-.31 1.24-.86 0-.5-.4-.87-1.27-.87z"
694
+ />
695
+ <path
696
+ d="m38 43.08h4.1a4.19 4.19 0 0 1 3 1 2.93 2.93 0 0 1 .9 2.19 3 3 0 0 1 -1.93 2.89l2.24 3.27h-3l-1.88-2.84h-.87v2.84h-2.56zm4 4.5c.87 0 1.39-.43 1.39-1.11 0-.75-.54-1.12-1.4-1.12h-1.44v2.26z"
697
+ />
698
+ <path
699
+ d="m49.59 43h2.5l4 9.44h-2.79l-.67-1.69h-3.63l-.67 1.69h-2.71zm2.27 5.73-1-2.65-1.06 2.65z"
700
+ />
701
+ <path d="m56.46 43.05h2.6v9.37h-2.6z" />
702
+ <path
703
+ d="m60.06 43.05h2.42l3.37 5v-5h2.57v9.37h-2.26l-3.53-5.14v5.14h-2.57z"
704
+ />
705
+ <path
706
+ d="m68.86 51 1.45-1.73a4.84 4.84 0 0 0 3 1.13c.71 0 1.08-.24 1.08-.65 0-.4-.31-.6-1.59-.91-2-.46-3.53-1-3.53-2.93 0-1.74 1.37-3 3.62-3a5.89 5.89 0 0 1 3.86 1.25l-1.26 1.84a4.63 4.63 0 0 0 -2.62-.92c-.63 0-.94.25-.94.6 0 .42.32.61 1.63.91 2.14.46 3.44 1.16 3.44 2.91 0 1.91-1.51 3-3.79 3a6.58 6.58 0 0 1 -4.35-1.5z"
707
+ />
708
+ </g>
709
+ </svg>
710
+ <span>
711
+ Install Nx Console for JetBrains
712
+ <span
713
+ >Available for WebStorm, Intellij IDEA Ultimate and
714
+ more!</span
715
+ >
716
+ </span>
717
+ </a>
718
+ <div id="nx-cloud" class="rounded shadow">
719
+ <div>
720
+ <svg
721
+ id="nx-cloud-logo"
722
+ role="img"
723
+ xmlns="http://www.w3.org/2000/svg"
724
+ stroke="currentColor"
725
+ fill="transparent"
726
+ viewBox="0 0 24 24"
727
+ >
728
+ <path
729
+ stroke-width="2"
730
+ d="M23 3.75V6.5c-3.036 0-5.5 2.464-5.5 5.5s-2.464 5.5-5.5 5.5-5.5 2.464-5.5 5.5H3.75C2.232 23 1 21.768 1 20.25V3.75C1 2.232 2.232 1 3.75 1h16.5C21.768 1 23 2.232 23 3.75Z"
731
+ />
732
+ <path
733
+ stroke-width="2"
734
+ d="M23 6v14.1667C23 21.7307 21.7307 23 20.1667 23H6c0-3.128 2.53867-5.6667 5.6667-5.6667 3.128 0 5.6666-2.5386 5.6666-5.6666C17.3333 8.53867 19.872 6 23 6Z"
735
+ />
736
+ </svg>
737
+ <h2>
738
+ Nx Cloud
739
+ <span> Enable faster CI & better DX </span>
740
+ </h2>
741
+ </div>
742
+ <p>
743
+ You can activate distributed tasks executions and caching by
744
+ running:
745
+ </p>
746
+ <pre>nx connect</pre>
747
+ <a
748
+ href="https://nx.dev/nx-cloud?utm_source=nx-project"
749
+ target="_blank"
750
+ rel="noreferrer"
751
+ >
752
+ What is Nx Cloud?
753
+ </a>
754
+ </div>
755
+ </div>
756
+ </div>
757
+ <!-- COMMANDS -->
758
+ <div id="commands" class="rounded shadow">
759
+ <h2>Next steps</h2>
760
+ <p>Here are some things you can do with Nx:</p>
761
+ <details>
762
+ <summary>
763
+ <svg
764
+ fill="none"
765
+ stroke="currentColor"
766
+ viewBox="0 0 24 24"
767
+ xmlns="http://www.w3.org/2000/svg"
768
+ >
769
+ <path
770
+ stroke-linecap="round"
771
+ stroke-linejoin="round"
772
+ stroke-width="2"
773
+ d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
774
+ />
775
+ </svg>
776
+ Build, test and lint your app
777
+ </summary>
778
+ <pre><span># Build</span>
779
+ nx build
780
+ <span># Test</span>
781
+ nx test
782
+ <span># Lint</span>
783
+ nx lint
784
+ <span># Run them together!</span>
785
+ nx run-many -t build test lint</pre>
786
+ </details>
787
+ <details>
788
+ <summary>
789
+ <svg
790
+ fill="none"
791
+ stroke="currentColor"
792
+ viewBox="0 0 24 24"
793
+ xmlns="http://www.w3.org/2000/svg"
794
+ >
795
+ <path
796
+ strokeLinecap="round"
797
+ strokeLinejoin="round"
798
+ strokeWidth="2"
799
+ d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
800
+ />
801
+ </svg>
802
+ View project details
803
+ </summary>
804
+ <pre>nx show project ng-app</pre>
805
+ </details>
806
+
807
+ <details>
808
+ <summary>
809
+ <svg
810
+ fill="none"
811
+ stroke="currentColor"
812
+ viewBox="0 0 24 24"
813
+ xmlns="http://www.w3.org/2000/svg"
814
+ >
815
+ <path
816
+ stroke-linecap="round"
817
+ stroke-linejoin="round"
818
+ stroke-width="2"
819
+ d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
820
+ />
821
+ </svg>
822
+ View interactive project graph
823
+ </summary>
824
+ <pre>nx graph</pre>
825
+ </details>
826
+
827
+ <details>
828
+ <summary>
829
+ <svg
830
+ fill="none"
831
+ stroke="currentColor"
832
+ viewBox="0 0 24 24"
833
+ xmlns="http://www.w3.org/2000/svg"
834
+ >
835
+ <path
836
+ stroke-linecap="round"
837
+ stroke-linejoin="round"
838
+ stroke-width="2"
839
+ d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
840
+ />
841
+ </svg>
842
+ Add UI library
843
+ </summary>
844
+ <pre><span># Generate UI lib</span>
845
+ nx g &#64;nx/angular:lib ui
846
+ <span># Add a component</span>
847
+ nx g &#64;nx/angular:component ui/src/lib/button</pre>
848
+ </details>
849
+ </div>
850
+ <p id="love">
851
+ Carefully crafted with
852
+ <svg
853
+ fill="currentColor"
854
+ stroke="none"
855
+ viewBox="0 0 24 24"
856
+ xmlns="http://www.w3.org/2000/svg"
857
+ >
858
+ <path
859
+ stroke-linecap="round"
860
+ stroke-linejoin="round"
861
+ stroke-width="2"
862
+ d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
863
+ />
864
+ </svg>
865
+ </p>
866
+ </div>
867
+ </div>
868
+ `,
869
+ styles: [],
870
+ encapsulation: ViewEncapsulation.None,
871
+ })
872
+ export class NxWelcome {}