Skip to content

Commit

Permalink
[core] Upgrade dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed May 2, 2019
1 parent e507497 commit a28c911
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 18 deletions.
8 changes: 8 additions & 0 deletions docs/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ const nextApp = next({
});
const nextHandler = nextApp.getRequestHandler();

// Uncatched promise bubbling up to the global scope.
process.on('unhandledRejection', (reason, promise) => {
log.fatal({
name: 'unhandledRejection',
msg: { reason, promise },
});
});

addTeardown({
callback: () => nextApp.close(),
nice: 2,
Expand Down
2 changes: 1 addition & 1 deletion examples/cdn-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CDN v4-alpha example
# CDN v4-beta example

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/cdn-next/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<Container maxWidth="sm">
<div style={{ marginTop: 24, }}>
<Typography variant="h4" component="h1" gutterBottom>
CDN v4-alpha example
CDN v4-beta example
</Typography>
<ProTip />
<MadeWithLove />
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create React App v4-alpha example
# Create React App v4-beta example

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-next/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function App() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Create React App v4-alpha example
Create React App v4-beta example
</Typography>
<ProTip />
<MadeWithLove />
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-with-typescript-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create React App v4-alpha example with TypeScript
# Create React App v4-beta example with TypeScript

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-with-typescript-next/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function App() {
<Container maxWidth="sm">
<MyBox my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Create React App v4-alpha example with TypeScript
Create React App v4-beta example with TypeScript
</Typography>
<ProTip />
<MadeWithLove />
Expand Down
2 changes: 1 addition & 1 deletion examples/gatsby-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Gatsby v4-alpha example
# Gatsby v4-beta example

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/gatsby-next/src/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function App() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Gatsby v4-alpha example
Gatsby v4-beta example
</Typography>
<Link to="/">Go to the main page</Link>
<ProTip />
Expand Down
2 changes: 1 addition & 1 deletion examples/gatsby-next/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function App() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Gatsby v4-alpha example
Gatsby v4-beta example
</Typography>
<Link to="/about" color="secondary">
Go to the about page
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Next.js v4-alpha example
# Next.js v4-beta example

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-next/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function About() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Next.js v4-alpha example
Next.js v4-beta example
</Typography>
<Link href="/">Go to the main page</Link>
<ProTip />
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-next/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Index() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Next.js v4-alpha example
Next.js v4-beta example
</Typography>
<Link href="/about" color="secondary">
Go to the about page
Expand Down
2 changes: 1 addition & 1 deletion examples/parcel-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Parcel v4-alpha example
# Parcel v4-beta example

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/parcel-next/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function App() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Parcel v4-alpha example
Parcel v4-beta example
</Typography>
<ProTip />
<MadeWithLove />
Expand Down
2 changes: 1 addition & 1 deletion examples/preact-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Preact v4-alpha example
# Preact v4-beta example

## How to use

Expand Down
2 changes: 1 addition & 1 deletion examples/preact-next/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function App() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Preact v4-alpha example
Preact v4-beta example
</Typography>
<ProTip />
<MadeWithLove />
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr-next/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function App() {
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Server Rendering v4-alpha example
Server Rendering v4-beta example
</Typography>
<ProTip />
<MadeWithLove />
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Server Rendering v4-alpha example
# Server Rendering v4-beta example

## How to use

Expand Down

0 comments on commit a28c911

Please sign in to comment.