Skip to content

Commit 1d2d8e4

Browse files
authored
Merge pull request #13 from flatlogic/update_version_6_0_1
Dependencies are updated
2 parents 36477dd + d2b8b3c commit 1d2d8e4

File tree

5 files changed

+14155
-20
lines changed

5 files changed

+14155
-20
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Sing App React 5.0.0
1+
# Sing App React 8.3.2
22

33
Our React version follows latest industry best practices and uses Redux as a state manager. This version is a great choice when you want to be in control of your own codebase and decide on development approaches that are the best for your project. Webpack Module Bundler and Yarn as a package manager are under the hood.
44

changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [8.3.2]
4+
5+
- Updated React/ReactDOM
6+
- Updated Dependencies
7+
38
## [8.3.1]
49

510
- UI adjust

package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sing-app-react",
3-
"version": "6.0.0",
3+
"version": "8.3.2",
44
"private": true,
55
"scripts": {
66
"build": "cross-env REACT_APP_BACKEND=true cross-env PUBLIC_URL='/sing-app-react' node scripts/build.js",
@@ -54,23 +54,23 @@
5454
]
5555
},
5656
"dependencies": {
57-
"@amcharts/amcharts4": "^4.10.25",
58-
"@amcharts/amcharts4-geodata": "^4.1.23",
57+
"@amcharts/amcharts4": "^4.10.35",
58+
"@amcharts/amcharts4-geodata": "^4.1.26",
5959
"@fullcalendar/core": "5.11.0",
6060
"@fullcalendar/daygrid": "5.11.0",
6161
"@fullcalendar/interaction": "5.11.0",
6262
"@fullcalendar/list": "5.11.0",
6363
"@fullcalendar/react": "5.11.1",
6464
"@fullcalendar/timegrid": "5.11.0",
6565
"animate.css": "4.1.1",
66-
"apexcharts": "^3.35.3",
66+
"apexcharts": "^3.40.0",
6767
"awesome-bootstrap-checkbox": "https://github.com/flatlogic/awesome-bootstrap-checkbox#bump-to-bootstrap5",
6868
"axios": "^0.27.2",
6969
"bootstrap": "5.1.3",
7070
"bootstrap-slider": "^10.6.2",
7171
"bootstrap_calendar": "https://github.com/xero/bootstrap_calendar.git#1.0.1",
7272
"chroma-js": "^2.4.2",
73-
"classnames": "^2.3.1",
73+
"classnames": "^2.3.2",
7474
"connected-react-router": "6.9.2",
7575
"cross-env": "^7.0.3",
7676
"draft-js": "^0.11.7",
@@ -85,27 +85,27 @@
8585
"formsy-react": "0.19.5",
8686
"glyphicons-halflings": "^1.9.1",
8787
"highcharts": "^7.2.2",
88-
"highcharts-react-official": "^3.1.0",
88+
"highcharts-react-official": "^3.2.0",
8989
"history": "^4.10.1",
9090
"jasny-bootstrap": "^3.1.3",
9191
"jsonwebtoken": "^8.5.1",
9292
"line-awesome": "^1.3.0",
9393
"md5": "^2.3.0",
9494
"messenger": "git+https://github.com/HubSpot/messenger.git#v1.4.2",
95-
"moment": "^2.29.3",
95+
"moment": "^2.29.4",
9696
"nvd3": "1.8.6",
97-
"qs": "^6.10.5",
97+
"qs": "^6.11.2",
9898
"query-string": "^6.14.1",
9999
"rc-color-picker": "^1.2.6",
100100
"rc-hammerjs": "0.6.10",
101101
"rc-slider": "^8.7.1",
102-
"react": "^17.0.2",
102+
"react": "^18.0.0",
103103
"react-animate-height": "^2.1.2",
104104
"react-animated-number": "^0.4.4",
105105
"react-apexcharts": "^1.4.0",
106106
"react-app-polyfill": "^0.2.2",
107107
"react-autosize-textarea": "^5.0.1",
108-
"react-bootstrap": "^1.6.5",
108+
"react-bootstrap": "^1.5.2",
109109
"react-bootstrap-table": "4.3.1",
110110
"react-bootstrap-table-next": "^4.0.3",
111111
"react-bootstrap-table2-editor": "^1.4.0",
@@ -115,7 +115,7 @@
115115
"react-bootstrap-table2-toolkit": "^2.1.3",
116116
"react-datetime": "^2.16.3",
117117
"react-dev-utils": "^6.1.1",
118-
"react-dom": "^17.0.2",
118+
"react-dom": "^18.0.0",
119119
"react-draft-wysiwyg": "1.14.7",
120120
"react-dropzone": "^6.2.4",
121121
"react-google-maps": "^9.4.5",
@@ -142,7 +142,7 @@
142142
"react-transition-group": "^2.9.0",
143143
"react-trend": "^1.2.5",
144144
"reactstrap": "9.1.1",
145-
"redux": "^4.2.0",
145+
"redux": "^4.2.1",
146146
"redux-thunk": "^2.4.1",
147147
"reselect": "^4.1.6",
148148
"rickshaw": "1.7.1",
@@ -210,8 +210,8 @@
210210
"workbox-webpack-plugin": "4.3.1"
211211
},
212212
"resolutions": {
213-
"react": "^17.0.2",
214-
"react-dom": "^17.0.2"
213+
"react": "^18.0.0",
214+
"react-dom": "^18.0.0"
215215
},
216216
"engines": {
217217
"node": "14"

src/index.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import ReactDOM from 'react-dom';
2+
import {createRoot} from "react-dom/client";
33
import { routerMiddleware } from 'connected-react-router';
44
import { createStore, applyMiddleware, compose } from 'redux';
55
import { Provider } from 'react-redux'
@@ -39,11 +39,12 @@ export const store = createStore(
3939

4040
store.dispatch(doInit());
4141

42-
ReactDOM.render(
42+
const container = document.getElementById("root");
43+
const root = createRoot(container);
44+
root.render(
4345
<Provider store={store}>
44-
<App />
45-
</Provider>,
46-
document.getElementById('root')
46+
<App/>
47+
</Provider>
4748
);
4849

4950
// If you want your app to work offline and load faster, you can change

0 commit comments

Comments
 (0)