epfl-elements 4.1.0 → 4.2.0

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epfl-elements",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,6 +17,7 @@
17
17
  "test:report": "backstop openReport --config=build/backstop.json",
18
18
  "test:info": "node scripts/backstop_status.js",
19
19
  "release": "release-it",
20
+ "lint": "eslint .",
20
21
  "clean": "rm -rf build/ dist/",
21
22
  "realclean": "rm -rf build/ dist/ node_modules/"
22
23
  },
@@ -41,8 +42,17 @@
41
42
  "last 2 versions"
42
43
  ],
43
44
  "eslintConfig": {
44
- "parser": "babel-eslint",
45
- "extends": "eslint-config-airbnb",
45
+ "parser": "@babel/eslint-parser",
46
+ "parserOptions": {
47
+ "requireConfigFile": false,
48
+ "babelOptions": {
49
+ "presets": ["@babel/preset-react"]
50
+ }
51
+ },
52
+ "ignorePatterns": [ "build/", "dist/" ],
53
+ "extends": [
54
+ "airbnb"
55
+ ],
46
56
  "env": {
47
57
  "browser": true
48
58
  },
@@ -158,9 +168,9 @@
158
168
  },
159
169
  "devDependencies": {
160
170
  "@babel/core": "^7.14.6",
171
+ "@babel/eslint-parser": "^7.21.3",
161
172
  "@babel/preset-env": "^7.14.7",
162
173
  "@babel/preset-react": "^7.14.5",
163
- "babel-eslint": "^10.1.0",
164
174
  "babel-loader": "^8.2.2",
165
175
  "backstopjs": "^6.1.3",
166
176
  "browser-sync": "^2.27.12",
@@ -170,12 +180,12 @@
170
180
  "core-js": "3",
171
181
  "css-loader": "^5.2.6",
172
182
  "css-minimizer-webpack-plugin": "^3.3.1",
173
- "eslint": "^7.30.0",
174
- "eslint-config-airbnb": "^18.2.1",
175
- "eslint-plugin-import": "^2.23.4",
176
- "eslint-plugin-jsx-a11y": "^6.4.1",
177
- "eslint-plugin-react": "^7.24.0",
178
- "eslint-plugin-react-hooks": "^4.2.0",
183
+ "eslint": "^8.36.0",
184
+ "eslint-config-airbnb": "^19.0.4",
185
+ "eslint-plugin-import": "^2.27.5",
186
+ "eslint-plugin-jsx-a11y": "^6.7.1",
187
+ "eslint-plugin-react": "^7.32.2",
188
+ "eslint-plugin-react-hooks": "^4.6.0",
179
189
  "js-beautify": "^1.14.0",
180
190
  "mini-css-extract-plugin": "^2.1.0",
181
191
  "node-polyfill-webpack-plugin": "^1.1.4",
@@ -201,15 +211,16 @@
201
211
  "sass-loader": "^12.1.0",
202
212
  "style-loader": "^3.0.0",
203
213
  "styled-components": "^5.3.0",
204
- "stylelint": "^14.14.0",
205
- "stylelint-config-recommended-scss": "^8.0.0",
206
- "stylelint-scss": "^4.3.0",
214
+ "stylelint": "^15.3.0",
215
+ "stylelint-config-recommended-scss": "^9.0.1",
216
+ "stylelint-order": "^6.0.3",
217
+ "stylelint-scss": "^4.5.0",
207
218
  "svg-spritemap-webpack-plugin": "^4.5.0",
208
219
  "twig-html-loader": "^0.1.9",
209
220
  "unminified-webpack-plugin": "^3.0.0",
210
221
  "walk-sync": "^3.0.0",
211
- "webpack": "^5.42.1",
212
- "webpack-cli": "^4.8.0",
222
+ "webpack": "^5.76.0",
223
+ "webpack-cli": "^5.0.1",
213
224
  "webpack-merge-and-include-globally": "^2.3.4",
214
225
  "yaml-loader": "^0.8.0"
215
226
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epfl-elements",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,6 +17,7 @@
17
17
  "test:report": "backstop openReport --config=build/backstop.json",
18
18
  "test:info": "node scripts/backstop_status.js",
19
19
  "release": "release-it",
20
+ "lint": "eslint .",
20
21
  "clean": "rm -rf build/ dist/",
21
22
  "realclean": "rm -rf build/ dist/ node_modules/"
22
23
  },
