@graphcommerce/magento-cms 4.0.1 → 4.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/CHANGELOG.md CHANGED
@@ -1,14 +1,49 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
8
+
9
+ * [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
10
+
11
+ * Updated dependencies [[`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
12
+ - @graphcommerce/graphql@3.0.4
13
+ - @graphcommerce/magento-store@4.1.2
14
+
15
+ ## 4.0.3
16
+
17
+ ### Patch Changes
18
+
19
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
20
+
21
+ * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278) [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
22
+
23
+ * Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96), [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)]:
24
+ - @graphcommerce/graphql@3.0.3
25
+ - @graphcommerce/magento-store@4.0.3
26
+
27
+ ## 4.0.2
28
+
29
+ ### Patch Changes
30
+
31
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
32
+
33
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
34
+
35
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
36
+
37
+ * Updated dependencies [[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
38
+ - @graphcommerce/graphql@3.0.2
39
+ - @graphcommerce/magento-store@4.0.2
40
+
3
41
  ## 4.0.1
4
42
 
5
43
  ### Patch Changes
6
44
 
7
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
8
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
9
- so that the packages link to back to the website and repository
10
- - Updated dependencies
11
- [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
45
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
46
+ - Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
12
47
  - @graphcommerce/graphql@3.0.1
13
48
  - @graphcommerce/magento-store@4.0.1
14
49
 
@@ -16,33 +51,27 @@
16
51
 
17
52
  ### Major Changes
18
53
 
19
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
20
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
21
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
54
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
22
55
 
23
56
  ### Patch Changes
24
57
 
25
- - Updated dependencies
26
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
58
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
27
59
  - @graphcommerce/graphql@3.0.0
28
60
  - @graphcommerce/magento-store@4.0.0
29
61
 
30
- All notable changes to this project will be documented in this file. See
31
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
62
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
32
63
 
33
64
  # [3.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@3.1.29...@graphcommerce/magento-cms@3.2.0) (2021-11-12)
34
65
 
35
66
  ### Features
36
67
 
37
- - added tons of translations
38
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
68
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
39
69
 
40
70
  # [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@3.0.31...@graphcommerce/magento-cms@3.1.0) (2021-10-27)
41
71
 
42
72
  ### Features
43
73
 
44
- - **nextjs:** upgraded to nextjs 12
45
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
74
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
46
75
 
47
76
  ## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@3.0.0...@graphcommerce/magento-cms@3.0.1) (2021-09-27)
48
77
 
@@ -52,61 +81,40 @@ All notable changes to this project will be documented in this file. See
52
81
 
53
82
  ### Bug Fixes
54
83
 
55
- - canonical urls
56
- ([9ff8d3f](https://github.com/ho-nl/m2-pwa/commit/9ff8d3f950098fb28440f31f5dd93a835dce0bda))
57
- - ignore md files from triggering version updates
58
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
59
- - remove conflicting files
60
- ([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
61
- - yarn workspace packages hot reload
62
- ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
84
+ - canonical urls ([9ff8d3f](https://github.com/ho-nl/m2-pwa/commit/9ff8d3f950098fb28440f31f5dd93a835dce0bda))
85
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
86
+ - remove conflicting files ([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
87
+ - yarn workspace packages hot reload ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
63
88
 
64
89
  ### Features
65
90
 
66
- - add barrel file for magento-category
67
- ([c5ba8c9](https://github.com/ho-nl/m2-pwa/commit/c5ba8c98cbb8192f1c1c85242ff6efa83b1fbdcc))
68
- - better 404 handling and simplified getStaticProps
69
- ([321ace1](https://github.com/ho-nl/m2-pwa/commit/321ace1850642ee3eddfa674c37e6fca8adcdb74))
70
- - canonical urls using abstract page meta component
71
- ([7d52cfc](https://github.com/ho-nl/m2-pwa/commit/7d52cfc76af2766dedf883b1e3fa5a5101eca823))
72
- - created stacked-pages package
73
- ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
74
- - **graphql:** introduced new graphql package that holds all generated files
75
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
76
- - introduced a server side shared apolloClient, faster page loading
77
- ([5d7bc82](https://github.com/ho-nl/m2-pwa/commit/5d7bc825946c7910a06249041237e54b99f0c5b1))
78
- - major performance refactor
79
- ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
80
- - next.js 11
81
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
82
- - **playwright:** added new playwright package to enable browser testing
83
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
84
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
85
- [@reachdigital](https://github.com/reachdigital)
86
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
87
- - upgrade to node 14
88
- ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
89
- - upgraded to nextjs 11
90
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
91
+ - add barrel file for magento-category ([c5ba8c9](https://github.com/ho-nl/m2-pwa/commit/c5ba8c98cbb8192f1c1c85242ff6efa83b1fbdcc))
92
+ - better 404 handling and simplified getStaticProps ([321ace1](https://github.com/ho-nl/m2-pwa/commit/321ace1850642ee3eddfa674c37e6fca8adcdb74))
93
+ - canonical urls using abstract page meta component ([7d52cfc](https://github.com/ho-nl/m2-pwa/commit/7d52cfc76af2766dedf883b1e3fa5a5101eca823))
94
+ - created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
95
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
96
+ - introduced a server side shared apolloClient, faster page loading ([5d7bc82](https://github.com/ho-nl/m2-pwa/commit/5d7bc825946c7910a06249041237e54b99f0c5b1))
97
+ - major performance refactor ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
98
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
99
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
100
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
101
+ - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
102
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
91
103
 
92
104
  ### Reverts
93
105
 
94
- - Revert "chore: upgrade @apollo/client"
95
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
106
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
96
107
 
97
108
  ## 2.0.8 (2020-10-28)
98
109
 
99
110
  ### Bug Fixes
100
111
 
101
- - make sure themes extensions are found
102
- ([5aa18db](https://github.com/ho-nl/m2-pwa/commit/5aa18db514fd2e2f50681367e39523f8e742ece0))
112
+ - make sure themes extensions are found ([5aa18db](https://github.com/ho-nl/m2-pwa/commit/5aa18db514fd2e2f50681367e39523f8e742ece0))
103
113
 
104
114
  ### Features
105
115
 
106
- - added generated graphql.ts files
107
- ([3e44415](https://github.com/ho-nl/m2-pwa/commit/3e44415b018e74b502e9e98479aa5e84041f337d))
108
- - split into packages
109
- ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
116
+ - added generated graphql.ts files ([3e44415](https://github.com/ho-nl/m2-pwa/commit/3e44415b018e74b502e9e98479aa5e84041f337d))
117
+ - split into packages ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
110
118
 
111
119
  ### BREAKING CHANGES
112
120
 
@@ -114,33 +122,28 @@ All notable changes to this project will be documented in this file. See
114
122
 
115
123
  # Change Log
116
124
 
117
- All notable changes to this project will be documented in this file. See
118
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
125
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
119
126
 
120
127
  # [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@2.101.9...@graphcommerce/magento-cms@2.102.0) (2021-08-12)
121
128
 
122
129
  ### Features
123
130
 
124
- - upgraded to nextjs 11
125
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
131
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
126
132
 
127
133
  ## [2.101.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@2.101.8...@graphcommerce/magento-cms@2.101.9) (2021-08-09)
128
134
 
129
135
  ### Reverts
130
136
 
131
- - Revert "chore: upgrade @apollo/client"
132
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
137
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
133
138
 
134
139
  # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@2.100.18...@graphcommerce/magento-cms@2.101.0) (2021-07-26)
135
140
 
136
141
  ### Features
137
142
 
138
- - **playwright:** added new playwright package to enable browser testing
139
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
143
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
140
144
 
141
145
  ## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cms@2.100.10...@graphcommerce/magento-cms@2.100.11) (2021-07-20)
142
146
 
143
147
  ### Bug Fixes
144
148
 
145
- - ignore md files from triggering version updates
146
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
149
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
@@ -1,8 +1,7 @@
1
1
  import { Typography, Container } from '@mui/material'
2
- import React from 'react'
3
2
  import { CmsPageContentFragment } from './CmsPageContent.gql'
4
3
 
5
- export default function CmsPageContent(props: CmsPageContentFragment) {
4
+ export function CmsPageContent(props: CmsPageContentFragment) {
6
5
  const { content_heading, content } = props
7
6
  return (
8
7
  <Container>
package/CmsPageMeta.tsx CHANGED
@@ -2,7 +2,7 @@ import { PageMeta } from '@graphcommerce/magento-store'
2
2
  import React from 'react'
3
3
  import { CmsPageMetaFragment } from './CmsPageMeta.gql'
4
4
 
5
- export default function CmsPageMeta(props: CmsPageMetaFragment) {
5
+ export function CmsPageMeta(props: CmsPageMetaFragment) {
6
6
  const { title, meta_title, meta_description } = props
7
7
 
8
8
  return (
package/index.ts CHANGED
@@ -1 +1 @@
1
- export { default as CmsPageContent } from './CmsPageContent'
1
+ export * from './CmsPageContent'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cms",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.0.1",
5
+ "version": "4.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,21 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.1",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
17
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
18
- "@playwright/test": "^1.18.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.5",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
+ "@playwright/test": "^1.19.2"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "^3.0.1",
22
- "@graphcommerce/magento-store": "^4.0.1",
21
+ "@graphcommerce/graphql": "^3.0.4",
22
+ "@graphcommerce/magento-store": "^4.1.2",
23
+ "type-fest": "^2.12.0"
24
+ },
25
+ "peerDependencies": {
23
26
  "@lingui/macro": "^3.13.2",
24
27
  "@mui/material": "^5.4.1",
25
28
  "next": "^12.0.10",
26
29
  "react": "^17.0.2",
27
- "react-dom": "^17.0.2",
28
- "type-fest": "^2.11.2"
30
+ "react-dom": "^17.0.2"
29
31
  }
30
32
  }