@nrwl/angular 13.3.0-beta.1 → 13.3.0-beta.14

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 (121) hide show
  1. package/esm2020/src/runtime/nx/data-persistence.mjs +3 -3
  2. package/esm2020/src/runtime/nx/nx.module.mjs +4 -4
  3. package/fesm2015/nrwl-angular.mjs +7 -7
  4. package/fesm2020/nrwl-angular.mjs +7 -7
  5. package/migrations.json +61 -1
  6. package/ng-package.json +4 -2
  7. package/package.json +9 -6
  8. package/src/builders/utilities/webpack.d.ts +1 -0
  9. package/src/builders/utilities/webpack.js +36 -0
  10. package/src/builders/utilities/webpack.js.map +1 -0
  11. package/src/builders/webpack-browser/webpack-browser.impl.d.ts +1 -6
  12. package/src/builders/webpack-browser/webpack-browser.impl.js +6 -5
  13. package/src/builders/webpack-browser/webpack-browser.impl.js.map +1 -1
  14. package/src/builders/webpack-server/webpack-server.impl.d.ts +1 -2
  15. package/src/builders/webpack-server/webpack-server.impl.js +3 -2
  16. package/src/builders/webpack-server/webpack-server.impl.js.map +1 -1
  17. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.d.ts +9 -0
  18. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js +13 -4
  19. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js.map +1 -1
  20. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.d.ts +5 -4
  21. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js +4 -3
  22. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js.map +1 -1
  23. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.di.d.ts +1 -0
  24. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.di.js +3 -2
  25. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.di.js.map +1 -1
  26. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.transform.js +0 -9
  27. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.transform.js.map +1 -1
  28. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/options.di.d.ts +14 -0
  29. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/options.di.js +32 -0
  30. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/options.di.js.map +1 -0
  31. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/package.di.d.ts +2 -0
  32. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/package.di.js +5 -3
  33. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/package.di.js.map +1 -1
  34. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.d.ts +46 -0
  35. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.di.d.ts +10 -0
  36. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.di.js +18 -0
  37. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.di.js.map +1 -0
  38. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.js +268 -0
  39. package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.js.map +1 -0
  40. package/src/executors/ng-packagr-lite/ng-packagr-lite.impl.js +5 -0
  41. package/src/executors/ng-packagr-lite/ng-packagr-lite.impl.js.map +1 -1
  42. package/src/executors/ng-packagr-lite/schema.json +4 -0
  43. package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js +2 -2
  44. package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js.map +1 -1
  45. package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.d.ts +1 -1
  46. package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js +1 -1
  47. package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js.map +1 -1
  48. package/src/executors/package/ng-packagr-adjustments/ng-package/options.di.d.ts +14 -0
  49. package/src/executors/package/ng-packagr-adjustments/ng-package/options.di.js +32 -0
  50. package/src/executors/package/ng-packagr-adjustments/ng-package/options.di.js.map +1 -0
  51. package/src/executors/package/ng-packagr-adjustments/ng-package/package.di.d.ts +2 -0
  52. package/src/executors/package/ng-packagr-adjustments/ng-package/package.di.js +5 -3
  53. package/src/executors/package/ng-packagr-adjustments/ng-package/package.di.js.map +1 -1
  54. package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.d.ts +6 -1
  55. package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.js +47 -17
  56. package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.js.map +1 -1
  57. package/src/executors/package/package.impl.js +8 -4
  58. package/src/executors/package/package.impl.js.map +1 -1
  59. package/src/executors/package/schema.d.ts +2 -1
  60. package/src/executors/package/schema.json +4 -0
  61. package/src/executors/utilities/tailwindcss.d.ts +7 -0
  62. package/src/executors/{package/ng-packagr-adjustments/utilities → utilities}/tailwindcss.js +29 -15
  63. package/src/executors/utilities/tailwindcss.js.map +1 -0
  64. package/src/generators/application/application.js +23 -7
  65. package/src/generators/application/application.js.map +1 -1
  66. package/src/generators/application/lib/index.d.ts +2 -2
  67. package/src/generators/application/lib/index.js +2 -2
  68. package/src/generators/application/lib/index.js.map +1 -1
  69. package/src/generators/application/lib/nrwl-home-tpl.d.ts +2 -3
  70. package/src/generators/application/lib/nrwl-home-tpl.js +790 -314
  71. package/src/generators/application/lib/nrwl-home-tpl.js.map +1 -1
  72. package/src/generators/application/lib/{update-component-styles.d.ts → update-app-component-template.d.ts} +1 -1
  73. package/src/generators/application/lib/{update-component-template.js → update-app-component-template.js} +7 -7
  74. package/src/generators/application/lib/update-app-component-template.js.map +1 -0
  75. package/src/generators/application/lib/update-component-spec.js +8 -1
  76. package/src/generators/application/lib/update-component-spec.js.map +1 -1
  77. package/src/generators/application/lib/update-config-files.js +1 -7
  78. package/src/generators/application/lib/update-config-files.js.map +1 -1
  79. package/src/generators/application/lib/update-e2e-project.js +1 -1
  80. package/src/generators/application/lib/update-e2e-project.js.map +1 -1
  81. package/src/generators/application/lib/{update-component-template.d.ts → update-nx-component-template.d.ts} +1 -1
  82. package/src/generators/application/lib/update-nx-component-template.js +31 -0
  83. package/src/generators/application/lib/update-nx-component-template.js.map +1 -0
  84. package/src/generators/component-story/component-story.js +1 -1
  85. package/src/generators/component-story/component-story.js.map +1 -1
  86. package/src/generators/init/init.js +1 -0
  87. package/src/generators/init/init.js.map +1 -1
  88. package/src/generators/karma-project/files/tsconfig.spec.json +1 -1
  89. package/src/generators/library/lib/normalize-options.js +8 -4
  90. package/src/generators/library/lib/normalize-options.js.map +1 -1
  91. package/src/generators/library/lib/update-tsconfig.js +2 -1
  92. package/src/generators/library/lib/update-tsconfig.js.map +1 -1
  93. package/src/generators/library/schema.d.ts +1 -0
  94. package/src/generators/library/schema.json +5 -0
  95. package/src/generators/library-secondary-entry-point/files/ng-package.json__tmpl__ +5 -0
  96. package/src/generators/setup-mfe/setup-mfe.js +4 -1
  97. package/src/generators/setup-mfe/setup-mfe.js.map +1 -1
  98. package/src/generators/storybook-migrate-defaults-5-to-6/storybook-migrate-defaults-5-to-6.d.ts +1 -2
  99. package/src/generators/storybook-migrate-defaults-5-to-6/storybook-migrate-defaults-5-to-6.js +1 -2
  100. package/src/generators/storybook-migrate-defaults-5-to-6/storybook-migrate-defaults-5-to-6.js.map +1 -1
  101. package/src/migrations/update-13-2-0/opt-out-testbed-teardown.d.ts +2 -0
  102. package/src/migrations/update-13-2-0/opt-out-testbed-teardown.js +231 -0
  103. package/src/migrations/update-13-2-0/opt-out-testbed-teardown.js.map +1 -0
  104. package/src/migrations/update-13-2-0/update-angular-jest-config.js +3 -2
  105. package/src/migrations/update-13-2-0/update-angular-jest-config.js.map +1 -1
  106. package/src/migrations/update-13-2-0/update-libraries.js +14 -14
  107. package/src/migrations/update-13-2-0/update-libraries.js.map +1 -1
  108. package/src/utils/nx-devkit/ast-utils.d.ts +2 -0
  109. package/src/utils/nx-devkit/ast-utils.js +35 -1
  110. package/src/utils/nx-devkit/ast-utils.js.map +1 -1
  111. package/src/utils/versions.d.ts +4 -3
  112. package/src/utils/versions.js +6 -5
  113. package/src/utils/versions.js.map +1 -1
  114. package/testing/ng-package.json +6 -0
  115. package/testing/package.json +3 -5
  116. package/src/executors/package/ng-packagr-adjustments/utilities/tailwindcss.d.ts +0 -1
  117. package/src/executors/package/ng-packagr-adjustments/utilities/tailwindcss.js.map +0 -1
  118. package/src/generators/application/lib/update-component-styles.js +0 -26
  119. package/src/generators/application/lib/update-component-styles.js.map +0 -1
  120. package/src/generators/application/lib/update-component-template.js.map +0 -1
  121. package/src/generators/library-secondary-entry-point/files/package.json__tmpl__ +0 -7
