create-sitecore-jss 20.2.1 → 20.2.2

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 (304) hide show
  1. package/README.md +5 -5
  2. package/dist/templates/angular/.eslintignore +2 -2
  3. package/dist/templates/angular/.eslintrc +79 -79
  4. package/dist/templates/angular/LICENSE.txt +202 -202
  5. package/dist/templates/angular/README.md +51 -51
  6. package/dist/templates/angular/angular.json +166 -166
  7. package/dist/templates/angular/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  8. package/dist/templates/angular/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  9. package/dist/templates/angular/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  10. package/dist/templates/angular/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  11. package/dist/templates/angular/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  12. package/dist/templates/angular/data/dictionary/en.yml +4 -4
  13. package/dist/templates/angular/data/dictionary/{{language}}.yml +4 -4
  14. package/dist/templates/angular/data/routes/en.yml +61 -61
  15. package/dist/templates/angular/data/routes/graphql/en.yml +27 -27
  16. package/dist/templates/angular/data/routes/graphql/sample-1/en.yml +9 -9
  17. package/dist/templates/angular/data/routes/graphql/sample-2/en.yml +9 -9
  18. package/dist/templates/angular/data/routes/styleguide/custom-route-type/en.yml +12 -12
  19. package/dist/templates/angular/data/routes/styleguide/en.yml +253 -253
  20. package/dist/templates/angular/data/routes/styleguide/{{language}}.yml +25 -25
  21. package/dist/templates/angular/data/routes/{{language}}.yml +4 -4
  22. package/dist/templates/angular/e2e/tsconfig.e2e.json +15 -15
  23. package/dist/templates/angular/gitignore +47 -47
  24. package/dist/templates/angular/package.json +129 -129
  25. package/dist/templates/angular/sitecore/config/{{appName}}.config +90 -90
  26. package/dist/templates/angular/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +71 -71
  27. package/dist/templates/angular/sitecore/gitignore +2 -2
  28. package/dist/templates/angular/src/app/app.component.html +1 -1
  29. package/dist/templates/angular/src/app/components/content-block/content-block.component.html +4 -4
  30. package/dist/templates/angular/src/app/components/gitignore +7 -7
  31. package/dist/templates/angular/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.graphql +69 -69
  32. package/dist/templates/angular/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +55 -55
  33. package/dist/templates/angular/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +47 -47
  34. package/dist/templates/angular/src/app/components/graph-ql-layout/graph-ql-layout.component.html +22 -22
  35. package/dist/templates/angular/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.html +5 -5
  36. package/dist/templates/angular/src/app/components/styleguide-component-params/styleguide-component-params.component.html +19 -19
  37. package/dist/templates/angular/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.html +14 -14
  38. package/dist/templates/angular/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.html +11 -11
  39. package/dist/templates/angular/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +26 -26
  40. package/dist/templates/angular/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.html +4 -4
  41. package/dist/templates/angular/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.html +27 -27
  42. package/dist/templates/angular/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.html +10 -10
  43. package/dist/templates/angular/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html +30 -30
  44. package/dist/templates/angular/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +17 -17
  45. package/dist/templates/angular/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.html +44 -44
  46. package/dist/templates/angular/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.html +11 -11
  47. package/dist/templates/angular/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.html +11 -11
  48. package/dist/templates/angular/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.html +13 -13
  49. package/dist/templates/angular/src/app/components/styleguide-layout/styleguide-layout.component.html +20 -20
  50. package/dist/templates/angular/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.html +52 -52
  51. package/dist/templates/angular/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +37 -37
  52. package/dist/templates/angular/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +12 -12
  53. package/dist/templates/angular/src/app/components/styleguide-multilingual/styleguide-multilingual.component.html +15 -15
  54. package/dist/templates/angular/src/app/components/styleguide-route-fields/styleguide-route-fields.component.html +8 -8
  55. package/dist/templates/angular/src/app/components/styleguide-section/styleguide-section.component.html +7 -7
  56. package/dist/templates/angular/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.html +3 -3
  57. package/dist/templates/angular/src/app/components/styleguide-tracking/styleguide-tracking.component.html +175 -175
  58. package/dist/templates/angular/src/app/routing/layout/layout.component.html +17 -17
  59. package/dist/templates/angular/src/app/routing/navigation/navigation.component.html +21 -21
  60. package/dist/templates/angular/src/app/routing/not-found/not-found.component.html +7 -7
  61. package/dist/templates/angular/src/app/routing/server-error/server-error.component.html +3 -3
  62. package/dist/templates/angular/src/assets/images/sc_logo.svg +19 -19
  63. package/dist/templates/angular/src/index.html +12 -12
  64. package/dist/templates/angular/src/styles.css +26 -26
  65. package/dist/templates/angular/src/tsconfig.app.json +22 -22
  66. package/dist/templates/angular/src/tsconfig.server.json +21 -21
  67. package/dist/templates/angular/src/tsconfig.spec.json +24 -24
  68. package/dist/templates/angular/src/tsconfig.webpack-server.json +6 -6
  69. package/dist/templates/angular/tsconfig.json +33 -33
  70. package/dist/templates/nextjs/.babelrc +8 -8
  71. package/dist/templates/nextjs/.env +51 -51
  72. package/dist/templates/nextjs/.eslintrc +25 -25
  73. package/dist/templates/nextjs/.gitattributes +11 -11
  74. package/dist/templates/nextjs/.graphql-let.yml +10 -10
  75. package/dist/templates/nextjs/.prettierrc +8 -8
  76. package/dist/templates/nextjs/.vscode/launch.json +15 -15
  77. package/dist/templates/nextjs/LICENSE.txt +202 -202
  78. package/dist/templates/nextjs/README.md +4 -4
  79. package/dist/templates/nextjs/gitignore +32 -32
  80. package/dist/templates/nextjs/package.json +86 -86
  81. package/dist/templates/nextjs/public/sc_logo.svg +19 -19
  82. package/dist/templates/nextjs/sitecore/config/{{appName}}.config +165 -165
  83. package/dist/templates/nextjs/src/assets/app.css +28 -28
  84. package/dist/templates/nextjs/src/temp/GraphQLIntrospectionResult.json +22215 -22215
  85. package/dist/templates/nextjs/src/temp/gitignore +3 -3
  86. package/dist/templates/nextjs/tsconfig.json +42 -42
  87. package/dist/templates/nextjs/tsconfig.scripts.json +6 -6
  88. package/dist/templates/nextjs-styleguide/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  89. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  90. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  91. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  92. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  93. package/dist/templates/nextjs-styleguide/data/dictionary/en.yml +4 -4
  94. package/dist/templates/nextjs-styleguide/data/dictionary/{{language}}.yml +4 -4
  95. package/dist/templates/nextjs-styleguide/data/routes/en.yml +63 -63
  96. package/dist/templates/nextjs-styleguide/data/routes/graphql/en.yml +27 -27
  97. package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-1/en.yml +9 -9
  98. package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-2/en.yml +9 -9
  99. package/dist/templates/nextjs-styleguide/data/routes/styleguide/custom-route-type/en.yml +12 -12
  100. package/dist/templates/nextjs-styleguide/data/routes/styleguide/en.yml +246 -246
  101. package/dist/templates/nextjs-styleguide/data/routes/styleguide/{{language}}.yml +25 -25
  102. package/dist/templates/nextjs-styleguide/data/routes/{{language}}.yml +4 -4
  103. package/dist/templates/nextjs-styleguide/package.json +14 -14
  104. package/dist/templates/nextjs-styleguide/sitecore/definitions/components/graphql/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  105. package/dist/templates/nextjs-styleguide/sitecore/gitignore +3 -3
  106. package/dist/templates/nextjs-styleguide/src/components/graphql/GraphQL-ConnectedDemo.dynamic.graphql +69 -69
  107. package/dist/templates/nextjs-sxa/package.json +10 -10
  108. package/dist/templates/nextjs-sxa/src/assets/basic/_component.scss +18 -18
  109. package/dist/templates/nextjs-sxa/src/assets/basic/_container.scss +80 -80
  110. package/dist/templates/nextjs-sxa/src/assets/basic/_fonts.scss +1 -1
  111. package/dist/templates/nextjs-sxa/src/assets/basic/_footer.scss +43 -43
  112. package/dist/templates/nextjs-sxa/src/assets/basic/_header.scss +50 -50
  113. package/dist/templates/nextjs-sxa/src/assets/basic/_navigation.scss +150 -150
  114. package/dist/templates/nextjs-sxa/src/assets/basic/_promo.scss +51 -51
  115. package/dist/templates/nextjs-sxa/src/assets/basic/_rich-text.scss +11 -11
  116. package/dist/templates/nextjs-sxa/src/assets/basic/_variables.scss +9 -9
  117. package/dist/templates/nextjs-sxa/src/assets/basic/main.scss +8 -8
  118. package/dist/templates/nextjs-sxa/src/assets/main.scss +5 -5
  119. package/dist/templates/nextjs-sxa/src/assets/sass/_app.scss +102 -102
  120. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_functions.scss +8 -8
  121. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_mixins.scss +121 -121
  122. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_vars.scss +3 -3
  123. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_colors.scss +283 -283
  124. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_fontSizes.scss +16 -16
  125. package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_margins.scss +10 -10
  126. package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/_fonts.scss +1 -1
  127. package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/index.scss +1 -1
  128. package/dist/templates/nextjs-sxa/src/assets/sass/base/index.scss +3 -3
  129. package/dist/templates/nextjs-sxa/src/assets/sass/base/links/_link-button.scss +26 -26
  130. package/dist/templates/nextjs-sxa/src/assets/sass/base/links/index.scss +1 -1
  131. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_inputs.scss +58 -58
  132. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_links.scss +14 -14
  133. package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_ui-datepicker.scss +7 -7
  134. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext-files-icons.scss +86 -86
  135. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext.scss +101 -101
  136. package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/index.scss +2 -2
  137. package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/_typehead.scss +95 -95
  138. package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/index.scss +1 -1
  139. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-column-splitter.scss +9 -9
  140. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-container.scss +13 -13
  141. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss +18 -18
  142. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-navigation.scss +51 -51
  143. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-promo.scss +42 -42
  144. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-richtext-content.scss +19 -19
  145. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_alignment.scss +25 -25
  146. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_boxed.scss +16 -16
  147. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_clearfix.scss +11 -11
  148. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_highlighted.scss +62 -62
  149. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_link-button.scss +16 -16
  150. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_promoted-box.scss +3 -3
  151. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/index.scss +5 -5
  152. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_bordered.scss +23 -23
  153. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_title-row-box.scss +66 -66
  154. package/dist/templates/nextjs-sxa/src/assets/sass/components/container/index.scss +1 -1
  155. package/dist/templates/nextjs-sxa/src/assets/sass/components/image/_image-default-size.scss +6 -6
  156. package/dist/templates/nextjs-sxa/src/assets/sass/components/image/index.scss +1 -1
  157. package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-left.scss +3 -3
  158. package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-right.scss +3 -3
  159. package/dist/templates/nextjs-sxa/src/assets/sass/components/index.scss +17 -17
  160. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_acaindent.scss +5 -5
  161. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_background.scss +27 -27
  162. package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/index.scss +1 -1
  163. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_component-link-list.scss +45 -45
  164. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_list-vertical.scss +20 -20
  165. package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/index.scss +2 -2
  166. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-fat.scss +58 -58
  167. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-main-horizontal-vertical.scss +152 -152
  168. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-mobile.scss +89 -89
  169. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-sidebar.scss +29 -29
  170. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_sitemap-navigation.scss +20 -20
  171. package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/index.scss +5 -5
  172. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_absolute-bottom-link.scss +8 -8
  173. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-hero.scss +40 -40
  174. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-shadow.scss +42 -42
  175. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/index.scss +3 -3
  176. package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/_rich-text-lists.scss +63 -63
  177. package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/index.scss +1 -1
  178. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_background-colors.scss +14 -14
  179. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_indent.scss +10 -10
  180. package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/index.scss +2 -2
  181. package/dist/templates/nextjs-sxa/src/assets/sass/components/title/_component-title.scss +24 -24
  182. package/dist/templates/nextjs-sxa/src/assets/sass/components/title/index.scss +1 -1
  183. package/dist/templates/nextjs-sxa/src/assets/sass/main.scss +4 -4
  184. package/dist/templates/nextjs-sxa/src/assets/sass/variants/index.scss +5 -5
  185. package/dist/templates/node-headless-ssr-experience-edge/README.md +52 -52
  186. package/dist/templates/node-headless-ssr-experience-edge/package.json +32 -32
  187. package/dist/templates/node-headless-ssr-proxy/.vscode/launch.json +47 -47
  188. package/dist/templates/node-headless-ssr-proxy/LICENSE.txt +202 -202
  189. package/dist/templates/node-headless-ssr-proxy/README.md +61 -61
  190. package/dist/templates/node-headless-ssr-proxy/error.html +200 -200
  191. package/dist/templates/node-headless-ssr-proxy/package.json +35 -35
  192. package/dist/templates/react/.eslintrc +78 -78
  193. package/dist/templates/react/.prettierrc +9 -9
  194. package/dist/templates/react/LICENSE.txt +202 -202
  195. package/dist/templates/react/README.md +2400 -2400
  196. package/dist/templates/react/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  197. package/dist/templates/react/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  198. package/dist/templates/react/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  199. package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  200. package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  201. package/dist/templates/react/data/dictionary/en.yml +4 -4
  202. package/dist/templates/react/data/dictionary/{{language}}.yml +4 -4
  203. package/dist/templates/react/data/routes/en.yml +61 -61
  204. package/dist/templates/react/data/routes/graphql/en.yml +27 -27
  205. package/dist/templates/react/data/routes/graphql/sample-1/en.yml +9 -9
  206. package/dist/templates/react/data/routes/graphql/sample-2/en.yml +9 -9
  207. package/dist/templates/react/data/routes/styleguide/custom-route-type/en.yml +12 -12
  208. package/dist/templates/react/data/routes/styleguide/en.yml +247 -247
  209. package/dist/templates/react/data/routes/styleguide/{{language}}.yml +26 -26
  210. package/dist/templates/react/data/routes/{{language}}.yml +4 -4
  211. package/dist/templates/react/gitignore +25 -25
  212. package/dist/templates/react/package.json +118 -118
  213. package/dist/templates/react/public/index.html +35 -35
  214. package/dist/templates/react/sitecore/config/{{appName}}.config +90 -90
  215. package/dist/templates/react/sitecore/definitions/components/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  216. package/dist/templates/react/sitecore/gitignore +2 -2
  217. package/dist/templates/react/src/assets/app.css +19 -19
  218. package/dist/templates/react/src/assets/sc_logo.svg +19 -19
  219. package/dist/templates/react/src/components/GraphQL-ConnectedDemo/query.graphql +69 -69
  220. package/dist/templates/react/src/temp/GraphQLFragmentTypes.json +207 -207
  221. package/dist/templates/react/src/temp/gitignore +3 -3
  222. package/dist/templates/react-native/.buckconfig +6 -6
  223. package/dist/templates/react-native/.eslintrc +74 -74
  224. package/dist/templates/react-native/.gitattributes +1 -1
  225. package/dist/templates/react-native/.prettierrc +9 -9
  226. package/dist/templates/react-native/.vscode/launch.json +42 -42
  227. package/dist/templates/react-native/.vscode/settings.json +1 -1
  228. package/dist/templates/react-native/LICENSE.txt +202 -202
  229. package/dist/templates/react-native/README.MD +113 -113
  230. package/dist/templates/react-native/android/app/BUCK +55 -55
  231. package/dist/templates/react-native/android/app/build.gradle +201 -201
  232. package/dist/templates/react-native/android/app/build_defs.bzl +19 -19
  233. package/dist/templates/react-native/android/app/proguard-rules.pro +10 -10
  234. package/dist/templates/react-native/android/app/src/debug/AndroidManifest.xml +8 -8
  235. package/dist/templates/react-native/android/app/src/main/AndroidManifest.xml +26 -26
  236. package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainActivity.java +15 -15
  237. package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainApplication.java +74 -74
  238. package/dist/templates/react-native/android/app/src/main/res/values/strings.xml +3 -3
  239. package/dist/templates/react-native/android/app/src/main/res/values/styles.xml +9 -9
  240. package/dist/templates/react-native/android/build.gradle +38 -38
  241. package/dist/templates/react-native/android/gradle/wrapper/gradle-wrapper.properties +5 -5
  242. package/dist/templates/react-native/android/gradle.properties +21 -21
  243. package/dist/templates/react-native/android/gradlew +188 -188
  244. package/dist/templates/react-native/android/gradlew.bat +100 -100
  245. package/dist/templates/react-native/android/settings.gradle +3 -3
  246. package/dist/templates/react-native/app.json +3 -3
  247. package/dist/templates/react-native/assets/img/sc_logo.svg +16 -16
  248. package/dist/templates/react-native/data/content/Styleguide/ItemLinkField/Item1/en.json +10 -10
  249. package/dist/templates/react-native/data/routes/en.json +22 -22
  250. package/dist/templates/react-native/data/routes/styleguide/en.json +227 -227
  251. package/dist/templates/react-native/data/routes/styleguide/{{language}}.json +31 -31
  252. package/dist/templates/react-native/data/routes/{{language}}.json +7 -7
  253. package/dist/templates/react-native/gitignore +60 -60
  254. package/dist/templates/react-native/ios/Podfile +53 -53
  255. package/dist/templates/react-native/ios/{{appName}}/AppDelegate.h +15 -15
  256. package/dist/templates/react-native/ios/{{appName}}/AppDelegate.m +42 -42
  257. package/dist/templates/react-native/ios/{{appName}}/Base.lproj/LaunchScreen.xib +42 -42
  258. package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/AppIcon.appiconset/Contents.json +38 -38
  259. package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/Contents.json +6 -6
  260. package/dist/templates/react-native/ios/{{appName}}/Info.plist +57 -57
  261. package/dist/templates/react-native/ios/{{appName}}/main.m +16 -16
  262. package/dist/templates/react-native/ios/{{appName}}-tvOS/Info.plist +53 -53
  263. package/dist/templates/react-native/ios/{{appName}}-tvOSTests/Info.plist +24 -24
  264. package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative-tvOS.xcscheme +129 -129
  265. package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative.xcscheme +129 -129
  266. package/dist/templates/react-native/ios/{{appName}}Tests/BasicSampleReactNativeTests.m +72 -72
  267. package/dist/templates/react-native/ios/{{appName}}Tests/Info.plist +24 -24
  268. package/dist/templates/react-native/package.json +82 -82
  269. package/dist/templates/react-native/sitecore/config/{{appName}}.config +47 -47
  270. package/dist/templates/react-native/sitecore/gitignore +2 -2
  271. package/dist/templates/vue/.browserslistrc +2 -2
  272. package/dist/templates/vue/.prettierrc +9 -9
  273. package/dist/templates/vue/LICENSE.txt +202 -202
  274. package/dist/templates/vue/README.md +34 -34
  275. package/dist/templates/vue/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  276. package/dist/templates/vue/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  277. package/dist/templates/vue/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  278. package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  279. package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  280. package/dist/templates/vue/data/dictionary/en.yml +7 -7
  281. package/dist/templates/vue/data/dictionary/{{language}}.yml +7 -7
  282. package/dist/templates/vue/data/routes/en.yml +63 -63
  283. package/dist/templates/vue/data/routes/graphql/en.yml +34 -34
  284. package/dist/templates/vue/data/routes/graphql/sample-1/en.yml +9 -9
  285. package/dist/templates/vue/data/routes/graphql/sample-2/en.yml +9 -9
  286. package/dist/templates/vue/data/routes/styleguide/custom-route-type/en.yml +12 -12
  287. package/dist/templates/vue/data/routes/styleguide/en.yml +247 -247
  288. package/dist/templates/vue/data/routes/styleguide/{{language}}.yml +26 -26
  289. package/dist/templates/vue/data/routes/{{language}}.yml +4 -4
  290. package/dist/templates/vue/gitignore +25 -25
  291. package/dist/templates/vue/package.json +93 -93
  292. package/dist/templates/vue/public/img/icons/safari-pinned-tab.svg +75 -75
  293. package/dist/templates/vue/public/index.html +27 -27
  294. package/dist/templates/vue/public/manifest.json +14 -14
  295. package/dist/templates/vue/public/robots.txt +2 -2
  296. package/dist/templates/vue/sitecore/config/{{appName}}.config +89 -89
  297. package/dist/templates/vue/sitecore/definitions/components/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
  298. package/dist/templates/vue/sitecore/gitignore +4 -4
  299. package/dist/templates/vue/src/assets/app.css +22 -22
  300. package/dist/templates/vue/src/assets/sc_logo.svg +19 -19
  301. package/dist/templates/vue/src/components/GraphQL/GraphQL-ConnectedDemo.query.graphql +69 -69
  302. package/dist/templates/vue/src/temp/GraphQLFragmentTypes.json +273 -273
  303. package/dist/templates/vue/src/temp/gitignore +3 -3
  304. package/package.json +2 -2
