create-sitecore-jss 22.5.0-canary.9 → 22.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/LICENSE.MD +202 -202
  2. package/README.md +10 -10
  3. package/dist/templates/angular/.eslintignore +3 -3
  4. package/dist/templates/angular/.eslintrc +66 -66
  5. package/dist/templates/angular/LICENSE.txt +202 -202
  6. package/dist/templates/angular/README.md +13 -13
  7. package/dist/templates/angular/angular.json +171 -171
  8. package/dist/templates/angular/e2e/tsconfig.e2e.json +15 -15
  9. package/dist/templates/angular/gitignore +52 -52
  10. package/dist/templates/angular/package.json +116 -116
  11. package/dist/templates/angular/scripts/temp/gitignore +2 -2
  12. package/dist/templates/angular/src/app/app.component.html +1 -1
  13. package/dist/templates/angular/src/app/components/content-block/content-block.component.html +4 -4
  14. package/dist/templates/angular/src/app/components/gitignore +7 -7
  15. package/dist/templates/angular/src/app/routing/layout/layout.component.html +17 -17
  16. package/dist/templates/angular/src/app/routing/navigation/navigation.component.html +20 -20
  17. package/dist/templates/angular/src/app/routing/not-found/not-found.component.html +7 -7
  18. package/dist/templates/angular/src/app/routing/scripts/scripts.component.html +1 -1
  19. package/dist/templates/angular/src/app/routing/server-error/server-error.component.html +3 -3
  20. package/dist/templates/angular/src/assets/images/sc_logo.svg +52 -52
  21. package/dist/templates/angular/src/environments/gitignore +1 -1
  22. package/dist/templates/angular/src/index.html +12 -12
  23. package/dist/templates/angular/src/styles.css +34 -34
  24. package/dist/templates/angular/src/tsconfig.app.json +21 -21
  25. package/dist/templates/angular/src/tsconfig.server.json +20 -20
  26. package/dist/templates/angular/src/tsconfig.spec.json +24 -24
  27. package/dist/templates/angular/src/tsconfig.webpack-server.json +6 -6
  28. package/dist/templates/angular/tsconfig.json +38 -38
  29. package/dist/templates/angular-sxp/.env +2 -2
  30. package/dist/templates/angular-sxp/angular.json +13 -13
  31. package/dist/templates/angular-sxp/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  32. package/dist/templates/angular-sxp/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  33. package/dist/templates/angular-sxp/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  34. package/dist/templates/angular-sxp/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  35. package/dist/templates/angular-sxp/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  36. package/dist/templates/angular-sxp/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  37. package/dist/templates/angular-sxp/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  38. package/dist/templates/angular-sxp/data/dictionary/en.yml +4 -4
  39. package/dist/templates/angular-sxp/data/dictionary/{{language}}.yml +4 -4
  40. package/dist/templates/angular-sxp/data/routes/en.yml +61 -61
  41. package/dist/templates/angular-sxp/data/routes/graphql/en.yml +27 -27
  42. package/dist/templates/angular-sxp/data/routes/graphql/sample-1/en.yml +9 -9
  43. package/dist/templates/angular-sxp/data/routes/graphql/sample-2/en.yml +9 -9
  44. package/dist/templates/angular-sxp/data/routes/styleguide/custom-route-type/en.yml +12 -12
  45. package/dist/templates/angular-sxp/data/routes/styleguide/en.yml +271 -271
  46. package/dist/templates/angular-sxp/data/routes/styleguide/{{language}}.yml +25 -25
  47. package/dist/templates/angular-sxp/data/routes/{{language}}.yml +4 -4
  48. package/dist/templates/angular-sxp/package.json +12 -12
  49. package/dist/templates/angular-sxp/sitecore/config/{{appName}}.config +90 -90
  50. package/dist/templates/angular-sxp/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +71 -71
  51. package/dist/templates/angular-sxp/sitecore/gitignore +2 -2
  52. package/dist/templates/angular-sxp/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.graphql +69 -69
  53. package/dist/templates/angular-sxp/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +55 -55
  54. package/dist/templates/angular-sxp/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +47 -47
  55. package/dist/templates/angular-sxp/src/app/components/graph-ql-layout/graph-ql-layout.component.html +22 -22
  56. package/dist/templates/angular-sxp/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.html +5 -5
  57. package/dist/templates/angular-sxp/src/app/components/styleguide-component-params/styleguide-component-params.component.html +19 -19
  58. package/dist/templates/angular-sxp/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.html +14 -14
  59. package/dist/templates/angular-sxp/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.html +19 -19
  60. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.html +11 -11
  61. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +26 -26
  62. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.html +4 -4
  63. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.html +27 -27
  64. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.html +10 -10
  65. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html +30 -30
  66. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +17 -17
  67. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.html +44 -44
  68. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.html +11 -11
  69. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.html +11 -11
  70. package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.html +13 -13
  71. package/dist/templates/angular-sxp/src/app/components/styleguide-layout/styleguide-layout.component.html +20 -20
  72. package/dist/templates/angular-sxp/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.html +52 -52
  73. package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +37 -37
  74. package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +12 -12
  75. package/dist/templates/angular-sxp/src/app/components/styleguide-multilingual/styleguide-multilingual.component.html +15 -15
  76. package/dist/templates/angular-sxp/src/app/components/styleguide-route-fields/styleguide-route-fields.component.html +8 -8
  77. package/dist/templates/angular-sxp/src/app/components/styleguide-section/styleguide-section.component.html +7 -7
  78. package/dist/templates/angular-sxp/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.html +3 -3
  79. package/dist/templates/angular-sxp/src/app/components/styleguide-tracking/styleguide-tracking.component.html +175 -175
  80. package/dist/templates/angular-sxp/src/app/routing/navigation/navigation.component.html +23 -23
  81. package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.component.html +3 -3
  82. package/dist/templates/angular-xmcloud/README.md +87 -87
  83. package/dist/templates/angular-xmcloud/angular.json +33 -33
  84. package/dist/templates/angular-xmcloud/package.json +17 -17
  85. package/dist/templates/angular-xmcloud/src/app/components/column-splitter/column-splitter.component.html +5 -5
  86. package/dist/templates/angular-xmcloud/src/app/components/container/container.component.html +14 -14
  87. package/dist/templates/angular-xmcloud/src/app/components/image/image.component.html +36 -36
  88. package/dist/templates/angular-xmcloud/src/app/components/link-list/link-list.component.html +15 -15
  89. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation-item.component.html +23 -23
  90. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation.component.html +21 -21
  91. package/dist/templates/angular-xmcloud/src/app/components/page-content/page-content.component.html +5 -5
  92. package/dist/templates/angular-xmcloud/src/app/components/partial-design-dynamic-placeholder/partial-design-dynamic-placeholder.component.html +1 -1
  93. package/dist/templates/angular-xmcloud/src/app/components/promo/promo.component.html +21 -21
  94. package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.html +8 -8
  95. package/dist/templates/angular-xmcloud/src/app/components/row-splitter/row-splitter.component.html +11 -11
  96. package/dist/templates/angular-xmcloud/src/app/components/title/title.component.html +10 -10
  97. package/dist/templates/angular-xmcloud/src/app/routing/layout/layout.component.html +38 -38
  98. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_component.scss +48 -48
  99. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_container.scss +64 -64
  100. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_fonts.scss +3 -3
  101. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_footer.scss +31 -31
  102. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_header.scss +51 -51
  103. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_navigation.scss +150 -150
  104. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_promo.scss +58 -58
  105. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_rich-text.scss +11 -11
  106. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_variables.scss +9 -9
  107. package/dist/templates/angular-xmcloud/src/assets/styles/basic/main.scss +8 -8
  108. package/dist/templates/angular-xmcloud/src/assets/styles/main.scss +14 -14
  109. package/dist/templates/angular-xmcloud/src/assets/styles/sass/_app.scss +103 -103
  110. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_functions.scss +8 -8
  111. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_mixins.scss +121 -121
  112. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_vars.scss +3 -3
  113. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_colors.scss +283 -283
  114. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_fontSizes.scss +16 -16
  115. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_margins.scss +10 -10
  116. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/_fonts.scss +1 -1
  117. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/index.scss +1 -1
  118. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/index.scss +3 -3
  119. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/_link-button.scss +26 -26
  120. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/index.scss +1 -1
  121. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_inputs.scss +58 -58
  122. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_links.scss +14 -14
  123. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_ui-datepicker.scss +7 -7
  124. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext-files-icons.scss +86 -86
  125. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext.scss +101 -101
  126. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/index.scss +2 -2
  127. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/_typehead.scss +95 -95
  128. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/index.scss +1 -1
  129. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-column-splitter.scss +14 -14
  130. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-container.scss +27 -27
  131. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss +18 -18
  132. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-navigation.scss +51 -51
  133. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-promo.scss +42 -42
  134. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-richtext-content.scss +19 -19
  135. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_alignment.scss +25 -25
  136. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_boxed.scss +16 -16
  137. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_clearfix.scss +11 -11
  138. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_highlighted.scss +62 -62
  139. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_link-button.scss +16 -16
  140. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_promoted-box.scss +3 -3
  141. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/index.scss +5 -5
  142. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_bordered.scss +23 -23
  143. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_title-row-box.scss +66 -66
  144. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/index.scss +1 -1
  145. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/_image-default-size.scss +6 -6
  146. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/index.scss +1 -1
  147. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-left.scss +3 -3
  148. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-right.scss +3 -3
  149. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/index.scss +17 -17
  150. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_acaindent.scss +5 -5
  151. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_background.scss +27 -27
  152. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/index.scss +1 -1
  153. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_component-link-list.scss +45 -45
  154. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_list-vertical.scss +20 -20
  155. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/index.scss +2 -2
  156. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-fat.scss +58 -58
  157. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-main-horizontal-vertical.scss +176 -176
  158. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-mobile.scss +85 -85
  159. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-sidebar.scss +29 -29
  160. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_sitemap-navigation.scss +20 -20
  161. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/index.scss +5 -5
  162. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_absolute-bottom-link.scss +8 -8
  163. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-hero.scss +40 -40
  164. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-shadow.scss +42 -42
  165. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/index.scss +3 -3
  166. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/_rich-text-lists.scss +63 -63
  167. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/index.scss +1 -1
  168. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_background-colors.scss +14 -14
  169. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_indent.scss +13 -13
  170. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/index.scss +2 -2
  171. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/_component-title.scss +30 -30
  172. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/index.scss +1 -1
  173. package/dist/templates/angular-xmcloud/src/assets/styles/sass/main.scss +4 -4
  174. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/index.scss +5 -5
  175. package/dist/templates/nextjs/.eslintrc +31 -31
  176. package/dist/templates/nextjs/.gitattributes +11 -11
  177. package/dist/templates/nextjs/.graphql-let.yml +8 -8
  178. package/dist/templates/nextjs/.prettierrc +8 -8
  179. package/dist/templates/nextjs/.vscode/launch.json +15 -15
  180. package/dist/templates/nextjs/LICENSE.txt +202 -202
  181. package/dist/templates/nextjs/README.md +8 -8
  182. package/dist/templates/nextjs/gitignore +32 -32
  183. package/dist/templates/nextjs/package.json +87 -87
  184. package/dist/templates/nextjs/public/sc_logo.svg +52 -52
  185. package/dist/templates/nextjs/scripts/temp/gitignore +2 -2
  186. package/dist/templates/nextjs/sitecore/config/{{appName}}.config +165 -165
  187. package/dist/templates/nextjs/src/assets/app.css +36 -36
  188. package/dist/templates/nextjs/src/temp/GraphQLIntrospectionResult.json +22215 -22215
  189. package/dist/templates/nextjs/src/temp/gitignore +3 -3
  190. package/dist/templates/nextjs/tsconfig.json +38 -38
  191. package/dist/templates/nextjs/tsconfig.scripts.json +11 -11
  192. package/dist/templates/nextjs-styleguide/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  193. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  194. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  195. package/dist/templates/nextjs-styleguide/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  196. package/dist/templates/nextjs-styleguide/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  197. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  198. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  199. package/dist/templates/nextjs-styleguide/data/dictionary/en.yml +4 -4
  200. package/dist/templates/nextjs-styleguide/data/dictionary/{{language}}.yml +4 -4
  201. package/dist/templates/nextjs-styleguide/data/routes/en.yml +63 -63
  202. package/dist/templates/nextjs-styleguide/data/routes/graphql/en.yml +27 -27
  203. package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-1/en.yml +9 -9
  204. package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-2/en.yml +9 -9
  205. package/dist/templates/nextjs-styleguide/data/routes/styleguide/custom-route-type/en.yml +12 -12
  206. package/dist/templates/nextjs-styleguide/data/routes/styleguide/en.yml +259 -259
  207. package/dist/templates/nextjs-styleguide/data/routes/styleguide/{{language}}.yml +25 -25
  208. package/dist/templates/nextjs-styleguide/data/routes/{{language}}.yml +4 -4
  209. package/dist/templates/nextjs-styleguide/package.json +14 -14
  210. package/dist/templates/nextjs-styleguide/sitecore/definitions/components/graphql/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  211. package/dist/templates/nextjs-styleguide/sitecore/gitignore +3 -3
  212. package/dist/templates/nextjs-styleguide/src/components/graphql/GraphQL-ConnectedDemo.dynamic.graphql +69 -69
  213. package/dist/templates/nextjs-styleguide-tracking/data/dictionary/en.yml +5 -5
  214. package/dist/templates/nextjs-styleguide-tracking/data/routes/tracking/en.yml +8 -8
  215. package/dist/templates/nextjs-sxa/package.json +11 -11
  216. package/dist/templates/nextjs-sxa/src/assets/basic/_component.scss +48 -48
  217. package/dist/templates/nextjs-sxa/src/assets/basic/_container.scss +64 -64
  218. package/dist/templates/nextjs-sxa/src/assets/basic/_fonts.scss +3 -3
  219. package/dist/templates/nextjs-sxa/src/assets/basic/_footer.scss +31 -31
  220. package/dist/templates/nextjs-sxa/src/assets/basic/_header.scss +49 -49
  221. package/dist/templates/nextjs-sxa/src/assets/basic/_navigation.scss +150 -150
  222. package/dist/templates/nextjs-sxa/src/assets/basic/_promo.scss +58 -58
  223. package/dist/templates/nextjs-sxa/src/assets/basic/_rich-text.scss +11 -11
  224. package/dist/templates/nextjs-sxa/src/assets/basic/_variables.scss +9 -9
  225. package/dist/templates/nextjs-sxa/src/assets/basic/main.scss +8 -8
  226. package/dist/templates/nextjs-sxa/src/assets/main.scss +4 -4
  227. package/dist/templates/nextjs-sxa/src/assets/sass/_app.scss +103 -103
  228. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_functions.scss +8 -8
  229. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_mixins.scss +121 -121
  230. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_vars.scss +3 -3
  231. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_colors.scss +283 -283
  232. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_fontSizes.scss +16 -16
  233. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_margins.scss +10 -10
  234. package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/_fonts.scss +1 -1
  235. package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/index.scss +1 -1
  236. package/dist/templates/nextjs-sxa/src/assets/sass/base/index.scss +3 -3
  237. package/dist/templates/nextjs-sxa/src/assets/sass/base/links/_link-button.scss +26 -26
  238. package/dist/templates/nextjs-sxa/src/assets/sass/base/links/index.scss +1 -1
  239. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_inputs.scss +58 -58
  240. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_links.scss +14 -14
  241. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_ui-datepicker.scss +7 -7
  242. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext-files-icons.scss +86 -86
  243. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext.scss +101 -101
  244. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/index.scss +2 -2
  245. package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/_typehead.scss +95 -95
  246. package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/index.scss +1 -1
  247. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-column-splitter.scss +14 -14
  248. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-container.scss +27 -27
  249. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss +18 -18
  250. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-navigation.scss +51 -51
  251. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-promo.scss +42 -42
  252. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-richtext-content.scss +19 -19
  253. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_alignment.scss +53 -53
  254. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_boxed.scss +16 -16
  255. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_clearfix.scss +11 -11
  256. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_highlighted.scss +62 -62
  257. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_link-button.scss +16 -16
  258. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_promoted-box.scss +3 -3
  259. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/index.scss +5 -5
  260. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_bordered.scss +23 -23
  261. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_title-row-box.scss +66 -66
  262. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/index.scss +1 -1
  263. package/dist/templates/nextjs-sxa/src/assets/sass/components/image/_image-default-size.scss +6 -6
  264. package/dist/templates/nextjs-sxa/src/assets/sass/components/image/index.scss +1 -1
  265. package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-left.scss +3 -3
  266. package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-right.scss +3 -3
  267. package/dist/templates/nextjs-sxa/src/assets/sass/components/index.scss +17 -17
  268. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_acaindent.scss +5 -5
  269. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_background.scss +27 -27
  270. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/index.scss +1 -1
  271. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_component-link-list.scss +45 -45
  272. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_list-vertical.scss +20 -20
  273. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/index.scss +2 -2
  274. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-fat.scss +58 -58
  275. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-main-horizontal-vertical.scss +176 -176
  276. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-mobile.scss +85 -85
  277. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-sidebar.scss +29 -29
  278. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_sitemap-navigation.scss +20 -20
  279. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/index.scss +5 -5
  280. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_absolute-bottom-link.scss +8 -8
  281. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-hero.scss +40 -40
  282. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-shadow.scss +42 -42
  283. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/index.scss +3 -3
  284. package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/_rich-text-lists.scss +63 -63
  285. package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/index.scss +1 -1
  286. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_background-colors.scss +14 -14
  287. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_indent.scss +13 -13
  288. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/index.scss +2 -2
  289. package/dist/templates/nextjs-sxa/src/assets/sass/components/title/_component-title.scss +30 -30
  290. package/dist/templates/nextjs-sxa/src/assets/sass/components/title/index.scss +1 -1
  291. package/dist/templates/nextjs-sxa/src/assets/sass/main.scss +4 -4
  292. package/dist/templates/nextjs-sxa/src/assets/sass/variants/index.scss +5 -5
  293. package/dist/templates/nextjs-xmcloud/.env +19 -19
  294. package/dist/templates/nextjs-xmcloud/package.json +8 -8
  295. package/dist/templates/node-headless-ssr-experience-edge/README.md +56 -56
  296. package/dist/templates/node-headless-ssr-experience-edge/gitignore +19 -19
  297. package/dist/templates/node-headless-ssr-experience-edge/package.json +34 -34
  298. package/dist/templates/node-headless-ssr-experience-edge/tsconfig.json +22 -22
  299. package/dist/templates/node-headless-ssr-proxy/.vscode/launch.json +47 -47
  300. package/dist/templates/node-headless-ssr-proxy/LICENSE.txt +202 -202
  301. package/dist/templates/node-headless-ssr-proxy/README.md +65 -65
  302. package/dist/templates/node-headless-ssr-proxy/gitignore +19 -19
  303. package/dist/templates/node-headless-ssr-proxy/package.json +39 -39
  304. package/dist/templates/node-headless-ssr-proxy/src/error.html +200 -200
  305. package/dist/templates/node-headless-ssr-proxy/tsconfig.json +22 -22
  306. package/dist/templates/node-xmcloud-proxy/README.md +165 -165
  307. package/dist/templates/node-xmcloud-proxy/gitignore +33 -33
  308. package/dist/templates/node-xmcloud-proxy/package.json +26 -26
  309. package/dist/templates/node-xmcloud-proxy/tsconfig.json +22 -22
  310. package/dist/templates/react/.prettierrc +9 -9
  311. package/dist/templates/react/LICENSE.txt +202 -202
  312. package/dist/templates/react/README.md +2402 -2402
  313. package/dist/templates/react/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  314. package/dist/templates/react/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  315. package/dist/templates/react/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  316. package/dist/templates/react/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  317. package/dist/templates/react/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  318. package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  319. package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  320. package/dist/templates/react/data/dictionary/en.yml +4 -4
  321. package/dist/templates/react/data/dictionary/{{language}}.yml +4 -4
  322. package/dist/templates/react/data/routes/en.yml +61 -61
  323. package/dist/templates/react/data/routes/graphql/en.yml +27 -27
  324. package/dist/templates/react/data/routes/graphql/sample-1/en.yml +9 -9
  325. package/dist/templates/react/data/routes/graphql/sample-2/en.yml +9 -9
  326. package/dist/templates/react/data/routes/styleguide/custom-route-type/en.yml +12 -12
  327. package/dist/templates/react/data/routes/styleguide/en.yml +263 -263
  328. package/dist/templates/react/data/routes/styleguide/{{language}}.yml +26 -26
  329. package/dist/templates/react/data/routes/{{language}}.yml +4 -4
  330. package/dist/templates/react/gitignore +25 -25
  331. package/dist/templates/react/public/index.html +35 -35
  332. package/dist/templates/react/sitecore/config/{{appName}}.config +90 -90
  333. package/dist/templates/react/sitecore/definitions/components/graphql/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  334. package/dist/templates/react/sitecore/gitignore +2 -2
  335. package/dist/templates/react/src/assets/sc_logo.svg +52 -52
  336. package/dist/templates/react/src/components/graphql/query.graphql +69 -69
  337. package/dist/templates/react/src/temp/GraphQLFragmentTypes.json +207 -207
  338. package/dist/templates/react/src/temp/gitignore +3 -3
  339. package/dist/templates/react-native/.buckconfig +6 -6
  340. package/dist/templates/react-native/.eslintrc +74 -74
  341. package/dist/templates/react-native/.gitattributes +1 -1
  342. package/dist/templates/react-native/.prettierrc +9 -9
  343. package/dist/templates/react-native/.vscode/launch.json +42 -42
  344. package/dist/templates/react-native/.vscode/settings.json +1 -1
  345. package/dist/templates/react-native/LICENSE.txt +202 -202
  346. package/dist/templates/react-native/README.MD +115 -115
  347. package/dist/templates/react-native/android/app/BUCK +55 -55
  348. package/dist/templates/react-native/android/app/build.gradle +201 -201
  349. package/dist/templates/react-native/android/app/build_defs.bzl +19 -19
  350. package/dist/templates/react-native/android/app/proguard-rules.pro +10 -10
  351. package/dist/templates/react-native/android/app/src/debug/AndroidManifest.xml +8 -8
  352. package/dist/templates/react-native/android/app/src/main/AndroidManifest.xml +26 -26
  353. package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainActivity.java +15 -15
  354. package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainApplication.java +74 -74
  355. package/dist/templates/react-native/android/app/src/main/res/values/strings.xml +3 -3
  356. package/dist/templates/react-native/android/app/src/main/res/values/styles.xml +9 -9
  357. package/dist/templates/react-native/android/build.gradle +38 -38
  358. package/dist/templates/react-native/android/gradle/wrapper/gradle-wrapper.properties +5 -5
  359. package/dist/templates/react-native/android/gradle.properties +21 -21
  360. package/dist/templates/react-native/android/gradlew +188 -188
  361. package/dist/templates/react-native/android/gradlew.bat +100 -100
  362. package/dist/templates/react-native/android/settings.gradle +3 -3
  363. package/dist/templates/react-native/app.json +3 -3
  364. package/dist/templates/react-native/assets/img/sc_logo.svg +52 -52
  365. package/dist/templates/react-native/data/content/Styleguide/ItemLinkField/Item1/en.json +10 -10
  366. package/dist/templates/react-native/data/routes/en.json +22 -22
  367. package/dist/templates/react-native/data/routes/styleguide/en.json +227 -227
  368. package/dist/templates/react-native/data/routes/styleguide/{{language}}.json +31 -31
  369. package/dist/templates/react-native/data/routes/{{language}}.json +7 -7
  370. package/dist/templates/react-native/gitignore +60 -60
  371. package/dist/templates/react-native/ios/Podfile +53 -53
  372. package/dist/templates/react-native/ios/{{appName}}/AppDelegate.h +15 -15
  373. package/dist/templates/react-native/ios/{{appName}}/AppDelegate.m +42 -42
  374. package/dist/templates/react-native/ios/{{appName}}/Base.lproj/LaunchScreen.xib +42 -42
  375. package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/AppIcon.appiconset/Contents.json +38 -38
  376. package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/Contents.json +6 -6
  377. package/dist/templates/react-native/ios/{{appName}}/Info.plist +57 -57
  378. package/dist/templates/react-native/ios/{{appName}}/main.m +16 -16
  379. package/dist/templates/react-native/ios/{{appName}}-tvOS/Info.plist +53 -53
  380. package/dist/templates/react-native/ios/{{appName}}-tvOSTests/Info.plist +24 -24
  381. package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative-tvOS.xcscheme +129 -129
  382. package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative.xcscheme +129 -129
  383. package/dist/templates/react-native/ios/{{appName}}Tests/BasicSampleReactNativeTests.m +72 -72
  384. package/dist/templates/react-native/ios/{{appName}}Tests/Info.plist +24 -24
  385. package/dist/templates/react-native/package.json +78 -78
  386. package/dist/templates/react-native/sitecore/config/{{appName}}.config +47 -47
  387. package/dist/templates/react-native/sitecore/gitignore +2 -2
  388. package/dist/templates/vue/.browserslistrc +2 -2
  389. package/dist/templates/vue/.prettierrc +9 -9
  390. package/dist/templates/vue/LICENSE.txt +202 -202
  391. package/dist/templates/vue/README.md +36 -36
  392. package/dist/templates/vue/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  393. package/dist/templates/vue/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  394. package/dist/templates/vue/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  395. package/dist/templates/vue/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  396. package/dist/templates/vue/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  397. package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  398. package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  399. package/dist/templates/vue/data/dictionary/en.yml +7 -7
  400. package/dist/templates/vue/data/dictionary/{{language}}.yml +7 -7
  401. package/dist/templates/vue/data/routes/en.yml +63 -63
  402. package/dist/templates/vue/data/routes/graphql/en.yml +34 -34
  403. package/dist/templates/vue/data/routes/graphql/sample-1/en.yml +9 -9
  404. package/dist/templates/vue/data/routes/graphql/sample-2/en.yml +9 -9
  405. package/dist/templates/vue/data/routes/styleguide/custom-route-type/en.yml +12 -12
  406. package/dist/templates/vue/data/routes/styleguide/en.yml +264 -264
  407. package/dist/templates/vue/data/routes/styleguide/{{language}}.yml +26 -26
  408. package/dist/templates/vue/data/routes/{{language}}.yml +4 -4
  409. package/dist/templates/vue/gitignore +25 -25
  410. package/dist/templates/vue/package.json +87 -87
  411. package/dist/templates/vue/public/img/icons/safari-pinned-tab.svg +75 -75
  412. package/dist/templates/vue/public/index.html +27 -27
  413. package/dist/templates/vue/public/manifest.json +14 -14
  414. package/dist/templates/vue/public/robots.txt +2 -2
  415. package/dist/templates/vue/sitecore/config/{{appName}}.config +89 -89
  416. package/dist/templates/vue/sitecore/definitions/components/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  417. package/dist/templates/vue/sitecore/gitignore +4 -4
  418. package/dist/templates/vue/src/assets/app.css +30 -30
  419. package/dist/templates/vue/src/assets/sc_logo.svg +52 -52
  420. package/dist/templates/vue/src/components/GraphQL/GraphQL-ConnectedDemo.query.graphql +69 -69
  421. package/dist/templates/vue/src/temp/GraphQLFragmentTypes.json +273 -273
  422. package/dist/templates/vue/src/temp/gitignore +3 -3
  423. package/package.json +2 -2
