create-sitecore-jss 22.9.1-canary.1 → 22.9.1

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 (135) hide show
  1. package/LICENSE.MD +202 -202
  2. package/README.md +10 -10
  3. package/dist/templates/angular/src/assets/images/sc_logo.svg +52 -52
  4. package/dist/templates/angular-sxp/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  5. package/dist/templates/angular-sxp/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  6. package/dist/templates/angular-sxp/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  7. package/dist/templates/angular-sxp/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  8. package/dist/templates/angular-sxp/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  9. package/dist/templates/angular-sxp/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  10. package/dist/templates/angular-sxp/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  11. package/dist/templates/angular-sxp/data/dictionary/en.yml +4 -4
  12. package/dist/templates/angular-sxp/data/dictionary/{{language}}.yml +4 -4
  13. package/dist/templates/angular-sxp/data/routes/en.yml +61 -61
  14. package/dist/templates/angular-sxp/data/routes/graphql/en.yml +27 -27
  15. package/dist/templates/angular-sxp/data/routes/graphql/sample-1/en.yml +9 -9
  16. package/dist/templates/angular-sxp/data/routes/graphql/sample-2/en.yml +9 -9
  17. package/dist/templates/angular-sxp/data/routes/styleguide/custom-route-type/en.yml +12 -12
  18. package/dist/templates/angular-sxp/data/routes/styleguide/en.yml +271 -271
  19. package/dist/templates/angular-sxp/data/routes/styleguide/{{language}}.yml +25 -25
  20. package/dist/templates/angular-sxp/data/routes/{{language}}.yml +4 -4
  21. package/dist/templates/angular-sxp/sitecore/config/{{appName}}.config +90 -90
  22. package/dist/templates/angular-sxp/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +71 -71
  23. package/dist/templates/angular-sxp/sitecore/gitignore +2 -2
  24. package/dist/templates/nextjs/public/sc_logo.svg +52 -52
  25. package/dist/templates/nextjs/src/lib/component-props/index.ts +40 -0
  26. package/dist/templates/nextjs/src/lib/page-props-factory/plugins/component-props.ts +4 -37
  27. package/dist/templates/nextjs-styleguide/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  28. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  29. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  30. package/dist/templates/nextjs-styleguide/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  31. package/dist/templates/nextjs-styleguide/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  32. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  33. package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  34. package/dist/templates/nextjs-styleguide/data/dictionary/en.yml +4 -4
  35. package/dist/templates/nextjs-styleguide/data/dictionary/{{language}}.yml +4 -4
  36. package/dist/templates/nextjs-styleguide/data/routes/en.yml +63 -63
  37. package/dist/templates/nextjs-styleguide/data/routes/graphql/en.yml +27 -27
  38. package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-1/en.yml +9 -9
  39. package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-2/en.yml +9 -9
  40. package/dist/templates/nextjs-styleguide/data/routes/styleguide/custom-route-type/en.yml +12 -12
  41. package/dist/templates/nextjs-styleguide/data/routes/styleguide/en.yml +259 -259
  42. package/dist/templates/nextjs-styleguide/data/routes/styleguide/{{language}}.yml +25 -25
  43. package/dist/templates/nextjs-styleguide/data/routes/{{language}}.yml +4 -4
  44. package/dist/templates/nextjs-styleguide-tracking/data/dictionary/en.yml +5 -5
  45. package/dist/templates/nextjs-styleguide-tracking/data/routes/tracking/en.yml +8 -8
  46. package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-column-splitter.scss +14 -14
  47. package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-shadow.scss +42 -42
  48. package/dist/templates/nextjs-sxa/src/pages/404.tsx +30 -17
  49. package/dist/templates/nextjs-sxa/src/pages/500.tsx +30 -17
  50. package/dist/templates/react/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  51. package/dist/templates/react/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  52. package/dist/templates/react/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  53. package/dist/templates/react/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  54. package/dist/templates/react/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  55. package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  56. package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  57. package/dist/templates/react/data/dictionary/en.yml +4 -4
  58. package/dist/templates/react/data/dictionary/{{language}}.yml +4 -4
  59. package/dist/templates/react/data/routes/en.yml +61 -61
  60. package/dist/templates/react/data/routes/graphql/en.yml +27 -27
  61. package/dist/templates/react/data/routes/graphql/sample-1/en.yml +9 -9
  62. package/dist/templates/react/data/routes/graphql/sample-2/en.yml +9 -9
  63. package/dist/templates/react/data/routes/styleguide/custom-route-type/en.yml +12 -12
  64. package/dist/templates/react/data/routes/styleguide/en.yml +263 -263
  65. package/dist/templates/react/data/routes/styleguide/{{language}}.yml +26 -26
  66. package/dist/templates/react/data/routes/{{language}}.yml +4 -4
  67. package/dist/templates/react-native/.buckconfig +6 -6
  68. package/dist/templates/react-native/.eslintrc +74 -74
  69. package/dist/templates/react-native/.gitattributes +1 -1
  70. package/dist/templates/react-native/.prettierrc +9 -9
  71. package/dist/templates/react-native/.vscode/launch.json +42 -42
  72. package/dist/templates/react-native/.vscode/settings.json +1 -1
  73. package/dist/templates/react-native/LICENSE.txt +202 -202
  74. package/dist/templates/react-native/README.MD +115 -115
  75. package/dist/templates/react-native/android/app/BUCK +55 -55
  76. package/dist/templates/react-native/android/app/build.gradle +201 -201
  77. package/dist/templates/react-native/android/app/build_defs.bzl +19 -19
  78. package/dist/templates/react-native/android/app/proguard-rules.pro +10 -10
  79. package/dist/templates/react-native/android/app/src/debug/AndroidManifest.xml +8 -8
  80. package/dist/templates/react-native/android/app/src/main/AndroidManifest.xml +26 -26
  81. package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainActivity.java +15 -15
  82. package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainApplication.java +74 -74
  83. package/dist/templates/react-native/android/app/src/main/res/values/strings.xml +3 -3
  84. package/dist/templates/react-native/android/app/src/main/res/values/styles.xml +9 -9
  85. package/dist/templates/react-native/android/build.gradle +38 -38
  86. package/dist/templates/react-native/android/gradle/wrapper/gradle-wrapper.properties +5 -5
  87. package/dist/templates/react-native/android/gradle.properties +21 -21
  88. package/dist/templates/react-native/android/gradlew +188 -188
  89. package/dist/templates/react-native/android/gradlew.bat +100 -100
  90. package/dist/templates/react-native/android/settings.gradle +3 -3
  91. package/dist/templates/react-native/app.json +3 -3
  92. package/dist/templates/react-native/assets/img/sc_logo.svg +52 -52
  93. package/dist/templates/react-native/data/content/Styleguide/ItemLinkField/Item1/en.json +10 -10
  94. package/dist/templates/react-native/data/routes/en.json +22 -22
  95. package/dist/templates/react-native/data/routes/styleguide/en.json +227 -227
  96. package/dist/templates/react-native/data/routes/styleguide/{{language}}.json +31 -31
  97. package/dist/templates/react-native/data/routes/{{language}}.json +7 -7
  98. package/dist/templates/react-native/gitignore +60 -60
  99. package/dist/templates/react-native/ios/Podfile +53 -53
  100. package/dist/templates/react-native/ios/{{appName}}/AppDelegate.h +15 -15
  101. package/dist/templates/react-native/ios/{{appName}}/AppDelegate.m +42 -42
  102. package/dist/templates/react-native/ios/{{appName}}/Base.lproj/LaunchScreen.xib +42 -42
  103. package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/AppIcon.appiconset/Contents.json +38 -38
  104. package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/Contents.json +6 -6
  105. package/dist/templates/react-native/ios/{{appName}}/Info.plist +57 -57
  106. package/dist/templates/react-native/ios/{{appName}}/main.m +16 -16
  107. package/dist/templates/react-native/ios/{{appName}}-tvOS/Info.plist +53 -53
  108. package/dist/templates/react-native/ios/{{appName}}-tvOSTests/Info.plist +24 -24
  109. package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative-tvOS.xcscheme +129 -129
  110. package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative.xcscheme +129 -129
  111. package/dist/templates/react-native/ios/{{appName}}Tests/BasicSampleReactNativeTests.m +72 -72
  112. package/dist/templates/react-native/ios/{{appName}}Tests/Info.plist +24 -24
  113. package/dist/templates/react-native/package.json +78 -78
  114. package/dist/templates/react-native/sitecore/config/{{appName}}.config +47 -47
  115. package/dist/templates/react-native/sitecore/gitignore +2 -2
  116. package/dist/templates/vue/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
  117. package/dist/templates/vue/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
  118. package/dist/templates/vue/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
  119. package/dist/templates/vue/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
  120. package/dist/templates/vue/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
  121. package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
  122. package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
  123. package/dist/templates/vue/data/dictionary/en.yml +7 -7
  124. package/dist/templates/vue/data/dictionary/{{language}}.yml +7 -7
  125. package/dist/templates/vue/data/routes/en.yml +63 -63
  126. package/dist/templates/vue/data/routes/graphql/en.yml +34 -34
  127. package/dist/templates/vue/data/routes/graphql/sample-1/en.yml +9 -9
  128. package/dist/templates/vue/data/routes/graphql/sample-2/en.yml +9 -9
  129. package/dist/templates/vue/data/routes/styleguide/custom-route-type/en.yml +12 -12
  130. package/dist/templates/vue/data/routes/styleguide/en.yml +264 -264
  131. package/dist/templates/vue/data/routes/styleguide/{{language}}.yml +26 -26
  132. package/dist/templates/vue/data/routes/{{language}}.yml +4 -4
  133. package/dist/templates/vue/public/img/icons/safari-pinned-tab.svg +75 -75
  134. package/dist/templates/vue/src/assets/sc_logo.svg +52 -52
  135. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
