@graphcommerce/eslint-config-pwa 3.1.10 β 4.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 +97 -58
- package/index.js +3 -0
- package/package.json +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,115 +1,154 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
3
|
+
## 4.0.2
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
### Patch Changes
|
|
7
6
|
|
|
7
|
+
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
8
|
+
[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
|
|
9
|
+
Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
|
|
10
|
+
`dependencies` to `peerDependencies`. The result of this is that there will be significantly less
|
|
11
|
+
duplicate packages in the node_modules folders.
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
* [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
14
|
+
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
|
|
15
|
+
Thanks [@paales](https://github.com/paales)! - Upgraded to
|
|
16
|
+
[NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
|
|
17
|
+
implementing
|
|
18
|
+
[On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
|
|
19
|
+
soon.
|
|
10
20
|
|
|
11
|
-
|
|
21
|
+
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
|
|
22
|
+
frontend to be able to revalidate pages manually.
|
|
12
23
|
|
|
24
|
+
## 4.0.1
|
|
13
25
|
|
|
26
|
+
### Patch Changes
|
|
14
27
|
|
|
28
|
+
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
|
|
29
|
+
Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
|
|
30
|
+
so that the packages link to back to the website and repository
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
[[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
33
|
+
- @graphcommerce/prettier-config-pwa@4.0.1
|
|
34
|
+
- @graphcommerce/typescript-config-pwa@4.0.1
|
|
15
35
|
|
|
36
|
+
## 4.0.0
|
|
16
37
|
|
|
17
|
-
|
|
38
|
+
### Major Changes
|
|
18
39
|
|
|
40
|
+
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
|
|
41
|
+
[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
|
|
42
|
+
Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
|
19
43
|
|
|
20
|
-
###
|
|
21
|
-
|
|
22
|
-
* **graphql-mesh:** remove the api project and use a single project ππ©βπ©βπ¦βπ¦ ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
|
|
23
|
-
|
|
44
|
+
### Patch Changes
|
|
24
45
|
|
|
46
|
+
- Updated dependencies
|
|
47
|
+
[[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
48
|
+
- @graphcommerce/typescript-config-pwa@4.0.0
|
|
49
|
+
- @graphcommerce/prettier-config-pwa@4.0.0
|
|
25
50
|
|
|
51
|
+
All notable changes to this project will be documented in this file. See
|
|
52
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
26
53
|
|
|
54
|
+
## [3.1.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.1.4...@graphcommerce/eslint-config-pwa@3.1.5) (2021-11-12)
|
|
27
55
|
|
|
28
|
-
|
|
56
|
+
### Bug Fixes
|
|
29
57
|
|
|
58
|
+
- eslint doesn't start properly
|
|
59
|
+
([3e01cfb](https://github.com/ho-nl/m2-pwa/commit/3e01cfb89ef73de2b520399c9428b88114844b02))
|
|
30
60
|
|
|
31
|
-
|
|
61
|
+
# [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.8...@graphcommerce/eslint-config-pwa@3.1.0) (2021-10-21)
|
|
32
62
|
|
|
33
|
-
|
|
63
|
+
### Features
|
|
34
64
|
|
|
65
|
+
- **graphql-mesh:** remove the api project and use a single project ππ©βπ©βπ¦βπ¦
|
|
66
|
+
([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
|
|
35
67
|
|
|
68
|
+
## [3.0.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.2...@graphcommerce/eslint-config-pwa@3.0.3) (2021-09-28)
|
|
36
69
|
|
|
70
|
+
### Bug Fixes
|
|
37
71
|
|
|
72
|
+
- eslint not working
|
|
73
|
+
([68c76b3](https://github.com/ho-nl/m2-pwa/commit/68c76b3f4bc1f7dbf490b331e72f0d91afc634bf))
|
|
38
74
|
|
|
39
75
|
## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.0...@graphcommerce/eslint-config-pwa@3.0.1) (2021-09-27)
|
|
40
76
|
|
|
41
77
|
**Note:** Version bump only for package @graphcommerce/eslint-config-pwa
|
|
42
78
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
79
|
# 3.0.0 (2021-09-27)
|
|
48
80
|
|
|
49
|
-
|
|
50
81
|
### Bug Fixes
|
|
51
82
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
83
|
+
- [@typescript-eslint](https://github.com/typescript-eslint) package not found
|
|
84
|
+
([09ccae0](https://github.com/ho-nl/m2-pwa/commit/09ccae09605e0bab83a2168677e9752d16b24e9d))
|
|
85
|
+
- disable prefer-default-export for ts files as they are usually libraries
|
|
86
|
+
([7c91b32](https://github.com/ho-nl/m2-pwa/commit/7c91b32d008ffdf1651d5255891f602f7b27e534))
|
|
87
|
+
- **eslint-config:** allow console.info
|
|
88
|
+
([ea55b1d](https://github.com/ho-nl/m2-pwa/commit/ea55b1d3fe08bacae8044fb111c74c5497e5a591))
|
|
89
|
+
- ignore md files from triggering version updates
|
|
90
|
+
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
91
|
+
- make eslint config compatible with eslint-config-prettier@8.0.0
|
|
92
|
+
([a4978f9](https://github.com/ho-nl/m2-pwa/commit/a4978f968c0115279e2cb7457d4502f70d7d05d4))
|
|
93
|
+
- move back to yarn 1.19.1
|
|
94
|
+
([ce36c53](https://github.com/ho-nl/m2-pwa/commit/ce36c53b94c0f834b5e4da5e0d7e3b2bb02754bf))
|
|
95
|
+
- playwright.ts files error
|
|
96
|
+
([4296f64](https://github.com/ho-nl/m2-pwa/commit/4296f648b11ea2a01e220cc0cbe1f6114e83e747))
|
|
97
|
+
- remove cyclic dependencies
|
|
98
|
+
([8a59389](https://github.com/ho-nl/m2-pwa/commit/8a5938943a97634cce57c68bb369c6e77e7a0288))
|
|
99
|
+
- remove unused property from eslint config ignorePatterns
|
|
100
|
+
([a8a7af1](https://github.com/ho-nl/m2-pwa/commit/a8a7af1754542bd5b445e54642e563ac6c386913))
|
|
62
101
|
|
|
63
102
|
### Features
|
|
64
103
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
104
|
+
- added eslint-plugin-next to have more linting
|
|
105
|
+
([599c9f0](https://github.com/ho-nl/m2-pwa/commit/599c9f0ff7c07cae3791d6bda819beabaed82f4e))
|
|
106
|
+
- created stacked-pages package
|
|
107
|
+
([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
|
|
108
|
+
- **eslint:** no-relative-packages, prevent importing other packages by relative paths
|
|
109
|
+
([b3d23b0](https://github.com/ho-nl/m2-pwa/commit/b3d23b0217f808bb251ecaf67ccc618f9a10eefe))
|
|
110
|
+
- **framer-next-pages:** enable dragging when the content isnβt scrollable
|
|
111
|
+
([3df9115](https://github.com/ho-nl/m2-pwa/commit/3df9115d3fbf72dbe547780f0bc6ce80e42b9e47))
|
|
112
|
+
- next.js 11
|
|
113
|
+
([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
|
114
|
+
- **playwright:** added new playwright package to enable browser testing
|
|
115
|
+
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
116
|
+
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
|
|
117
|
+
[@reachdigital](https://github.com/reachdigital)
|
|
118
|
+
([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
119
|
+
- upgrade to node 14
|
|
120
|
+
([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
|
|
121
|
+
- use official nextjs image endpoint
|
|
122
|
+
([0e76ab4](https://github.com/ho-nl/m2-pwa/commit/0e76ab4cece15d4d6f192cb938588a34abaebe8a))
|
|
76
123
|
|
|
77
124
|
## 2.0.8 (2020-10-28)
|
|
78
125
|
|
|
79
|
-
|
|
80
126
|
### Features
|
|
81
127
|
|
|
82
|
-
|
|
83
|
-
|
|
128
|
+
- split into packages
|
|
129
|
+
([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
|
|
84
130
|
|
|
85
131
|
### BREAKING CHANGES
|
|
86
132
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
133
|
+
- huge folder structure refactor, please read README to reinstall
|
|
92
134
|
|
|
93
135
|
# [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@2.101.0...@graphcommerce/eslint-config-pwa@2.102.0) (2021-07-28)
|
|
94
136
|
|
|
95
|
-
|
|
96
137
|
### Features
|
|
97
138
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
139
|
+
- **eslint:** no-relative-packages, prevent importing other packages by relative paths
|
|
140
|
+
([b3d23b0](https://github.com/ho-nl/m2-pwa/commit/b3d23b0217f808bb251ecaf67ccc618f9a10eefe))
|
|
103
141
|
|
|
104
142
|
# [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@2.100.10...@graphcommerce/eslint-config-pwa@2.101.0) (2021-07-26)
|
|
105
143
|
|
|
106
|
-
|
|
107
144
|
### Bug Fixes
|
|
108
145
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
146
|
+
- ignore md files from triggering version updates
|
|
147
|
+
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
148
|
+
- playwright.ts files error
|
|
149
|
+
([4296f64](https://github.com/ho-nl/m2-pwa/commit/4296f648b11ea2a01e220cc0cbe1f6114e83e747))
|
|
112
150
|
|
|
113
151
|
### Features
|
|
114
152
|
|
|
115
|
-
|
|
153
|
+
- **playwright:** added new playwright package to enable browser testing
|
|
154
|
+
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
package/index.js
CHANGED
|
@@ -66,6 +66,7 @@ module.exports = {
|
|
|
66
66
|
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
|
|
67
67
|
'react/jsx-no-duplicate-props': ['error', { ignoreCase: false }],
|
|
68
68
|
'react/require-default-props': 'off',
|
|
69
|
+
'react/destructuring-assignment': 'off',
|
|
69
70
|
|
|
70
71
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
71
72
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
@@ -102,6 +103,8 @@ module.exports = {
|
|
|
102
103
|
|
|
103
104
|
// Remove when fixed: https://github.com/airbnb/javascript/pull/2501/files
|
|
104
105
|
'react/function-component-definition': 'off',
|
|
106
|
+
|
|
107
|
+
'prefer-const': ['error', { destructuring: 'all' }],
|
|
105
108
|
},
|
|
106
109
|
overrides: [
|
|
107
110
|
{
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/eslint-config-pwa",
|
|
3
|
-
"
|
|
3
|
+
"homepage": "https://www.graphcommerce.org/",
|
|
4
|
+
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
+
"version": "4.0.2",
|
|
4
6
|
"main": "index.js",
|
|
5
7
|
"dependencies": {
|
|
6
|
-
"@graphcommerce/prettier-config-pwa": "^
|
|
7
|
-
"@graphcommerce/typescript-config-pwa": "^
|
|
8
|
-
"@next/eslint-plugin-next": "^12.0
|
|
9
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
10
|
-
"@typescript-eslint/parser": "^5.
|
|
11
|
-
"eslint": "^8.6.0",
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.1",
|
|
9
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.1",
|
|
10
|
+
"@next/eslint-plugin-next": "^12.1.0",
|
|
11
|
+
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
|
12
|
+
"@typescript-eslint/parser": "^5.12.0",
|
|
12
13
|
"eslint-config-airbnb": "^19.0.4",
|
|
13
14
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
14
15
|
"eslint-config-prettier": "^8.3.0",
|
|
@@ -18,10 +19,12 @@
|
|
|
18
19
|
"eslint-plugin-react": "^7.28.0",
|
|
19
20
|
"eslint-plugin-react-hooks": "^4.3.0"
|
|
20
21
|
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"eslint": "^8.8.0"
|
|
24
|
+
},
|
|
21
25
|
"sideEffects": false,
|
|
22
26
|
"engines": {
|
|
23
27
|
"node": "14.x"
|
|
24
28
|
},
|
|
25
|
-
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
26
|
-
"gitHead": "bc5423d7547f8685db4cd8fc6d8f7a2a51ebed05"
|
|
29
|
+
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
27
30
|
}
|