@@ -2,325 +2,801 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.nrwlHomeTemplate = void 0;
4
4
  exports.nrwlHomeTemplate = {
5
- html: `
6
- <header class="flex">
7
- <svg width="40" height="40" viewBox="0 0 262 163"><polygon id="Path" fill="#ffffff" points="130.68 104.59 97.49 52.71 97.44 96.3 40.24 0 0 0 0 162.57 39.79 162.57 39.92 66.39 96.53 158.26"></polygon><polygon id="Path" fill="#ffffff" points="97.5 41.79 137.24 41.79 137.33 41.33 137.33 0 97.54 0 97.49 41.33"></polygon><path d="M198.66,86.86 C189.139872,86.6795216 180.538723,92.516445 177.19,101.43 C182.764789,93.0931021 193.379673,89.7432211 202.73,93.37 C207.05,95.13 212.73,97.97 217.23,96.45 C212.950306,90.4438814 206.034895,86.8725952 198.66,86.86 L198.66,86.86 Z" id="Path" fill="#96D8E9"></path><path d="M243.75,106.42 C243.75,101.55 241.1,100.42 235.6,98.42 C231.52,97 226.89,95.4 223.52,91 C222.86,90.13 222.25,89.15 221.6,88.11 C220.14382,85.4164099 218.169266,83.037429 215.79,81.11 C212.58,78.75 208.37,77.6 202.91,77.6 C191.954261,77.6076705 182.084192,84.2206169 177.91,94.35 C183.186964,87.0278244 191.956716,83.0605026 200.940147,83.9314609 C209.923578,84.8024193 217.767888,90.3805017 221.54,98.58 C223.424615,101.689762 227.141337,103.174819 230.65,102.22 C236.02,101.07 235.65,106.15 243.76,107.87 L243.75,106.42 Z" id="Path" fill="#48C4E5"></path><path d="M261.46,105.38 L261.46,105.27 C261.34,73.03 235.17,45.45 202.91,45.45 C183.207085,45.4363165 164.821777,55.3450614 154,71.81 L153.79,71.45 L137.23,45.45 L97.5,45.4499858 L135.25,104.57 L98.41,162.57 L137,162.57 L153.79,136.78 L170.88,162.57 L209.48,162.57 L174.48,107.49 C173.899005,106.416838 173.583536,105.220114 173.56,104 C173.557346,96.2203871 176.64661,88.7586448 182.147627,83.2576275 C187.648645,77.7566101 195.110387,74.6673462 202.89,74.67 C219.11,74.67 221.82,84.37 225.32,88.93 C232.23,97.93 246.03,93.99 246.03,105.73 L246.03,105.73 C246.071086,108.480945 247.576662,111.001004 249.979593,112.340896 C252.382524,113.680787 255.317747,113.636949 257.679593,112.225896 C260.041438,110.814842 261.471086,108.250945 261.43,105.5 L261.43,105.5 L261.43,105.38 L261.46,105.38 Z" id="Path" fill="#ffffff"></path><path d="M261.5,113.68 C261.892278,116.421801 261.504116,119.218653 260.38,121.75 C258.18,126.84 254.51,125.14 254.51,125.14 C254.51,125.14 251.35,123.6 253.27,120.65 C255.4,117.36 259.61,117.74 261.5,113.68 Z" id="Path" fill="#022f56"></path></svg>
8
- <h1>Welcome to {{title}}!</h1>
9
- </header>
10
- <main>
11
- <h2>Resources &amp; Tools</h2>
12
- <p>
13
- Thank you for using and showing some ♥ for Nx.
14
- </p>
15
- <div class="flex github-star-container">
16
- <a href="https://github.com/nrwl/nx" target="_blank" rel="noopener noreferrer"> If you like Nx, please give it a star:
17
- <div class="github-star-badge">
18
- <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>
19
- Star
5
+ getSelector: (prefix) => `<${prefix}-nx-welcome></${prefix}-nx-welcome>`,
6
+ template: (title) => `
7
+ <!--
8
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9
+ This is a starter component and can be deleted.
10
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * *
11
+ Delete this file and get started with your project!
12
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * *
13
+ -->
14
+ <style>
15
+ html {
16
+ -webkit-text-size-adjust: 100%;
17
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
18
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
19
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
20
+ 'Noto Color Emoji';
21
+ line-height: 1.5;
22
+ tab-size: 4;
23
+ scroll-behavior: smooth;
24
+ }
25
+ body {
26
+ font-family: inherit;
27
+ line-height: inherit;
28
+ margin: 0;
29
+ }
30
+ h1,
31
+ h2,
32
+ p,
33
+ pre {
34
+ margin: 0;
35
+ }
36
+ *,
37
+ ::before,
38
+ ::after {
39
+ box-sizing: border-box;
40
+ border-width: 0;
41
+ border-style: solid;
42
+ border-color: currentColor;
43
+ }
44
+ h1,
45
+ h2 {
46
+ font-size: inherit;
47
+ font-weight: inherit;
48
+ }
49
+ a {
50
+ color: inherit;
51
+ text-decoration: inherit;
52
+ }
53
+ pre {
54
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
55
+ 'Liberation Mono', 'Courier New', monospace;
56
+ }
57
+ svg {
58
+ display: block;
59
+ vertical-align: middle;
60
+ }
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: scroll;
73
+ padding: 0.5rem 0.75rem;
74
+ }
75
+
76
+ .shadow {
77
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
78
+ 0 4px 6px -2px rgba(0, 0, 0, 0.05);
79
+ }
80
+ .rounded {
81
+ border-radius: 1.5rem;
82
+ }
83
+
84
+ .wrapper {
85
+ width: 100%;
86
+ }
87
+ .container {
88
+ margin-left: auto;
89
+ margin-right: auto;
90
+ max-width: 768px;
91
+ padding-bottom: 3rem;
92
+ padding-left: 1rem;
93
+ padding-right: 1rem;
94
+ color: rgba(55, 65, 81, 1);
95
+ width: 100%;
96
+ }
97
+ #welcome {
98
+ margin-top: 2.5rem;
99
+ }
100
+ #welcome h1 {
101
+ font-size: 3rem;
102
+ font-weight: 500;
103
+ letter-spacing: -0.025em;
104
+ line-height: 1;
105
+ }
106
+ #welcome span {
107
+ display: block;
108
+ font-size: 1.875rem;
109
+ font-weight: 300;
110
+ line-height: 2.25rem;
111
+ margin-bottom: 0.5rem;
112
+ }
113
+ #hero {
114
+ align-items: center;
115
+ background-color: hsla(214, 62%, 21%, 1);
116
+ border: none;
117
+ box-sizing: border-box;
118
+ color: rgba(55, 65, 81, 1);
119
+ display: grid;
120
+ grid-template-columns: 1fr;
121
+ margin-top: 3.5rem;
122
+ }
123
+ #hero .text-container {
124
+ color: rgba(255, 255, 255, 1);
125
+ padding: 3rem 2rem;
126
+ }
127
+ #hero .text-container h2 {
128
+ font-size: 1.5rem;
129
+ line-height: 2rem;
130
+ position: relative;
131
+ }
132
+ #hero .text-container h2 svg {
133
+ color: hsla(162, 47%, 50%, 1);
134
+ height: 2rem;
135
+ left: -0.25rem;
136
+ position: absolute;
137
+ top: 0;
138
+ width: 2rem;
139
+ }
140
+ #hero .text-container h2 span {
141
+ margin-left: 2.5rem;
142
+ }
143
+ #hero .text-container a {
144
+ background-color: rgba(255, 255, 255, 1);
145
+ border-radius: 0.75rem;
146
+ color: rgba(55, 65, 81, 1);
147
+ display: inline-block;
148
+ margin-top: 1.5rem;
149
+ padding: 1rem 2rem;
150
+ text-decoration: inherit;
151
+ }
152
+ #hero .logo-container {
153
+ display: none;
154
+ justify-content: center;
155
+ padding-left: 2rem;
156
+ padding-right: 2rem;
157
+ }
158
+ #hero .logo-container svg {
159
+ color: rgba(255, 255, 255, 1);
160
+ width: 66.666667%;
161
+ }
162
+
163
+ #middle-content {
164
+ align-items: flex-start;
165
+ display: grid;
166
+ gap: 4rem;
167
+ grid-template-columns: 1fr;
168
+ margin-top: 3.5rem;
169
+ }
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
+ transition-duration: 150ms;
213
+ }
214
+ .list-item-link > span > span {
215
+ color: rgba(107, 114, 128, 1);
216
+ display: block;
217
+ flex-grow: 1;
218
+ font-size: 0.75rem;
219
+ font-weight: 300;
220
+ line-height: 1rem;
221
+ transition-property: background-color, border-color, color, fill, stroke,
222
+ opacity, box-shadow, transform, filter, backdrop-filter,
223
+ -webkit-backdrop-filter;
224
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
225
+ transition-duration: 150ms;
226
+ }
227
+ .list-item-link svg:last-child {
228
+ height: 1rem;
229
+ transition-property: all;
230
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
231
+ transition-duration: 150ms;
232
+ width: 1rem;
233
+ }
234
+ .list-item-link:hover {
235
+ color: rgba(255, 255, 255, 1);
236
+ background-color: hsla(162, 47%, 50%, 1);
237
+ }
238
+ .list-item-link:hover > span {
239
+ }
240
+ .list-item-link:hover > span > span {
241
+ color: rgba(243, 244, 246, 1);
242
+ }
243
+ .list-item-link:hover svg:last-child {
244
+ transform: translateX(0.25rem);
245
+ }
246
+
247
+ #other-links {
248
+ }
249
+ .button-pill {
250
+ padding: 1.5rem 2rem;
251
+ transition-duration: 300ms;
252
+ transition-property: background-color, border-color, color, fill, stroke,
253
+ opacity, box-shadow, transform, filter, backdrop-filter,
254
+ -webkit-backdrop-filter;
255
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
256
+ align-items: center;
257
+ display: flex;
258
+ }
259
+ .button-pill svg {
260
+ transition-property: background-color, border-color, color, fill, stroke,
261
+ opacity, box-shadow, transform, filter, backdrop-filter,
262
+ -webkit-backdrop-filter;
263
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
264
+ transition-duration: 150ms;
265
+ flex-shrink: 0;
266
+ width: 3rem;
267
+ }
268
+ .button-pill > span {
269
+ letter-spacing: -0.025em;
270
+ font-weight: 400;
271
+ font-size: 1.125rem;
272
+ line-height: 1.75rem;
273
+ padding-left: 1rem;
274
+ padding-right: 1rem;
275
+ }
276
+ .button-pill span span {
277
+ display: block;
278
+ font-size: 0.875rem;
279
+ font-weight: 300;
280
+ line-height: 1.25rem;
281
+ }
282
+ .button-pill:hover svg,
283
+ .button-pill:hover {
284
+ color: rgba(255, 255, 255, 1) !important;
285
+ }
286
+ #nx-console:hover {
287
+ background-color: rgba(0, 122, 204, 1);
288
+ }
289
+ #nx-console svg {
290
+ color: rgba(0, 122, 204, 1);
291
+ }
292
+
293
+ #nx-repo:hover {
294
+ background-color: rgba(24, 23, 23, 1);
295
+ }
296
+ #nx-repo svg {
297
+ color: rgba(24, 23, 23, 1);
298
+ }
299
+
300
+ #nx-cloud {
301
+ margin-bottom: 2rem;
302
+ margin-top: 2rem;
303
+ padding: 2.5rem 2rem;
304
+ }
305
+ #nx-cloud > div {
306
+ align-items: center;
307
+ display: flex;
308
+ }
309
+ #nx-cloud > div svg {
310
+ border-radius: 0.375rem;
311
+ flex-shrink: 0;
312
+ width: 3rem;
313
+ }
314
+ #nx-cloud > div h2 {
315
+ font-size: 1.125rem;
316
+ font-weight: 400;
317
+ letter-spacing: -0.025em;
318
+ line-height: 1.75rem;
319
+ padding-left: 1rem;
320
+ padding-right: 1rem;
321
+ }
322
+ #nx-cloud > div h2 span {
323
+ display: block;
324
+ font-size: 0.875rem;
325
+ font-weight: 300;
326
+ line-height: 1.25rem;
327
+ }
328
+ #nx-cloud p {
329
+ font-size: 1rem;
330
+ line-height: 1.5rem;
331
+ margin-top: 1rem;
332
+ }
333
+ #nx-cloud pre {
334
+ margin-top: 1rem;
335
+ }
336
+ #nx-cloud a {
337
+ color: rgba(107, 114, 128, 1);
338
+ display: block;
339
+ font-size: 0.875rem;
340
+ line-height: 1.25rem;
341
+ margin-top: 1.5rem;
342
+ text-align: right;
343
+ }
344
+ #nx-cloud a:hover {
345
+ text-decoration: underline;
346
+ }
347
+
348
+ #commands {
349
+ padding: 2.5rem 2rem;
350
+
351
+ margin-top: 3.5rem;
352
+ }
353
+ #commands h2 {
354
+ font-size: 1.25rem;
355
+ font-weight: 400;
356
+ letter-spacing: -0.025em;
357
+ line-height: 1.75rem;
358
+ padding-left: 1rem;
359
+ padding-right: 1rem;
360
+ }
361
+ #commands p {
362
+ font-size: 1rem;
363
+ font-weight: 300;
364
+ line-height: 1.5rem;
365
+ margin-top: 1rem;
366
+ padding-left: 1rem;
367
+ padding-right: 1rem;
368
+ }
369
+ details {
370
+ align-items: center;
371
+ display: flex;
372
+ margin-top: 1rem;
373
+ padding-left: 1rem;
374
+ padding-right: 1rem;
375
+ width: 100%;
376
+ }
377
+ details pre > span {
378
+ color: rgba(181, 181, 181, 1);
379
+ }
380
+ summary {
381
+ border-radius: 0.5rem;
382
+ display: flex;
383
+ font-weight: 400;
384
+ padding: 0.5rem;
385
+ cursor: pointer;
386
+ transition-property: background-color, border-color, color, fill, stroke,
387
+ opacity, box-shadow, transform, filter, backdrop-filter,
388
+ -webkit-backdrop-filter;
389
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
390
+ transition-duration: 150ms;
391
+ }
392
+ summary:hover {
393
+ background-color: rgba(243, 244, 246, 1);
394
+ }
395
+ summary svg {
396
+ height: 1.5rem;
397
+ margin-right: 1rem;
398
+ width: 1.5rem;
399
+ }
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
+
417
+ @media screen and (min-width: 768px) {
418
+ #hero {
419
+ grid-template-columns: repeat(2, minmax(0, 1fr));
420
+ }
421
+ #hero .logo-container {
422
+ display: flex;
423
+ }
424
+ #middle-content {
425
+ grid-template-columns: repeat(2, minmax(0, 1fr));
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 ${title} 👋
436
+ </h1>
437
+ </div>
438
+
439
+ <!-- HERO -->
440
+ <div id="hero" class="rounded">
441
+ <div class="text-container">
442
+ <h2>
443
+ <svg
444
+ fill="none"
445
+ stroke="currentColor"
446
+ viewBox="0 0 24 24"
447
+ xmlns="http://www.w3.org/2000/svg"
448
+ >
449
+ <path
450
+ stroke-linecap="round"
451
+ stroke-linejoin="round"
452
+ stroke-width="2"
453
+ 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"
454
+ />
455
+ </svg>
456
+ <span>You&apos;re up and running</span>
457
+ </h2>
458
+ <a href="#commands"> What&apos;s next? </a>
20
459
  </div>
