Skip to content

Commit 5f53f6d

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 5f53f6d

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Version 0.8.1 (UNRELEASED)
66

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

1113
Version 0.8.0 (2021-11-22)
1214
---------------------------

reana-ui/.eslintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
2+
"parser": "@babel/eslint-parser",
3+
"parserOptions": {
4+
"requireConfigFile": false,
5+
"babelOptions": {
6+
"presets": ["@babel/preset-react"]
7+
}
8+
},
29
"plugins": ["prettier"],
310
"extends": [
411
"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",

reana-ui/src/pages/privacyNotice/PrivacyNotice.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
-*- coding: utf-8 -*-
33
44
This file is part of REANA.
5-
Copyright (C) 2020 CERN.
5+
Copyright (C) 2020, 2022 CERN.
66
77
REANA is free software; you can redistribute it and/or modify it
88
under the terms of the MIT License; see LICENSE file for more details.
99
*/
1010

11-
@import "../../styles/palette";
11+
@import "@palette";
1212

1313
.container {
1414
padding: 1em;

0 commit comments

Comments
 (0)