-
2
- [android]
3
- target = Google Inc.:Google APIs:23
4
-
5
- [maven_repositories]
6
- central = https://repo1.maven.org/maven2
1
+
2
+ [android]
3
+ target = Google Inc.:Google APIs:23
4
+
5
+ [maven_repositories]
6
+ central = https://repo1.maven.org/maven2
@@ -1,74 +1,74 @@
1
- {
2
- "root": true,
3
- "parser": "babel-eslint",
4
- "parserOptions": {
5
- "ecmaFeatures": {
6
- "jsx": true
7
- }
8
- },
9
- "extends": [
10
- "airbnb-base",
11
- "plugin:react/recommended",
12
- "prettier",
13
- "prettier/react",
14
- "plugin:import/errors",
15
- "plugin:import/warnings"
16
- ],
17
- "plugins": ["react", "react-native", "import", "prettier"],
18
- "settings": {
19
- "import/ignore": ["node_modules", ".png$", ".jpg$"],
20
- "import/resolver": {
21
- "babel-module": {}
22
- },
23
- "react": {
24
- "version": "detect"
25
- }
26
- },
27
- "env": {
28
- "jest": true
29
- },
30
- "rules": {
31
- "jsx-quotes": ["error", "prefer-double"],
32
- "react/prop-types": "off",
33
- "prettier/prettier": "error",
34
- "import/prefer-default-export": "off",
35
- "import/no-extraneous-dependencies": [
36
- "error",
37
- {
38
- "devDependencies": true,
39
- "optionalDependencies": true
40
- }
41
- ],
42
- "linebreak-style": ["error", "windows"],
43
- "arrow-body-style": ["warn", "as-needed"],
44
- "arrow-parens": ["error", "always"],
45
- "no-unused-vars": [
46
- "error",
47
- {
48
- "args": "none"
49
- }
50
- ],
51
- "func-names": "off",
52
- "no-console": "off",
53
- "radix": ["error", "as-needed"],
54
- "prefer-destructuring": "off",
55
- "no-useless-escape": "off",
56
- "spaced-comment": "error",
57
- "curly": ["error", "multi-line"],
58
- "eol-last": ["error", "always"],
59
- "guard-for-in": "error",
60
- "no-unused-labels": "error",
61
- "no-caller": "error",
62
- "no-bitwise": "error",
63
- "no-multiple-empty-lines": "error",
64
- "no-new-wrappers": "error",
65
- "no-eval": "error",
66
- "dot-notation": "error",
67
- "no-trailing-spaces": "error",
68
- "no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
69
- "brace-style": "error",
70
- "quotes": ["error", "single"],
71
- "default-case": "error",
72
- "eqeqeq": "error"
73
- }
74
- }
1
+ {
2
+ "root": true,
3
+ "parser": "babel-eslint",
4
+ "parserOptions": {
5
+ "ecmaFeatures": {
6
+ "jsx": true
7
+ }
8
+ },
9
+ "extends": [
10
+ "airbnb-base",
11
+ "plugin:react/recommended",
12
+ "prettier",
13
+ "prettier/react",
14
+ "plugin:import/errors",
15
+ "plugin:import/warnings"
16
+ ],
17
+ "plugins": ["react", "react-native", "import", "prettier"],
18
+ "settings": {
19
+ "import/ignore": ["node_modules", ".png$", ".jpg$"],
20
+ "import/resolver": {
21
+ "babel-module": {}
22
+ },
23
+ "react": {
24
+ "version": "detect"
25
+ }
26
+ },
27
+ "env": {
28
+ "jest": true
29
+ },
30
+ "rules": {
31
+ "jsx-quotes": ["error", "prefer-double"],
32
+ "react/prop-types": "off",
33
+ "prettier/prettier": "error",
34
+ "import/prefer-default-export": "off",
35
+ "import/no-extraneous-dependencies": [
36
+ "error",
37
+ {
38
+ "devDependencies": true,
39
+ "optionalDependencies": true
40
+ }
41
+ ],
42
+ "linebreak-style": ["error", "windows"],
43
+ "arrow-body-style": ["warn", "as-needed"],
44
+ "arrow-parens": ["error", "always"],
45
+ "no-unused-vars": [
46
+ "error",
47
+ {
48
+ "args": "none"
49
+ }
50
+ ],
51
+ "func-names": "off",
52
+ "no-console": "off",
53
+ "radix": ["error", "as-needed"],
54
+ "prefer-destructuring": "off",
55
+ "no-useless-escape": "off",
56
+ "spaced-comment": "error",
57
+ "curly": ["error", "multi-line"],
58
+ "eol-last": ["error", "always"],
59
+ "guard-for-in": "error",
60
+ "no-unused-labels": "error",
61
+ "no-caller": "error",
62
+ "no-bitwise": "error",
63
+ "no-multiple-empty-lines": "error",
64
+ "no-new-wrappers": "error",
65
+ "no-eval": "error",
66
+ "dot-notation": "error",
67
+ "no-trailing-spaces": "error",
68
+ "no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
69
+ "brace-style": "error",
70
+ "quotes": ["error", "single"],
71
+ "default-case": "error",
72
+ "eqeqeq": "error"
73
+ }
74
+ }
@@ -1 +1 @@
1
- *.pbxproj -text
1
+ *.pbxproj -text
@@ -1,9 +1,9 @@
1
- {
2
- "endOfLine": "crlf",
3
- "singleQuote": true,
4
- "trailingComma": "es5",
5
- "useTabs": false,
6
- "tabWidth": 2,
7
- "arrowParens": "always",
8
- "printWidth": 100
9
- }
1
+ {
2
+ "endOfLine": "crlf",
3
+ "singleQuote": true,
4
+ "trailingComma": "es5",
5
+ "useTabs": false,
6
+ "tabWidth": 2,
7
+ "arrowParens": "always",
8
+ "printWidth": 100
9
+ }
@@ -1,43 +1,43 @@
1
- {
2
- // Use IntelliSense to learn about possible attributes.
3
- // Hover to view descriptions of existing attributes.
4
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
- "version": "0.2.0",
6
- "configurations": [
7
- {
8
- "name": "Debug Android",
9
- "program": "${workspaceRoot}/.vscode/launchReactNative.js",
10
- "type": "reactnative",
11
- "request": "launch",
12
- "platform": "android",
13
- "sourceMaps": true,
14
- "outDir": "${workspaceRoot}/.vscode/.react"
15
- },
16
- {
17
- "name": "Debug iOS",
18
- "program": "${workspaceRoot}/.vscode/launchReactNative.js",
19
- "type": "reactnative",
20
- "request": "launch",
21
- "platform": "ios",
22
- "sourceMaps": true,
23
- "outDir": "${workspaceRoot}/.vscode/.react"
24
- },
25
- {
26
- "name": "Attach to packager",
27
- "program": "${workspaceRoot}/.vscode/launchReactNative.js",
28
- "type": "reactnative",
29
- "request": "attach",
30
- "sourceMaps": true,
31
- "outDir": "${workspaceRoot}/.vscode/.react"
32
- },
33
- {
34
- "name": "Debug in Exponent",
35
- "program": "${workspaceRoot}/.vscode/launchReactNative.js",
36
- "type": "reactnative",
37
- "request": "launch",
38
- "platform": "exponent",
39
- "sourceMaps": true,
40
- "outDir": "${workspaceRoot}/.vscode/.react"
41
- }
42
- ]
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Debug Android",
9
+ "program": "${workspaceRoot}/.vscode/launchReactNative.js",
10
+ "type": "reactnative",
11
+ "request": "launch",
12
+ "platform": "android",
13
+ "sourceMaps": true,
14
+ "outDir": "${workspaceRoot}/.vscode/.react"
15
+ },
16
+ {
17
+ "name": "Debug iOS",
18
+ "program": "${workspaceRoot}/.vscode/launchReactNative.js",
19
+ "type": "reactnative",
20
+ "request": "launch",
21
+ "platform": "ios",
22
+ "sourceMaps": true,
23
+ "outDir": "${workspaceRoot}/.vscode/.react"
24
+ },
25
+ {
26
+ "name": "Attach to packager",
27
+ "program": "${workspaceRoot}/.vscode/launchReactNative.js",
28
+ "type": "reactnative",
29
+ "request": "attach",
30
+ "sourceMaps": true,
31
+ "outDir": "${workspaceRoot}/.vscode/.react"
32
+ },
33
+ {
34
+ "name": "Debug in Exponent",
35
+ "program": "${workspaceRoot}/.vscode/launchReactNative.js",
36
+ "type": "reactnative",
37
+ "request": "launch",
38
+ "platform": "exponent",
39
+ "sourceMaps": true,
40
+ "outDir": "${workspaceRoot}/.vscode/.react"
41
+ }
42
+ ]
43
43
  }
@@ -1,2 +1,2 @@
1
- {
1
+ {
2
2
  }