21
- </a>
22
- </div>
23
- <p>
24
- Here are some links to help you get started.
25
- </p>
26
- <ul class="resources">
27
- <li class="col-span-2">
28
- <a
29
- class="resource flex"
30
- href="https://nxplaybook.com/p/nx-workspaces"
460
+ <div class="logo-container">
461
+ <svg
462
+ fill="currentColor"
463
+ role="img"
464
+ viewBox="0 0 24 24"
465
+ xmlns="http://www.w3.org/2000/svg"
466
+ >
467
+ <path
468
+ 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"
469
+ />
470
+ </svg>
471
+ </div>
472
+ </div>
473
+
474
+ <!-- MIDDLE CONTENT -->
475
+ <div id="middle-content">
476
+ <div id="learning-materials" class="rounded shadow">
477
+ <h2>Learning materials</h2>
478
+ <a href="https://nx.dev/getting-started/intro?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
479
+ <svg
480
+ fill="none"
481
+ stroke="currentColor"
482
+ viewBox="0 0 24 24"
483
+ xmlns="http://www.w3.org/2000/svg"
31
484
  >
32
- Nx video course
33
- </a>
34
- </li>
35
- <li class="col-span-2">
36
- <a
37
- class="resource flex"
38
- href="https://nx.dev/latest/angular/getting-started/intro"
485
+ <path
486
+ stroke-linecap="round"
487
+ stroke-linejoin="round"
488
+ stroke-width="2"
489
+ 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"
490
+ />
491
+ </svg>
492
+ <span>
493
+ Documentation
494
+ <span> Everything is in there </span>
495
+ </span>
496
+ <svg
497
+ fill="none"
498
+ stroke="currentColor"
499
+ viewBox="0 0 24 24"
500
+ xmlns="http://www.w3.org/2000/svg"
39
501
  >
