Skip to content

Commit 0ed823e

Browse files
authored
Merge pull request #21 from creativetimofficial/dev-master
Feature: Update dependencies
2 parents d409c46 + 064a6f0 commit 0ed823e

File tree

1,653 files changed

+3870
-17649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,653 files changed

+3870
-17649
lines changed

.env

-1
This file was deleted.

CHANGELOG.md

+51
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
## [1.1.0] 2020-02-10
2+
### Bug fixing
3+
- https://github.com/creativetimofficial/argon-dashboard-react/issues/18 (Added this in live docs, we need for our product to have a homepage prop inside the package.json. If build is not working, just delete the homepage prop from inside the package.json, or configure it to your own specs.)
4+
- https://github.com/creativetimofficial/argon-dashboard-react/issues/17
5+
- https://github.com/creativetimofficial/argon-dashboard-react/issues/15
6+
- https://github.com/creativetimofficial/argon-dashboard-react/issues/12
7+
- https://github.com/creativetimofficial/argon-dashboard-react/issues/3
8+
- Changed `componentWillMount` with `constructor` function inside `src/views/Index.js` (this was for initializing the charts)
9+
### Major style changes
10+
- Changed the whole `src/assets/scss/*` folder
11+
- Changed the whole `src/assets/css/*` folder
12+
### Deleted components
13+
### Added components
14+
### Deleted dependencies
15+
### Added dependencies
16+
+ [email protected] (To stop following Warning: `npm **WARN** [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.`)
17+
+ @fortawesome/fontawesome-free@5.12.1 (Easier to maintain as a dependency, rather than having to download new versions)
18+
+ [email protected] (For licenses copyrights)
19+
+ [email protected] (For licenses copyrights)
20+
### Updated dependencies
21+
```
22+
chart.js 2.7.3 → 2.9.3
23+
node-sass 4.11.0 → 4.13.1
24+
nouislider 13.1.1 → 14.1.1
25+
react 16.8.4 → 16.12.0
26+
react-chartjs-2 2.7.4 → 2.9.0
27+
react-copy-to-clipboard 5.0.1 → 5.0.2
28+
react-dom 16.8.4 → 16.12.0
29+
react-router-dom 4.3.1 → 5.1.2
30+
react-scripts 2.1.8 → 3.3.1
31+
reactstrap 7.1.0 → 8.4.1
32+
@types/googlemaps 3.30.18 → 3.39.2
33+
@types/react 16.8.7 → 16.9.19
34+
typescript 3.3.3333 → 3.7.5
35+
```
36+
### Warning
37+
** The following warnings could not be solved, due to some of our dependencies, however, they do not affect the functionality or the UI of the product: **
38+
```
39+
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
40+
npm WARN deprecated [email protected]: Popper changed home, find its new releases at @popperjs/core
41+
```
42+
** The following warning could not be solved due to the usage of `react-google-maps` (Note: if the warning will persist after React changes version to 17, we'll drop the support for `react-google-maps` and replace them with other react library for maps):**
43+
```
44+
backend.js:6 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
45+
46+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
47+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
48+
49+
Please update the following components: withScriptjs(withGoogleMap(Component))
50+
```
51+
152
## [1.0.0] 2019-03-13
253
### Original Release
354
- Added Reactstrap as base framework

Documentation/documentation.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*!
33
44
=========================================================
5-
* Argon Dashboard React - v1.0.0
5+
* Argon Dashboard React - v1.1.0
66
=========================================================
77
88
* Product Page: https://www.creative-tim.com/product/argon-dashboard-react
@@ -47,7 +47,7 @@
4747
<!-- Argon CSS -->
4848
<link
4949
type="text/css"
50-
href="../src/assets/css/argon-dashboard-react.css?v=1.0.0"
50+
href="../src/assets/css/argon-dashboard-react.css?v=1.1.0"
5151
rel="stylesheet"
5252
/>
5353
</head>
@@ -143,7 +143,7 @@ <h6 class="text-overflow m-0">Welcome!</h6>
143143
<div class="row justify-content-center">
144144
<div class="col-lg-6 col-md-10 text-center">
145145
<h1 class="display-2 text-white">
146-
Documentation <small>v1.0.0</small>
146+
Documentation <small>v1.1.0</small>
147147
</h1>
148148
<p class="text-white mt-0 mb-5">
149149
We are constatly doing updates on the product and documentation,

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# [Argon Dashboard React](https://demos.creative-tim.com/argon-dashboard-react?ref=adr-github-readme) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/home?status=Argon%20Dashboard%20is%20a%20Free%20Bootstrap%204,%20React%20and%20Reactstrap%20Dashboard%20made%20using%20create-react-app%20%E2%9D%A4%EF%B8%8F%0Ahttps%3A//demos.creative-tim.com/argon-dashboard-react%20%23react%20%23reactstrap%20%23createreactapp%20%23argon%20%23argondesign%20%23reactdashboard%20%23argonreact%20%23reactdesign%20%23bootstrap%20%23material%20%23design%20%23uikit%20%23freebie%20%20via%20%40CreativeTim)
22

33

4-
![version](https://img.shields.io/badge/version-1.0.0-blue.svg) ![license](https://img.shields.io/badge/license-MIT-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/argon-dashboard-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/argon-dashboard-react/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/argon-dashboard-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/argon-dashboard-react/issues?q=is%3Aissue+is%3Aclosed) [![Join the chat at https://gitter.im/NIT-dgp/General](https://badges.gitter.im/NIT-dgp/General.svg)](https://gitter.im/creative-tim-general/Lobby) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
4+
![version](https://img.shields.io/badge/version-1.1.0-blue.svg) ![license](https://img.shields.io/badge/license-MIT-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/argon-dashboard-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/argon-dashboard-react/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/argon-dashboard-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/argon-dashboard-react/issues?q=is%3Aissue+is%3Aclosed) [![Join the chat at https://gitter.im/NIT-dgp/General](https://badges.gitter.im/NIT-dgp/General.svg)](https://gitter.im/creative-tim-general/Lobby) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
55

66

77
![Product Gif](https://raw.githubusercontent.com/creativetimofficial/public-assets/master/argon-dashboard-react/argon-dashboard-react.gif)
@@ -39,7 +39,7 @@ If you want to get inspiration or just show something directly to your clients,
3939

4040
## Versions
4141

42-
[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/html-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard?ref=adr-github-readme)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/react-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-react?ref=adr-github-readme)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/angular-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-angular)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/nodejs-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-nodejs?ref=adr-github-readme)[<img src="https://raw.githubusercontent.com/creativetimofficial/public-assets/master/logos/laravel_logo.png" width="60" height="60" style="background:white"/>](https://www.creative-tim.com/product/argon-dashboard-laravel?ref=adr-github-readme)[<img src="https://raw.githubusercontent.com/creativetimofficial/public-assets/master/logos/sketch-logo.jpg" width="60" height="60" />](https://github.com/creativetimofficial/argon-dashboard/tree/sketch?ref=creativetim)
42+
[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/html-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard?ref=adr-github-readme)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/react-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-react?ref=adr-github-readme)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/angular-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-angular)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/nodejs-logo.jpg?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-nodejs?ref=adr-github-readme)[<img src="https://raw.githubusercontent.com/creativetimofficial/public-assets/master/logos/laravel_logo.png" width="60" height="60" style="background:white"/>](https://www.creative-tim.com/product/argon-dashboard-laravel?ref=adr-github-readme)[<img src="https://raw.githubusercontent.com/creativetimofficial/public-assets/master/logos/sketch-logo.jpg" width="60" height="60" />](https://www.creative-tim.com/product/argon-dashboard-react?ref=adr-github-readme)
4343

4444

4545

@@ -77,7 +77,7 @@ If you want to get inspiration or just show something directly to your clients,
7777

7878

7979
## Documentation
80-
The documentation for the Material Kit is hosted at our [website](https://demos.creative-tim.com/argon-dashboard-react/documentation/overview).
80+
The documentation for the Material Kit is hosted at our [website](https://demos.creative-tim.com/argon-dashboard-react/#/documentation/overview).
8181

8282

8383
## File Structure

gulpfile.js

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
const gulp = require("gulp");
2+
const gap = require("gulp-append-prepend");
3+
4+
gulp.task("licenses", async function() {
5+
// this is to add Creative Tim licenses in the production mode for the minified js
6+
gulp
7+
.src("build/static/js/*chunk.js", { base: "./" })
8+
.pipe(
9+
gap.prependText(`/*!
10+
11+
=========================================================
12+
* Argon Dashboard React - v1.1.0
13+
=========================================================
14+
15+
* Product Page: https://www.creative-tim.com/product/argon-dashboard-react
16+
* Copyright 2019 Creative Tim (https://www.creative-tim.com)
17+
* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)
18+
19+
* Coded by Creative Tim
20+
21+
=========================================================
22+
23+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
24+
25+
*/`)
26+
)
27+
.pipe(gulp.dest("./", { overwrite: true }));
28+
29+
// this is to add Creative Tim licenses in the production mode for the minified html
30+
gulp
31+
.src("build/index.html", { base: "./" })
32+
.pipe(
33+
gap.prependText(`<!--
34+
35+
=========================================================
36+
* Argon Dashboard React - v1.1.0
37+
=========================================================
38+
39+
* Product Page: https://www.creative-tim.com/product/argon-dashboard-react
40+
* Copyright 2019 Creative Tim (https://www.creative-tim.com)
41+
* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)
42+
43+
* Coded by Creative Tim
44+
45+
=========================================================
46+
47+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
48+
49+
-->`)
50+
)
51+
.pipe(gulp.dest("./", { overwrite: true }));
52+
53+
// this is to add Creative Tim licenses in the production mode for the minified css
54+
gulp
55+
.src("build/static/css/*chunk.css", { base: "./" })
56+
.pipe(
57+
gap.prependText(`/*!
58+
59+
=========================================================
60+
* Argon Dashboard React - v1.1.0
61+
=========================================================
62+
63+
* Product Page: https://www.creative-tim.com/product/argon-dashboard-react
64+
* Copyright 2019 Creative Tim (https://www.creative-tim.com)
65+
* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)
66+
67+
* Coded by Creative Tim
68+
69+
=========================================================
70+
71+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
72+
73+
*/`)
74+
)
75+
.pipe(gulp.dest("./", { overwrite: true }));
76+
return;
77+
});

jsconfig.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "src",
4+
"paths": {
5+
"*": ["src/*"]
6+
}
7+
}
8+
}

package.json

+18-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "argon-dashboard-react",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "React version of Argon Dashboard by Creative Tim",
55
"main": "index.js",
66
"repository": {
@@ -43,25 +43,29 @@
4343
"not op_mini all"
4444
],
4545
"dependencies": {
46-
"chart.js": "2.7.3",
46+
"@fortawesome/fontawesome-free": "5.12.1",
47+
"chart.js": "2.9.3",
4748
"classnames": "2.2.6",
4849
"moment": "2.24.0",
49-
"node-sass": "4.11.0",
50-
"nouislider": "13.1.1",
51-
"react": "16.8.4",
52-
"react-chartjs-2": "2.7.4",
53-
"react-copy-to-clipboard": "5.0.1",
50+
"node-sass": "4.13.1",
51+
"nouislider": "14.1.1",
52+
"react": "16.12.0",
53+
"react-chartjs-2": "2.9.0",
54+
"react-copy-to-clipboard": "5.0.2",
5455
"react-datetime": "2.16.3",
55-
"react-dom": "16.8.4",
56+
"react-dom": "16.12.0",
5657
"react-google-maps": "9.4.5",
57-
"react-router-dom": "4.3.1",
58-
"react-scripts": "2.1.8",
59-
"reactstrap": "7.1.0"
58+
"react-router-dom": "5.1.2",
59+
"react-scripts": "3.3.1",
60+
"reactstrap": "8.4.1"
6061
},
6162
"devDependencies": {
62-
"@types/googlemaps": "3.30.18",
63+
"@types/googlemaps": "3.39.2",
6364
"@types/markerclustererplus": "2.1.33",
64-
"@types/react": "16.8.7",
65-
"typescript": "3.3.3333"
65+
"@types/react": "16.9.19",
66+
"eslint-plugin-flowtype": "3.13.0",
67+
"gulp": "4.0.2",
68+
"gulp-append-prepend": "1.0.8",
69+
"typescript": "3.7.5"
6670
}
6771
}

public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*!
33
44
=========================================================
5-
* Argon Dashboard React - v1.0.0
5+
* Argon Dashboard React - v1.1.0
66
=========================================================
77
88
* Product Page: https://www.creative-tim.com/product/argon-dashboard-react

0 commit comments

Comments
 (0)