create-sitecore-jss 22.6.0-canary.2 → 22.6.0-canary.21

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 (316) hide show
  1. package/dist/common/processes/transform.js +2 -4
  2. package/dist/templates/angular/.eslintignore +3 -3
  3. package/dist/templates/angular/.eslintrc +66 -66
  4. package/dist/templates/angular/LICENSE.txt +202 -202
  5. package/dist/templates/angular/README.md +13 -13
  6. package/dist/templates/angular/angular.json +171 -171
  7. package/dist/templates/angular/e2e/tsconfig.e2e.json +15 -15
  8. package/dist/templates/angular/gitignore +52 -52
  9. package/dist/templates/angular/package.json +116 -116
  10. package/dist/templates/angular/scripts/temp/gitignore +2 -2
  11. package/dist/templates/angular/src/app/app.component.html +1 -1
  12. package/dist/templates/angular/src/app/components/content-block/content-block.component.html +4 -4
  13. package/dist/templates/angular/src/app/components/gitignore +7 -7
  14. package/dist/templates/angular/src/app/routing/layout/layout.component.html +17 -17
  15. package/dist/templates/angular/src/app/routing/navigation/navigation.component.html +20 -20
  16. package/dist/templates/angular/src/app/routing/not-found/not-found.component.html +7 -7
  17. package/dist/templates/angular/src/app/routing/scripts/scripts.component.html +1 -1
  18. package/dist/templates/angular/src/app/routing/server-error/server-error.component.html +3 -3
  19. package/dist/templates/angular/src/environments/gitignore +1 -1
  20. package/dist/templates/angular/src/index.html +12 -12
  21. package/dist/templates/angular/src/styles.css +34 -34
  22. package/dist/templates/angular/src/tsconfig.app.json +21 -21
  23. package/dist/templates/angular/src/tsconfig.server.json +20 -20
  24. package/dist/templates/angular/src/tsconfig.spec.json +24 -24
  25. package/dist/templates/angular/src/tsconfig.webpack-server.json +6 -6
  26. package/dist/templates/angular/tsconfig.json +38 -38
  27. package/dist/templates/angular-sxp/.env +2 -2
  28. package/dist/templates/angular-sxp/angular.json +13 -13
  29. package/dist/templates/angular-sxp/package.json +12 -12
  30. package/dist/templates/angular-sxp/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.graphql +69 -69
  31. package/dist/templates/angular-sxp/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +55 -55
  32. package/dist/templates/angular-sxp/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +47 -47
  33. package/dist/templates/angular-sxp/src/app/components/graph-ql-layout/graph-ql-layout.component.html +22 -22
  34. package/dist/templates/angular-sxp/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.html +5 -5
  35. package/dist/templates/angular-sxp/src/app/components/styleguide-component-params/styleguide-component-params.component.html +19 -19
  36. package/dist/templates/angular-sxp/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.html +14 -14
  37. package/dist/templates/angular-sxp/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.html +19 -19
  38. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.html +11 -11
  39. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +26 -26
  40. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.html +4 -4
  41. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.html +27 -27
  42. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.html +10 -10
  43. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html +30 -30
  44. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +17 -17
  45. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.html +44 -44
  46. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.html +11 -11
  47. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.html +11 -11
  48. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.html +13 -13
  49. package/dist/templates/angular-sxp/src/app/components/styleguide-layout/styleguide-layout.component.html +20 -20
  50. package/dist/templates/angular-sxp/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.html +52 -52
  51. package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +37 -37
  52. package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +12 -12
  53. package/dist/templates/angular-sxp/src/app/components/styleguide-multilingual/styleguide-multilingual.component.html +15 -15
  54. package/dist/templates/angular-sxp/src/app/components/styleguide-route-fields/styleguide-route-fields.component.html +8 -8
  55. package/dist/templates/angular-sxp/src/app/components/styleguide-section/styleguide-section.component.html +7 -7
  56. package/dist/templates/angular-sxp/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.html +3 -3
  57. package/dist/templates/angular-sxp/src/app/components/styleguide-tracking/styleguide-tracking.component.html +175 -175
  58. package/dist/templates/angular-sxp/src/app/routing/navigation/navigation.component.html +23 -23
  59. package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.component.html +3 -3
  60. package/dist/templates/angular-xmcloud/.env +0 -3
  61. package/dist/templates/angular-xmcloud/README.md +87 -88
  62. package/dist/templates/angular-xmcloud/angular.json +33 -33
  63. package/dist/templates/angular-xmcloud/package.json +17 -17
  64. package/dist/templates/angular-xmcloud/scripts/config/plugins/xmcloud.ts +0 -2
  65. package/dist/templates/angular-xmcloud/src/app/components/column-splitter/column-splitter.component.html +5 -5
  66. package/dist/templates/angular-xmcloud/src/app/components/container/container.component.html +14 -14
  67. package/dist/templates/angular-xmcloud/src/app/components/image/image.component.html +36 -36
  68. package/dist/templates/angular-xmcloud/src/app/components/link-list/link-list.component.html +15 -15
  69. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation-item.component.html +23 -23
  70. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation.component.html +21 -21
  71. package/dist/templates/angular-xmcloud/src/app/components/page-content/page-content.component.html +5 -5
  72. package/dist/templates/angular-xmcloud/src/app/components/partial-design-dynamic-placeholder/partial-design-dynamic-placeholder.component.html +1 -1
  73. package/dist/templates/angular-xmcloud/src/app/components/promo/promo.component.html +21 -21
  74. package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.html +8 -8
  75. package/dist/templates/angular-xmcloud/src/app/components/row-splitter/row-splitter.component.html +11 -11
  76. package/dist/templates/angular-xmcloud/src/app/components/title/title.component.html +10 -10
  77. package/dist/templates/angular-xmcloud/src/app/lib/config.ts +0 -1
  78. package/dist/templates/angular-xmcloud/src/app/lib/graphql-client-factory/config.ts +1 -5
  79. package/dist/templates/angular-xmcloud/src/app/routing/layout/layout.component.html +38 -38
  80. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_component.scss +48 -48
  81. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_container.scss +64 -64
  82. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_fonts.scss +3 -3
  83. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_footer.scss +31 -31
  84. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_header.scss +51 -51
  85. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_navigation.scss +150 -150
  86. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_promo.scss +58 -58
  87. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_rich-text.scss +11 -11
  88. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_variables.scss +9 -9
  89. package/dist/templates/angular-xmcloud/src/assets/styles/basic/main.scss +8 -8
  90. package/dist/templates/angular-xmcloud/src/assets/styles/main.scss +14 -14
  91. package/dist/templates/angular-xmcloud/src/assets/styles/sass/_app.scss +103 -103
  92. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_functions.scss +8 -8
  93. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_mixins.scss +121 -121
  94. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_vars.scss +3 -3
  95. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_colors.scss +283 -283
  96. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_fontSizes.scss +16 -16
  97. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_margins.scss +10 -10
  98. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/_fonts.scss +1 -1
  99. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/index.scss +1 -1
  100. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/index.scss +3 -3
  101. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/_link-button.scss +26 -26
  102. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/index.scss +1 -1
  103. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_inputs.scss +58 -58
  104. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_links.scss +14 -14
  105. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_ui-datepicker.scss +7 -7
  106. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext-files-icons.scss +86 -86
  107. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext.scss +101 -101
  108. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/index.scss +2 -2
  109. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/_typehead.scss +95 -95
  110. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/index.scss +1 -1
  111. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-column-splitter.scss +14 -14
  112. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-container.scss +27 -27
  113. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss +18 -18
  114. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-navigation.scss +51 -51
  115. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-promo.scss +42 -42
  116. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-richtext-content.scss +19 -19
  117. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_alignment.scss +25 -25
  118. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_boxed.scss +16 -16
  119. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_clearfix.scss +11 -11
  120. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_highlighted.scss +62 -62
  121. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_link-button.scss +16 -16
  122. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_promoted-box.scss +3 -3
  123. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/index.scss +5 -5
  124. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_bordered.scss +23 -23
  125. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_title-row-box.scss +66 -66
  126. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/index.scss +1 -1
  127. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/_image-default-size.scss +6 -6
  128. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/index.scss +1 -1
  129. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-left.scss +3 -3
  130. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-right.scss +3 -3
  131. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/index.scss +17 -17
  132. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_acaindent.scss +5 -5
  133. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_background.scss +27 -27
  134. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/index.scss +1 -1
  135. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_component-link-list.scss +45 -45
  136. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_list-vertical.scss +20 -20
  137. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/index.scss +2 -2
  138. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-fat.scss +58 -58
  139. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-main-horizontal-vertical.scss +176 -176
  140. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-mobile.scss +85 -85
  141. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-sidebar.scss +29 -29
  142. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_sitemap-navigation.scss +20 -20
  143. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/index.scss +5 -5
  144. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_absolute-bottom-link.scss +8 -8
  145. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-hero.scss +40 -40
  146. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-shadow.scss +42 -42
  147. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/index.scss +3 -3
  148. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/_rich-text-lists.scss +63 -63
  149. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/index.scss +1 -1
  150. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_background-colors.scss +14 -14
  151. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_indent.scss +13 -13
  152. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/index.scss +2 -2
  153. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/_component-title.scss +30 -30
  154. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/index.scss +1 -1
  155. package/dist/templates/angular-xmcloud/src/assets/styles/sass/main.scss +4 -4
  156. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/index.scss +5 -5
  157. package/dist/templates/nextjs/.eslintrc +31 -31
  158. package/dist/templates/nextjs/.gitattributes +11 -11
  159. package/dist/templates/nextjs/.graphql-let.yml +8 -8
  160. package/dist/templates/nextjs/.prettierrc +8 -8
  161. package/dist/templates/nextjs/.vscode/launch.json +15 -15
  162. package/dist/templates/nextjs/LICENSE.txt +202 -202
  163. package/dist/templates/nextjs/README.md +8 -8
  164. package/dist/templates/nextjs/gitignore +32 -32
  165. package/dist/templates/nextjs/package.json +87 -87
  166. package/dist/templates/nextjs/scripts/temp/gitignore +2 -2
  167. package/dist/templates/nextjs/sitecore/config/{{appName}}.config +165 -165
  168. package/dist/templates/nextjs/src/assets/app.css +36 -36
  169. package/dist/templates/nextjs/src/temp/GraphQLIntrospectionResult.json +22215 -22215
  170. package/dist/templates/nextjs/src/temp/gitignore +3 -3
  171. package/dist/templates/nextjs/tsconfig.json +38 -38
  172. package/dist/templates/nextjs/tsconfig.scripts.json +11 -11
  173. package/dist/templates/nextjs-styleguide/package.json +14 -14
  174. package/dist/templates/nextjs-styleguide/sitecore/definitions/components/graphql/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  175. package/dist/templates/nextjs-styleguide/sitecore/gitignore +3 -3
  176. package/dist/templates/nextjs-styleguide/src/components/graphql/GraphQL-ConnectedDemo.dynamic.graphql +69 -69
  177. package/dist/templates/nextjs-sxa/package.json +11 -11
  178. package/dist/templates/nextjs-sxa/src/assets/basic/_component.scss +48 -48
  179. package/dist/templates/nextjs-sxa/src/assets/basic/_container.scss +64 -64
  180. package/dist/templates/nextjs-sxa/src/assets/basic/_fonts.scss +3 -3
  181. package/dist/templates/nextjs-sxa/src/assets/basic/_footer.scss +31 -31
  182. package/dist/templates/nextjs-sxa/src/assets/basic/_header.scss +49 -49
  183. package/dist/templates/nextjs-sxa/src/assets/basic/_navigation.scss +150 -150
  184. package/dist/templates/nextjs-sxa/src/assets/basic/_promo.scss +58 -58
  185. package/dist/templates/nextjs-sxa/src/assets/basic/_rich-text.scss +11 -11
  186. package/dist/templates/nextjs-sxa/src/assets/basic/_variables.scss +9 -9
  187. package/dist/templates/nextjs-sxa/src/assets/basic/main.scss +8 -8
  188. package/dist/templates/nextjs-sxa/src/assets/main.scss +4 -4
  189. package/dist/templates/nextjs-sxa/src/assets/sass/_app.scss +103 -103
  190. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_functions.scss +8 -8
  191. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_mixins.scss +121 -121
  192. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_vars.scss +3 -3
  193. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_colors.scss +283 -283
  194. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_fontSizes.scss +16 -16
  195. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_margins.scss +10 -10
  196. package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/_fonts.scss +1 -1
  197. package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/index.scss +1 -1
  198. package/dist/templates/nextjs-sxa/src/assets/sass/base/index.scss +3 -3
  199. package/dist/templates/nextjs-sxa/src/assets/sass/base/links/_link-button.scss +26 -26
  200. package/dist/templates/nextjs-sxa/src/assets/sass/base/links/index.scss +1 -1
  201. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_inputs.scss +58 -58
  202. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_links.scss +14 -14
  203. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_ui-datepicker.scss +7 -7
  204. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext-files-icons.scss +86 -86
  205. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext.scss +101 -101
  206. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/index.scss +2 -2
  207. package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/_typehead.scss +95 -95
  208. package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/index.scss +1 -1
  209. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-column-splitter.scss +14 -14
  210. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-container.scss +27 -27
  211. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss +18 -18
  212. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-navigation.scss +51 -51
  213. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-promo.scss +42 -42
  214. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-richtext-content.scss +19 -19
  215. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_alignment.scss +53 -53
  216. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_boxed.scss +16 -16
  217. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_clearfix.scss +11 -11
  218. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_highlighted.scss +62 -62
  219. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_link-button.scss +16 -16
  220. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_promoted-box.scss +3 -3
  221. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/index.scss +5 -5
  222. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_bordered.scss +23 -23
  223. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_title-row-box.scss +66 -66
  224. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/index.scss +1 -1
  225. package/dist/templates/nextjs-sxa/src/assets/sass/components/image/_image-default-size.scss +6 -6
  226. package/dist/templates/nextjs-sxa/src/assets/sass/components/image/index.scss +1 -1
  227. package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-left.scss +3 -3
  228. package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-right.scss +3 -3
  229. package/dist/templates/nextjs-sxa/src/assets/sass/components/index.scss +17 -17
  230. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_acaindent.scss +5 -5
  231. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_background.scss +27 -27
  232. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/index.scss +1 -1
  233. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_component-link-list.scss +45 -45
  234. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_list-vertical.scss +20 -20
  235. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/index.scss +2 -2
  236. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-fat.scss +58 -58
  237. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-main-horizontal-vertical.scss +176 -176
  238. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-mobile.scss +85 -85
  239. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-sidebar.scss +29 -29
  240. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_sitemap-navigation.scss +20 -20
  241. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/index.scss +5 -5
  242. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_absolute-bottom-link.scss +8 -8
  243. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-hero.scss +40 -40
  244. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-shadow.scss +42 -42
  245. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/index.scss +3 -3
  246. package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/_rich-text-lists.scss +63 -63
  247. package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/index.scss +1 -1
  248. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_background-colors.scss +14 -14
  249. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_indent.scss +13 -13
  250. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/index.scss +2 -2
  251. package/dist/templates/nextjs-sxa/src/assets/sass/components/title/_component-title.scss +30 -30
  252. package/dist/templates/nextjs-sxa/src/assets/sass/components/title/index.scss +1 -1
  253. package/dist/templates/nextjs-sxa/src/assets/sass/main.scss +4 -4
  254. package/dist/templates/nextjs-sxa/src/assets/sass/variants/index.scss +5 -5
  255. package/dist/templates/nextjs-sxa/src/components/ColumnSplitter.tsx +1 -1
  256. package/dist/templates/nextjs-sxa/src/components/Container.tsx +5 -5
  257. package/dist/templates/nextjs-sxa/src/components/Image.tsx +9 -9
  258. package/dist/templates/nextjs-sxa/src/components/LinkList.tsx +1 -1
  259. package/dist/templates/nextjs-sxa/src/components/Navigation.tsx +2 -2
  260. package/dist/templates/nextjs-sxa/src/components/PageContent.tsx +3 -3
  261. package/dist/templates/nextjs-sxa/src/components/Promo.tsx +3 -3
  262. package/dist/templates/nextjs-sxa/src/components/RichText.tsx +1 -1
  263. package/dist/templates/nextjs-sxa/src/components/RowSplitter.tsx +1 -1
  264. package/dist/templates/nextjs-sxa/src/components/Title.tsx +2 -2
  265. package/dist/templates/nextjs-xmcloud/.env +19 -19
  266. package/dist/templates/nextjs-xmcloud/package.json +8 -8
  267. package/dist/templates/nextjs-xmcloud/scripts/generate-component-builder/plugins/form.ts +24 -0
  268. package/dist/templates/nextjs-xmcloud/src/byoc/index.client.tsx +0 -4
  269. package/dist/templates/nextjs-xmcloud/src/lib/next-config/plugins/monorepo-xmcloud.js +4 -0
  270. package/dist/templates/nextjs-xmcloud/src/pages/[[...path]].tsx +112 -0
  271. package/dist/templates/node-headless-ssr-experience-edge/README.md +56 -56
  272. package/dist/templates/node-headless-ssr-experience-edge/gitignore +19 -19
  273. package/dist/templates/node-headless-ssr-experience-edge/package.json +34 -34
  274. package/dist/templates/node-headless-ssr-experience-edge/tsconfig.json +22 -22
  275. package/dist/templates/node-headless-ssr-proxy/.vscode/launch.json +47 -47
  276. package/dist/templates/node-headless-ssr-proxy/LICENSE.txt +202 -202
  277. package/dist/templates/node-headless-ssr-proxy/README.md +65 -65
  278. package/dist/templates/node-headless-ssr-proxy/gitignore +19 -19
  279. package/dist/templates/node-headless-ssr-proxy/package.json +39 -39
  280. package/dist/templates/node-headless-ssr-proxy/src/error.html +200 -200
  281. package/dist/templates/node-headless-ssr-proxy/tsconfig.json +22 -22
  282. package/dist/templates/node-xmcloud-proxy/README.md +165 -156
  283. package/dist/templates/node-xmcloud-proxy/gitignore +33 -33
  284. package/dist/templates/node-xmcloud-proxy/package.json +26 -26
  285. package/dist/templates/node-xmcloud-proxy/tsconfig.json +22 -22
  286. package/dist/templates/react/.prettierrc +9 -9
  287. package/dist/templates/react/LICENSE.txt +202 -202
  288. package/dist/templates/react/README.md +2402 -2402
  289. package/dist/templates/react/gitignore +25 -25
  290. package/dist/templates/react/package.json +5 -5
  291. package/dist/templates/react/public/index.html +35 -35
  292. package/dist/templates/react/sitecore/config/{{appName}}.config +90 -90
  293. package/dist/templates/react/sitecore/definitions/components/graphql/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  294. package/dist/templates/react/sitecore/gitignore +2 -2
  295. package/dist/templates/react/src/assets/sc_logo.svg +52 -52
  296. package/dist/templates/react/src/components/graphql/query.graphql +69 -69
  297. package/dist/templates/react/src/temp/GraphQLFragmentTypes.json +207 -207
  298. package/dist/templates/react/src/temp/gitignore +3 -3
  299. package/dist/templates/react-native/package.json +4 -4
  300. package/dist/templates/vue/.browserslistrc +2 -2
  301. package/dist/templates/vue/.prettierrc +9 -9
  302. package/dist/templates/vue/LICENSE.txt +202 -202
  303. package/dist/templates/vue/README.md +36 -36
  304. package/dist/templates/vue/gitignore +25 -25
  305. package/dist/templates/vue/package.json +87 -87
  306. package/dist/templates/vue/public/index.html +27 -27
  307. package/dist/templates/vue/public/manifest.json +14 -14
  308. package/dist/templates/vue/public/robots.txt +2 -2
  309. package/dist/templates/vue/sitecore/config/{{appName}}.config +89 -89
  310. package/dist/templates/vue/sitecore/definitions/components/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  311. package/dist/templates/vue/sitecore/gitignore +4 -4
  312. package/dist/templates/vue/src/assets/app.css +30 -30
  313. package/dist/templates/vue/src/components/GraphQL/GraphQL-ConnectedDemo.query.graphql +69 -69
  314. package/dist/templates/vue/src/temp/GraphQLFragmentTypes.json +273 -273
  315. package/dist/templates/vue/src/temp/gitignore +3 -3
  316. package/package.json +2 -2