@@ -41,8 +42,22 @@
41
42
  "last 2 versions"
42
43
  ],
43
44
  "eslintConfig": {
44
- "parser": "babel-eslint",
45
- "extends": "eslint-config-airbnb",
45
+ "parser": "@babel/eslint-parser",
46
+ "parserOptions": {
47
+ "requireConfigFile": false,
48
+ "babelOptions": {
49
+ "presets": [
50
+ "@babel/preset-react"
51
+ ]
52
+ }
53
+ },
54
+ "ignorePatterns": [
55
+ "build/",
56
+ "dist/"
57
+ ],
58
+ "extends": [
59
+ "airbnb"
60
+ ],
46
61
  "env": {
47
62
  "browser": true
48
63
  },
@@ -158,9 +173,9 @@
158
173
  },
159
174
  "devDependencies": {
160
175
  "@babel/core": "^7.14.6",
176
+ "@babel/eslint-parser": "^7.21.3",
161
177
  "@babel/preset-env": "^7.14.7",
162
178
  "@babel/preset-react": "^7.14.5",
163
- "babel-eslint": "^10.1.0",
164
179
  "babel-loader": "^8.2.2",
165
180
  "backstopjs": "^6.1.3",
166
181
  "browser-sync": "^2.27.12",
@@ -170,12 +185,12 @@
170
185
  "core-js": "3",
171
186
  "css-loader": "^5.2.6",
172
187
  "css-minimizer-webpack-plugin": "^3.3.1",
173
- "eslint": "^7.30.0",
174
- "eslint-config-airbnb": "^18.2.1",
175
- "eslint-plugin-import": "^2.23.4",
176
- "eslint-plugin-jsx-a11y": "^6.4.1",
177
- "eslint-plugin-react": "^7.24.0",
178
- "eslint-plugin-react-hooks": "^4.2.0",
188
+ "eslint": "^8.36.0",
189
+ "eslint-config-airbnb": "^19.0.4",
190
+ "eslint-plugin-import": "^2.27.5",
191
+ "eslint-plugin-jsx-a11y": "^6.7.1",
192
+ "eslint-plugin-react": "^7.32.2",
193
+ "eslint-plugin-react-hooks": "^4.6.0",
179
194
  "js-beautify": "^1.14.0",
180
195
  "mini-css-extract-plugin": "^2.1.0",
181
196
  "node-polyfill-webpack-plugin": "^1.1.4",
@@ -201,15 +216,16 @@
201
216
  "sass-loader": "^12.1.0",
202
217
  "style-loader": "^3.0.0",
203
218
  "styled-components": "^5.3.0",
204
- "stylelint": "^14.14.0",
205
- "stylelint-config-recommended-scss": "^8.0.0",
206
- "stylelint-scss": "^4.3.0",
219
+ "stylelint": "^15.3.0",
220
+ "stylelint-config-recommended-scss": "^9.0.1",
221
+ "stylelint-order": "^6.0.3",
222
+ "stylelint-scss": "^4.5.0",
207
223
  "svg-spritemap-webpack-plugin": "^4.5.0",
208
224
  "twig-html-loader": "^0.1.9",
209
225
  "unminified-webpack-plugin": "^3.0.0",
210
226
  "walk-sync": "^3.0.0",
211
- "webpack": "^5.42.1",
212
- "webpack-cli": "^4.8.0",
227
+ "webpack": "^5.76.0",
228
+ "webpack-cli": "^5.0.1",
213
229
  "webpack-merge-and-include-globally": "^2.3.4",
214
230
  "yaml-loader": "^0.8.0"
215
231
  }