epfl-elements 4.1.0 → 4.2.1

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.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
  },
@@ -97,6 +112,7 @@
97
112
  ],
98
113
  "extends": "stylelint-config-recommended-scss",
99
114
  "rules": {
115
+ "scss/at-extend-no-missing-placeholder": null,
100
116
  "at-rule-no-vendor-prefix": true,
101
117
  "media-feature-name-no-vendor-prefix": true,
102
118
  "property-no-vendor-prefix": true,
@@ -158,24 +174,24 @@
158
174
  },
159
175
  "devDependencies": {
160
176
  "@babel/core": "^7.14.6",
177
+ "@babel/eslint-parser": "^7.21.3",
161
178
  "@babel/preset-env": "^7.14.7",
162
179
  "@babel/preset-react": "^7.14.5",
163
- "babel-eslint": "^10.1.0",
164
180
  "babel-loader": "^8.2.2",
165
181
  "backstopjs": "^6.1.3",
166
182
  "browser-sync": "^2.27.12",
167
183
  "browser-sync-webpack-plugin": "^2.3.0",
168
184
  "colorable": "https://github.com/epfl-si/colorable",
169
- "copy-webpack-plugin": "^9.0.1",
185
+ "copy-webpack-plugin": "^11.0.0",
170
186
  "core-js": "3",
171
187
  "css-loader": "^5.2.6",
172
188
  "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",
189
+ "eslint": "^8.36.0",
190
+ "eslint-config-airbnb": "^19.0.4",
191
+ "eslint-plugin-import": "^2.27.5",
192
+ "eslint-plugin-jsx-a11y": "^6.7.1",
193
+ "eslint-plugin-react": "^7.32.2",
194
+ "eslint-plugin-react-hooks": "^4.6.0",
179
195
  "js-beautify": "^1.14.0",
180
196
  "mini-css-extract-plugin": "^2.1.0",
181
197
  "node-polyfill-webpack-plugin": "^1.1.4",
@@ -201,15 +217,16 @@
201
217
  "sass-loader": "^12.1.0",
202
218
  "style-loader": "^3.0.0",
203
219
  "styled-components": "^5.3.0",
204
- "stylelint": "^14.14.0",
205
- "stylelint-config-recommended-scss": "^8.0.0",
206
- "stylelint-scss": "^4.3.0",
220
+ "stylelint": "^15.3.0",
221
+ "stylelint-config-recommended-scss": "^9.0.1",
222
+ "stylelint-order": "^6.0.3",
223
+ "stylelint-scss": "^4.5.0",
207
224
  "svg-spritemap-webpack-plugin": "^4.5.0",
208
225
  "twig-html-loader": "^0.1.9",
209
226
  "unminified-webpack-plugin": "^3.0.0",
210
227
  "walk-sync": "^3.0.0",
211
- "webpack": "^5.42.1",
212
- "webpack-cli": "^4.8.0",
228
+ "webpack": "^5.76.0",
229
+ "webpack-cli": "^5.0.1",
213
230
  "webpack-merge-and-include-globally": "^2.3.4",
214
231
  "yaml-loader": "^0.8.0"
215
232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epfl-elements",
3
- "version": "4.1.0",
3
+ "version": "4.2.1",
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
  },
@@ -97,6 +112,7 @@
97
112
  ],
98
113
  "extends": "stylelint-config-recommended-scss",
99
114
  "rules": {
115
+ "scss/at-extend-no-missing-placeholder": null,
100
116
  "at-rule-no-vendor-prefix": true,
101
117
  "media-feature-name-no-vendor-prefix": true,
102
118
  "property-no-vendor-prefix": true,
@@ -158,24 +174,24 @@
158
174
  },
159
175
  "devDependencies": {
160
176
  "@babel/core": "^7.14.6",
177
+ "@babel/eslint-parser": "^7.21.3",
161
178
  "@babel/preset-env": "^7.14.7",
162
179
  "@babel/preset-react": "^7.14.5",
163
- "babel-eslint": "^10.1.0",
164
180
  "babel-loader": "^8.2.2",
165
181
  "backstopjs": "^6.1.3",
166
182
  "browser-sync": "^2.27.12",
167
183
  "browser-sync-webpack-plugin": "^2.3.0",
168
184
  "colorable": "https://github.com/epfl-si/colorable",
169
- "copy-webpack-plugin": "^9.0.1",
185
+ "copy-webpack-plugin": "^11.0.0",
170
186
  "core-js": "3",
171
187
  "css-loader": "^5.2.6",
172
188
  "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",
189
+ "eslint": "^8.36.0",
190
+ "eslint-config-airbnb": "^19.0.4",
191
+ "eslint-plugin-import": "^2.27.5",
192
+ "eslint-plugin-jsx-a11y": "^6.7.1",
193
+ "eslint-plugin-react": "^7.32.2",
194
+ "eslint-plugin-react-hooks": "^4.6.0",
179
195
  "js-beautify": "^1.14.0",
180
196
  "mini-css-extract-plugin": "^2.1.0",
181
197
  "node-polyfill-webpack-plugin": "^1.1.4",
@@ -201,15 +217,16 @@
201
217
  "sass-loader": "^12.1.0",
202
218
  "style-loader": "^3.0.0",
203
219
  "styled-components": "^5.3.0",
204
- "stylelint": "^14.14.0",
205
- "stylelint-config-recommended-scss": "^8.0.0",
206
- "stylelint-scss": "^4.3.0",
220
+ "stylelint": "^15.3.0",
221
+ "stylelint-config-recommended-scss": "^9.0.1",
222
+ "stylelint-order": "^6.0.3",
223
+ "stylelint-scss": "^4.5.0",
207
224
  "svg-spritemap-webpack-plugin": "^4.5.0",
208
225
  "twig-html-loader": "^0.1.9",
209
226
  "unminified-webpack-plugin": "^3.0.0",
210
227
  "walk-sync": "^3.0.0",
211
- "webpack": "^5.42.1",
212
- "webpack-cli": "^4.8.0",
228
+ "webpack": "^5.76.0",
229
+ "webpack-cli": "^5.0.1",
213
230
  "webpack-merge-and-include-globally": "^2.3.4",
214
231
  "yaml-loader": "^0.8.0"
215
232
  }