@@ -1,48 +1,48 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "name": "Launch",
6
- "type": "node",
7
- "request": "launch",
8
- "program": "${workspaceRoot}/index.js",
9
- "stopOnEntry": false,
10
- "args": [
11
- "doc"
12
- ],
13
- "cwd": "${workspaceRoot}",
14
- "preLaunchTask": null,
15
- "runtimeExecutable": null,
16
- "runtimeArgs": [
17
- "--nolazy"
18
- ],
19
- "env": {
20
- "NODE_ENV": "development"
21
- },
22
- "console": "internalConsole",
23
- "sourceMaps": false,
24
- "outFiles": []
25
- },
26
- {
27
- "name": "Attach",
28
- "type": "node",
29
- "request": "attach",
30
- "port": 3000,
31
- "address": "localhost",
32
- "restart": false,
33
- "sourceMaps": false,
34
- "outFiles": [],
35
- "localRoot": "${workspaceRoot}",
36
- "remoteRoot": null
37
- },
38
- {
39
- "name": "Attach to Process",
40
- "type": "node",
41
- "request": "attach",
42
- "processId": "${command.PickProcess}",
43
- "port": 5858,
44
- "sourceMaps": false,
45
- "outFiles": []
46
- }
47
- ]
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Launch",
6
+ "type": "node",
7
+ "request": "launch",
8
+ "program": "${workspaceRoot}/index.js",
9
+ "stopOnEntry": false,
10
+ "args": [
11
+ "doc"
12
+ ],
13
+ "cwd": "${workspaceRoot}",
14
+ "preLaunchTask": null,
15
+ "runtimeExecutable": null,
16
+ "runtimeArgs": [
17
+ "--nolazy"
18
+ ],
19
+ "env": {
20
+ "NODE_ENV": "development"
21
+ },
22
+ "console": "internalConsole",
23
+ "sourceMaps": false,
24
+ "outFiles": []
25
+ },
26
+ {
27
+ "name": "Attach",
28
+ "type": "node",
29
+ "request": "attach",
30
+ "port": 3000,
31
+ "address": "localhost",
32
+ "restart": false,
33
+ "sourceMaps": false,
34
+ "outFiles": [],
35
+ "localRoot": "${workspaceRoot}",
36
+ "remoteRoot": null
37
+ },
38
+ {
39
+ "name": "Attach to Process",
40
+ "type": "node",
41
+ "request": "attach",
42
+ "processId": "${command.PickProcess}",
43
+ "port": 5858,
44
+ "sourceMaps": false,
45
+ "outFiles": []
46
+ }
47
+ ]
48
48
  }
