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 #204
  • Loading branch information
mvidalgarcia committed Jan 26, 2022
1 parent 2406b62 commit 5f53f6d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Version 0.8.1 (UNRELEASED)

- Adds support for HTML preview of workspace files.
- Adds search by name in workflow file list page.
- Adds support for Create React App v5.
- Changes cluster health status page to represent availability instead of usage.
- Changes Docker image Node version from 12 to 16.

Version 0.8.0 (2021-11-22)
---------------------------
Expand Down
7 changes: 7 additions & 0 deletions reana-ui/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"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
4 changes: 2 additions & 2 deletions reana-ui/src/pages/privacyNotice/PrivacyNotice.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
-*- coding: utf-8 -*-
This file is part of REANA.
Copyright (C) 2020 CERN.
Copyright (C) 2020, 2022 CERN.
REANA is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
*/

@import "../../styles/palette";
@import "@palette";

.container {
padding: 1em;
Expand Down

0 comments on commit 5f53f6d

Please sign in to comment.