@@ -1,87 +1,87 @@
1
- {
2
- "name": "<%- appName %>",
3
- "description": "Application utilizing Sitecore JavaScript Services and Next.js",
4
- "version": "<%- version %>",
5
- "private": true,
6
- "config": {
7
- "appName": "<%- appName %>",
8
- "rootPlaceholders": [
9
- "<%- helper.getAppPrefix(appPrefix, appName) %>jss-main"
10
- ],
11
- "sitecoreConfigPath": "/App_Config/Include/zzz",
12
- "graphQLEndpointPath": "/sitecore/api/graph/edge",
13
- "language": "en"
14
- },
15
- "author": {
16
- "name": "Sitecore Corporation",
17
- "url": "https://jss.sitecore.com"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/sitecore/jss.git"
22
- },
23
- "bugs": {
24
- "url": "https://github.com/sitecore/jss/issues"
25
- },
26
- "license": "Apache-2.0",
27
- "dependencies": {
28
- "@sitecore-jss/sitecore-jss-nextjs": "~<%- version %>",
29
- "graphql": "~15.8.0",
30
- "graphql-tag": "^2.12.6",
31
- "next": "^14.2.18",
32
- "next-localization": "^0.12.0",
33
- "react": "^18.2.0",
34
- "react-dom": "^18.2.0",
35
- "sharp": "0.32.6"
36
- },
37
- "devDependencies": {
38
- "@graphql-codegen/cli": "^5.0.0",
39
- "@graphql-codegen/import-types-preset": "^3.0.0",
40
- "@graphql-codegen/plugin-helpers": "^5.0.1",
41
- "@graphql-codegen/typed-document-node": "^5.0.1",
42
- "@graphql-codegen/typescript": "^4.0.1",
43
- "@graphql-codegen/typescript-operations": "^4.0.1",
44
- "@graphql-codegen/typescript-resolvers": "^4.0.1",
45
- "@graphql-typed-document-node/core": "^3.2.0",
46
- "@sitecore-jss/sitecore-jss-cli": "~<%- version %>",
47
- "@sitecore-jss/sitecore-jss-dev-tools": "~<%- version %>",
48
- "@types/node": "^22.9.0",
49
- "@types/react": "^18.2.22",
50
- "@types/react-dom": "^18.0.5",
51
- "@typescript-eslint/eslint-plugin": "^8.14.0",
52
- "@typescript-eslint/parser": "^8.14.0",
53
- "chalk": "~4.1.2",
54
- "chokidar": "~3.5.3",
55
- "constant-case": "^3.0.4",
56
- "cross-env": "~7.0.3",
57
- "dotenv-flow": "^4.1.0",
58
- "eslint": "^8.56.0",
59
- "eslint-config-next": "^13.1.5",
60
- "eslint-config-prettier": "^8.6.0",
61
- "eslint-plugin-prettier": "^4.2.1",
62
- "eslint-plugin-react": "^7.32.1",
63
- "eslint-plugin-yaml": "^0.5.0",
64
- "graphql-let": "^0.18.6",
65
- "npm-run-all": "~4.1.5",
66
- "prettier": "^2.8.3",
67
- "ts-node": "^10.9.1",
68
- "tsconfig-paths": "^4.1.2",
69
- "typescript": "~5.4.0",
70
- "yaml-loader": "^0.8.0"
71
- },
72
- "scripts": {
73
- "jss": "jss",
74
- "lint": "eslint ./src/**/*.tsx ./src/**/*.ts ./scripts/**/*.ts",
75
- "bootstrap": "ts-node --require dotenv-flow/config --project tsconfig.scripts.json scripts/bootstrap.ts && graphql-let",
76
- "build": "cross-env NODE_ENV=production npm-run-all --serial bootstrap next:build",
77
- "graphql:update": "ts-node --project tsconfig.scripts.json ./scripts/fetch-graphql-introspection-data.ts",
78
- "next:build": "next build",
79
- "next:dev": "cross-env NODE_OPTIONS='--inspect' next dev",
80
- "next:start": "next start",
81
- "scaffold": "ts-node --project tsconfig.scripts.json scripts/scaffold-component/index.ts",
82
- "start:connected": "cross-env NODE_ENV=development npm-run-all --serial bootstrap --parallel next:dev start:watch-components",
83
- "start:production": "cross-env-shell NODE_ENV=production npm-run-all --serial bootstrap next:build next:start",
84
- "start:watch-components": "ts-node --project tsconfig.scripts.json scripts/generate-component-builder/index.ts --watch",
85
- "install-pre-push-hook": "ts-node --project tsconfig.scripts.json ./scripts/install-pre-push-hook.ts"
86
- }
87
- }
1
+ {
2
+ "name": "<%- appName %>",
3
+ "description": "Application utilizing Sitecore JavaScript Services and Next.js",
4
+ "version": "<%- version %>",
5
+ "private": true,
6
+ "config": {
7
+ "appName": "<%- appName %>",
8
+ "rootPlaceholders": [
9
+ "<%- helper.getAppPrefix(appPrefix, appName) %>jss-main"
10
+ ],
11
+ "sitecoreConfigPath": "/App_Config/Include/zzz",
12
+ "graphQLEndpointPath": "/sitecore/api/graph/edge",
13
+ "language": "en"
14
+ },
15
+ "author": {
16
+ "name": "Sitecore Corporation",
17
+ "url": "https://jss.sitecore.com"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/sitecore/jss.git"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/sitecore/jss/issues"
25
+ },
26
+ "license": "Apache-2.0",
27
+ "dependencies": {
28
+ "@sitecore-jss/sitecore-jss-nextjs": "~<%- version %>",
29
+ "graphql": "~15.8.0",
30
+ "graphql-tag": "^2.12.6",
31
+ "next": "^14.2.18",
32
+ "next-localization": "^0.12.0",
33
+ "react": "^18.2.0",
34
+ "react-dom": "^18.2.0",
35
+ "sharp": "0.32.6"
36
+ },
37
+ "devDependencies": {
38
+ "@graphql-codegen/cli": "^5.0.0",
39
+ "@graphql-codegen/import-types-preset": "^3.0.0",
40
+ "@graphql-codegen/plugin-helpers": "^5.0.1",
41
+ "@graphql-codegen/typed-document-node": "^5.0.1",
42
+ "@graphql-codegen/typescript": "^4.0.1",
43
+ "@graphql-codegen/typescript-operations": "^4.0.1",
44
+ "@graphql-codegen/typescript-resolvers": "^4.0.1",
45
+ "@graphql-typed-document-node/core": "^3.2.0",
46
+ "@sitecore-jss/sitecore-jss-cli": "~<%- version %>",
47
+ "@sitecore-jss/sitecore-jss-dev-tools": "~<%- version %>",
48
+ "@types/node": "^22.9.0",
49
+ "@types/react": "^18.2.22",
50
+ "@types/react-dom": "^18.0.5",
51
+ "@typescript-eslint/eslint-plugin": "^8.14.0",
52
+ "@typescript-eslint/parser": "^8.14.0",
53
+ "chalk": "~4.1.2",
54
+ "chokidar": "~3.5.3",
55
+ "constant-case": "^3.0.4",
56
+ "cross-env": "~7.0.3",
57
+ "dotenv-flow": "^4.1.0",
58
+ "eslint": "^8.56.0",
59
+ "eslint-config-next": "^13.1.5",
60
+ "eslint-config-prettier": "^8.6.0",
61
+ "eslint-plugin-prettier": "^4.2.1",
62
+ "eslint-plugin-react": "^7.32.1",
63
+ "eslint-plugin-yaml": "^0.5.0",
64
+ "graphql-let": "^0.18.6",
65
+ "npm-run-all": "~4.1.5",
66
+ "prettier": "^2.8.3",
67
+ "ts-node": "^10.9.1",
68
+ "tsconfig-paths": "^4.1.2",
69
+ "typescript": "~5.4.0",
70
+ "yaml-loader": "^0.8.0"
71
+ },
72
+ "scripts": {
73
+ "jss": "jss",
74
+ "lint": "eslint ./src/**/*.tsx ./src/**/*.ts ./scripts/**/*.ts",
75
+ "bootstrap": "ts-node --require dotenv-flow/config --project tsconfig.scripts.json scripts/bootstrap.ts && graphql-let",
76
+ "build": "cross-env NODE_ENV=production npm-run-all --serial bootstrap next:build",
77
+ "graphql:update": "ts-node --project tsconfig.scripts.json ./scripts/fetch-graphql-introspection-data.ts",
78
+ "next:build": "next build",
79
+ "next:dev": "cross-env NODE_OPTIONS='--inspect' next dev",
80
+ "next:start": "next start",
81
+ "scaffold": "ts-node --project tsconfig.scripts.json scripts/scaffold-component/index.ts",
82
+ "start:connected": "cross-env NODE_ENV=development npm-run-all --serial bootstrap --parallel next:dev start:watch-components",
83
+ "start:production": "cross-env-shell NODE_ENV=production npm-run-all --serial bootstrap next:build next:start",
84
+ "start:watch-components": "ts-node --project tsconfig.scripts.json scripts/generate-component-builder/index.ts --watch",
85
+ "install-pre-push-hook": "ts-node --project tsconfig.scripts.json ./scripts/install-pre-push-hook.ts"
86
+ }
87
+ }
@@ -1,52 +1,52 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 27.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg width="221px" height="48px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 668 143.7" style="enable-background:new 0 0 668 143.7;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{fill:#EB1F1F;}
7
- </style>
8
- <path d="M645.5,98.1V85.8h-27.6V73.5h24.7V62h-24.7V50.8H644V38.7h-39.9v59.4C604.1,98.1,645.5,98.1,645.5,98.1z M570.7,60.6
9
- c-0.6,0.9-1.5,1.7-2.5,2.2c-1.1,0.5-2.2,0.8-3.4,1s-2.4,0.3-3.6,0.3h-6.8V50.3h7.7c1.1,0,2.2,0.1,3.3,0.2c1.1,0.2,2.1,0.5,3.1,1
10
- c0.9,0.5,1.7,1.2,2.3,2c0.6,1,0.9,2.2,0.9,3.4C571.7,58.2,571.4,59.5,570.7,60.6 M589,98.1l-15.5-25.4c3.6-1,6.8-3,9.1-5.9
11
- c2.2-2.9,3.4-6.5,3.3-10.2c0.1-2.9-0.6-5.9-1.9-8.5c-1.2-2.2-3-4.1-5.2-5.5s-4.7-2.5-7.3-3c-2.7-0.6-5.5-0.9-8.3-0.9h-22.6v59.4h14
12
- V74.5h4.9l12.9,23.6H589z M508.1,75.6c-0.8,2.1-2,4.1-3.5,5.8c-1.5,1.6-3.4,2.9-5.4,3.8c-4.4,1.9-9.4,1.9-13.8,0
13
- c-2-0.9-3.8-2.2-5.3-3.8c-1.5-1.7-2.7-3.7-3.5-5.8c-1.7-4.7-1.7-9.9,0-14.6c0.7-2.1,1.9-4.1,3.5-5.7c3.2-3.3,7.6-5.2,12.2-5.2
14
- c2.4,0,4.7,0.4,6.9,1.4c2,0.9,3.9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.2c12.1-6.8,19.1-18.4,19.7-32.7l0.1-1.2h16.8c-1-8.3-4.2-16.2-9.1-23
33
- L94.9,53.6c5.2,7.9,5.9,17.9,1.9,26.4C92.1,90.8,81,100.2,68.6,104.8"/>
34
- <path class="st0" d="M121.4,68.2h-14.6c-1,14.5-8.6,26.7-21,33.6c-7.2,3.9-15.2,6-23.4,5.9c-6.5,0-13-1.2-19.1-3.5
35
- c7.3,4.7,15.9,7.2,24.6,7.2H68c15.7,0,30.1-8.5,37.7-22.3l0.7-1.2l9.8,6.2c3.5-6.9,5.4-14.6,5.4-22.4
36
- C121.5,70.6,121.5,69.4,121.4,68.2"/>
37
- <path class="st0" d="M68,114L68,114c-15.7,0-30.4-7.8-40.9-21.1c11.6,24.8,41.2,35.5,65.9,23.8c9.2-4.3,16.9-11.4,22-20.2l-7.6-4.8
38
- C99.1,105.6,84.2,114.1,68,114"/>
39
- <path class="st0" d="M71.9,124c-28.8,0-52.2-23.4-52.2-52.2s23.4-52.2,52.2-52.2s52.2,23.4,52.2,52.2l0,0l0,0
40
- C124.1,100.6,100.8,124,71.9,124C72,124,72,124,71.9,124L71.9,124L71.9,124 M71.9,0C32.2,0,0,32.1,0,71.8s32.1,71.9,71.8,71.9
41
- s71.9-32.1,71.9-71.8v-0.1C143.7,32.2,111.6,0,71.9,0L71.9,0L71.9,0"/>
42
- <path d="M660.9,44.3v-1.9h1.1c0.3,0,0.6,0.1,0.9,0.2c0.3,0.1,0.4,0.4,0.4,0.7c0,0.4-0.2,0.7-0.5,0.8c-0.3,0.1-0.6,0.2-1,0.2H660.9z
43
- M659.7,48h1.2v-2.8h0.8l1.5,2.8h1.4l-1.8-2.9c0.5-0.1,0.8-0.3,1.1-0.6c0.3-0.3,0.4-0.7,0.4-1.2c0-0.4-0.1-0.7-0.2-0.9
44
- c-0.1-0.2-0.3-0.4-0.6-0.6c-0.2-0.2-0.5-0.3-0.8-0.3c-0.3-0.1-0.6-0.1-0.9-0.1h-2.3V48z M657.5,42.8c0.3-0.6,0.6-1.1,1.1-1.6
45
- c0.4-0.4,1-0.8,1.6-1.1c0.6-0.3,1.2-0.4,1.9-0.4c0.7,0,1.3,0.1,1.9,0.4c0.6,0.3,1.1,0.6,1.6,1.1c0.4,0.4,0.8,1,1.1,1.6
46
- c0.3,0.6,0.4,1.2,0.4,1.9c0,0.7-0.1,1.3-0.4,1.9c-0.3,0.6-0.6,1.1-1.1,1.6c-0.4,0.5-1,0.8-1.6,1.1c-0.6,0.3-1.2,0.4-1.9,0.4
47
- c-0.7,0-1.3-0.1-1.9-0.4c-0.6-0.3-1.1-0.6-1.6-1.1c-0.4-0.5-0.8-1-1.1-1.6c-0.3-0.6-0.4-1.2-0.4-1.9C657.1,44,657.2,43.4,657.5,42.8
48
- M656.6,47c0.3,0.7,0.7,1.3,1.3,1.8c0.5,0.5,1.2,0.9,1.9,1.2c0.7,0.3,1.5,0.4,2.3,0.4s1.6-0.1,2.3-0.4c0.7-0.3,1.3-0.7,1.9-1.2
49
- c0.5-0.5,1-1.1,1.3-1.8c0.3-0.7,0.5-1.5,0.5-2.3s-0.2-1.6-0.5-2.3c-0.3-0.7-0.7-1.3-1.3-1.9c-0.5-0.5-1.2-0.9-1.9-1.2
50
- c-0.7-0.3-1.5-0.5-2.3-0.5s-1.6,0.2-2.3,0.5c-0.7,0.3-1.3,0.7-1.9,1.2c-0.5,0.5-1,1.1-1.3,1.9c-0.3,0.7-0.5,1.5-0.5,2.3
51
- S656.3,46.3,656.6,47"/>
52
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg width="221px" height="48px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 668 143.7" style="enable-background:new 0 0 668 143.7;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#EB1F1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9.8,6.2c3.5-6.9,5.4-14.6,5.4-22.4
36
+ C121.5,70.6,121.5,69.4,121.4,68.2"/>
37
+ <path class="st0" d="M68,114L68,114c-15.7,0-30.4-7.8-40.9-21.1c11.6,24.8,41.2,35.5,65.9,23.8c9.2-4.3,16.9-11.4,22-20.2l-7.6-4.8
38
+ C99.1,105.6,84.2,114.1,68,114"/>
39
+ <path class="st0" d="M71.9,124c-28.8,0-52.2-23.4-52.2-52.2s23.4-52.2,52.2-52.2s52.2,23.4,52.2,52.2l0,0l0,0
40
+ C124.1,100.6,100.8,124,71.9,124C72,124,72,124,71.9,124L71.9,124L71.9,124 M71.9,0C32.2,0,0,32.1,0,71.8s32.1,71.9,71.8,71.9
41
+ s71.9-32.1,71.9-71.8v-0.1C143.7,32.2,111.6,0,71.9,0L71.9,0L71.9,0"/>
42
+ <path d="M660.9,44.3v-1.9h1.1c0.3,0,0.6,0.1,0.9,0.2c0.3,0.1,0.4,0.4,0.4,0.7c0,0.4-0.2,0.7-0.5,0.8c-0.3,0.1-0.6,0.2-1,0.2H660.9z
43
+ M659.7,48h1.2v-2.8h0.8l1.5,2.8h1.4l-1.8-2.9c0.5-0.1,0.8-0.3,1.1-0.6c0.3-0.3,0.4-0.7,0.4-1.2c0-0.4-0.1-0.7-0.2-0.9
44
+ c-0.1-0.2-0.3-0.4-0.6-0.6c-0.2-0.2-0.5-0.3-0.8-0.3c-0.3-0.1-0.6-0.1-0.9-0.1h-2.3V48z M657.5,42.8c0.3-0.6,0.6-1.1,1.1-1.6
45
+ c0.4-0.4,1-0.8,1.6-1.1c0.6-0.3,1.2-0.4,1.9-0.4c0.7,0,1.3,0.1,1.9,0.4c0.6,0.3,1.1,0.6,1.6,1.1c0.4,0.4,0.8,1,1.1,1.6
46
+ c0.3,0.6,0.4,1.2,0.4,1.9c0,0.7-0.1,1.3-0.4,1.9c-0.3,0.6-0.6,1.1-1.1,1.6c-0.4,0.5-1,0.8-1.6,1.1c-0.6,0.3-1.2,0.4-1.9,0.4
47
+ c-0.7,0-1.3-0.1-1.9-0.4c-0.6-0.3-1.1-0.6-1.6-1.1c-0.4-0.5-0.8-1-1.1-1.6c-0.3-0.6-0.4-1.2-0.4-1.9C657.1,44,657.2,43.4,657.5,42.8
48
+ M656.6,47c0.3,0.7,0.7,1.3,1.3,1.8c0.5,0.5,1.2,0.9,1.9,1.2c0.7,0.3,1.5,0.4,2.3,0.4s1.6-0.1,2.3-0.4c0.7-0.3,1.3-0.7,1.9-1.2
49
+ c0.5-0.5,1-1.1,1.3-1.8c0.3-0.7,0.5-1.5,0.5-2.3s-0.2-1.6-0.5-2.3c-0.3-0.7-0.7-1.3-1.3-1.9c-0.5-0.5-1.2-0.9-1.9-1.2
50
+ c-0.7-0.3-1.5-0.5-2.3-0.5s-1.6,0.2-2.3,0.5c-0.7,0.3-1.3,0.7-1.9,1.2c-0.5,0.5-1,1.1-1.3,1.9c-0.3,0.7-0.5,1.5-0.5,2.3
51
+ S656.3,46.3,656.6,47"/>
52
+ </svg>
@@ -1,2 +1,2 @@
1
- *
2
- !.gitignore
1
+ *
2
+ !.gitignore
@@ -1,165 +1,165 @@
1
- <!--
2
- JSS Sitecore Configuration Patch File
3
-
4
- This configuration file registers the JSS site with Sitecore, and configures the Layout Service
5
- to work with it. Config patches need to be deployed to the Sitecore server.
6
-
7
- Normally `jss deploy config` can do this for local development. To manually deploy, or to deploy via CI,
8
- this file can be placed in the `App_Config/Include` folder, or a subfolder of it, within the Sitecore site.
9
- -->
10
- <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
11
- <sitecore>
12
- <!--
13
- Note that if any of these settings are enabled, they will apply to the entire Sitecore instance. If there are
14
- multiple sites defined in the instances, the settings will affect all of them.
15
- -->
16
- <settings>
17
- <!--
18
- ANALYTICS FORWARDED REQUEST HEADER
19
- When using Next.js SSR routes, Layout Service requests will send the original IP address of the client on the 'X-Forwarded-For' header.
20
- This setting tells Sitecore to read the forwarded header, thus making analytics track the correct original client IP address.
21
-
22
- <setting name="Analytics.ForwardedRequestHttpHeader" set:value="X-Forwarded-For" />
23
- -->
24
-
25
- <!--
26
- ANALYTICS DISABLE ROBOT DETECTION
27
- During development, activity will flag us as a robot.
28
- These settings will enable tracking of robot activity for ease of testing (development ONLY).
29
-
30
- <setting name="Analytics.AutoDetectBots" set:value="false" />
31
- <setting name="Analytics.Robots.IgnoreRobots" set:value="false" />
32
- -->
33
-
34
- <!--
35
- JSS EDITING SECRET
36
- To secure the Sitecore editor endpoint exposed by your Next.js app (see `serverSideRenderingEngineEndpointUrl` below),
37
- a secret token is used. This is taken from an env variable by default, but could be patched and set directly by uncommenting.
38
- This (server-side) value must match your client-side value, which is configured by the JSS_EDITING_SECRET env variable (see the Next.js .env file).
39
- We recommend an alphanumeric value of at least 16 characters.
40
-
41
- <setting name="JavaScriptServices.ViewEngine.Http.JssEditingSecret" value="" />
42
- -->
43
-
44
- <!--
45
- LANGUAGE FALLBACK
46
- These settings enable item-level language fallback for JSS apps that use Experience Edge.
47
- In addition to these settings, ensure that Language Fallback is configured on the Language
48
- item in Sitecore, and that items in the content tree have "Enable Item Fallback" field set
49
- to true. Other settings related to item-level language fallback that may exist in Sitecore
50
- configuration will not impact Edge functionality.
51
-
52
- <setting name="ExperienceEdge.EnableItemLanguageFallback" value="true"/>
53
- <setting name="ExperienceEdge.EnableFieldLanguageFallback" value="true"/>
54
- -->
55
- </settings>
56
- <sites>
57
- <!--
58
- JSS Site Registration
59
- This configures the site with Sitecore - i.e. host headers, item paths.
60
- If your JSS app lives within an existing Sitecore site, this may not be necessary.
61
-
62
- IMPORTANT: JSS sites ship in 'live mode', which makes development and testing easy,
63
- but disables workflow and publishing. Before going to production, change the `database`
64
- below to `web` instead of `master`.
65
- -->
66
- <site patch:before="site[@name='website']"
67
- inherits="website"
68
- name="<%- appName %>"
69
- hostName="<%- hostName.replace(/^https?:\/\//, '') %>"
70
- rootPath="/sitecore/content/<%- appName %>"
71
- startItem="/home"
72
- database="master" />
73
- </sites>
74
- <javaScriptServices>
75
- <apps>
76
- <!--
77
- JSS App Registration
78
- The JSS app needs to be registered in order to support layout service and import services.
79
-
80
- There are many available attributes, and they inherit the defaults if not explicitly specified here.
81
- Defaults are defined in `/App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.Apps.config`
82
-
83
- NOTE: graphQLEndpoint enables _Integrated GraphQL_. If not using integrated GraphQL, it can be removed.
84
-
85
- NOTE: layoutServiceConfiguration should be set to "default" when using GraphQL Edge schema.
86
- When using integrated GraphQL with Edge schema, a $language value is injected
87
- since language is required in all Edge queries. "jss" configuration does not do this (which is backwards
88
- compatible with JSS versions < 18.0.0).
89
- -->
90
- <app name="<%- appName %>"
91
- layoutServiceConfiguration="default"
92
- sitecorePath="/sitecore/content/<%- appName %>"
93
- useLanguageSpecificLayout="true"
94
- graphQLEndpoint="/sitecore/api/graph/edge"
95
- inherits="defaults"
96
- serverSideRenderingEngine="http"
97
- serverSideRenderingEngineEndpointUrl="http://localhost:3000/api/editing/render"
98
- serverSideRenderingEngineApplicationUrl="http://localhost:3000"
99
- />
100
- </apps>
101
- <!--
102
- IMAGE RESIZING WHITELIST
103
- Using Sitecore server-side media resizing (i.e. the `imageParams` or `srcSet` props on the `<Image/>` helper component or the `<NextImage/>` helper component)
104
- could expose your Sitecore server to a denial-of-service attack by rescaling an image with many arbitrary dimensions.
105
- In JSS resizing param sets that are unknown are rejected by a whitelist.
106
-
107
- Sets of image sizing parameters that are used in app components must be whitelisted here.
108
- If a param set is not whitelisted, the image will be returned _without resizing_.
109
-
110
- To determine the image parameters being used, look at the query string on the `src` of the rendered image, i.e. '/img.jpg?mw=100&h=72' -> mw=100,h=72
111
- Note: the parameter sets defined here are comma-delimited (,) instead of &-delimited like the query string. Multiple sets are endline-delimited.
112
- -->
113
- <allowedMediaParams>
114
- <!-- XML element name is arbitary, useful for organizing and patching -->
115
- <styleguide-image-sample>
116
- mw=100,mh=50
117
- </styleguide-image-sample>
118
- <next-image-default>
119
- mw=16
120
- mw=32
121
- mw=48
122
- mw=64
123
- mw=96
124
- mw=128
125
- mw=256
126
- mw=384
127
- mw=640
128
- mw=750
129
- mw=828
130
- mw=1080
131
- mw=1200
132
- mw=1920
133
- mw=2048
134
- mw=3840
135
- </next-image-default>
136
- </allowedMediaParams>
137
- </javaScriptServices>
138
- <!--
139
- Media URLs resolving
140
- Tells Sitecore to not include the Sitecore server URL as part of the media requests, so that they are instead routed through Next.js rewrites (see next.config.js).
141
- This eliminates exposing the Sitecore server publicly.
142
-
143
- "default" configuration is used for Sitecore GraphQL Edge requests.
144
- "jss" configuration is used for Sitecore Layout Service REST requests.
145
- -->
146
- <layoutService>
147
- <configurations>
148
- <config name="default">
149
- <rendering>
150
- <renderingContentsResolver>
151
- <IncludeServerUrlInMediaUrls>false</IncludeServerUrlInMediaUrls>
152
- </renderingContentsResolver>
153
- </rendering>
154
- </config>
155
- <config name="jss">
156
- <rendering>
157
- <renderingContentsResolver>
158
- <IncludeServerUrlInMediaUrls>false</IncludeServerUrlInMediaUrls>
159
- </renderingContentsResolver>
160
- </rendering>
161
- </config>
162
- </configurations>
163
- </layoutService>
164
- </sitecore>
165
- </configuration>
1
+ <!--
2
+ JSS Sitecore Configuration Patch File
3
+
4
+ This configuration file registers the JSS site with Sitecore, and configures the Layout Service
5
+ to work with it. Config patches need to be deployed to the Sitecore server.
6
+
7
+ Normally `jss deploy config` can do this for local development. To manually deploy, or to deploy via CI,
8
+ this file can be placed in the `App_Config/Include` folder, or a subfolder of it, within the Sitecore site.
9
+ -->
10
+ <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
11
+ <sitecore>
12
+ <!--
13
+ Note that if any of these settings are enabled, they will apply to the entire Sitecore instance. If there are
14
+ multiple sites defined in the instances, the settings will affect all of them.
15
+ -->
16
+ <settings>
17
+ <!--
18
+ ANALYTICS FORWARDED REQUEST HEADER
19
+ When using Next.js SSR routes, Layout Service requests will send the original IP address of the client on the 'X-Forwarded-For' header.
20
+ This setting tells Sitecore to read the forwarded header, thus making analytics track the correct original client IP address.
21
+
22
+ <setting name="Analytics.ForwardedRequestHttpHeader" set:value="X-Forwarded-For" />
23
+ -->
24
+
25
+ <!--
26
+ ANALYTICS DISABLE ROBOT DETECTION
27
+ During development, activity will flag us as a robot.
28
+ These settings will enable tracking of robot activity for ease of testing (development ONLY).
29
+
30
+ <setting name="Analytics.AutoDetectBots" set:value="false" />
31
+ <setting name="Analytics.Robots.IgnoreRobots" set:value="false" />
32
+ -->
33
+
34
+ <!--
35
+ JSS EDITING SECRET
36
+ To secure the Sitecore editor endpoint exposed by your Next.js app (see `serverSideRenderingEngineEndpointUrl` below),
37
+ a secret token is used. This is taken from an env variable by default, but could be patched and set directly by uncommenting.
38
+ This (server-side) value must match your client-side value, which is configured by the JSS_EDITING_SECRET env variable (see the Next.js .env file).
39
+ We recommend an alphanumeric value of at least 16 characters.
40
+
41
+ <setting name="JavaScriptServices.ViewEngine.Http.JssEditingSecret" value="" />
42
+ -->
43
+
44
+ <!--
45
+ LANGUAGE FALLBACK
46
+ These settings enable item-level language fallback for JSS apps that use Experience Edge.
47
+ In addition to these settings, ensure that Language Fallback is configured on the Language
48
+ item in Sitecore, and that items in the content tree have "Enable Item Fallback" field set
49
+ to true. Other settings related to item-level language fallback that may exist in Sitecore
50
+ configuration will not impact Edge functionality.
51
+
52
+ <setting name="ExperienceEdge.EnableItemLanguageFallback" value="true"/>
53
+ <setting name="ExperienceEdge.EnableFieldLanguageFallback" value="true"/>
54
+ -->
55
+ </settings>
56
+ <sites>
57
+ <!--
58
+ JSS Site Registration
59
+ This configures the site with Sitecore - i.e. host headers, item paths.
60
+ If your JSS app lives within an existing Sitecore site, this may not be necessary.
61
+
62
+ IMPORTANT: JSS sites ship in 'live mode', which makes development and testing easy,
63
+ but disables workflow and publishing. Before going to production, change the `database`
64
+ below to `web` instead of `master`.
65
+ -->
66
+ <site patch:before="site[@name='website']"
67
+ inherits="website"
68
+ name="<%- appName %>"
69
+ hostName="<%- hostName.replace(/^https?:\/\//, '') %>"
70
+ rootPath="/sitecore/content/<%- appName %>"
71
+ startItem="/home"
72
+ database="master" />
73
+ </sites>
74
+ <javaScriptServices>
75
+ <apps>
76
+ <!--
77
+ JSS App Registration
78
+ The JSS app needs to be registered in order to support layout service and import services.
79
+
80
+ There are many available attributes, and they inherit the defaults if not explicitly specified here.
81
+ Defaults are defined in `/App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.Apps.config`
82
+
83
+ NOTE: graphQLEndpoint enables _Integrated GraphQL_. If not using integrated GraphQL, it can be removed.
84
+
85
+ NOTE: layoutServiceConfiguration should be set to "default" when using GraphQL Edge schema.
86
+ When using integrated GraphQL with Edge schema, a $language value is injected
87
+ since language is required in all Edge queries. "jss" configuration does not do this (which is backwards
88
+ compatible with JSS versions < 18.0.0).
89
+ -->
90
+ <app name="<%- appName %>"
91
+ layoutServiceConfiguration="default"
92
+ sitecorePath="/sitecore/content/<%- appName %>"
93
+ useLanguageSpecificLayout="true"
94
+ graphQLEndpoint="/sitecore/api/graph/edge"
95
+ inherits="defaults"
96
+ serverSideRenderingEngine="http"
97
+ serverSideRenderingEngineEndpointUrl="http://localhost:3000/api/editing/render"
98
+ serverSideRenderingEngineApplicationUrl="http://localhost:3000"
99
+ />
100
+ </apps>
101
+ <!--
102
+ IMAGE RESIZING WHITELIST
103
+ Using Sitecore server-side media resizing (i.e. the `imageParams` or `srcSet` props on the `<Image/>` helper component or the `<NextImage/>` helper component)
104
+ could expose your Sitecore server to a denial-of-service attack by rescaling an image with many arbitrary dimensions.
105
+ In JSS resizing param sets that are unknown are rejected by a whitelist.
106
+
107
+ Sets of image sizing parameters that are used in app components must be whitelisted here.
108
+ If a param set is not whitelisted, the image will be returned _without resizing_.
109
+
110
+ To determine the image parameters being used, look at the query string on the `src` of the rendered image, i.e. '/img.jpg?mw=100&h=72' -> mw=100,h=72
111
+ Note: the parameter sets defined here are comma-delimited (,) instead of &-delimited like the query string. Multiple sets are endline-delimited.
112
+ -->
113
+ <allowedMediaParams>
114
+ <!-- XML element name is arbitary, useful for organizing and patching -->
115
+ <styleguide-image-sample>
116
+ mw=100,mh=50
117
+ </styleguide-image-sample>
118
+ <next-image-default>
119
+ mw=16
120
+ mw=32
121
+ mw=48
122
+ mw=64
123
+ mw=96
124
+ mw=128
125
+ mw=256
126
+ mw=384
127
+ mw=640
128
+ mw=750
129
+ mw=828
130
+ mw=1080
131
+ mw=1200
132
+ mw=1920
133
+ mw=2048
134
+ mw=3840
135
+ </next-image-default>
136
+ </allowedMediaParams>
137
+ </javaScriptServices>
138
+ <!--
139
+ Media URLs resolving
140
+ Tells Sitecore to not include the Sitecore server URL as part of the media requests, so that they are instead routed through Next.js rewrites (see next.config.js).
141
+ This eliminates exposing the Sitecore server publicly.
142
+
143
+ "default" configuration is used for Sitecore GraphQL Edge requests.
144
+ "jss" configuration is used for Sitecore Layout Service REST requests.
145
+ -->
146
+ <layoutService>
147
+ <configurations>
148
+ <config name="default">
149
+ <rendering>
150
+ <renderingContentsResolver>
151
+ <IncludeServerUrlInMediaUrls>false</IncludeServerUrlInMediaUrls>
152
+ </renderingContentsResolver>
153
+ </rendering>
154
+ </config>
155
+ <config name="jss">
156
+ <rendering>
157
+ <renderingContentsResolver>
158
+ <IncludeServerUrlInMediaUrls>false</IncludeServerUrlInMediaUrls>
159
+ </renderingContentsResolver>
160
+ </rendering>
161
+ </config>
162
+ </configurations>
163
+ </layoutService>
164
+ </sitecore>
165
+ </configuration>