40
- Nx video tutorial
41
- </a>
42
- </li>
43
- <li class="col-span-2">
44
- <a
45
- class="resource flex"
46
- href="https://nx.dev/latest/angular/tutorial/01-create-application"
502
+ <path
503
+ stroke-linecap="round"
504
+ stroke-linejoin="round"
505
+ stroke-width="2"
506
+ d="M9 5l7 7-7 7"
507
+ />
508
+ </svg>
509
+ </a>
510
+ <a href="https://blog.nrwl.io/?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
511
+ <svg
512
+ fill="none"
513
+ stroke="currentColor"
514
+ viewBox="0 0 24 24"
515
+ xmlns="http://www.w3.org/2000/svg"
47
516
  >
48
- Interactive tutorial
49
- </a>
50
- </li>
51
- <li class="col-span-2">
52
- <a class="resource flex" href="https://nx.app/">
53
- <svg width="36" height="36" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
54
- <path d="M120 15V30C103.44 30 90 43.44 90 60C90 76.56 76.56 90 60 90C43.44 90 30 103.44 30 120H15C6.72 120 0 113.28 0 105V15C0 6.72 6.72 0 15 0H105C113.28 0 120 6.72 120 15Z" fill="#0E2039"/>
55
- <path d="M120 30V105C120 113.28 113.28 120 105 120H30C30 103.44 43.44 90 60 90C76.56 90 90 76.56 90 60C90 43.44 103.44 30 120 30Z" fill="white"/>
56
- </svg>
57
- <span class="gutter-left">Nx Cloud</span>
58
- </a>
59
- </li>
60
- </ul>
61
- <h2>Next Steps</h2>
62
- <p>Here are some things you can do with Nx.</p>
63
- <details open>
64
- <summary>Add UI library</summary>
65
- <pre>
66
- # Generate UI lib
67
- nx g @nrwl/angular:lib ui
68
-
69
- # Add a component
70
- nx g @nrwl/angular:component xyz --project ui</pre
71
- >
72
- </details>
73
- <details>
74
- <summary>View dependency graph</summary>
75
- <pre>nx dep-graph</pre>
76
- </details>
77
- <details>
78
- <summary>Run affected commands</summary>
79
- <pre>
80
- # see what's been affected by changes
81
- nx affected:dep-graph
82
-
83
- # run tests for current changes
84
- nx affected:test
85
-
86
- # run e2e tests for current changes
87
- nx affected:e2e
88
- </pre
517
+ <path
518
+ stroke-linecap="round"
519
+ stroke-linejoin="round"
520
+ stroke-width="2"
521
+ 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"
522
+ />
523
+ </svg>
524
+ <span>
525
+ Blog
526
+ <span> Changelog, features & events </span>
527
+ </span>
528
+ <svg
529
+ fill="none"
530
+ stroke="currentColor"
531
+ viewBox="0 0 24 24"
532
+ xmlns="http://www.w3.org/2000/svg"
533
+ >
534
+ <path
535
+ stroke-linecap="round"
536
+ stroke-linejoin="round"
537
+ stroke-width="2"
538
+ d="M9 5l7 7-7 7"
539
+ />
540
+ </svg>
541
+ </a>
542
+ <a href="https://www.youtube.com/c/Nrwl_io/videos?utm_source=nx-project&sub_confirmation=1" target="_blank" rel="noreferrer" class="list-item-link">
543
+ <svg
544
+ role="img"
545
+ viewBox="0 0 24 24"
546
+ fill="currentColor"
547
+ xmlns="http://www.w3.org/2000/svg"
548
+ >
549
+ <title>YouTube</title>
550
+ <path
551
+ 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"
552
+ />
553
+ </svg>
554
+ <span>
555
+ YouTube channel
556
+ <span> Nx Show, talks & tutorials </span>
557
+ </span>
558
+ <svg
559
+ fill="none"
560
+ stroke="currentColor"
561
+ viewBox="0 0 24 24"
562
+ xmlns="http://www.w3.org/2000/svg"
563
+ >
564
+ <path
565
+ stroke-linecap="round"
566
+ stroke-linejoin="round"
567
+ stroke-width="2"
568
+ d="M9 5l7 7-7 7"
569
+ />
570
+ </svg>
571
+ </a>
572
+ <a href="https://nx.dev/tutorial/01-create-application?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
573
+ <svg
574
+ fill="none"
575
+ stroke="currentColor"
576
+ viewBox="0 0 24 24"
577
+ xmlns="http://www.w3.org/2000/svg"
578
+ >
579
+ <path
580
+ stroke-linecap="round"
581
+ stroke-linejoin="round"
582
+ stroke-width="2"
583
+ 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"
584
+ />
585
+ </svg>
586
+ <span>
587
+ Interactive tutorials
588
+ <span> Create an app, step-by-step </span>
589
+ </span>
590
+ <svg
591
+ fill="none"
592
+ stroke="currentColor"
593
+ viewBox="0 0 24 24"
594
+ xmlns="http://www.w3.org/2000/svg"
595
+ >
596
+ <path
597
+ stroke-linecap="round"
598
+ stroke-linejoin="round"
599
+ stroke-width="2"
600
+ d="M9 5l7 7-7 7"
601
+ />
602
+ </svg>
603
+ </a>
604
+ <a href="https://nxplaybook.com/?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
605
+ <svg
606
+ fill="none"
607
+ stroke="currentColor"
608
+ viewBox="0 0 24 24"
609
+ xmlns="http://www.w3.org/2000/svg"
610
+ >
611
+ <path d="M12 14l9-5-9-5-9 5 9 5z" />
612
+ <path
613
+ d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"
614
+ />
615
+ <path
616
+ stroke-linecap="round"
617
+ stroke-linejoin="round"
618
+ stroke-width="2"
619
+ d="M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"
620
+ />
621
+ </svg>
622
+ <span>
623
+ Video courses
624
+ <span> Nx custom courses </span>
625
+ </span>
626
+ <svg
627
+ fill="none"
628
+ stroke="currentColor"
629
+ viewBox="0 0 24 24"
630
+ xmlns="http://www.w3.org/2000/svg"
631
+ >
632
+ <path
633
+ stroke-linecap="round"
634
+ stroke-linejoin="round"
635
+ stroke-width="2"
636
+ d="M9 5l7 7-7 7"
637
+ />
638
+ </svg>
639
+ </a>
640
+ </div>
641
+ <div id="other-links">
642
+ <a id="nx-console" class="button-pill rounded shadow" href="https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console&utm_source=nx-project" target="_blank" rel="noreferrer">
643
+ <svg
644
+ fill="currentColor"
645
+ role="img"
646
+ viewBox="0 0 24 24"
647
+ xmlns="http://www.w3.org/2000/svg"
648
+ >
649
+ <title>Visual Studio Code</title>
650
+ <path
651
+ 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"
652
+ />
653
+ </svg>
654
+ <span>
655
+ Install Nx Console
656
+ <span>Plugin for VSCode</span>
657
+ </span>
658
+ </a>
659
+ <div id="nx-cloud" class="rounded shadow">
660
+ <div>
661
+ <svg
662
+ viewBox="0 0 120 120"
663
+ fill="none"
664
+ xmlns="http://www.w3.org/2000/svg"
665
+ >
666
+ <path
667
+ d="M120 15V30C103.44 30 90 43.44 90 60C90 76.56 76.56 90 60 90C43.44 90 30 103.44 30 120H15C6.72 120 0 113.28 0 105V15C0 6.72 6.72 0 15 0H105C113.28 0 120 6.72 120 15Z"
668
+ fill="#0E2039"
669
+ />
670
+ <path
671
+ d="M120 30V105C120 113.28 113.28 120 105 120H30C30 103.44 43.44 90 60 90C76.56 90 90 76.56 90 60C90 43.44 103.44 30 120 30Z"
672
+ fill="white"
673
+ />
674
+ </svg>
675
+ <h2>
676
+ NxCloud
677
+ <span>
678
+ Enable faster CI & better DX
679
+ </span>
680
+ </h2>
681
+ </div>
682
+ <p>
683
+ You can activate distributed tasks executions and caching by
684
+ running:
685
+ </p>
686
+ <pre>nx connect-to-nx-cloud</pre>
687
+ <a href="https://nx.app/?utm_source=nx-project" target="_blank" rel="noreferrer"> What is Nx Cloud? </a>
688
+ </div>
689
+ <a id="nx-repo" class="button-pill rounded shadow" href="https://github.com/nrwl/nx?utm_source=nx-project" target="_blank" rel="noreferrer">
690
+ <svg
691
+ fill="currentColor"
692
+ role="img"
693
+ viewBox="0 0 24 24"
694
+ xmlns="http://www.w3.org/2000/svg"
695
+ >
696
+ <path
697
+ 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"
698
+ />
699
+ </svg>
700
+ <span>
701
+ Nx is open source
702
+ <span> Love Nx? Give us a star! </span>
703
+ </span>
704
+ </a>
705
+ </div>
706
+ </div>
707
+
708
+ <!-- COMMANDS -->
709
+ <div id="commands" class="rounded shadow">
710
+ <h2>Next steps</h2>
711
+ <p>Here are some things you can do with Nx:</p>
712
+ <details>
713
+ <summary>
714
+ <svg
715
+ fill="none"
716
+ stroke="currentColor"
717
+ viewBox="0 0 24 24"
718
+ xmlns="http://www.w3.org/2000/svg"
719
+ >
720
+ <path
721
+ stroke-linecap="round"
722
+ stroke-linejoin="round"
723
+ stroke-width="2"
724
+ 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"
725
+ />
726
+ </svg>
727
+ Add UI library
728
+ </summary>
729
+ <pre><span># Generate UI lib</span>
730
+ nx g @nrwl/angular:lib ui
731
+
732
+ <span># Add a component</span>
733
+ nx g @nrwl/angular:component button --project ui</pre>
734
+ </details>
735
+ <details>
736
+ <summary>
737
+ <svg
738
+ fill="none"
739
+ stroke="currentColor"
740
+ viewBox="0 0 24 24"
741
+ xmlns="http://www.w3.org/2000/svg"
742
+ >
743
+ <path
744
+ stroke-linecap="round"
745
+ stroke-linejoin="round"
746
+ stroke-width="2"
747
+ 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"
748
+ />
749
+ </svg>
750
+ View interactive dependency graph
751
+ </summary>
752
+ <pre>nx dep-graph</pre>
753
+ </details>
754
+ <details>
755
+ <summary>
756
+ <svg
757
+ fill="none"
758
+ stroke="currentColor"
759
+ viewBox="0 0 24 24"
760
+ xmlns="http://www.w3.org/2000/svg"
761
+ >
762
+ <path
763
+ stroke-linecap="round"
764
+ stroke-linejoin="round"
765
+ stroke-width="2"
766
+ 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"
767
+ />
768
+ </svg>
769
+ Run affected commands
770
+ </summary>
771
+ <pre><span># see what&apos;s been affected by changes</span>
772
+ nx affected:dep-graph
773
+
774
+ <span># run tests for current changes</span>
775
+ nx affected:test
776
+
777
+ <span># run e2e tests for current changes</span>
778
+ nx affected:e2e</pre>
779
+ </details>
780
+ </div>
781
+
782
+ <p id="love">
783
+ Carefully crafted with
784
+ <svg
785
+ fill="currentColor"
786
+ stroke="none"
787
+ viewBox="0 0 24 24"
788
+ xmlns="http://www.w3.org/2000/svg"
89
789
  >
