Skip to content

Commit 19f1a72

Browse files
committed
package: upgrade to react-scripts 5.0.0
- upgrade semantic-ui deps to latest - install `@semantic-ui-react/css-patch` to fix `semantic-ui-css` issue (Semantic-Org/Semantic-UI-React#4287 (comment)) closes reanahub#204
1 parent 2406b62 commit 19f1a72

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

reana-ui/.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"parser": "@babel/eslint-parser",
23
"plugins": ["prettier"],
34
"extends": [
45
"plugin:prettier/recommended",

reana-ui/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@
1616
"react-minimal-pie-chart": "^8.0.1",
1717
"react-redux": "^7.1.1",
1818
"react-router-dom": "^5.1.2",
19-
"react-scripts": "^4.0.0",
19+
"react-scripts": "^5.0.0",
2020
"redux": "^4.0.4",
2121
"redux-devtools-extension": "^2.13.8",
2222
"redux-thunk": "^2.3.0",
2323
"semantic-ui-css": "^2.4.1",
24-
"semantic-ui-react": "^0.88.2"
24+
"semantic-ui-react": "^2.0.0"
2525
},
2626
"scripts": {
2727
"analyze": "source-map-explorer 'build/static/js/*.js'",
2828
"start": "craco start",
2929
"build": "craco build",
3030
"test": "craco test --env=jsdom",
31-
"eject": "craco eject"
31+
"eject": "craco eject",
32+
"postinstall": "semantic-ui-css-patch"
3233
},
3334
"browserslist": {
3435
"production": [
@@ -43,8 +44,11 @@
4344
]
4445
},
4546
"devDependencies": {
47+
"@babel/core": "^7.16.12",
48+
"@babel/eslint-parser": "^7.16.5",
4649
"@craco/craco": "^6.0.0",
47-
"@semantic-ui-react/craco-less": "^1.2.1",
50+
"@semantic-ui-react/craco-less": "^2.0.0",
51+
"@semantic-ui-react/css-patch": "^1.0.0",
4852
"craco-alias": "^2.1.1",
4953
"eslint-config-prettier": "^6.5.0",
5054
"eslint-config-react-app": "^5.2.0",

0 commit comments

Comments
 (0)