create-sitecore-jss 21.0.2 → 21.0.4
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.
- package/LICENSE.MD +202 -202
- package/README.md +7 -7
- package/dist/templates/angular/.env +33 -33
- package/dist/templates/angular/.eslintignore +2 -2
- package/dist/templates/angular/.eslintrc +79 -79
- package/dist/templates/angular/LICENSE.txt +202 -202
- package/dist/templates/angular/README.md +51 -51
- package/dist/templates/angular/angular.json +169 -169
- package/dist/templates/angular/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/angular/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/angular/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/angular/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/angular/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/angular/data/dictionary/en.yml +4 -4
- package/dist/templates/angular/data/dictionary/{{language}}.yml +4 -4
- package/dist/templates/angular/data/routes/en.yml +61 -61
- package/dist/templates/angular/data/routes/graphql/en.yml +27 -27
- package/dist/templates/angular/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/angular/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/angular/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/angular/data/routes/styleguide/en.yml +253 -253
- package/dist/templates/angular/data/routes/styleguide/{{language}}.yml +25 -25
- package/dist/templates/angular/data/routes/{{language}}.yml +4 -4
- package/dist/templates/angular/e2e/tsconfig.e2e.json +15 -15
- package/dist/templates/angular/gitignore +47 -47
- package/dist/templates/angular/package.json +131 -131
- package/dist/templates/angular/sitecore/config/{{appName}}.config +90 -90
- package/dist/templates/angular/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +71 -71
- package/dist/templates/angular/sitecore/gitignore +2 -2
- package/dist/templates/angular/src/app/app.component.html +1 -1
- package/dist/templates/angular/src/app/components/content-block/content-block.component.html +4 -4
- package/dist/templates/angular/src/app/components/gitignore +7 -7
- package/dist/templates/angular/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.graphql +69 -69
- package/dist/templates/angular/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +55 -55
- package/dist/templates/angular/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +47 -47
- package/dist/templates/angular/src/app/components/graph-ql-layout/graph-ql-layout.component.html +22 -22
- package/dist/templates/angular/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.html +5 -5
- package/dist/templates/angular/src/app/components/styleguide-component-params/styleguide-component-params.component.html +19 -19
- package/dist/templates/angular/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.html +14 -14
- package/dist/templates/angular/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.html +11 -11
- package/dist/templates/angular/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +26 -26
- package/dist/templates/angular/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.html +4 -4
- package/dist/templates/angular/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.html +27 -27
- package/dist/templates/angular/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.html +10 -10
- package/dist/templates/angular/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html +30 -30
- package/dist/templates/angular/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +17 -17
- package/dist/templates/angular/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.html +44 -44
- package/dist/templates/angular/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.html +11 -11
- package/dist/templates/angular/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.html +11 -11
- package/dist/templates/angular/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.html +13 -13
- package/dist/templates/angular/src/app/components/styleguide-layout/styleguide-layout.component.html +20 -20
- package/dist/templates/angular/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.html +52 -52
- package/dist/templates/angular/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +37 -37
- package/dist/templates/angular/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +12 -12
- package/dist/templates/angular/src/app/components/styleguide-multilingual/styleguide-multilingual.component.html +15 -15
- package/dist/templates/angular/src/app/components/styleguide-route-fields/styleguide-route-fields.component.html +8 -8
- package/dist/templates/angular/src/app/components/styleguide-section/styleguide-section.component.html +7 -7
- package/dist/templates/angular/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.html +3 -3
- package/dist/templates/angular/src/app/components/styleguide-tracking/styleguide-tracking.component.html +175 -175
- package/dist/templates/angular/src/app/routing/layout/layout.component.html +17 -17
- package/dist/templates/angular/src/app/routing/navigation/navigation.component.html +21 -21
- package/dist/templates/angular/src/app/routing/not-found/not-found.component.html +7 -7
- package/dist/templates/angular/src/app/routing/server-error/server-error.component.html +3 -3
- package/dist/templates/angular/src/assets/images/sc_logo.svg +19 -19
- package/dist/templates/angular/src/index.html +12 -12
- package/dist/templates/angular/src/styles.css +26 -26
- package/dist/templates/angular/src/tsconfig.app.json +22 -22
- package/dist/templates/angular/src/tsconfig.server.json +21 -21
- package/dist/templates/angular/src/tsconfig.spec.json +24 -24
- package/dist/templates/angular/src/tsconfig.webpack-server.json +6 -6
- package/dist/templates/angular/tsconfig.json +30 -30
- package/dist/templates/nextjs/.babelrc +8 -8
- package/dist/templates/nextjs/.env +59 -59
- package/dist/templates/nextjs/.eslintrc +25 -25
- package/dist/templates/nextjs/.gitattributes +11 -11
- package/dist/templates/nextjs/.graphql-let.yml +10 -10
- package/dist/templates/nextjs/.prettierrc +8 -8
- package/dist/templates/nextjs/.vscode/launch.json +15 -15
- package/dist/templates/nextjs/LICENSE.txt +202 -202
- package/dist/templates/nextjs/README.md +6 -6
- package/dist/templates/nextjs/gitignore +32 -32
- package/dist/templates/nextjs/package.json +87 -87
- package/dist/templates/nextjs/public/sc_logo.svg +19 -19
- package/dist/templates/nextjs/sitecore/config/{{appName}}.config +165 -165
- package/dist/templates/nextjs/src/assets/app.css +28 -28
- package/dist/templates/nextjs/src/temp/GraphQLIntrospectionResult.json +22215 -22215
- package/dist/templates/nextjs/src/temp/gitignore +3 -3
- package/dist/templates/nextjs/tsconfig.json +34 -34
- package/dist/templates/nextjs/tsconfig.scripts.json +6 -6
- package/dist/templates/nextjs-personalize/.env +15 -15
- package/dist/templates/nextjs-personalize/package.json +5 -5
- package/dist/templates/nextjs-styleguide/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/dictionary/en.yml +4 -4
- package/dist/templates/nextjs-styleguide/data/dictionary/{{language}}.yml +4 -4
- package/dist/templates/nextjs-styleguide/data/routes/en.yml +63 -63
- package/dist/templates/nextjs-styleguide/data/routes/graphql/en.yml +27 -27
- package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/nextjs-styleguide/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/nextjs-styleguide/data/routes/styleguide/en.yml +242 -242
- package/dist/templates/nextjs-styleguide/data/routes/styleguide/{{language}}.yml +25 -25
- package/dist/templates/nextjs-styleguide/data/routes/{{language}}.yml +4 -4
- package/dist/templates/nextjs-styleguide/package.json +13 -13
- package/dist/templates/nextjs-styleguide/sitecore/definitions/components/graphql/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
- package/dist/templates/nextjs-styleguide/sitecore/gitignore +3 -3
- package/dist/templates/nextjs-styleguide/src/components/graphql/GraphQL-ConnectedDemo.dynamic.graphql +69 -69
- package/dist/templates/nextjs-styleguide-tracking/data/dictionary/en.yml +5 -5
- package/dist/templates/nextjs-styleguide-tracking/data/routes/tracking/en.yml +8 -8
- package/dist/templates/nextjs-sxa/package.json +10 -10
- package/dist/templates/nextjs-sxa/src/assets/basic/_component.scss +18 -18
- package/dist/templates/nextjs-sxa/src/assets/basic/_container.scss +80 -80
- package/dist/templates/nextjs-sxa/src/assets/basic/_fonts.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/basic/_footer.scss +31 -31
- package/dist/templates/nextjs-sxa/src/assets/basic/_header.scss +50 -50
- package/dist/templates/nextjs-sxa/src/assets/basic/_navigation.scss +150 -150
- package/dist/templates/nextjs-sxa/src/assets/basic/_promo.scss +58 -58
- package/dist/templates/nextjs-sxa/src/assets/basic/_rich-text.scss +11 -11
- package/dist/templates/nextjs-sxa/src/assets/basic/_variables.scss +9 -9
- package/dist/templates/nextjs-sxa/src/assets/basic/main.scss +8 -8
- package/dist/templates/nextjs-sxa/src/assets/main.scss +5 -5
- package/dist/templates/nextjs-sxa/src/assets/sass/_app.scss +102 -102
- package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_functions.scss +8 -8
- package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_mixins.scss +121 -121
- package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/_vars.scss +3 -3
- package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_colors.scss +283 -283
- package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_fontSizes.scss +16 -16
- package/dist/templates/nextjs-sxa/src/assets/sass/abstracts/vars/_margins.scss +10 -10
- package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/_fonts.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/base/fonts/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/base/index.scss +3 -3
- package/dist/templates/nextjs-sxa/src/assets/sass/base/links/_link-button.scss +26 -26
- package/dist/templates/nextjs-sxa/src/assets/sass/base/links/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_inputs.scss +58 -58
- package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_links.scss +14 -14
- package/dist/templates/nextjs-sxa/src/assets/sass/base/reset/_ui-datepicker.scss +7 -7
- package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext-files-icons.scss +86 -86
- package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/_richtext.scss +101 -101
- package/dist/templates/nextjs-sxa/src/assets/sass/base/richtext/index.scss +2 -2
- package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/_typehead.scss +95 -95
- package/dist/templates/nextjs-sxa/src/assets/sass/base/typehead/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-column-splitter.scss +14 -14
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-container.scss +18 -18
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss +18 -18
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-navigation.scss +51 -51
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-promo.scss +42 -42
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-richtext-content.scss +19 -19
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_alignment.scss +25 -25
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_boxed.scss +16 -16
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_clearfix.scss +11 -11
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_highlighted.scss +62 -62
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_link-button.scss +16 -16
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_promoted-box.scss +3 -3
- package/dist/templates/nextjs-sxa/src/assets/sass/components/common/index.scss +5 -5
- package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_bordered.scss +23 -23
- package/dist/templates/nextjs-sxa/src/assets/sass/components/container/_title-row-box.scss +66 -66
- package/dist/templates/nextjs-sxa/src/assets/sass/components/container/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/components/image/_image-banner.scss +14 -14
- package/dist/templates/nextjs-sxa/src/assets/sass/components/image/_image-default-size.scss +6 -6
- package/dist/templates/nextjs-sxa/src/assets/sass/components/image/index.scss +2 -2
- package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-left.scss +3 -3
- package/dist/templates/nextjs-sxa/src/assets/sass/components/image-alignment/_image-right.scss +3 -3
- package/dist/templates/nextjs-sxa/src/assets/sass/components/index.scss +17 -17
- package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_acaindent.scss +5 -5
- package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/_background.scss +27 -27
- package/dist/templates/nextjs-sxa/src/assets/sass/components/layout/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_component-link-list.scss +45 -45
- package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/_list-vertical.scss +20 -20
- package/dist/templates/nextjs-sxa/src/assets/sass/components/link-list/index.scss +2 -2
- package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-fat.scss +58 -58
- package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-main-horizontal-vertical.scss +152 -152
- package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-mobile.scss +89 -89
- package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_navigation-sidebar.scss +29 -29
- package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/_sitemap-navigation.scss +20 -20
- package/dist/templates/nextjs-sxa/src/assets/sass/components/navigation/index.scss +5 -5
- package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_absolute-bottom-link.scss +8 -8
- package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-hero.scss +40 -40
- package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-shadow.scss +42 -42
- package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/index.scss +3 -3
- package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/_rich-text-lists.scss +63 -63
- package/dist/templates/nextjs-sxa/src/assets/sass/components/rich-text/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_background-colors.scss +14 -14
- package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/_indent.scss +10 -10
- package/dist/templates/nextjs-sxa/src/assets/sass/components/spacing/index.scss +2 -2
- package/dist/templates/nextjs-sxa/src/assets/sass/components/title/_component-title.scss +24 -24
- package/dist/templates/nextjs-sxa/src/assets/sass/components/title/index.scss +1 -1
- package/dist/templates/nextjs-sxa/src/assets/sass/main.scss +4 -4
- package/dist/templates/nextjs-sxa/src/assets/sass/variants/index.scss +5 -5
- package/dist/templates/node-headless-ssr-experience-edge/.env +6 -6
- package/dist/templates/node-headless-ssr-experience-edge/README.md +51 -51
- package/dist/templates/node-headless-ssr-experience-edge/package.json +38 -38
- package/dist/templates/node-headless-ssr-experience-edge/tsconfig.json +22 -22
- package/dist/templates/node-headless-ssr-proxy/.env +8 -8
- package/dist/templates/node-headless-ssr-proxy/.vscode/launch.json +47 -47
- package/dist/templates/node-headless-ssr-proxy/LICENSE.txt +202 -202
- package/dist/templates/node-headless-ssr-proxy/README.md +60 -60
- package/dist/templates/node-headless-ssr-proxy/package.json +43 -43
- package/dist/templates/node-headless-ssr-proxy/src/error.html +200 -200
- package/dist/templates/node-headless-ssr-proxy/tsconfig.json +22 -22
- package/dist/templates/react/.env +36 -36
- package/dist/templates/react/.eslintrc +78 -78
- package/dist/templates/react/.prettierrc +9 -9
- package/dist/templates/react/LICENSE.txt +202 -202
- package/dist/templates/react/README.md +2400 -2400
- package/dist/templates/react/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/react/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/react/data/dictionary/en.yml +4 -4
- package/dist/templates/react/data/dictionary/{{language}}.yml +4 -4
- package/dist/templates/react/data/routes/en.yml +61 -61
- package/dist/templates/react/data/routes/graphql/en.yml +27 -27
- package/dist/templates/react/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/react/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/react/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/react/data/routes/styleguide/en.yml +247 -247
- package/dist/templates/react/data/routes/styleguide/{{language}}.yml +26 -26
- package/dist/templates/react/data/routes/{{language}}.yml +4 -4
- package/dist/templates/react/gitignore +25 -25
- package/dist/templates/react/package.json +120 -120
- package/dist/templates/react/public/index.html +35 -35
- package/dist/templates/react/sitecore/config/{{appName}}.config +90 -90
- package/dist/templates/react/sitecore/definitions/components/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
- package/dist/templates/react/sitecore/gitignore +2 -2
- package/dist/templates/react/src/assets/app.css +19 -19
- package/dist/templates/react/src/assets/sc_logo.svg +19 -19
- package/dist/templates/react/src/components/GraphQL-ConnectedDemo/query.graphql +69 -69
- package/dist/templates/react/src/temp/GraphQLFragmentTypes.json +207 -207
- package/dist/templates/react/src/temp/gitignore +3 -3
- package/dist/templates/react-native/.buckconfig +6 -6
- package/dist/templates/react-native/.eslintrc +74 -74
- package/dist/templates/react-native/.gitattributes +1 -1
- package/dist/templates/react-native/.prettierrc +9 -9
- package/dist/templates/react-native/.vscode/launch.json +42 -42
- package/dist/templates/react-native/.vscode/settings.json +1 -1
- package/dist/templates/react-native/LICENSE.txt +202 -202
- package/dist/templates/react-native/README.MD +113 -113
- package/dist/templates/react-native/android/app/BUCK +55 -55
- package/dist/templates/react-native/android/app/build.gradle +201 -201
- package/dist/templates/react-native/android/app/build_defs.bzl +19 -19
- package/dist/templates/react-native/android/app/proguard-rules.pro +10 -10
- package/dist/templates/react-native/android/app/src/debug/AndroidManifest.xml +8 -8
- package/dist/templates/react-native/android/app/src/main/AndroidManifest.xml +26 -26
- package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainActivity.java +15 -15
- package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainApplication.java +74 -74
- package/dist/templates/react-native/android/app/src/main/res/values/strings.xml +3 -3
- package/dist/templates/react-native/android/app/src/main/res/values/styles.xml +9 -9
- package/dist/templates/react-native/android/build.gradle +38 -38
- package/dist/templates/react-native/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/dist/templates/react-native/android/gradle.properties +21 -21
- package/dist/templates/react-native/android/gradlew +188 -188
- package/dist/templates/react-native/android/gradlew.bat +100 -100
- package/dist/templates/react-native/android/settings.gradle +3 -3
- package/dist/templates/react-native/app.json +3 -3
- package/dist/templates/react-native/assets/img/sc_logo.svg +16 -16
- package/dist/templates/react-native/data/content/Styleguide/ItemLinkField/Item1/en.json +10 -10
- package/dist/templates/react-native/data/routes/en.json +22 -22
- package/dist/templates/react-native/data/routes/styleguide/en.json +227 -227
- package/dist/templates/react-native/data/routes/styleguide/{{language}}.json +31 -31
- package/dist/templates/react-native/data/routes/{{language}}.json +7 -7
- package/dist/templates/react-native/gitignore +60 -60
- package/dist/templates/react-native/ios/Podfile +53 -53
- package/dist/templates/react-native/ios/{{appName}}/AppDelegate.h +15 -15
- package/dist/templates/react-native/ios/{{appName}}/AppDelegate.m +42 -42
- package/dist/templates/react-native/ios/{{appName}}/Base.lproj/LaunchScreen.xib +42 -42
- package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/AppIcon.appiconset/Contents.json +38 -38
- package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/Contents.json +6 -6
- package/dist/templates/react-native/ios/{{appName}}/Info.plist +57 -57
- package/dist/templates/react-native/ios/{{appName}}/main.m +16 -16
- package/dist/templates/react-native/ios/{{appName}}-tvOS/Info.plist +53 -53
- package/dist/templates/react-native/ios/{{appName}}-tvOSTests/Info.plist +24 -24
- package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative-tvOS.xcscheme +129 -129
- package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative.xcscheme +129 -129
- package/dist/templates/react-native/ios/{{appName}}Tests/BasicSampleReactNativeTests.m +72 -72
- package/dist/templates/react-native/ios/{{appName}}Tests/Info.plist +24 -24
- package/dist/templates/react-native/package.json +82 -82
- package/dist/templates/react-native/sitecore/config/{{appName}}.config +47 -47
- package/dist/templates/react-native/sitecore/gitignore +2 -2
- package/dist/templates/vue/.browserslistrc +2 -2
- package/dist/templates/vue/.env +35 -35
- package/dist/templates/vue/.prettierrc +9 -9
- package/dist/templates/vue/LICENSE.txt +202 -202
- package/dist/templates/vue/README.md +34 -34
- package/dist/templates/vue/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/vue/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/vue/data/dictionary/en.yml +7 -7
- package/dist/templates/vue/data/dictionary/{{language}}.yml +7 -7
- package/dist/templates/vue/data/routes/en.yml +63 -63
- package/dist/templates/vue/data/routes/graphql/en.yml +34 -34
- package/dist/templates/vue/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/vue/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/vue/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/vue/data/routes/styleguide/en.yml +247 -247
- package/dist/templates/vue/data/routes/styleguide/{{language}}.yml +26 -26
- package/dist/templates/vue/data/routes/{{language}}.yml +4 -4
- package/dist/templates/vue/gitignore +25 -25
- package/dist/templates/vue/package.json +91 -91
- package/dist/templates/vue/public/img/icons/safari-pinned-tab.svg +75 -75
- package/dist/templates/vue/public/index.html +27 -27
- package/dist/templates/vue/public/manifest.json +14 -14
- package/dist/templates/vue/public/robots.txt +2 -2
- package/dist/templates/vue/sitecore/config/{{appName}}.config +89 -89
- package/dist/templates/vue/sitecore/definitions/components/GraphQL-IntegratedDemo.sitecore.graphql +71 -71
- package/dist/templates/vue/sitecore/gitignore +4 -4
- package/dist/templates/vue/src/assets/app.css +22 -22
- package/dist/templates/vue/src/assets/sc_logo.svg +19 -19
- package/dist/templates/vue/src/components/GraphQL/GraphQL-ConnectedDemo.query.graphql +69 -69
- package/dist/templates/vue/src/temp/GraphQLFragmentTypes.json +273 -273
- package/dist/templates/vue/src/temp/gitignore +3 -3
- package/package.json +2 -2
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "<%- appName %>",
|
|
3
|
-
"version": "21.0.
|
|
4
|
-
"description": "Application utilizing Sitecore JavaScript Services and Vue (vue-cli).",
|
|
5
|
-
"private": true,
|
|
6
|
-
"config": {
|
|
7
|
-
"appName": "<%- appName %>",
|
|
8
|
-
"rootPlaceholders": [
|
|
9
|
-
"<%- helper.getAppPrefix(appPrefix, appName) %>jss-main"
|
|
10
|
-
],
|
|
11
|
-
"sitecoreDistPath": "/dist/<%- appName %>",
|
|
12
|
-
"sitecoreConfigPath": "/App_Config/Include/zzz",
|
|
13
|
-
"graphQLEndpointPath": "/sitecore/api/graph/edge",
|
|
14
|
-
"buildArtifactsPath": "./dist",
|
|
15
|
-
"language": "en"
|
|
16
|
-
},
|
|
17
|
-
"engines": {
|
|
18
|
-
"node": ">= 12",
|
|
19
|
-
"npm": ">= 6"
|
|
20
|
-
},
|
|
21
|
-
"author": {
|
|
22
|
-
"name": "Sitecore Corporation",
|
|
23
|
-
"url": "https://jss.sitecore.com"
|
|
24
|
-
},
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/sitecore/jss.git"
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/sitecore/jss/issues"
|
|
31
|
-
},
|
|
32
|
-
"license": "Apache-2.0",
|
|
33
|
-
"scripts": {
|
|
34
|
-
"jss": "jss",
|
|
35
|
-
"start": "cross-env-shell JSS_MODE=disconnected \"npm-run-all --serial bootstrap --parallel start:vue start:proxy start:watch-components\"",
|
|
36
|
-
"start:connected": "npm-run-all --serial bootstrap start:vue start:watch-components",
|
|
37
|
-
"build": "npm-run-all --serial bootstrap build:client build:server",
|
|
38
|
-
"scaffold": "node scripts/scaffold-component.js",
|
|
39
|
-
"start:vue": "vue-cli-service serve --open",
|
|
40
|
-
"start:proxy": "node scripts/disconnected-mode-proxy.js",
|
|
41
|
-
"start:watch-components": "node scripts/generate-component-factory.js --watch",
|
|
42
|
-
"build:client": "cross-env-shell BUILD_TARGET_ENV=client PUBLIC_URL=$npm_package_config_sitecoreDistPath \"vue-cli-service build\"",
|
|
43
|
-
"build:server": "cross-env-shell BUILD_TARGET_ENV=server \"vue-cli-service build --no-clean\"",
|
|
44
|
-
"bootstrap": "node scripts/bootstrap.js",
|
|
45
|
-
"graphql:update": "cross-env-shell VUE_CLI_BABEL_TRANSPILE_MODULES=true VUE_CLI_BABEL_TARGET_NODE=true \"node -r @babel/register ./scripts/update-graphql-fragment-data.js\"",
|
|
46
|
-
"lint": "vue-cli-service lint ./src/**/*.vue ./src/**/*.js ./sitecore/definitions/**/*.js ./scripts/**/*.js ./server/**/*.js ./data/**/*.yml"
|
|
47
|
-
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@apollo/client": "^3.5.6",
|
|
50
|
-
"@panter/vue-i18next": "~0.15.1",
|
|
51
|
-
"@sitecore-jss/sitecore-jss-vue": "^21.0.
|
|
52
|
-
"@vue/apollo-composable": "^4.0.0-alpha.12",
|
|
53
|
-
"@vue/apollo-option": "^4.0.0-alpha.11",
|
|
54
|
-
"@vue/apollo-ssr": "^4.0.0-alpha.11",
|
|
55
|
-
"@vue/server-renderer": "^3.0.11",
|
|
56
|
-
"axios": "^0.21.1",
|
|
57
|
-
"bootstrap": "^4.3.1",
|
|
58
|
-
"cross-fetch": "~2.2.3",
|
|
59
|
-
"graphql": "^15.5.0",
|
|
60
|
-
"js-sha256": "^0.9.0",
|
|
61
|
-
"register-service-worker": "~1.7.2",
|
|
62
|
-
"serialize-javascript": "^6.0.0",
|
|
63
|
-
"vue": "^v3.1.0-beta.6",
|
|
64
|
-
"vue-i18n": "^9.1.6",
|
|
65
|
-
"vue-meta": "3.0.0-alpha.6",
|
|
66
|
-
"vue-router": "^4.0.8"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@babel/register": "7.6.2",
|
|
70
|
-
"@sitecore-jss/sitecore-jss-cli": "^21.0.
|
|
71
|
-
"@sitecore-jss/sitecore-jss-dev-tools": "^21.0.
|
|
72
|
-
"@vue/cli-plugin-babel": "~4.5.13",
|
|
73
|
-
"@vue/cli-plugin-eslint": "~4.5.13",
|
|
74
|
-
"@vue/cli-service": "~4.5.13",
|
|
75
|
-
"@vue/compiler-sfc": "^3.0.11",
|
|
76
|
-
"@vue/eslint-config-prettier": "~5.0.0",
|
|
77
|
-
"babel-eslint": "~10.0.3",
|
|
78
|
-
"chokidar": "~3.1.1",
|
|
79
|
-
"constant-case": "^3.0.4",
|
|
80
|
-
"cross-env": "~6.0.0",
|
|
81
|
-
"dotenv": "^16.0.0",
|
|
82
|
-
"eslint": "^6.8.0",
|
|
83
|
-
"eslint-plugin-prettier": "^3.1.3",
|
|
84
|
-
"eslint-plugin-vue": "~7.9.0",
|
|
85
|
-
"eslint-plugin-yaml": "^0.2.0",
|
|
86
|
-
"graphql-tag": "^2.12.4",
|
|
87
|
-
"html-loader": "~0.5.5",
|
|
88
|
-
"npm-run-all": "~4.1.5",
|
|
89
|
-
"null-loader": "~3.0.0"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "<%- appName %>",
|
|
3
|
+
"version": "21.0.4",
|
|
4
|
+
"description": "Application utilizing Sitecore JavaScript Services and Vue (vue-cli).",
|
|
5
|
+
"private": true,
|
|
6
|
+
"config": {
|
|
7
|
+
"appName": "<%- appName %>",
|
|
8
|
+
"rootPlaceholders": [
|
|
9
|
+
"<%- helper.getAppPrefix(appPrefix, appName) %>jss-main"
|
|
10
|
+
],
|
|
11
|
+
"sitecoreDistPath": "/dist/<%- appName %>",
|
|
12
|
+
"sitecoreConfigPath": "/App_Config/Include/zzz",
|
|
13
|
+
"graphQLEndpointPath": "/sitecore/api/graph/edge",
|
|
14
|
+
"buildArtifactsPath": "./dist",
|
|
15
|
+
"language": "en"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">= 12",
|
|
19
|
+
"npm": ">= 6"
|
|
20
|
+
},
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "Sitecore Corporation",
|
|
23
|
+
"url": "https://jss.sitecore.com"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/sitecore/jss.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/sitecore/jss/issues"
|
|
31
|
+
},
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"jss": "jss",
|
|
35
|
+
"start": "cross-env-shell JSS_MODE=disconnected \"npm-run-all --serial bootstrap --parallel start:vue start:proxy start:watch-components\"",
|
|
36
|
+
"start:connected": "npm-run-all --serial bootstrap start:vue start:watch-components",
|
|
37
|
+
"build": "npm-run-all --serial bootstrap build:client build:server",
|
|
38
|
+
"scaffold": "node scripts/scaffold-component.js",
|
|
39
|
+
"start:vue": "vue-cli-service serve --open",
|
|
40
|
+
"start:proxy": "node scripts/disconnected-mode-proxy.js",
|
|
41
|
+
"start:watch-components": "node scripts/generate-component-factory.js --watch",
|
|
42
|
+
"build:client": "cross-env-shell BUILD_TARGET_ENV=client PUBLIC_URL=$npm_package_config_sitecoreDistPath \"vue-cli-service build\"",
|
|
43
|
+
"build:server": "cross-env-shell BUILD_TARGET_ENV=server \"vue-cli-service build --no-clean\"",
|
|
44
|
+
"bootstrap": "node scripts/bootstrap.js",
|
|
45
|
+
"graphql:update": "cross-env-shell VUE_CLI_BABEL_TRANSPILE_MODULES=true VUE_CLI_BABEL_TARGET_NODE=true \"node -r @babel/register ./scripts/update-graphql-fragment-data.js\"",
|
|
46
|
+
"lint": "vue-cli-service lint ./src/**/*.vue ./src/**/*.js ./sitecore/definitions/**/*.js ./scripts/**/*.js ./server/**/*.js ./data/**/*.yml"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@apollo/client": "^3.5.6",
|
|
50
|
+
"@panter/vue-i18next": "~0.15.1",
|
|
51
|
+
"@sitecore-jss/sitecore-jss-vue": "^21.0.4",
|
|
52
|
+
"@vue/apollo-composable": "^4.0.0-alpha.12",
|
|
53
|
+
"@vue/apollo-option": "^4.0.0-alpha.11",
|
|
54
|
+
"@vue/apollo-ssr": "^4.0.0-alpha.11",
|
|
55
|
+
"@vue/server-renderer": "^3.0.11",
|
|
56
|
+
"axios": "^0.21.1",
|
|
57
|
+
"bootstrap": "^4.3.1",
|
|
58
|
+
"cross-fetch": "~2.2.3",
|
|
59
|
+
"graphql": "^15.5.0",
|
|
60
|
+
"js-sha256": "^0.9.0",
|
|
61
|
+
"register-service-worker": "~1.7.2",
|
|
62
|
+
"serialize-javascript": "^6.0.0",
|
|
63
|
+
"vue": "^v3.1.0-beta.6",
|
|
64
|
+
"vue-i18n": "^9.1.6",
|
|
65
|
+
"vue-meta": "3.0.0-alpha.6",
|
|
66
|
+
"vue-router": "^4.0.8"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@babel/register": "7.6.2",
|
|
70
|
+
"@sitecore-jss/sitecore-jss-cli": "^21.0.4",
|
|
71
|
+
"@sitecore-jss/sitecore-jss-dev-tools": "^21.0.4",
|
|
72
|
+
"@vue/cli-plugin-babel": "~4.5.13",
|
|
73
|
+
"@vue/cli-plugin-eslint": "~4.5.13",
|
|
74
|
+
"@vue/cli-service": "~4.5.13",
|
|
75
|
+
"@vue/compiler-sfc": "^3.0.11",
|
|
76
|
+
"@vue/eslint-config-prettier": "~5.0.0",
|
|
77
|
+
"babel-eslint": "~10.0.3",
|
|
78
|
+
"chokidar": "~3.1.1",
|
|
79
|
+
"constant-case": "^3.0.4",
|
|
80
|
+
"cross-env": "~6.0.0",
|
|
81
|
+
"dotenv": "^16.0.0",
|
|
82
|
+
"eslint": "^6.8.0",
|
|
83
|
+
"eslint-plugin-prettier": "^3.1.3",
|
|
84
|
+
"eslint-plugin-vue": "~7.9.0",
|
|
85
|
+
"eslint-plugin-yaml": "^0.2.0",
|
|
86
|
+
"graphql-tag": "^2.12.4",
|
|
87
|
+
"html-loader": "~0.5.5",
|
|
88
|
+
"npm-run-all": "~4.1.5",
|
|
89
|
+
"null-loader": "~3.0.0"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
|
3
|
-
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
|
4
|
-
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width="260.000000pt" height="260.000000pt" viewBox="0 0 260.000000 260.000000"
|
|
6
|
-
preserveAspectRatio="xMidYMid meet">
|
|
7
|
-
<metadata>
|
|
8
|
-
Created by potrace 1.11, written by Peter Selinger 2001-2013
|
|
9
|
-
</metadata>
|
|
10
|
-
<g transform="translate(0.000000,260.000000) scale(0.100000,-0.100000)"
|
|
11
|
-
fill="#000000" stroke="none">
|
|
12
|
-
<path d="M1105 2590 c-22 -5 -56 -11 -75 -14 -19 -3 -54 -12 -77 -20 -22 -8
|
|
13
|
-
-44 -12 -47 -9 -3 4 -6 1 -6 -5 0 -6 -7 -9 -15 -6 -8 4 -15 2 -15 -3 0 -5 -10
|
|
14
|
-
-9 -22 -10 -11 -1 -24 -6 -27 -10 -3 -4 -12 -9 -19 -11 -28 -6 -158 -74 -216
|
|
15
|
-
-114 -106 -71 -217 -171 -278 -249 -14 -19 -36 -45 -47 -58 -12 -13 -21 -27
|
|
16
|
-
-21 -31 0 -3 -8 -15 -18 -26 -44 -48 -180 -353 -164 -368 3 -3 0 -6 -5 -6 -6
|
|
17
|
-
0 -10 -8 -8 -17 1 -10 -1 -22 -5 -28 -5 -5 -9 -13 -9 -17 -1 -5 -1 -9 -2 -10
|
|
18
|
-
0 -2 -2 -16 -4 -33 -2 -16 -8 -60 -13 -97 -4 -37 -7 -117 -6 -180 2 -114 8
|
|
19
|
-
-160 30 -268 4 -19 8 -38 8 -42 1 -3 4 -10 8 -14 5 -4 8 -15 8 -25 0 -10 6
|
|
20
|
-
-33 14 -51 8 -18 22 -53 32 -78 10 -25 21 -47 24 -50 3 -3 6 -11 8 -19 5 -24
|
|
21
|
-
78 -144 129 -212 55 -74 170 -191 228 -234 22 -17 42 -32 45 -35 14 -14 70
|
|
22
|
-
-50 79 -50 5 0 11 -3 13 -8 8 -19 243 -125 301 -136 12 -3 24 -5 27 -6 3 -2 8
|
|
23
|
-
-2 13 -1 4 0 7 -2 7 -7 0 -4 12 -8 28 -9 15 -1 52 -7 82 -12 72 -13 454 -8
|
|
24
|
-
472 6 7 6 23 9 36 8 12 -1 22 1 22 5 0 4 6 7 13 8 6 0 19 3 27 5 8 2 29 7 45
|
|
25
|
-
12 17 4 35 11 40 15 6 4 37 17 70 30 74 30 165 81 247 140 80 57 234 210 278
|
|
26
|
-
275 19 28 36 52 40 55 20 16 122 213 135 263 2 4 4 9 5 12 1 3 3 8 4 13 1 4 4
|
|
27
|
-
12 7 17 8 12 22 73 18 77 -1 2 3 13 10 26 7 12 14 37 16 55 2 18 8 55 13 84
|
|
28
|
-
11 67 7 370 -5 403 -6 14 -9 35 -8 47 1 12 -5 25 -12 28 -8 2 -11 10 -8 15 17
|
|
29
|
-
28 -126 371 -175 420 -3 3 -25 32 -50 64 -25 33 -72 87 -105 121 -66 66 -198
|
|
30
|
-
175 -214 175 -5 0 -11 3 -13 8 -6 13 -186 108 -223 118 -5 1 -36 12 -69 23
|
|
31
|
-
-32 11 -62 19 -66 16 -5 -3 -10 -1 -12 5 -1 5 -19 12 -38 14 -19 3 -46 8 -60
|
|
32
|
-
12 -38 9 -380 13 -425 4z m285 -334 c36 -3 76 -8 90 -11 78 -16 96 -19 103
|
|
33
|
-
-17 4 1 7 -2 7 -6 0 -4 21 -14 48 -22 52 -15 155 -67 218 -111 107 -73 238
|
|
34
|
-
-222 294 -334 14 -28 28 -51 33 -53 4 -2 7 -13 7 -23 0 -11 7 -33 15 -48 8
|
|
35
|
-
-16 11 -31 8 -35 -4 -3 -1 -6 6 -6 8 0 11 -8 8 -20 -3 -11 -2 -20 2 -20 9 0
|
|
36
|
-
11 -9 14 -62 1 -21 5 -38 8 -38 6 0 10 -58 12 -145 1 -65 -15 -194 -30 -240
|
|
37
|
-
-4 -11 -7 -22 -8 -25 -1 -13 -39 -110 -58 -150 -58 -122 -176 -266 -285 -347
|
|
38
|
-
-20 -15 -39 -30 -42 -33 -20 -23 -243 -121 -246 -109 0 2 -7 -1 -15 -8 -12
|
|
39
|
-
-10 -56 -20 -109 -27 -9 -1 -20 -4 -25 -7 -13 -8 -262 -3 -295 5 -14 3 -49 11
|
|
40
|
-
-78 18 -29 6 -55 15 -58 20 -3 4 -12 8 -19 8 -24 0 -126 50 -200 99 -86 56
|
|
41
|
-
-208 176 -261 256 -21 33 -42 61 -46 63 -5 2 -8 8 -8 13 0 8 -41 104 -61 141
|
|
42
|
-
-5 10 -9 27 -9 37 0 11 -4 22 -8 25 -4 2 -9 21 -10 42 -2 20 -6 42 -10 48 -19
|
|
43
|
-
31 -18 266 2 361 3 11 5 21 6 23 2 1 3 10 5 20 1 9 5 26 9 37 4 11 12 34 18
|
|
44
|
-
50 6 17 21 54 34 83 13 29 24 57 24 62 0 6 5 10 10 10 6 0 10 7 10 15 0 8 5
|
|
45
|
-
15 10 15 6 0 10 6 10 13 1 33 175 212 269 276 65 44 190 107 204 103 4 -1 21
|
|
46
|
-
5 37 13 17 9 30 13 30 11 0 -3 12 -1 28 5 28 12 36 13 142 24 36 4 67 9 68 10
|
|
47
|
-
2 2 9 2 15 0 7 -2 41 -6 77 -9z"/>
|
|
48
|
-
<path d="M1990 1826 c-8 -8 -29 -23 -47 -33 -183 -105 -275 -173 -233 -173 12
|
|
49
|
-
0 50 -71 67 -125 50 -159 -37 -402 -205 -570 -118 -119 -278 -203 -404 -213
|
|
50
|
-
-32 -2 -58 -9 -58 -14 0 -5 5 -6 10 -3 6 3 10 2 10 -4 0 -9 92 -7 155 3 116
|
|
51
|
-
21 265 87 357 161 150 118 244 311 252 515 l1 35 70 2 c39 2 108 4 155 5 l85
|
|
52
|
-
3 0 43 c1 24 -3 46 -7 48 -4 3 -8 16 -8 30 0 13 -4 32 -9 42 -5 9 -26 52 -46
|
|
53
|
-
95 -41 85 -99 167 -118 167 -7 0 -19 -6 -27 -14z"/>
|
|
54
|
-
<path d="M1936 1360 c-2 -3 -4 -21 -4 -40 -1 -19 -4 -45 -7 -57 -3 -13 -7 -31
|
|
55
|
-
-9 -42 -6 -28 -58 -153 -68 -166 -4 -5 -21 -30 -37 -54 -44 -67 -138 -158
|
|
56
|
-
-221 -212 -41 -27 -80 -49 -87 -49 -7 0 -13 -5 -13 -10 0 -6 -3 -9 -7 -8 -5 0
|
|
57
|
-
-26 -7 -48 -17 -22 -9 -44 -18 -50 -19 -5 -1 -19 -5 -30 -9 -67 -22 -301 -35
|
|
58
|
-
-289 -16 4 7 0 9 -13 5 -10 -3 -41 -1 -69 4 -27 6 -56 12 -64 14 -18 4 -47 14
|
|
59
|
-
-80 29 -14 6 -27 11 -30 12 -14 3 -76 39 -88 51 -7 8 -19 14 -25 14 -26 -1 93
|
|
60
|
-
-97 158 -129 119 -57 179 -75 295 -87 108 -11 132 -10 275 10 6 1 15 4 20 7
|
|
61
|
-
14 8 68 23 78 21 4 -1 7 2 7 8 0 5 7 10 16 10 46 0 271 183 331 270 10 14 25
|
|
62
|
-
34 35 44 10 11 18 23 18 28 0 16 21 7 87 -35 100 -64 98 -64 123 -4 52 121 65
|
|
63
|
-
170 74 280 1 20 5 39 7 42 3 2 2 28 -1 57 l-5 53 -138 0 c-76 0 -140 -2 -141
|
|
64
|
-
-5z"/>
|
|
65
|
-
<path d="M450 1015 c0 -29 81 -184 136 -262 31 -42 81 -101 113 -130 83 -79
|
|
66
|
-
229 -173 268 -173 7 0 13 -5 13 -10 0 -6 3 -9 8 -8 4 1 50 -9 102 -21 137 -34
|
|
67
|
-
298 -32 440 4 63 17 249 98 260 114 3 4 25 21 50 38 57 40 154 133 205 198 22
|
|
68
|
-
28 43 52 46 55 16 15 17 41 1 47 -9 4 -45 25 -79 46 -56 35 -64 37 -78 24 -8
|
|
69
|
-
-9 -15 -18 -15 -20 0 -15 -148 -169 -199 -207 -19 -14 -40 -31 -47 -37 -7 -7
|
|
70
|
-
-15 -13 -18 -13 -4 0 -23 -11 -44 -24 -46 -29 -171 -75 -212 -78 -17 -1 -30
|
|
71
|
-
-7 -30 -13 0 -5 -5 -3 -10 5 -5 8 -10 10 -10 4 0 -12 -200 -15 -200 -4 0 3
|
|
72
|
-
-18 6 -40 7 -39 3 -134 25 -175 43 -143 59 -211 104 -310 205 -84 85 -155 179
|
|
73
|
-
-155 204 0 5 -4 13 -10 16 -5 3 -10 -1 -10 -10z"/>
|
|
74
|
-
</g>
|
|
75
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="260.000000pt" height="260.000000pt" viewBox="0 0 260.000000 260.000000"
|
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
|
7
|
+
<metadata>
|
|
8
|
+
Created by potrace 1.11, written by Peter Selinger 2001-2013
|
|
9
|
+
</metadata>
|
|
10
|
+
<g transform="translate(0.000000,260.000000) scale(0.100000,-0.100000)"
|
|
11
|
+
fill="#000000" stroke="none">
|
|
12
|
+
<path d="M1105 2590 c-22 -5 -56 -11 -75 -14 -19 -3 -54 -12 -77 -20 -22 -8
|
|
13
|
+
-44 -12 -47 -9 -3 4 -6 1 -6 -5 0 -6 -7 -9 -15 -6 -8 4 -15 2 -15 -3 0 -5 -10
|
|
14
|
+
-9 -22 -10 -11 -1 -24 -6 -27 -10 -3 -4 -12 -9 -19 -11 -28 -6 -158 -74 -216
|
|
15
|
+
-114 -106 -71 -217 -171 -278 -249 -14 -19 -36 -45 -47 -58 -12 -13 -21 -27
|
|
16
|
+
-21 -31 0 -3 -8 -15 -18 -26 -44 -48 -180 -353 -164 -368 3 -3 0 -6 -5 -6 -6
|
|
17
|
+
0 -10 -8 -8 -17 1 -10 -1 -22 -5 -28 -5 -5 -9 -13 -9 -17 -1 -5 -1 -9 -2 -10
|
|
18
|
+
0 -2 -2 -16 -4 -33 -2 -16 -8 -60 -13 -97 -4 -37 -7 -117 -6 -180 2 -114 8
|
|
19
|
+
-160 30 -268 4 -19 8 -38 8 -42 1 -3 4 -10 8 -14 5 -4 8 -15 8 -25 0 -10 6
|
|
20
|
+
-33 14 -51 8 -18 22 -53 32 -78 10 -25 21 -47 24 -50 3 -3 6 -11 8 -19 5 -24
|
|
21
|
+
78 -144 129 -212 55 -74 170 -191 228 -234 22 -17 42 -32 45 -35 14 -14 70
|
|
22
|
+
-50 79 -50 5 0 11 -3 13 -8 8 -19 243 -125 301 -136 12 -3 24 -5 27 -6 3 -2 8
|
|
23
|
+
-2 13 -1 4 0 7 -2 7 -7 0 -4 12 -8 28 -9 15 -1 52 -7 82 -12 72 -13 454 -8
|
|
24
|
+
472 6 7 6 23 9 36 8 12 -1 22 1 22 5 0 4 6 7 13 8 6 0 19 3 27 5 8 2 29 7 45
|
|
25
|
+
12 17 4 35 11 40 15 6 4 37 17 70 30 74 30 165 81 247 140 80 57 234 210 278
|
|
26
|
+
275 19 28 36 52 40 55 20 16 122 213 135 263 2 4 4 9 5 12 1 3 3 8 4 13 1 4 4
|
|
27
|
+
12 7 17 8 12 22 73 18 77 -1 2 3 13 10 26 7 12 14 37 16 55 2 18 8 55 13 84
|
|
28
|
+
11 67 7 370 -5 403 -6 14 -9 35 -8 47 1 12 -5 25 -12 28 -8 2 -11 10 -8 15 17
|
|
29
|
+
28 -126 371 -175 420 -3 3 -25 32 -50 64 -25 33 -72 87 -105 121 -66 66 -198
|
|
30
|
+
175 -214 175 -5 0 -11 3 -13 8 -6 13 -186 108 -223 118 -5 1 -36 12 -69 23
|
|
31
|
+
-32 11 -62 19 -66 16 -5 -3 -10 -1 -12 5 -1 5 -19 12 -38 14 -19 3 -46 8 -60
|
|
32
|
+
12 -38 9 -380 13 -425 4z m285 -334 c36 -3 76 -8 90 -11 78 -16 96 -19 103
|
|
33
|
+
-17 4 1 7 -2 7 -6 0 -4 21 -14 48 -22 52 -15 155 -67 218 -111 107 -73 238
|
|
34
|
+
-222 294 -334 14 -28 28 -51 33 -53 4 -2 7 -13 7 -23 0 -11 7 -33 15 -48 8
|
|
35
|
+
-16 11 -31 8 -35 -4 -3 -1 -6 6 -6 8 0 11 -8 8 -20 -3 -11 -2 -20 2 -20 9 0
|
|
36
|
+
11 -9 14 -62 1 -21 5 -38 8 -38 6 0 10 -58 12 -145 1 -65 -15 -194 -30 -240
|
|
37
|
+
-4 -11 -7 -22 -8 -25 -1 -13 -39 -110 -58 -150 -58 -122 -176 -266 -285 -347
|
|
38
|
+
-20 -15 -39 -30 -42 -33 -20 -23 -243 -121 -246 -109 0 2 -7 -1 -15 -8 -12
|
|
39
|
+
-10 -56 -20 -109 -27 -9 -1 -20 -4 -25 -7 -13 -8 -262 -3 -295 5 -14 3 -49 11
|
|
40
|
+
-78 18 -29 6 -55 15 -58 20 -3 4 -12 8 -19 8 -24 0 -126 50 -200 99 -86 56
|
|
41
|
+
-208 176 -261 256 -21 33 -42 61 -46 63 -5 2 -8 8 -8 13 0 8 -41 104 -61 141
|
|
42
|
+
-5 10 -9 27 -9 37 0 11 -4 22 -8 25 -4 2 -9 21 -10 42 -2 20 -6 42 -10 48 -19
|
|
43
|
+
31 -18 266 2 361 3 11 5 21 6 23 2 1 3 10 5 20 1 9 5 26 9 37 4 11 12 34 18
|
|
44
|
+
50 6 17 21 54 34 83 13 29 24 57 24 62 0 6 5 10 10 10 6 0 10 7 10 15 0 8 5
|
|
45
|
+
15 10 15 6 0 10 6 10 13 1 33 175 212 269 276 65 44 190 107 204 103 4 -1 21
|
|
46
|
+
5 37 13 17 9 30 13 30 11 0 -3 12 -1 28 5 28 12 36 13 142 24 36 4 67 9 68 10
|
|
47
|
+
2 2 9 2 15 0 7 -2 41 -6 77 -9z"/>
|
|
48
|
+
<path d="M1990 1826 c-8 -8 -29 -23 -47 -33 -183 -105 -275 -173 -233 -173 12
|
|
49
|
+
0 50 -71 67 -125 50 -159 -37 -402 -205 -570 -118 -119 -278 -203 -404 -213
|
|
50
|
+
-32 -2 -58 -9 -58 -14 0 -5 5 -6 10 -3 6 3 10 2 10 -4 0 -9 92 -7 155 3 116
|
|
51
|
+
21 265 87 357 161 150 118 244 311 252 515 l1 35 70 2 c39 2 108 4 155 5 l85
|
|
52
|
+
3 0 43 c1 24 -3 46 -7 48 -4 3 -8 16 -8 30 0 13 -4 32 -9 42 -5 9 -26 52 -46
|
|
53
|
+
95 -41 85 -99 167 -118 167 -7 0 -19 -6 -27 -14z"/>
|
|
54
|
+
<path d="M1936 1360 c-2 -3 -4 -21 -4 -40 -1 -19 -4 -45 -7 -57 -3 -13 -7 -31
|
|
55
|
+
-9 -42 -6 -28 -58 -153 -68 -166 -4 -5 -21 -30 -37 -54 -44 -67 -138 -158
|
|
56
|
+
-221 -212 -41 -27 -80 -49 -87 -49 -7 0 -13 -5 -13 -10 0 -6 -3 -9 -7 -8 -5 0
|
|
57
|
+
-26 -7 -48 -17 -22 -9 -44 -18 -50 -19 -5 -1 -19 -5 -30 -9 -67 -22 -301 -35
|
|
58
|
+
-289 -16 4 7 0 9 -13 5 -10 -3 -41 -1 -69 4 -27 6 -56 12 -64 14 -18 4 -47 14
|
|
59
|
+
-80 29 -14 6 -27 11 -30 12 -14 3 -76 39 -88 51 -7 8 -19 14 -25 14 -26 -1 93
|
|
60
|
+
-97 158 -129 119 -57 179 -75 295 -87 108 -11 132 -10 275 10 6 1 15 4 20 7
|
|
61
|
+
14 8 68 23 78 21 4 -1 7 2 7 8 0 5 7 10 16 10 46 0 271 183 331 270 10 14 25
|
|
62
|
+
34 35 44 10 11 18 23 18 28 0 16 21 7 87 -35 100 -64 98 -64 123 -4 52 121 65
|
|
63
|
+
170 74 280 1 20 5 39 7 42 3 2 2 28 -1 57 l-5 53 -138 0 c-76 0 -140 -2 -141
|
|
64
|
+
-5z"/>
|
|
65
|
+
<path d="M450 1015 c0 -29 81 -184 136 -262 31 -42 81 -101 113 -130 83 -79
|
|
66
|
+
229 -173 268 -173 7 0 13 -5 13 -10 0 -6 3 -9 8 -8 4 1 50 -9 102 -21 137 -34
|
|
67
|
+
298 -32 440 4 63 17 249 98 260 114 3 4 25 21 50 38 57 40 154 133 205 198 22
|
|
68
|
+
28 43 52 46 55 16 15 17 41 1 47 -9 4 -45 25 -79 46 -56 35 -64 37 -78 24 -8
|
|
69
|
+
-9 -15 -18 -15 -20 0 -15 -148 -169 -199 -207 -19 -14 -40 -31 -47 -37 -7 -7
|
|
70
|
+
-15 -13 -18 -13 -4 0 -23 -11 -44 -24 -46 -29 -171 -75 -212 -78 -17 -1 -30
|
|
71
|
+
-7 -30 -13 0 -5 -5 -3 -10 5 -5 8 -10 10 -10 4 0 -12 -200 -15 -200 -4 0 3
|
|
72
|
+
-18 6 -40 7 -39 3 -134 25 -175 43 -143 59 -211 104 -310 205 -84 85 -155 179
|
|
73
|
+
-155 204 0 5 -4 13 -10 16 -5 3 -10 -1 -10 -10z"/>
|
|
74
|
+
</g>
|
|
75
|
+
</svg>
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
8
|
-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
<noscript>
|
|
13
|
-
You need to enable JavaScript to run this app.
|
|
14
|
-
</noscript>
|
|
15
|
-
<div id="root"></div>
|
|
16
|
-
<script type="application/json" id="__JSS_STATE__">null</script>
|
|
17
|
-
|
|
18
|
-
<!--
|
|
19
|
-
This HTML file is a template.
|
|
20
|
-
If you open it directly in the browser, you will see an empty page.
|
|
21
|
-
|
|
22
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
23
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
24
|
-
-->
|
|
25
|
-
</body>
|
|
26
|
-
|
|
27
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
8
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
9
|
+
</head>
|
|
10
|
+
|
|
11
|
+
<body>
|
|
12
|
+
<noscript>
|
|
13
|
+
You need to enable JavaScript to run this app.
|
|
14
|
+
</noscript>
|
|
15
|
+
<div id="root"></div>
|
|
16
|
+
<script type="application/json" id="__JSS_STATE__">null</script>
|
|
17
|
+
|
|
18
|
+
<!--
|
|
19
|
+
This HTML file is a template.
|
|
20
|
+
If you open it directly in the browser, you will see an empty page.
|
|
21
|
+
|
|
22
|
+
You can add webfonts, meta tags, or analytics to this file.
|
|
23
|
+
The build step will place the bundled scripts into the <body> tag.
|
|
24
|
+
-->
|
|
25
|
+
</body>
|
|
26
|
+
|
|
27
|
+
</html>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Sitecore� JSS",
|
|
3
|
-
"short_name": "Sitecore� JSS",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "/img/icons/android-chrome-192x192.png",
|
|
7
|
-
"sizes": "192x192",
|
|
8
|
-
"type": "image/png"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"start_url": "/index.html",
|
|
12
|
-
"display": "standalone",
|
|
13
|
-
"theme_color": "#ffffff"
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Sitecore� JSS",
|
|
3
|
+
"short_name": "Sitecore� JSS",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "/img/icons/android-chrome-192x192.png",
|
|
7
|
+
"sizes": "192x192",
|
|
8
|
+
"type": "image/png"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"start_url": "/index.html",
|
|
12
|
+
"display": "standalone",
|
|
13
|
+
"theme_color": "#ffffff"
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
User-agent: *
|
|
2
|
-
Disallow:
|
|
1
|
+
User-agent: *
|
|
2
|
+
Disallow:
|
|
@@ -1,89 +1,89 @@
|
|
|
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/"
|
|
11
|
-
xmlns:set="http://www.sitecore.net/xmlconfig/set/"
|
|
12
|
-
xmlns:role="http://www.sitecore.net/xmlconfig/role/">
|
|
13
|
-
<sitecore>
|
|
14
|
-
<settings>
|
|
15
|
-
<!--
|
|
16
|
-
PROXY CONFIGURATION
|
|
17
|
-
When running JSS with the headless proxy (node-headless-ssr-proxy),
|
|
18
|
-
the original IP address of clients is obscured by the proxy.
|
|
19
|
-
This setting tells Sitecore to read the forwarded header the proxy sends,
|
|
20
|
-
thus making analytics track the correct original client IP address.
|
|
21
|
-
-->
|
|
22
|
-
<setting name="Analytics.ForwardedRequestHttpHeader" set:value="X-Forwarded-For" />
|
|
23
|
-
</settings>
|
|
24
|
-
<sites>
|
|
25
|
-
<!--
|
|
26
|
-
JSS Site Registration
|
|
27
|
-
This configures the site with Sitecore - i.e. host headers, item paths.
|
|
28
|
-
If your JSS app lives within an existing Sitecore site, this may not be necessary.
|
|
29
|
-
|
|
30
|
-
IMPORTANT: JSS sites ship in 'live mode', which makes development and testing easy,
|
|
31
|
-
but disables workflow and publishing. Before going to production, change the `database`
|
|
32
|
-
below to `web` instead of `master`.
|
|
33
|
-
-->
|
|
34
|
-
<site patch:before="site[@name='website']"
|
|
35
|
-
inherits="website"
|
|
36
|
-
name="<%- appName %>"
|
|
37
|
-
hostName="<%- hostName.replace(/^https?:\/\//, '') %>"
|
|
38
|
-
rootPath="/sitecore/content/<%- appName %>"
|
|
39
|
-
startItem="/home"
|
|
40
|
-
database="master" />
|
|
41
|
-
</sites>
|
|
42
|
-
<javaScriptServices>
|
|
43
|
-
<apps>
|
|
44
|
-
<!--
|
|
45
|
-
JSS App Registration
|
|
46
|
-
The JSS app needs to be registered in order to support layout service and import services.
|
|
47
|
-
|
|
48
|
-
There are many available attributes, and they inherit the defaults if not explicitly specified here.
|
|
49
|
-
Defaults are defined in `/App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.Apps.config`
|
|
50
|
-
|
|
51
|
-
NOTE: graphQLEndpoint enables _Integrated GraphQL_. If not using integrated GraphQL, it can be removed.
|
|
52
|
-
|
|
53
|
-
NOTE: layoutServiceConfiguration should be set to "default" when using GraphQL Edge schema.
|
|
54
|
-
When using integrated GraphQL with Edge schema, a $language value is injected
|
|
55
|
-
since language is required in all Edge queries. "jss" configuration does not do this (which is backwards
|
|
56
|
-
compatible with JSS versions < 18.0.0).
|
|
57
|
-
-->
|
|
58
|
-
<app name="<%- appName %>"
|
|
59
|
-
layoutServiceConfiguration="default"
|
|
60
|
-
sitecorePath="/sitecore/content/<%- appName %>"
|
|
61
|
-
useLanguageSpecificLayout="true"
|
|
62
|
-
graphQLEndpoint="/sitecore/api/graph/edge"
|
|
63
|
-
inherits="defaults" />
|
|
64
|
-
</apps>
|
|
65
|
-
<!--
|
|
66
|
-
IMAGE RESIZING WHITELIST
|
|
67
|
-
Using Sitecore server-side media resizing (i.e. the `imageParams` or `srcSet` props on the `<Image/>` helper component)
|
|
68
|
-
could expose your Sitecore server to a denial-of-service attack by rescaling an image with many arbitrary dimensions.
|
|
69
|
-
In JSS resizing param sets that are unknown are rejected by a whitelist.
|
|
70
|
-
|
|
71
|
-
Sets of image sizing parameters that are used in app components must be whitelisted here.
|
|
72
|
-
If a param set is not whitelisted, the image will be returned _without resizing_.
|
|
73
|
-
|
|
74
|
-
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
|
|
75
|
-
Note: the parameter sets defined here are comma-delimited (,) instead of &-delimited like the query string. Multiple sets are endline-delimited.
|
|
76
|
-
-->
|
|
77
|
-
<allowedMediaParams>
|
|
78
|
-
<!-- XML element name is arbitary, useful for organizing and patching -->
|
|
79
|
-
<styleguide-image-sample>
|
|
80
|
-
mw=100,mh=50
|
|
81
|
-
</styleguide-image-sample>
|
|
82
|
-
<styleguide-image-sample-adaptive>
|
|
83
|
-
mw=300
|
|
84
|
-
mw=100
|
|
85
|
-
</styleguide-image-sample-adaptive>
|
|
86
|
-
</allowedMediaParams>
|
|
87
|
-
</javaScriptServices>
|
|
88
|
-
</sitecore>
|
|
89
|
-
</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/"
|
|
11
|
+
xmlns:set="http://www.sitecore.net/xmlconfig/set/"
|
|
12
|
+
xmlns:role="http://www.sitecore.net/xmlconfig/role/">
|
|
13
|
+
<sitecore>
|
|
14
|
+
<settings>
|
|
15
|
+
<!--
|
|
16
|
+
PROXY CONFIGURATION
|
|
17
|
+
When running JSS with the headless proxy (node-headless-ssr-proxy),
|
|
18
|
+
the original IP address of clients is obscured by the proxy.
|
|
19
|
+
This setting tells Sitecore to read the forwarded header the proxy sends,
|
|
20
|
+
thus making analytics track the correct original client IP address.
|
|
21
|
+
-->
|
|
22
|
+
<setting name="Analytics.ForwardedRequestHttpHeader" set:value="X-Forwarded-For" />
|
|
23
|
+
</settings>
|
|
24
|
+
<sites>
|
|
25
|
+
<!--
|
|
26
|
+
JSS Site Registration
|
|
27
|
+
This configures the site with Sitecore - i.e. host headers, item paths.
|
|
28
|
+
If your JSS app lives within an existing Sitecore site, this may not be necessary.
|
|
29
|
+
|
|
30
|
+
IMPORTANT: JSS sites ship in 'live mode', which makes development and testing easy,
|
|
31
|
+
but disables workflow and publishing. Before going to production, change the `database`
|
|
32
|
+
below to `web` instead of `master`.
|
|
33
|
+
-->
|
|
34
|
+
<site patch:before="site[@name='website']"
|
|
35
|
+
inherits="website"
|
|
36
|
+
name="<%- appName %>"
|
|
37
|
+
hostName="<%- hostName.replace(/^https?:\/\//, '') %>"
|
|
38
|
+
rootPath="/sitecore/content/<%- appName %>"
|
|
39
|
+
startItem="/home"
|
|
40
|
+
database="master" />
|
|
41
|
+
</sites>
|
|
42
|
+
<javaScriptServices>
|
|
43
|
+
<apps>
|
|
44
|
+
<!--
|
|
45
|
+
JSS App Registration
|
|
46
|
+
The JSS app needs to be registered in order to support layout service and import services.
|
|
47
|
+
|
|
48
|
+
There are many available attributes, and they inherit the defaults if not explicitly specified here.
|
|
49
|
+
Defaults are defined in `/App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.Apps.config`
|
|
50
|
+
|
|
51
|
+
NOTE: graphQLEndpoint enables _Integrated GraphQL_. If not using integrated GraphQL, it can be removed.
|
|
52
|
+
|
|
53
|
+
NOTE: layoutServiceConfiguration should be set to "default" when using GraphQL Edge schema.
|
|
54
|
+
When using integrated GraphQL with Edge schema, a $language value is injected
|
|
55
|
+
since language is required in all Edge queries. "jss" configuration does not do this (which is backwards
|
|
56
|
+
compatible with JSS versions < 18.0.0).
|
|
57
|
+
-->
|
|
58
|
+
<app name="<%- appName %>"
|
|
59
|
+
layoutServiceConfiguration="default"
|
|
60
|
+
sitecorePath="/sitecore/content/<%- appName %>"
|
|
61
|
+
useLanguageSpecificLayout="true"
|
|
62
|
+
graphQLEndpoint="/sitecore/api/graph/edge"
|
|
63
|
+
inherits="defaults" />
|
|
64
|
+
</apps>
|
|
65
|
+
<!--
|
|
66
|
+
IMAGE RESIZING WHITELIST
|
|
67
|
+
Using Sitecore server-side media resizing (i.e. the `imageParams` or `srcSet` props on the `<Image/>` helper component)
|
|
68
|
+
could expose your Sitecore server to a denial-of-service attack by rescaling an image with many arbitrary dimensions.
|
|
69
|
+
In JSS resizing param sets that are unknown are rejected by a whitelist.
|
|
70
|
+
|
|
71
|
+
Sets of image sizing parameters that are used in app components must be whitelisted here.
|
|
72
|
+
If a param set is not whitelisted, the image will be returned _without resizing_.
|
|
73
|
+
|
|
74
|
+
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
|
|
75
|
+
Note: the parameter sets defined here are comma-delimited (,) instead of &-delimited like the query string. Multiple sets are endline-delimited.
|
|
76
|
+
-->
|
|
77
|
+
<allowedMediaParams>
|
|
78
|
+
<!-- XML element name is arbitary, useful for organizing and patching -->
|
|
79
|
+
<styleguide-image-sample>
|
|
80
|
+
mw=100,mh=50
|
|
81
|
+
</styleguide-image-sample>
|
|
82
|
+
<styleguide-image-sample-adaptive>
|
|
83
|
+
mw=300
|
|
84
|
+
mw=100
|
|
85
|
+
</styleguide-image-sample-adaptive>
|
|
86
|
+
</allowedMediaParams>
|
|
87
|
+
</javaScriptServices>
|
|
88
|
+
</sitecore>
|
|
89
|
+
</configuration>
|