Skip to content

Commit b5ade62

Browse files
committed
Recreated 03 project with latest create-react-app
1 parent 3a4fd17 commit b5ade62

File tree

14 files changed

+1674
-1419
lines changed

14 files changed

+1674
-1419
lines changed

demos/03-add-msgraph/graph-tutorial/README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ In the project directory, you can run:
66

77
### `npm start`
88

9-
Runs the app in the development mode.<br>
9+
Runs the app in the development mode.<br />
1010
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
1111

12-
The page will reload if you make edits.<br>
12+
The page will reload if you make edits.<br />
1313
You will also see any lint errors in the console.
1414

1515
### `npm test`
1616

17-
Launches the test runner in the interactive watch mode.<br>
17+
Launches the test runner in the interactive watch mode.<br />
1818
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
1919

2020
### `npm run build`
2121

22-
Builds the app for production to the `build` folder.<br>
22+
Builds the app for production to the `build` folder.<br />
2323
It correctly bundles React in production mode and optimizes the build for the best performance.
2424

25-
The build is minified and the filenames include the hashes.<br>
25+
The build is minified and the filenames include the hashes.<br />
2626
Your app is ready to be deployed!
2727

2828
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
@@ -42,3 +42,27 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm
4242
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
4343

4444
To learn React, check out the [React documentation](https://reactjs.org/).
45+
46+
### Code Splitting
47+
48+
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
49+
50+
### Analyzing the Bundle Size
51+
52+
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
53+
54+
### Making a Progressive Web App
55+
56+
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
57+
58+
### Advanced Configuration
59+
60+
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
61+
62+
### Deployment
63+
64+
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
65+
66+
### `npm run build` fails to minify
67+
68+
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

demos/03-add-msgraph/graph-tutorial/package-lock.json

Lines changed: 1606 additions & 1373 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/03-add-msgraph/graph-tutorial/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@fortawesome/fontawesome-free": "^5.10.2",
7-
"@microsoft/microsoft-graph-client": "^1.7.0",
8-
"bootstrap": "^4.3.1",
6+
"@fortawesome/fontawesome-free": "^5.11.2",
7+
"@microsoft/microsoft-graph-client": "^2.0.0",
8+
"bootstrap": "^4.4.1",
99
"moment": "^2.24.0",
1010
"msal": "^1.1.3",
11-
"react": "^16.9.0",
12-
"react-dom": "^16.9.0",
13-
"react-router-dom": "^5.0.1",
14-
"react-scripts": "3.1.1",
15-
"reactstrap": "^8.0.1"
11+
"react": "^16.12.0",
12+
"react-dom": "^16.12.0",
13+
"react-router-dom": "^5.1.2",
14+
"react-scripts": "3.2.0",
15+
"reactstrap": "^8.1.1"
1616
},
1717
"scripts": {
1818
"start": "react-scripts start",
18.1 KB
Binary file not shown.

demos/03-add-msgraph/graph-tutorial/public/index.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
5-
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
6-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7-
<meta name="theme-color" content="#000000">
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta
9+
name="description"
10+
content="Web site created using create-react-app"
11+
/>
12+
<link rel="apple-touch-icon" href="logo192.png" />
813
<!--
9-
manifest.json provides metadata used when your web app is added to the
10-
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
14+
manifest.json provides metadata used when your web app is installed on a
15+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1116
-->
12-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
17+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1318
<!--
1419
Notice the use of %PUBLIC_URL% in the tags above.
1520
It will be replaced with the URL of the `public` folder during the build.
@@ -22,9 +27,7 @@
2227
<title>React App</title>
2328
</head>
2429
<body>
25-
<noscript>
26-
You need to enable JavaScript to run this app.
27-
</noscript>
30+
<noscript>You need to enable JavaScript to run this app.</noscript>
2831
<div id="root"></div>
2932
<!--
3033
This HTML file is a template.
8.38 KB
Loading
22.4 KB
Loading

demos/03-add-msgraph/graph-tutorial/public/manifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
"src": "favicon.ico",
77
"sizes": "64x64 32x32 24x24 16x16",
88
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
919
}
1020
],
1121
"start_url": ".",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *

demos/03-add-msgraph/graph-tutorial/src/App.css

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
}
44

55
.App-logo {
6-
animation: App-logo-spin infinite 20s linear;
76
height: 40vmin;
87
}
98

@@ -19,14 +18,5 @@
1918
}
2019

2120
.App-link {
22-
color: #61dafb;
23-
}
24-
25-
@keyframes App-logo-spin {
26-
from {
27-
transform: rotate(0deg);
28-
}
29-
to {
30-
transform: rotate(360deg);
31-
}
21+
color: #09d3ac;
3222
}

0 commit comments

Comments
 (0)