90
- </details>
91
- </main>
92
- `,
93
- css: `
94
- /*
95
- * Remove template code below
96
- */
97
- :host {
98
- display: block;
99
- font-family: sans-serif;
100
- min-width: 300px;
101
- max-width: 600px;
102
- margin: 50px auto;
103
- }
104
-
105
- .gutter-left {
106
- margin-left: 9px;
107
- }
108
-
109
- .col-span-2 {
110
- grid-column: span 2;
111
- }
112
-
113
- .flex {
114
- display: flex;
115
- align-items: center;
116
- justify-content: center;
117
- }
118
-
119
- header {
120
- background-color: #143055;
121
- color: white;
122
- padding: 5px;
123
- border-radius: 3px;
124
- }
125
-
126
- main {
127
- padding: 0 36px;
128
- }
129
-
130
- p {
131
- text-align: center;
132
- }
133
-
134
- h1 {
135
- text-align: center;
136
- margin-left: 18px;
137
- font-size: 24px;
138
- }
139
-
140
- h2 {
141
- text-align: center;
142
- font-size: 20px;
143
- margin: 40px 0 10px 0;
144
- }
145
-
146
- .resources {
147
- text-align: center;
148
- list-style: none;
149
- padding: 0;
150
- display: grid;
151
- grid-gap: 9px;
152
- grid-template-columns: 1fr 1fr;
153
- }
154
-
155
- .resource {
156
- color: #0094ba;
157
- height: 36px;
158
- background-color: rgba(0, 0, 0, 0);
159
- border: 1px solid rgba(0, 0, 0, 0.12);
160
- border-radius: 4px;
161
- padding: 3px 9px;
162
- text-decoration: none;
163
- }
164
-
165
- .resource:hover {
166
- background-color: rgba(68, 138, 255, 0.04);
167
- }
168
-
169
- pre {
170
- padding: 9px;
171
- border-radius: 4px;
172
- background-color: black;
173
- color: #eee;
174
- }
175
-
176
- details {
177
- border-radius: 4px;
178
- color: #333;
179
- background-color: rgba(0, 0, 0, 0);
180
- border: 1px solid rgba(0, 0, 0, 0.12);
181
- padding: 3px 9px;
182
- margin-bottom: 9px;
183
- }
184
-
185
- summary {
186
- cursor: pointer;
187
- outline: none;
188
- height: 36px;
189
- line-height: 36px;
190
- }
191
-
192
- .github-star-container {
193
- margin-top: 12px;
194
- line-height: 20px;
195
- }
196
-
197
- .github-star-container a {
198
- display: flex;
199
- align-items: center;
200
- text-decoration: none;
201
- color: #333;
202
- }
203
-
204
- .github-star-badge {
205
- color: #24292e;
206
- display: flex;
207
- align-items: center;
208
- font-size: 12px;
209
- padding: 3px 10px;
210
- border: 1px solid rgba(27,31,35,.2);
211
- border-radius: 3px;
212
- background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);
213
- margin-left: 4px;
214
- font-weight: 600;
215
- }
216
-
217
- .github-star-badge:hover {
218
- background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);
219
- border-color: rgba(27,31,35,.35);
220
- background-position: -.5em;
221
- }
222
- .github-star-badge .material-icons {
223
- height: 16px;
224
- width: 16px;
225
- margin-right: 4px;
226
- }
227
- `,
228
- sass: `
229
- /*
230
- * Remove template code below
231
- */
232
- \:host
233
- display: block
234
- font-family: sans-serif
235
- min-width: 300px
236
- max-width: 600px
237
- margin: 50px auto
238
- .gutter-left
239
- margin-left: 9px
240
- .col-span-2
241
- grid-column: span 2
242
- .flex
243
- display: flex
244
- align-items: center
245
- justify-content: center
246
- header
247
- background-color: #143055
248
- color: white
249
- padding: 5px
250
- border-radius: 3px
251
- main
252
- padding: 0 36px
253
- p
254
- text-align: center
255
- h1
256
- text-align: center
257
- margin-left: 18px
258
- font-size: 24px
259
- h2
260
- text-align: center
261
- font-size: 20px
262
- margin: 40px 0 10px 0
263
- .resources
264
- text-align: center
265
- list-style: none
266
- padding: 0
267
- display: grid
268
- grid-gap: 9px
269
- grid-template-columns: 1fr 1fr
270
- .resource
271
- color: #0094ba
272
- height: 36px
273
- background-color: rgba(0, 0, 0, 0)
274
- border: 1px solid rgba(0, 0, 0, 0.12)
275
- border-radius: 4px
276
- padding: 3px 9px
277
- text-decoration: none
278
- &:hover
279
- background-color: rgba(68, 138, 255, 0.04)
280
- pre
281
- padding: 9px
282
- border-radius: 4px
283
- background-color: black
284
- color: #eee
285
- details
286
- border-radius: 4px
287
- color: #333
288
- background-color: rgba(0, 0, 0, 0)
289
- border: 1px solid rgba(0, 0, 0, 0.12)
290
- padding: 3px 9px
291
- margin-bottom: 9px
292
- summary
293
- cursor: pointer
294
- outline: none
295
- height: 36px
296
- line-height: 36px
297
- .github-star-container
298
- margin-top: 12px
299
- line-height: 20px
300
- a
301
- display: flex
302
- align-items: center
303
- text-decoration: none
304
- color: #333
305
- .github-star-badge
306
- color: #24292e
307
- display: flex
308
- align-items: center
309
- font-size: 12px
310
- padding: 3px 10px
311
- border: 1px solid rgba(27, 31, 35, .2)
312
- border-radius: 3px
313
- background-image: linear-gradient(-180deg, #fafbfc, #eff3f6 90%)
314
- margin-left: 4px
315
- font-weight: 600
316
- &:hover
317
- background-image: linear-gradient(-180deg, #f0f3f6, #e6ebf1 90%)
318
- border-color: rgba(27, 31, 35, .35)
319
- background-position: -.5em
320
- .material-icons
321
- height: 16px
322
- width: 16px
323
- margin-right: 4px
790
+ <path
791
+ stroke-linecap="round"
792
+ stroke-linejoin="round"
793
+ stroke-width="2"
794
+ 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"
795
+ />
796
+ </svg>
797
+ </p>
798
+ </div>
799
+ </div>
324
800
  `,
325
801
  };
326
802
  //# sourceMappingURL=nrwl-home-tpl.js.map