@graphcommerce/magento-product 11.0.0-canary.48 → 11.0.0-canary.50
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/CHANGELOG.md +8 -0
- package/Config.graphqls +6 -6
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-canary.50
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2707](https://github.com/graphcommerce-org/graphcommerce/pull/2707) [`abcfce1`](https://github.com/graphcommerce-org/graphcommerce/commit/abcfce130beaf5544a6ceec794fdeb99e4b3e3ba) - **Breaking change:** configuration fields are server-only, unless their definition in `Config.graphqls` has `@public`. In the browser, `@graphcommerce/next-config/config` resolves to a file with only the `@public` fields, so secrets such as `previewSecret` and `hygraphSecret` stay out of the client JavaScript and its source maps. Turbopack stops the build on a browser import of a server-only field. See [docs/upgrading/graphcommerce-10-to-11.md](docs/upgrading/graphcommerce-10-to-11.md). ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
## 11.0.0-canary.49
|
|
10
|
+
|
|
3
11
|
## 11.0.0-canary.48
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/Config.graphqls
CHANGED
|
@@ -12,14 +12,14 @@ extend input GraphCommerceConfig {
|
|
|
12
12
|
"""
|
|
13
13
|
Product filters with better UI for mobile and desktop.
|
|
14
14
|
"""
|
|
15
|
-
productFiltersPro: Boolean
|
|
15
|
+
productFiltersPro: Boolean @public
|
|
16
16
|
|
|
17
17
|
"""
|
|
18
18
|
Layout how the filters are rendered.
|
|
19
19
|
DEFAULT: Will be rendered as horzontal chips on desktop and mobile
|
|
20
20
|
SIDEBAR: Will be rendered as a sidebar on desktop and horizontal chips on mobile
|
|
21
21
|
"""
|
|
22
|
-
productFiltersLayout: ProductFiltersLayout = DEFAULT
|
|
22
|
+
productFiltersLayout: ProductFiltersLayout = DEFAULT @public
|
|
23
23
|
|
|
24
24
|
"""
|
|
25
25
|
By default we route products to /p/[url] but you can change this to /product/[url] if you wish.
|
|
@@ -27,21 +27,21 @@ extend input GraphCommerceConfig {
|
|
|
27
27
|
Default: '/p/'
|
|
28
28
|
Example: '/product/'
|
|
29
29
|
"""
|
|
30
|
-
productRoute: String
|
|
30
|
+
productRoute: String @public
|
|
31
31
|
|
|
32
32
|
"""
|
|
33
33
|
Determines if, after adding a cross-sell item to the cart, the user should be redirected to the cross-sell items of the product they just added.
|
|
34
34
|
|
|
35
35
|
Default: 'false'
|
|
36
36
|
"""
|
|
37
|
-
crossSellsRedirectItems: Boolean = false
|
|
37
|
+
crossSellsRedirectItems: Boolean = false @public
|
|
38
38
|
|
|
39
39
|
"""
|
|
40
40
|
Determines if cross sell items should be shown when the user already has the product in their cart. This will result in a product will popping off the screen when you add it to the cart.
|
|
41
41
|
|
|
42
42
|
Default: 'false'
|
|
43
43
|
"""
|
|
44
|
-
crossSellsHideCartItems: Boolean = false
|
|
44
|
+
crossSellsHideCartItems: Boolean = false @public
|
|
45
45
|
|
|
46
46
|
"""
|
|
47
47
|
Pagination variant for the product listings.
|
|
@@ -49,5 +49,5 @@ extend input GraphCommerceConfig {
|
|
|
49
49
|
COMPACT means: "< Page X of Y >"
|
|
50
50
|
EXTENDED means: "< 1 2 ... 4 [5] 6 ... 10 11 >"
|
|
51
51
|
"""
|
|
52
|
-
productListPaginationVariant: PaginationVariant = COMPACT
|
|
52
|
+
productListPaginationVariant: PaginationVariant = COMPACT @public
|
|
53
53
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "11.0.0-canary.
|
|
5
|
+
"version": "11.0.0-canary.50",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"typescript": "5.9.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@graphcommerce/ecommerce-ui": "^11.0.0-canary.
|
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^11.0.0-canary.
|
|
23
|
-
"@graphcommerce/framer-next-pages": "^11.0.0-canary.
|
|
24
|
-
"@graphcommerce/framer-scroller": "^11.0.0-canary.
|
|
25
|
-
"@graphcommerce/graphql": "^11.0.0-canary.
|
|
26
|
-
"@graphcommerce/graphql-mesh": "^11.0.0-canary.
|
|
27
|
-
"@graphcommerce/image": "^11.0.0-canary.
|
|
28
|
-
"@graphcommerce/magento-cart": "^11.0.0-canary.
|
|
29
|
-
"@graphcommerce/magento-store": "^11.0.0-canary.
|
|
30
|
-
"@graphcommerce/next-ui": "^11.0.0-canary.
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^11.0.0-canary.
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^11.0.0-canary.
|
|
21
|
+
"@graphcommerce/ecommerce-ui": "^11.0.0-canary.50",
|
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^11.0.0-canary.50",
|
|
23
|
+
"@graphcommerce/framer-next-pages": "^11.0.0-canary.50",
|
|
24
|
+
"@graphcommerce/framer-scroller": "^11.0.0-canary.50",
|
|
25
|
+
"@graphcommerce/graphql": "^11.0.0-canary.50",
|
|
26
|
+
"@graphcommerce/graphql-mesh": "^11.0.0-canary.50",
|
|
27
|
+
"@graphcommerce/image": "^11.0.0-canary.50",
|
|
28
|
+
"@graphcommerce/magento-cart": "^11.0.0-canary.50",
|
|
29
|
+
"@graphcommerce/magento-store": "^11.0.0-canary.50",
|
|
30
|
+
"@graphcommerce/next-ui": "^11.0.0-canary.50",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^11.0.0-canary.50",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^11.0.0-canary.50",
|
|
33
33
|
"@lingui/core": "^5",
|
|
34
34
|
"@lingui/macro": "^5",
|
|
35
35
|
"@lingui/react": "^5",
|