Skip to content

Commit 0fa04fe

Browse files
authored
Merge pull request #25 from microsoftgraph/dependency-updates
Dependency updates
2 parents 6481c61 + df08b57 commit 0fa04fe

Some content is hidden

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

49 files changed

+5036
-4262
lines changed

01 Create React SPA App.pptx

-24 Bytes
Binary file not shown.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ This module has been recorded and is available in the Office Development YouTube
3939

4040
| Version | Date | Comments |
4141
| ------- | ---------------- | ---------------------------------- |
42+
| 1.7 | December 3, 2019 | Update to latest Graph SDK and `create-react-app` |
4243
| 1.6 | June 18, 2019 | Added link to screencast recording |
4344
| 1.5 | May 24, 2019 | 2019Q4 content refresh |
4445
| 1.4 | May 22, 2019 | Quickstart updates |

demos/01-create-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Completed module: Create a React single-page app
22

3-
The version of the project in this directory reflects completing the tutorial up through [Create a React single-page app](https://docs.microsoft.com/graph/training/react-tutorial?tutorial-step=1). If you use this version of the project, you need to complete the rest of the tutorial starting at [Register the app in the portal](https://docs.microsoft.com/graph/training/react-tutorial?tutorial-step=2).
3+
The version of the project in this directory reflects completing the tutorial up through [Create a React single-page app](https://docs.microsoft.com/graph/training/react-tutorial?tutorial-step=1). If you use this version of the project, you need to complete the rest of the tutorial starting at [Register the app in the portal](https://docs.microsoft.com/graph/training/react-tutorial?tutorial-step=2).

demos/01-create-app/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/01-create-app/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/01-create-app/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/01-create-app/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

0 commit comments

Comments
 (0)