Skip to content

Commit

Permalink
package: upgrade to react-scripts 5.0.0
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
mvidalgarcia committed Jan 25, 2022
1 parent 2406b62 commit 19f1a72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions reana-ui/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"parser": "@babel/eslint-parser",
"plugins": ["prettier"],
"extends": [
"plugin:prettier/recommended",
Expand Down
12 changes: 8 additions & 4 deletions reana-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@
"react-minimal-pie-chart": "^8.0.1",
"react-redux": "^7.1.1",
"react-router-dom": "^5.1.2",
"react-scripts": "^4.0.0",
"react-scripts": "^5.0.0",
"redux": "^4.0.4",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.88.2"
"semantic-ui-react": "^2.0.0"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "craco start",
"build": "craco build",
"test": "craco test --env=jsdom",
"eject": "craco eject"
"eject": "craco eject",
"postinstall": "semantic-ui-css-patch"
},
"browserslist": {
"production": [
Expand All @@ -43,8 +44,11 @@
]
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@craco/craco": "^6.0.0",
"@semantic-ui-react/craco-less": "^1.2.1",
"@semantic-ui-react/craco-less": "^2.0.0",
"@semantic-ui-react/css-patch": "^1.0.0",
"craco-alias": "^2.1.1",
"eslint-config-prettier": "^6.5.0",
"eslint-config-react-app": "^5.2.0",
Expand Down

0 comments on commit 19f1a72

Please sign in to comment.