@graphcommerce/framer-next-pages 3.0.1 → 3.0.2

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,5 +1,43 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274)
8
+ [`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7)
9
+ Thanks [@paales](https://github.com/paales)! - Moved `ApolloErrorAlert`, `ApolloErrorFullPage` and
10
+ `ApolloErrorSnackbar` to the ecommerce-ui package.
11
+
12
+ Created `ComposedSubmitButton` and `ComposedSubmitLinkOrButton` to reduce complexity from
13
+ `magento-graphcms` example.
14
+
15
+ Removed dependency an `@graphcommerce/react-hook-form` from `magento-graphcms` example.
16
+
17
+ Added dependency `@graphcommerce/ecommerce-ui` from `magento-graphcms` example.
18
+
19
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
20
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
21
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
22
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
23
+ duplicate packages in the node_modules folders.
24
+
25
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
26
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
27
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
28
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
29
+ implementing
30
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
31
+ soon.
32
+
33
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
34
+ frontend to be able to revalidate pages manually.
35
+
36
+ - Updated dependencies
37
+ [[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
38
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
39
+ - @graphcommerce/framer-utils@3.0.2
40
+
3
41
  ## 3.0.1
4
42
 
5
43
  ### Patch Changes
@@ -94,7 +94,16 @@ export default function FramerNextPages(props: PagesProps) {
94
94
  // todo: implement fallback loading for up property
95
95
  // const up = items.current[0].PageComponent.pageOptions?.up?.href ?? '/'
96
96
  const up = '/'
97
- const info = await (router as Router).getRouteInfo(up, up, {}, up, up, { shallow: false })
97
+ const info = await (router as Router).getRouteInfo(
98
+ up,
99
+ up,
100
+ {},
101
+ up,
102
+ up,
103
+ { shallow: false },
104
+ undefined,
105
+ false,
106
+ )
98
107
 
99
108
  const pageInfo = { asPath: up, pathname: up, locale: router.locale, query: {} }
100
109
  const Fallback = info.Component as PageComponent
package/package.json CHANGED
@@ -2,11 +2,8 @@
2
2
  "name": "@graphcommerce/framer-next-pages",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.1",
5
+ "version": "3.0.2",
6
6
  "sideEffects": false,
7
- "scripts": {
8
- "dev": "tsc -W"
9
- },
10
7
  "prettier": "@graphcommerce/prettier-config-pwa",
11
8
  "eslintConfig": {
12
9
  "extends": "@graphcommerce/eslint-config-pwa",
@@ -15,17 +12,17 @@
15
12
  }
16
13
  },
17
14
  "dependencies": {
18
- "@graphcommerce/framer-utils": "^3.0.1"
15
+ "@graphcommerce/framer-utils": "^3.0.2"
19
16
  },
20
17
  "devDependencies": {
21
- "@graphcommerce/eslint-config-pwa": "^4.0.1",
18
+ "@graphcommerce/eslint-config-pwa": "^4.0.2",
22
19
  "@graphcommerce/prettier-config-pwa": "^4.0.1",
23
20
  "@graphcommerce/typescript-config-pwa": "^4.0.1",
24
- "@playwright/test": "^1.18.1"
21
+ "@playwright/test": "^1.19.1"
25
22
  },
26
23
  "peerDependencies": {
27
24
  "framer-motion": "^6.2.4",
28
- "next": "^12.0.10",
25
+ "next": "^12.1.0",
29
26
  "react": "^17.0.2",
30
27
  "react-dom": "^17.0.2"
31
28
  }