@@ -1,202 +1,202 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -1,65 +1,65 @@
1
- # node/express scaffolding for SSR outside of Sitecore Content Delivery
2
-
3
- This is a sample setup showing one one of how you can configure rendering server on top of node.js and Express.
4
-
5
- The setup is using `sitecore-jss-proxy` that enables request proxying to Sitecore CD along with the http cookies to enable tracking, personalization and contact identification.
6
-
7
- <!---
8
- @TODO: Update to next version docs before release
9
- -->
10
-
11
- [Documentation (Experience Platform)](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/walkthrough--rendering-a-jss-app-server-side-using-the-headless-jss-proxy.html)
12
-
13
- > This is a sample setup that is not officially supported by Sitecore.
14
-
15
- You can use this as a starting point to unlock deployment of your JSS apps to any managed node.js hosting environment (Azure App Service, Heroku, IBM BlueMix, you name it).
16
-
17
- ## Pre-requisites
18
-
19
- 1. Your Sitecore instance needs to be configured with JSS.Server and the API Key provisioned. Read more [here](https://jss.sitecore.com/docs/getting-started/jss-server-install) how to set it up.
20
-
21
- > LayoutService API should be returning output if you make the following request to your Sitecore instance. `http://sitecore-host/sitecore/api/layout/render/jss?item=/&sc_apikey={YOUR_API_KEY}`
22
-
23
- 1. Build your JS app bundle with `jss build`.
24
-
25
- > You can use any of the JSS sample apps. Other apps must support server side rendering (JSS integrated mode) to operate with this project.
26
-
27
- 1. Deploy the build artifacts from your app (`/dist` or `/build` within the app) to the `sitecoreDistPath` set in your app's `package.json` under the proxy root path. Most apps use `/dist/${jssAppName}`, for example `$proxyRoot/dist/${jssAppName}`.
28
-
29
- > Another way to deploy the artifacts to the proxy is to change the `instancePath` in your app's `scjssconfig.json` to the proxy root path, and then use `jss deploy files` within the app to complete the deployment to the proxy.
30
-
31
- ## Setup
32
-
33
- Open `config.js` and specify your application bundle and connection settings to your Sitecore CD instance. `config.js` is heavily commented for your perusal.
34
-
35
- ### Environment Variables
36
-
37
- The following environment variables can be set to configure the proxy instead of modifying `config.js`. You can use the `.env` file located in the root of the app or set these directly in the environment (for example, in containers).
38
-
39
- | Parameter | Description |
40
- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
41
- | `SITECORE_JSS_APP_NAME` | The JSS app's name. Used in the default value of `SITECORE_JSS_SERVER_BUNDLE` if it's not set. Used as the `SITECORE_SITE_NAME` if it's not set. |
42
- | `SITECORE_SITE_NAME` | The Sitecore site name. Used for layout and dictionary data requests. |
43
- | `SITECORE_JSS_SERVER_BUNDLE` | Path to the JSS app's `server.bundle.js` file. |
44
- | `SITECORE_API_HOST` | Sitecore instance host name. Should be HTTPS in production. |
45
- | `SITECORE_LAYOUT_SERVICE_ROUTE` | Optional. The path to layout service for the JSS application. Defaults to `/sitecore/api/layout/render/jss`. |
46
- | `SITECORE_API_KEY` | The Sitecore SSC API key your app uses. |
47
- | `SITECORE_PATH_REWRITE_EXCLUDE_ROUTES` | Optional. Pipe-separated list of absolute paths that should not be rendered through SSR. Defaults can be seen in [config.js](./config.js). |
48
- | `SITECORE_ENABLE_DEBUG` | Optional. Writes verbose request info to stdout for debugging. Defaults to `false`. |
49
-
50
- ## Build & run
51
-
52
- 1. Run `npm install`
53
-
54
- 1. Run `npm run start`
55
-
56
- You should be able to see the following message:
57
- `server listening on port 3000!` and see all the communication between this server and your Sitecore CD instance in the console.
58
-
59
- More info on this setup can be found [here](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/sitecore-headless-services.html).
60
-
61
- ## Production Notes
62
-
63
- - Ensure that `debug: false` in `config.js`. Console output will cause terrible scaling.
64
- - Customise `error.html` in case your app throws HTTP 500 errors.
65
- - Load test the proxy prior to launch to ensure proper performance levels for your needs.
1
+ # node/express scaffolding for SSR outside of Sitecore Content Delivery
2
+
3
+ This is a sample setup showing one one of how you can configure rendering server on top of node.js and Express.
4
+
5
+ The setup is using `sitecore-jss-proxy` that enables request proxying to Sitecore CD along with the http cookies to enable tracking, personalization and contact identification.
6
+
7
+ <!---
8
+ @TODO: Update to next version docs before release
9
+ -->
10
+
11
+ [Documentation (Experience Platform)](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/walkthrough--rendering-a-jss-app-server-side-using-the-headless-jss-proxy.html)
12
+
13
+ > This is a sample setup that is not officially supported by Sitecore.
14
+
15
+ You can use this as a starting point to unlock deployment of your JSS apps to any managed node.js hosting environment (Azure App Service, Heroku, IBM BlueMix, you name it).
16
+
17
+ ## Pre-requisites
18
+
19
+ 1. Your Sitecore instance needs to be configured with JSS.Server and the API Key provisioned. Read more [here](https://jss.sitecore.com/docs/getting-started/jss-server-install) how to set it up.
20
+
21
+ > LayoutService API should be returning output if you make the following request to your Sitecore instance. `http://sitecore-host/sitecore/api/layout/render/jss?item=/&sc_apikey={YOUR_API_KEY}`
22
+
23
+ 1. Build your JS app bundle with `jss build`.
24
+
25
+ > You can use any of the JSS sample apps. Other apps must support server side rendering (JSS integrated mode) to operate with this project.
26
+
27
+ 1. Deploy the build artifacts from your app (`/dist` or `/build` within the app) to the `sitecoreDistPath` set in your app's `package.json` under the proxy root path. Most apps use `/dist/${jssAppName}`, for example `$proxyRoot/dist/${jssAppName}`.
28
+
29
+ > Another way to deploy the artifacts to the proxy is to change the `instancePath` in your app's `scjssconfig.json` to the proxy root path, and then use `jss deploy files` within the app to complete the deployment to the proxy.
30
+
31
+ ## Setup
32
+
33
+ Open `config.js` and specify your application bundle and connection settings to your Sitecore CD instance. `config.js` is heavily commented for your perusal.
34
+
35
+ ### Environment Variables
36
+
37
+ The following environment variables can be set to configure the proxy instead of modifying `config.js`. You can use the `.env` file located in the root of the app or set these directly in the environment (for example, in containers).
38
+
39
+ | Parameter | Description |
40
+ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
41
+ | `SITECORE_JSS_APP_NAME` | The JSS app's name. Used in the default value of `SITECORE_JSS_SERVER_BUNDLE` if it's not set. Used as the `SITECORE_SITE_NAME` if it's not set. |
42
+ | `SITECORE_SITE_NAME` | The Sitecore site name. Used for layout and dictionary data requests. |
43
+ | `SITECORE_JSS_SERVER_BUNDLE` | Path to the JSS app's `server.bundle.js` file. |
44
+ | `SITECORE_API_HOST` | Sitecore instance host name. Should be HTTPS in production. |
45
+ | `SITECORE_LAYOUT_SERVICE_ROUTE` | Optional. The path to layout service for the JSS application. Defaults to `/sitecore/api/layout/render/jss`. |
46
+ | `SITECORE_API_KEY` | The Sitecore SSC API key your app uses. |
47
+ | `SITECORE_PATH_REWRITE_EXCLUDE_ROUTES` | Optional. Pipe-separated list of absolute paths that should not be rendered through SSR. Defaults can be seen in [config.js](./config.js). |
48
+ | `SITECORE_ENABLE_DEBUG` | Optional. Writes verbose request info to stdout for debugging. Defaults to `false`. |
49
+
50
+ ## Build & run
51
+
52
+ 1. Run `npm install`
53
+
54
+ 1. Run `npm run start`
55
+
56
+ You should be able to see the following message:
57
+ `server listening on port 3000!` and see all the communication between this server and your Sitecore CD instance in the console.
58
+
59
+ More info on this setup can be found [here](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/sitecore-headless-services.html).
60
+
61
+ ## Production Notes
62
+
63
+ - Ensure that `debug: false` in `config.js`. Console output will cause terrible scaling.
64
+ - Customise `error.html` in case your app throws HTTP 500 errors.
65
+ - Load test the proxy prior to launch to ensure proper performance levels for your needs.