@jetshop/template-trend 5.17.0-alpha.c701d997 → 5.17.0-alpha.d9d2edd2
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/.eslintrc +9 -1
- package/cypress/plugins/index.js +4 -4
- package/package.json +10 -12
- package/schema.graphql +1649 -1716
- package/src/components/CategoryPage/Filters/BooleanFilters.js +1 -0
- package/src/components/Layout/Footer/FooterLinks.js +1 -1
- package/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js +0 -1
- package/src/components/Layout/Header/Header.js +1 -3
- package/src/components/MyPages/CustomerNameHeader.js +1 -1
- package/src/components/MyPages/MyPagesStartPage.js +1 -1
- package/src/components/NavigationTree/NavTree.js +2 -1
- package/src/components/ProductList/AddToCart.js +1 -1
- package/src/components/ProductList/Favourites.js +1 -0
- package/src/components/ProductList/ProductLists.gql +8 -0
- package/src/components/ProductPage/AddToCart/AddToCartForm.js +6 -4
- package/src/components/ProductPage/PriceHistory.js +1 -1
- package/src/components/ProductPage/ProductPageFragment.gql +1 -0
- package/src/components/SearchPage/EmptySearchResults.js +1 -1
- package/src/components/StartPage/StartPage.js +1 -1
- package/src/components/Store/Store.js +1 -1
- package/src/components/StoreLocator/StoreLocator.js +2 -1
- package/src/components/ui/Button.js +1 -1
- package/src/theme-variables.js +2 -2
- package/translations/default.json +741 -6
- package/src/components/Forms/ValidationTooltip.js +0 -51
package/.eslintrc
CHANGED
|
@@ -3,7 +3,15 @@
|
|
|
3
3
|
"plugins": ["react-hooks"],
|
|
4
4
|
"rules": {
|
|
5
5
|
"react-hooks/rules-of-hooks": "error",
|
|
6
|
-
"react-hooks/exhaustive-deps": "warn"
|
|
6
|
+
"react-hooks/exhaustive-deps": "warn",
|
|
7
|
+
"no-unused-vars": [
|
|
8
|
+
"warn",
|
|
9
|
+
{
|
|
10
|
+
"argsIgnorePattern": "^_",
|
|
11
|
+
"varsIgnorePattern": "^_",
|
|
12
|
+
"caughtErrorsIgnorePattern": "^_"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
7
15
|
},
|
|
8
16
|
"globals": {
|
|
9
17
|
"cy": true,
|
package/cypress/plugins/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
module.exports = (on, config) => {
|
|
2
2
|
// ref: https://docs.cypress.io/api/plugins/browser-launch-api.html#Usage
|
|
3
|
-
on('before:browser:launch', (browser = {},
|
|
3
|
+
on('before:browser:launch', (browser = {}, launchOptions) => {
|
|
4
4
|
if (browser.name === 'chrome') {
|
|
5
|
-
args.push('--disable-dev-shm-usage');
|
|
6
|
-
return
|
|
5
|
+
launchOptions.args.push('--disable-dev-shm-usage');
|
|
6
|
+
return launchOptions;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
return
|
|
9
|
+
return launchOptions;
|
|
10
10
|
});
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetshop/template-trend",
|
|
3
|
-
"version": "5.17.0-alpha.
|
|
3
|
+
"version": "5.17.0-alpha.d9d2edd2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "react-scripts build",
|
|
@@ -45,18 +45,16 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@jetshop/core": "^5.17.0-alpha.
|
|
48
|
+
"@jetshop/core": "^5.17.0-alpha.d9d2edd2",
|
|
49
49
|
"@jetshop/flight-shortcodes": "^2.0.10",
|
|
50
|
-
"@jetshop/intl": "^5.17.0-alpha.
|
|
51
|
-
"@jetshop/react-scripts": "^5.17.0-alpha.
|
|
52
|
-
"@jetshop/ui": "^5.17.0-alpha.
|
|
53
|
-
"@react-google-maps/api": "~
|
|
50
|
+
"@jetshop/intl": "^5.17.0-alpha.d9d2edd2",
|
|
51
|
+
"@jetshop/react-scripts": "^5.17.0-alpha.d9d2edd2",
|
|
52
|
+
"@jetshop/ui": "^5.17.0-alpha.d9d2edd2",
|
|
53
|
+
"@react-google-maps/api": "~2.18.1",
|
|
54
54
|
"prop-types": "^15.6.2",
|
|
55
|
-
"react": "^
|
|
56
|
-
"react-
|
|
57
|
-
"react-
|
|
58
|
-
"react-modal": "^3.4.5",
|
|
59
|
-
"react-slider": "^1.1.4",
|
|
55
|
+
"react": "^18",
|
|
56
|
+
"react-dom": "^18",
|
|
57
|
+
"react-slider": "^2.0.6",
|
|
60
58
|
"striptags": "^3.1.1"
|
|
61
59
|
},
|
|
62
60
|
"devDependencies": {
|
|
@@ -64,7 +62,7 @@
|
|
|
64
62
|
"@graphql-codegen/schema-ast": "^1.18.1",
|
|
65
63
|
"@testing-library/cypress": "^6.0.0",
|
|
66
64
|
"cypress": "^8.5.0",
|
|
67
|
-
"graphql": "^
|
|
65
|
+
"graphql": "^15.3.0",
|
|
68
66
|
"graphql-cli": "^4.1.0",
|
|
69
67
|
"graphql-config": "3.0.3",
|
|
70
68
|
"lint-staged": "^8.1.5",
|