@graphcommerce/googletagmanager 2.0.3 → 2.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,72 +1,60 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.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
+
3
11
  ## 2.0.3
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
- Thanks [@paales](https://github.com/paales)! - made packages public
15
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
9
16
 
10
17
  ## 2.0.2
11
18
 
12
19
  ### Patch Changes
13
20
 
14
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
15
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
16
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
17
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
18
- duplicate packages in the node_modules folders.
21
+ - [#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.
19
22
 
20
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
21
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
22
- Thanks [@paales](https://github.com/paales)! - Upgraded to
23
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
24
- implementing
25
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
26
- soon.
23
+ * [#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.
27
24
 
28
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
29
- frontend to be able to revalidate pages manually.
25
+ 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.
30
26
 
31
27
  ## 2.0.1
32
28
 
33
29
  ### Patch Changes
34
30
 
35
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
36
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
37
- so that the packages link to back to the website and repository
31
+ - [`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
38
32
 
39
33
  ## 2.0.0
40
34
 
41
35
  ### Major Changes
42
36
 
43
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
44
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
45
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
37
+ - [#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
46
38
 
47
- All notable changes to this project will be documented in this file. See
48
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
39
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
49
40
 
50
41
  ## [1.0.8](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googletagmanager@1.0.7...@graphcommerce/googletagmanager@1.0.8) (2021-12-20)
51
42
 
52
43
  ### Bug Fixes
53
44
 
54
- - make sure we're not loading gogole properties when keys are not given
55
- ([8636715](https://github.com/ho-nl/m2-pwa/commit/8636715d61985e0919208ffb64354c3ebb43ed01))
45
+ - make sure we're not loading gogole properties when keys are not given ([8636715](https://github.com/ho-nl/m2-pwa/commit/8636715d61985e0919208ffb64354c3ebb43ed01))
56
46
 
57
47
  ## [1.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googletagmanager@0.3.2...@graphcommerce/googletagmanager@1.0.1) (2021-11-03)
58
48
 
59
49
  ### Bug Fixes
60
50
 
61
- - simplified google tagmanager and create 1.0.0
62
- ([21ac284](https://github.com/ho-nl/m2-pwa/commit/21ac28484de6c12d54f6cf73ad04e459d74892a7))
51
+ - simplified google tagmanager and create 1.0.0 ([21ac284](https://github.com/ho-nl/m2-pwa/commit/21ac28484de6c12d54f6cf73ad04e459d74892a7))
63
52
 
64
53
  # [0.3.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googletagmanager@0.2.10...@graphcommerce/googletagmanager@0.3.0) (2021-10-27)
65
54
 
66
55
  ### Features
67
56
 
68
- - **nextjs:** upgraded to nextjs 12
69
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
57
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
70
58
 
71
59
  ## [0.2.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googletagmanager@0.2.0...@graphcommerce/googletagmanager@0.2.1) (2021-09-27)
72
60
 
@@ -76,25 +64,19 @@ All notable changes to this project will be documented in this file. See
76
64
 
77
65
  ### Bug Fixes
78
66
 
79
- - use gtm id directly from process.env
80
- ([1682834](https://github.com/ho-nl/m2-pwa/commit/16828342b0f432da5c7051b1b9834fdad1c58ec8))
67
+ - use gtm id directly from process.env ([1682834](https://github.com/ho-nl/m2-pwa/commit/16828342b0f432da5c7051b1b9834fdad1c58ec8))
81
68
 
82
69
  ### Features
83
70
 
84
- - no gtm id present warning
85
- ([94cda8a](https://github.com/ho-nl/m2-pwa/commit/94cda8a30a3ec556d3e5484824fbf349e2e1e342))
86
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
87
- [@reachdigital](https://github.com/reachdigital)
88
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
71
+ - no gtm id present warning ([94cda8a](https://github.com/ho-nl/m2-pwa/commit/94cda8a30a3ec556d3e5484824fbf349e2e1e342))
72
+ - 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))
89
73
 
90
74
  # 0.1.0 (2021-09-22)
91
75
 
92
76
  ### Bug Fixes
93
77
 
94
- - use gtm id directly from process.env
95
- ([1682834](https://github.com/ho-nl/m2-pwa/commit/16828342b0f432da5c7051b1b9834fdad1c58ec8))
78
+ - use gtm id directly from process.env ([1682834](https://github.com/ho-nl/m2-pwa/commit/16828342b0f432da5c7051b1b9834fdad1c58ec8))
96
79
 
97
80
  ### Features
98
81
 
99
- - no gtm id present warning
100
- ([94cda8a](https://github.com/ho-nl/m2-pwa/commit/94cda8a30a3ec556d3e5484824fbf349e2e1e342))
82
+ - no gtm id present warning ([94cda8a](https://github.com/ho-nl/m2-pwa/commit/94cda8a30a3ec556d3e5484824fbf349e2e1e342))
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
 
3
- export default function GoogleTagManagerNoScript() {
3
+ export function GoogleTagManagerNoScript() {
4
4
  if (!process.env.NEXT_PUBLIC_GTM_ID) return null
5
5
 
6
6
  return (
@@ -1,8 +1,8 @@
1
1
  import { useRouter } from 'next/router'
2
2
  import Script from 'next/script'
3
- import React, { useEffect } from 'react'
3
+ import { useEffect } from 'react'
4
4
 
5
- export default function GoogleTagManagerScript() {
5
+ export function GoogleTagManagerScript() {
6
6
  const id = process.env.NEXT_PUBLIC_GTM_ID
7
7
 
8
8
  if (process.env.NODE_ENV !== 'production' && !id)
@@ -1,2 +1,2 @@
1
- export { default as GoogleTagManagerScript } from './GoogleTagManagerScript'
2
- export { default as GoogleTagManagerNoScript } from './GoogleTagManagerNoScript'
1
+ export * from './GoogleTagManagerScript'
2
+ export * from './GoogleTagManagerNoScript'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/googletagmanager",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "2.0.3",
5
+ "version": "2.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,10 +12,10 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.3",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.2",
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.5",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
- "@playwright/test": "^1.19.1",
18
+ "@playwright/test": "^1.19.2",
19
19
  "@types/gapi.client.tagmanager": "^2.0.2"
20
20
  },
21
21
  "peerDependencies": {