@@ -1,61 +1,61 @@
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
- [Documentation](https://doc.sitecore.com/xp/en/developers/hd/201/sitecore-headless-development/server-side-render-jss-apps-headlessly-using-the-jss-proxy.html)
9
-
10
- > This is a sample setup that is not officially supported by Sitecore.
11
-
12
- 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).
13
-
14
- ## Pre-requisites
15
-
16
- 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.
17
-
18
- > 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}`
19
-
20
- 1. Build your JS app bundle with `jss build`.
21
-
22
- > You can use any of the JSS sample apps. Other apps must support server side rendering (JSS integrated mode) to operate with this project.
23
-
24
- 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}`.
25
-
26
- > 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.
27
-
28
- ## Setup
29
-
30
- Open `config.js` and specify your application bundle and connection settings to your Sitecore CD instance. `config.js` is heavily commented for your perusal.
31
-
32
- ### Environment Variables
33
-
34
- The following environment variables can be set to configure the proxy instead of modifying `config.js`, for environments where this is more desirable like containers:
35
-
36
- | Parameter | Description |
37
- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
38
- | `SITECORE_JSS_APP_NAME` | The JSS app's name. Used in dictionary service URL, and the default value of `SITECORE_JSS_SERVER_BUNDLE` if it's not set. |
39
- | `SITECORE_JSS_SERVER_BUNDLE` | Path to the JSS app's `server.bundle.js` file. |
40
- | `SITECORE_API_HOST` | Sitecore instance host name. Should be HTTPS in production. |
41
- | `SITECORE_LAYOUT_SERVICE_ROUTE` | Optional. The path to layout service for the JSS application. Defaults to `/sitecore/api/layout/render/jss`. |
42
- | `SITECORE_API_KEY` | The Sitecore SSC API key your app uses. |
43
- | `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). |
44
- | `SITECORE_ENABLE_DEBUG` | Optional. Writes verbose request info to stdout for debugging. Defaults to `false`. |
45
-
46
- ## Build & run
47
-
48
- 1. Run `npm install`
49
-
50
- 1. Run `npm run start`
51
-
52
- You should be able to see the following message:
53
- `server listening on port 3000!` and see all the communication between this server and your Sitecore CD instance in the console.
54
-
55
- More info on this setup can be found [here](https://jss.sitecore.com/docs/fundamentals/application-modes#headless-server-side-rendering-mode).
56
-
57
- ## Production Notes
58
-
59
- - Ensure that `debug: false` in `config.js`. Console output will cause terrible scaling.
60
- - Customise `error.html` in case your app throws HTTP 500 errors.
61
- - 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
+ [Documentation](https://doc.sitecore.com/xp/en/developers/hd/201/sitecore-headless-development/server-side-render-jss-apps-headlessly-using-the-jss-proxy.html)
9
+
10
+ > This is a sample setup that is not officially supported by Sitecore.
11
+
12
+ 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).
13
+
14
+ ## Pre-requisites
15
+
16
+ 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.
17
+
18
+ > 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}`
19
+
20
+ 1. Build your JS app bundle with `jss build`.
21
+
22
+ > You can use any of the JSS sample apps. Other apps must support server side rendering (JSS integrated mode) to operate with this project.
23
+
24
+ 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}`.
25
+
26
+ > 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.
27
+
28
+ ## Setup
29
+
30
+ Open `config.js` and specify your application bundle and connection settings to your Sitecore CD instance. `config.js` is heavily commented for your perusal.
31
+
32
+ ### Environment Variables
33
+
34
+ The following environment variables can be set to configure the proxy instead of modifying `config.js`, for environments where this is more desirable like containers:
35
+
36
+ | Parameter | Description |
37
+ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
38
+ | `SITECORE_JSS_APP_NAME` | The JSS app's name. Used in dictionary service URL, and the default value of `SITECORE_JSS_SERVER_BUNDLE` if it's not set. |
39
+ | `SITECORE_JSS_SERVER_BUNDLE` | Path to the JSS app's `server.bundle.js` file. |
40
+ | `SITECORE_API_HOST` | Sitecore instance host name. Should be HTTPS in production. |
41
+ | `SITECORE_LAYOUT_SERVICE_ROUTE` | Optional. The path to layout service for the JSS application. Defaults to `/sitecore/api/layout/render/jss`. |
42
+ | `SITECORE_API_KEY` | The Sitecore SSC API key your app uses. |
43
+ | `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). |
44
+ | `SITECORE_ENABLE_DEBUG` | Optional. Writes verbose request info to stdout for debugging. Defaults to `false`. |
45
+
46
+ ## Build & run
47
+
48
+ 1. Run `npm install`
49
+
50
+ 1. Run `npm run start`
51
+
52
+ You should be able to see the following message:
53
+ `server listening on port 3000!` and see all the communication between this server and your Sitecore CD instance in the console.
54
+
55
+ More info on this setup can be found [here](https://jss.sitecore.com/docs/fundamentals/application-modes#headless-server-side-rendering-mode).
56
+
57
+ ## Production Notes
58
+
59
+ - Ensure that `debug: false` in `config.js`. Console output will cause terrible scaling.
60
+ - Customise `error.html` in case your app throws HTTP 500 errors.
61
+ - Load test the proxy prior to launch to ensure proper performance levels for your needs.
@@ -1,200 +1,200 @@
1
- <html>
2
-
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
- <title>500 Epic Fail</title>
7
- <meta name="viewport" content="width=device-width">
8
- <!--[if gte IE 9]>
9
- <style type="text/css">
10
- .gradient {
11
- filter: none;
12
- }
13
- </style>
14
- <![endif]-->
15
- <style>
16
- *,
17
- *:after,
18
- *:before {
19
- -webkit-box-sizing: border-box;
20
- -moz-box-sizing: border-box;
21
- -ms-box-sizing: border-box;
22
- box-sizing: border-box;
23
- }
24
-
25
- html {
26
- background: #ccc;
27
- font: bold 14px/20px "Trajan Pro", "Times New Roman", Times, serif;
28
- color: #430400;
29
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
30
- }
31
-
32
- .error-page-wrap {
33
- width: 310px;
34
- height: 310px;
35
- margin: 155px auto;
36
- }
37
-
38
- .error-page-wrap:before {
39
- box-shadow: 0 0 200px 150px #fff;
40
- width: 310px;
41
- height: 310px;
42
- border-radius: 50%;
43
- position: relative;
44
- z-index: -1;
45
- content: '';
46
- display: block;
47
- }
48
-
49
- .error-page {
50
- width: 310px;
51
- height: 310px;
52
- border-radius: 50%;
53
- top: -310px;
54
- position: relative;
55
- text-align: center;
56
- background: #d36242;
57
- background: -moz-linear-gradient(top, #d36242 0%, darkred 100%);
58
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d36242), color-stop(100%, darkred));
59
- background: -webkit-linear-gradient(top, #d36242 0%, darkred 100%);
60
- background: -o-linear-gradient(top, #d36242 0%, darkred 100%);
61
- background: -ms-linear-gradient(top, #d36242 0%, darkred 100%);
62
- background: linear-gradient(to bottom, #d36242 0%, darkred 100%);
63
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$firstColor', endColorstr='$secondColor', GradientType=0);
64
- }
65
-
66
- .error-page:before {
67
- width: 63px;
68
- height: 63px;
69
- border-radius: 50%;
70
- box-shadow: 3px 25px 0 5px #C95439;
71
- content: '';
72
- z-index: -1;
73
- display: block;
74
- position: relative;
75
- top: -19px;
76
- left: 44px;
77
- }
78
-
79
- .error-page:after {
80
- width: 310px;
81
- height: 17px;
82
- margin: 0 auto;
83
- top: 25px;
84
- content: '';
85
- z-index: -1;
86
- display: block;
87
- position: relative;
88
- background: -moz-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
89
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(0, 0, 0, 0.65)), color-stop(59%, rgba(35, 26, 26, 0)), color-stop(100%, rgba(60, 44, 44, 0)));
90
- background: -webkit-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
91
- background: -o-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
92
- background: -ms-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
93
- background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
94
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#003c2c2c', GradientType=1);
95
- }
96
-
97
- .error-page h1 {
98
- color: rgba(255, 255, 255, 0.94);
99
- font-size: 100px;
100
- margin: 65px auto 0 auto;
101
- text-shadow: 0px 0 7px rgba(0, 0, 0, 0.5);
102
- }
103
-
104
- .error-page h1:before {
105
- width: 260px;
106
- height: 1px;
107
- position: relative;
108
- margin: 0 auto;
109
- top: 70px;
110
- content: '';
111
- display: block;
112
- background: -moz-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
113
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(111, 25, 25, 0.65)), color-stop(70%, rgba(75, 38, 38, 0)), color-stop(100%, rgba(60, 44, 44, 0)));
114
- background: -webkit-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
115
- background: -o-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
116
- background: -ms-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
117
- background: radial-gradient(ellipse at center, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
118
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a66f1919', endColorstr='#003c2c2c', GradientType=1);
119
- }
120
-
121
- .error-page h1:after {
122
- width: 260px;
123
- height: 1px;
124
- content: '';
125
- display: block;
126
- opacity: 0.2;
127
- margin: 0 auto;
128
- top: 50px;
129
- position: relative;
130
- background: -moz-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
131
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(247, 173, 148, 0.65)), color-stop(99%, rgba(255, 255, 255, 0.01)), color-stop(100%, rgba(255, 255, 255, 0)));
132
- background: -webkit-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
133
- background: -o-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
134
- background: -ms-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
135
- background: radial-gradient(ellipse at center, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
136
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6f7ad94', endColorstr='#00ffffff', GradientType=1);
137
- }
138
-
139
- .error-page h2 {
140
- margin: 55px 0 30px 0;
141
- font-size: 17px;
142
- }
143
-
144
- .error-page h2:before {
145
- width: 130px;
146
- height: 1px;
147
- position: relative;
148
- margin: 0 auto;
149
- top: 31px;
150
- content: '';
151
- display: block;
152
- background: -moz-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
153
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(111, 25, 25, 0.65)), color-stop(70%, rgba(75, 38, 38, 0)), color-stop(100%, rgba(60, 44, 44, 0)));
154
- background: -webkit-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
155
- background: -o-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
156
- background: -ms-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
157
- background: radial-gradient(ellipse at center, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
158
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a66f1919', endColorstr='#003c2c2c', GradientType=1);
159
- }
160
-
161
- .error-page h2:after {
162
- width: 130px;
163
- height: 1px;
164
- content: '';
165
- display: block;
166
- opacity: 0.2;
167
- margin: 0 auto;
168
- top: 11px;
169
- position: relative;
170
- background: -moz-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
171
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(247, 173, 148, 0.65)), color-stop(99%, rgba(255, 255, 255, 0.01)), color-stop(100%, rgba(255, 255, 255, 0)));
172
- background: -webkit-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
173
- background: -o-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
174
- background: -ms-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
175
- background: radial-gradient(ellipse at center, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
176
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6f7ad94', endColorstr='#00ffffff', GradientType=1);
177
- }
178
-
179
- .error-back {
180
- text-decoration: none;
181
- color: #430400;
182
- font-size: 15px;
183
- }
184
-
185
- .error-back:hover {
186
- color: #EB957D;
187
- text-shadow: 0 0 3px black;
188
- }
189
- </style>
190
- </head>
191
-
192
- <body>
193
- <div class="error-page-wrap">
194
- <article class="error-page gradient">
195
- <h1>An error has occurred</h1>
196
- </article>
197
- </div>
198
- </body>
199
-
200
- </html>
1
+ <html>
2
+
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <title>500 Epic Fail</title>
7
+ <meta name="viewport" content="width=device-width">
8
+ <!--[if gte IE 9]>
9
+ <style type="text/css">
10
+ .gradient {
11
+ filter: none;
12
+ }
13
+ </style>
14
+ <![endif]-->
15
+ <style>
16
+ *,
17
+ *:after,
18
+ *:before {
19
+ -webkit-box-sizing: border-box;
20
+ -moz-box-sizing: border-box;
21
+ -ms-box-sizing: border-box;
22
+ box-sizing: border-box;
23
+ }
24
+
25
+ html {
26
+ background: #ccc;
27
+ font: bold 14px/20px "Trajan Pro", "Times New Roman", Times, serif;
28
+ color: #430400;
29
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
30
+ }
31
+
32
+ .error-page-wrap {
33
+ width: 310px;
34
+ height: 310px;
35
+ margin: 155px auto;
36
+ }
37
+
38
+ .error-page-wrap:before {
39
+ box-shadow: 0 0 200px 150px #fff;
40
+ width: 310px;
41
+ height: 310px;
42
+ border-radius: 50%;
43
+ position: relative;
44
+ z-index: -1;
45
+ content: '';
46
+ display: block;
47
+ }
48
+
49
+ .error-page {
50
+ width: 310px;
51
+ height: 310px;
52
+ border-radius: 50%;
53
+ top: -310px;
54
+ position: relative;
55
+ text-align: center;
56
+ background: #d36242;
57
+ background: -moz-linear-gradient(top, #d36242 0%, darkred 100%);
58
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d36242), color-stop(100%, darkred));
59
+ background: -webkit-linear-gradient(top, #d36242 0%, darkred 100%);
60
+ background: -o-linear-gradient(top, #d36242 0%, darkred 100%);
61
+ background: -ms-linear-gradient(top, #d36242 0%, darkred 100%);
62
+ background: linear-gradient(to bottom, #d36242 0%, darkred 100%);
63
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$firstColor', endColorstr='$secondColor', GradientType=0);
64
+ }
65
+
66
+ .error-page:before {
67
+ width: 63px;
68
+ height: 63px;
69
+ border-radius: 50%;
70
+ box-shadow: 3px 25px 0 5px #C95439;
71
+ content: '';
72
+ z-index: -1;
73
+ display: block;
74
+ position: relative;
75
+ top: -19px;
76
+ left: 44px;
77
+ }
78
+
79
+ .error-page:after {
80
+ width: 310px;
81
+ height: 17px;
82
+ margin: 0 auto;
83
+ top: 25px;
84
+ content: '';
85
+ z-index: -1;
86
+ display: block;
87
+ position: relative;
88
+ background: -moz-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
89
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(0, 0, 0, 0.65)), color-stop(59%, rgba(35, 26, 26, 0)), color-stop(100%, rgba(60, 44, 44, 0)));
90
+ background: -webkit-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
91
+ background: -o-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
92
+ background: -ms-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
93
+ background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(35, 26, 26, 0) 59%, rgba(60, 44, 44, 0) 100%);
94
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#003c2c2c', GradientType=1);
95
+ }
96
+
97
+ .error-page h1 {
98
+ color: rgba(255, 255, 255, 0.94);
99
+ font-size: 100px;
100
+ margin: 65px auto 0 auto;
101
+ text-shadow: 0px 0 7px rgba(0, 0, 0, 0.5);
102
+ }
103
+
104
+ .error-page h1:before {
105
+ width: 260px;
106
+ height: 1px;
107
+ position: relative;
108
+ margin: 0 auto;
109
+ top: 70px;
110
+ content: '';
111
+ display: block;
112
+ background: -moz-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
113
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(111, 25, 25, 0.65)), color-stop(70%, rgba(75, 38, 38, 0)), color-stop(100%, rgba(60, 44, 44, 0)));
114
+ background: -webkit-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
115
+ background: -o-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
116
+ background: -ms-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
117
+ background: radial-gradient(ellipse at center, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
118
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a66f1919', endColorstr='#003c2c2c', GradientType=1);
119
+ }
120
+
121
+ .error-page h1:after {
122
+ width: 260px;
123
+ height: 1px;
124
+ content: '';
125
+ display: block;
126
+ opacity: 0.2;
127
+ margin: 0 auto;
128
+ top: 50px;
129
+ position: relative;
130
+ background: -moz-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
131
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(247, 173, 148, 0.65)), color-stop(99%, rgba(255, 255, 255, 0.01)), color-stop(100%, rgba(255, 255, 255, 0)));
132
+ background: -webkit-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
133
+ background: -o-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
134
+ background: -ms-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
135
+ background: radial-gradient(ellipse at center, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
136
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6f7ad94', endColorstr='#00ffffff', GradientType=1);
137
+ }
138
+
139
+ .error-page h2 {
140
+ margin: 55px 0 30px 0;
141
+ font-size: 17px;
142
+ }
143
+
144
+ .error-page h2:before {
145
+ width: 130px;
146
+ height: 1px;
147
+ position: relative;
148
+ margin: 0 auto;
149
+ top: 31px;
150
+ content: '';
151
+ display: block;
152
+ background: -moz-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
153
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(111, 25, 25, 0.65)), color-stop(70%, rgba(75, 38, 38, 0)), color-stop(100%, rgba(60, 44, 44, 0)));
154
+ background: -webkit-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
155
+ background: -o-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
156
+ background: -ms-radial-gradient(center, ellipse cover, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
157
+ background: radial-gradient(ellipse at center, rgba(111, 25, 25, 0.65) 0%, rgba(75, 38, 38, 0) 70%, rgba(60, 44, 44, 0) 100%);
158
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a66f1919', endColorstr='#003c2c2c', GradientType=1);
159
+ }
160
+
161
+ .error-page h2:after {
162
+ width: 130px;
163
+ height: 1px;
164
+ content: '';
165
+ display: block;
166
+ opacity: 0.2;
167
+ margin: 0 auto;
168
+ top: 11px;
169
+ position: relative;
170
+ background: -moz-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
171
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(247, 173, 148, 0.65)), color-stop(99%, rgba(255, 255, 255, 0.01)), color-stop(100%, rgba(255, 255, 255, 0)));
172
+ background: -webkit-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
173
+ background: -o-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
174
+ background: -ms-radial-gradient(center, ellipse cover, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
175
+ background: radial-gradient(ellipse at center, rgba(247, 173, 148, 0.65) 0%, rgba(255, 255, 255, 0.01) 99%, rgba(255, 255, 255, 0) 100%);
176
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6f7ad94', endColorstr='#00ffffff', GradientType=1);
177
+ }
178
+
179
+ .error-back {
180
+ text-decoration: none;
181
+ color: #430400;
182
+ font-size: 15px;
183
+ }
184
+
185
+ .error-back:hover {
186
+ color: #EB957D;
187
+ text-shadow: 0 0 3px black;
188
+ }
189
+ </style>
190
+ </head>
191
+
192
+ <body>
193
+ <div class="error-page-wrap">
194
+ <article class="error-page gradient">
195
+ <h1>An error has occurred</h1>
196
+ </article>
197
+ </div>
198
+ </body>
199
+
200
+ </html>
@@ -1,35 +1,35 @@
1
- {
2
- "name": "node-headless-ssr-proxy-sample",
3
- "version": "20.2.1",
4
- "description": "Node server-side-rendering proxy sample for running JSS apps under Node hosting",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "start": "node index.js"
8
- },
9
- "engines": {
10
- "node": ">=12",
11
- "npm": ">=6"
12
- },
13
- "author": {
14
- "name": "Sitecore Corporation",
15
- "url": "https://jss.sitecore.com"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git+https://github.com/sitecore/jss.git"
20
- },
21
- "bugs": {
22
- "url": "https://github.com/sitecore/jss/issues"
23
- },
24
- "homepage": "https://jss.sitecore.com",
25
- "license": "Apache-2.0",
26
- "dependencies": {
27
- "@sitecore-jss/sitecore-jss": "^20.2.1-canary",
28
- "@sitecore-jss/sitecore-jss-proxy": "^20.2.1-canary",
29
- "agentkeepalive": "^4.1.3",
30
- "compression": "~1.7.3",
31
- "express": "~4.16.4",
32
- "memory-cache": "^0.2.0"
33
- },
34
- "private": true
35
- }
1
+ {
2
+ "name": "node-headless-ssr-proxy-sample",
3
+ "version": "20.2.2",
4
+ "description": "Node server-side-rendering proxy sample for running JSS apps under Node hosting",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "start": "node index.js"
8
+ },
9
+ "engines": {
10
+ "node": ">=12",
11
+ "npm": ">=6"
12
+ },
13
+ "author": {
14
+ "name": "Sitecore Corporation",
15
+ "url": "https://jss.sitecore.com"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/sitecore/jss.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/sitecore/jss/issues"
23
+ },
24
+ "homepage": "https://jss.sitecore.com",
25
+ "license": "Apache-2.0",
26
+ "dependencies": {
27
+ "@sitecore-jss/sitecore-jss": "^20.2.2",
28
+ "@sitecore-jss/sitecore-jss-proxy": "^20.2.2",
29
+ "agentkeepalive": "^4.1.3",
30
+ "compression": "~1.7.3",
31
+ "express": "~4.16.4",
32
+ "memory-cache": "^0.2.0"
33
+ },
34
+ "private": true
35
+ }