@graphcommerce/googleanalytics 8.0.6-canary.4 → 8.1.0-canary.10

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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.1.0-canary.10
4
+
5
+ ## 8.1.0-canary.9
6
+
7
+ ## 8.1.0-canary.8
8
+
9
+ ## 8.1.0-canary.7
10
+
11
+ ## 8.1.0-canary.6
12
+
13
+ ## 8.1.0-canary.5
14
+
3
15
  ## 8.0.6-canary.4
4
16
 
5
17
  ## 8.0.6-canary.3
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/googleanalytics",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.0.6-canary.4",
5
+ "version": "8.1.0-canary.10",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/google-datalayer": "8.0.6-canary.4"
15
+ "@graphcommerce/google-datalayer": "8.1.0-canary.10"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/eslint-config-pwa": "^8.0.6-canary.4",
19
- "@graphcommerce/graphql-mesh": "^8.0.6-canary.4",
20
- "@graphcommerce/magento-cart": "^8.0.6-canary.4",
21
- "@graphcommerce/magento-cart-payment-method": "^8.0.6-canary.4",
22
- "@graphcommerce/magento-cart-shipping-method": "^8.0.6-canary.4",
23
- "@graphcommerce/magento-product": "^8.0.6-canary.4",
24
- "@graphcommerce/next-config": "^8.0.6-canary.4",
25
- "@graphcommerce/next-ui": "^8.0.6-canary.4",
26
- "@graphcommerce/prettier-config-pwa": "^8.0.6-canary.4",
27
- "@graphcommerce/typescript-config-pwa": "^8.0.6-canary.4",
18
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.10",
19
+ "@graphcommerce/graphql-mesh": "^8.1.0-canary.10",
20
+ "@graphcommerce/magento-cart": "^8.1.0-canary.10",
21
+ "@graphcommerce/magento-cart-payment-method": "^8.1.0-canary.10",
22
+ "@graphcommerce/magento-cart-shipping-method": "^8.1.0-canary.10",
23
+ "@graphcommerce/magento-product": "^8.1.0-canary.10",
24
+ "@graphcommerce/next-config": "^8.1.0-canary.10",
25
+ "@graphcommerce/next-ui": "^8.1.0-canary.10",
26
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.10",
27
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.10",
28
28
  "@mui/material": "^5.10.16",
29
29
  "next": "*",
30
30
  "react": "^18.2.0",
@@ -1,12 +1,18 @@
1
1
  import type { PagesProps } from '@graphcommerce/framer-next-pages'
2
- import type { IfConfig, PluginProps } from '@graphcommerce/next-config'
2
+ import type { IfConfig, PluginConfig, PluginProps } from '@graphcommerce/next-config'
3
3
  import { GoogleAnalyticsScript } from '../components/GoogleAnalyticsScript'
4
4
 
5
5
  export const component = 'FramerNextPages'
6
6
  export const exported = '@graphcommerce/framer-next-pages'
7
7
  export const ifConfig: IfConfig = 'googleAnalyticsId'
8
8
 
9
- function GaFramerNextPages(props: PluginProps<PagesProps>) {
9
+ export const config: PluginConfig = {
10
+ type: 'component',
11
+ module: '@graphcommerce/framer-next-pages',
12
+ ifConfig: 'googleAnalyticsId',
13
+ }
14
+
15
+ export function FramerNextPages(props: PluginProps<PagesProps>) {
10
16
  const { Prev, ...rest } = props
11
17
 
12
18
  return (
@@ -16,5 +22,3 @@ function GaFramerNextPages(props: PluginProps<PagesProps>) {
16
22
  </>
17
23
  )
18
24
  }
19
-
20
- export const Plugin = GaFramerNextPages