language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-mobx/README.md | @@ -1,5 +1,11 @@
# MobX example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-mobx)
+
## How to use
### Using `create-next-app`
@@... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-next-css/README.md | @@ -1,5 +1,11 @@
# next-css example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-css)
+
## How to use
### Using `create-next... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-next-less/README.md | @@ -1,5 +1,11 @@
# Example App with next-less
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-less)
+
## How to use
#... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-next-page-transitions/README.md | @@ -1,5 +1,11 @@
# next-page-transitions example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-page-transitions)
+
## How to use... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-next-sass/README.md | @@ -1,5 +1,11 @@
# Example app with next-sass
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-sass)
+
## How to use
### Using `... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-next-seo/README.md | @@ -1,5 +1,11 @@
# Next SEO example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-seo)
+
## How to use
### Using `create-next... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-noscript/README.md | @@ -1,5 +1,11 @@
# Noscript example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-noscript)
+
## How to use
### Using `create-next... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-orbit-components/README.md | @@ -1,5 +1,11 @@
# Example app with styled-components
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-orbit-components)
+
## How to use... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-overmind/README.md | @@ -1,5 +1,11 @@
# Overmind example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-overmind)
+
## How to use
### Using `create-next... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-patternfly/README.md | @@ -1,5 +1,11 @@
# Patternfly example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-patternfly)
+
## How to use
### Using `create-... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-polyfills/README.md | @@ -1,5 +1,11 @@
# Example app with polyfills
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-polyfills)
+
## How to use
### Using `... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-portals-ssr/README.md | @@ -1,5 +1,11 @@
# Example with Server Side Rendered portals
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-portals-ssr)
+
## How to u... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-portals/README.md | @@ -1,5 +1,11 @@
# Example with portals
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-portals)
+
## How to use
### Using `create-n... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-prefetching/README.md | @@ -1,5 +1,11 @@
# Example app with prefetching pages
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-prefetching)
+
## How to use
#... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-quill-js/README.md | @@ -1,5 +1,11 @@
# Quilljs editor Example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-quill-js)
+
## How to use
### Using `creat... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-rbx-bulma-pro/README.md | @@ -1,12 +1,18 @@
# rbx & bulma-pro example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-rbx-bulma-pro)
+
## How to use
### Using... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-css-modules/README.md | @@ -1,5 +1,11 @@
# react-css-modules example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-css-modules)
+
## How to use
### ... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-ga/README.md | @@ -1,5 +1,11 @@
# React-GA example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-ga)
+
## How to use
### Using `create-next... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-helmet/README.md | @@ -1,5 +1,11 @@
# react-helmet example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-helmet)
+
## How to use
### Using `cre... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-jss/README.md | @@ -1,5 +1,11 @@
# react-jss example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-jss)
+
## How to use
### Using `create-ne... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-md/README.md | @@ -2,6 +2,12 @@

+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://gith... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-multi-carousel/README.md | @@ -2,15 +2,49 @@
Source code is hosted on the [react-multi-carorusel](https://github.com/YIZHUANG/react-multi-carousel/tree/master/examples/ssr) repository.
-[
+## Deploy your own
-### Usage
+Deploy the example using [ZEIT Now](https://zeit.co/now):
-Install and ru... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-native-web/README.md | @@ -1,5 +1,11 @@
# React Native Web example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-native-web)
+
## How to use
### Us... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-relay-network-modern/README.md | @@ -1,5 +1,11 @@
# Relay Modern Example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-relay-network-modern)
+
## How to use
... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-toolbox/README.md | @@ -1,5 +1,11 @@
# With react-toolbox example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-toolbox)
+
## How to use
### Usi... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-useragent/README.md | @@ -2,6 +2,12 @@
Show how to setup [@quentin-sommer/react-useragent](https://github.com/quentin-sommer/react-useragent) using next.js client side and server side rendering.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-uwp/README.md | @@ -1,5 +1,11 @@
# React-UWP example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-uwp)
+
## How to use
### Using `create-ne... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-react-with-styles/README.md | @@ -1,5 +1,11 @@
# Example app with react-with-styles
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-with-styles)
+
## How to us... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-reasonml-todo/README.md | @@ -6,6 +6,12 @@ global state object can be used to track state across page within the applicatio
It is intended to show how to build a simple, stateful application using hooks
without the added complexity of a redux type library.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-reasonml/README.md | @@ -1,5 +1,11 @@
# Example app using ReasonML & ReasonReact components
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-reasonml)
+
## H... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-rebass/README.md | @@ -2,6 +2,12 @@

+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://gith... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-recompose/README.md | @@ -1,5 +1,11 @@
# Recompose example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-recompose)
+
## How to use
### Using `create-ne... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux-code-splitting/README.md | @@ -1,5 +1,11 @@
# Redux with code splitting example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-code-splitting)
+
## How to ... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux-observable/README.md | @@ -1,5 +1,11 @@
# Redux-Observable example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-observable)
+
## How to use
### Us... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux-persist/README.md | @@ -1,7 +1,11 @@
-[](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-redux-persist)
-
# Redux Persist example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[ | examples/with-redux-reselect-recompose/README.md | @@ -1,5 +1,11 @@
# Redux with reselect and recompose example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-reselect-recompose)
+... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux-saga/README.md | @@ -2,6 +2,12 @@
> This example and documentation is based on the [with-redux](https://github.com/zeit/next.js/tree/master/examples/with-redux) example.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux-thunk/README.md | @@ -1,5 +1,11 @@
# Redux Thunk example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-thunk)
+
## How to use
### Using `creat... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux-wrapper/README.md | @@ -1,5 +1,11 @@
# Redux example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-wrapper)
+
## How to use
### Using `create-ne... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-redux/README.md | @@ -1,5 +1,11 @@
# Redux example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux)
+
## How to use
### Using `create-next-app`
... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-reflux/README.md | @@ -1,5 +1,11 @@
# Pass Server Data Directly to a Next.js Page during SSR
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-reflux)
+
## ... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-refnux/README.md | @@ -1,5 +1,11 @@
# Refnux example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-refnux)
+
## How to use
### Using `create-next-app... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-refnux/package.json | @@ -2,7 +2,9 @@
"name": "with-refnux",
"version": "1.0.0",
"scripts": {
- "next": "latest"
+ "dev": "next",
+ "build": "next build",
+ "start": "next start"
},
"license": "ISC",
"dependencies": { | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-relay-modern/README.md | @@ -1,5 +1,11 @@
# Relay Modern Example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-relay-modern)
+
## How to use
### Using `cre... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-rematch/README.md | @@ -1,5 +1,11 @@
# Rematch example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-rematch)
+
## How to use
### Using `create-next-a... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-segment-analytics/README.md | @@ -1,5 +1,11 @@
# Example app with analytics
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-segment-analytics)
+
## How to use
###... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-semantic-ui/README.md | @@ -1,5 +1,11 @@
# Semantic UI example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-semantic-ui)
+
## How to use
### Using `creat... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-shallow-routing/README.md | @@ -1,5 +1,11 @@
# Shallow Routing Example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-shallow-routing)
+
## How to use
### Usin... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-slate/README.md | @@ -1,5 +1,11 @@
# slate.js example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-slate)
+
## How to use
### Using `create-next-ap... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-strict-csp-hash/README.md | @@ -1,5 +1,11 @@
# Example app with strict CSP generating script hash
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-strict-csp-hash)
+... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-style-sheet/README.md | @@ -1,5 +1,11 @@
# Using the style-sheet CSS in JS library and extract CSS to file.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styl... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-styled-components/README.md | @@ -1,5 +1,11 @@
# Example app with styled-components
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-components)
+
## How to us... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-styled-jsx-plugins/README.md | @@ -1,5 +1,11 @@
# With styled-jsx plugins
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-jsx-plugins)
+
## How to use
### U... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-styled-jsx-scss/README.md | @@ -1,5 +1,11 @@
# With styled-jsx SASS / SCSS
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-jsx-scss)
+
## How to use
### ... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-styletron/README.md | @@ -1,5 +1,11 @@
# Example app with styletron
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styletron)
+
## How to use
### Using `... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-tailwindcss-emotion/README.md | @@ -2,6 +2,12 @@
This is an example of how you can add the tailwind CSS with Emotion.js in your web app.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/ca... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-tailwindcss/README.md | @@ -2,6 +2,12 @@
This is an example of using [Tailwind CSS](https://tailwindcss.com) in a Next.js project.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-typescript-styled-components/README.md | @@ -2,6 +2,12 @@
This is a really simple project that show the usage of Next.js with TypeScript and Styled Components.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/n... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-typescript/README.md | @@ -2,6 +2,12 @@
This is a really simple project that show the usage of Next.js with TypeScript.
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/exa... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-typestyle/README.md | @@ -1,5 +1,11 @@
# Example app with typestyle
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typestyle)
+
## How to use
### Using `... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-typings-for-css-modules/README.md | @@ -1,5 +1,11 @@
# Typings for CSS Modules example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typings-for-css-modules)
+
## How to... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-universal-configuration-build-time/README.md | @@ -1,5 +1,11 @@
# With universal configuration
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-universal-configuration-build-time)
+
#... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-universal-configuration-runtime/README.md | @@ -31,7 +31,7 @@ yarn
API_URL='https://example.com' yarn dev
```
-Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))
+Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download)):
```bash
now | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-unstated/README.md | @@ -1,5 +1,11 @@
# Unstated example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-unstated)
+
## How to use
### Using `create-next... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-url-object-routing/README.md | @@ -31,7 +31,7 @@ yarn
yarn dev
```
-Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))
+Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download)):
```bash
now | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-videojs/README.md | @@ -1,5 +1,11 @@
# video.js example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-videojs)
+
## How to use
### Using `create-next-... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-webassembly/readme.md | @@ -35,7 +35,7 @@ yarn dev
To compile `src/add.rs` to `add.wasm` use `npm run build-rust`.
-Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))
+Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download)):
```bash
now | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-webpack-bundle-size-analyzer/README.md | @@ -21,7 +21,7 @@ curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2
cd with-webpack-bundle-size-analyzer
```
-Install it
+Install it and run:
```bash
npm install | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-yarn-workspaces/README.md | @@ -1,5 +1,11 @@
# Yarn workspaces example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-yarn-workspaces)
+
## How to use
### Usin... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-zeit-fetch/README.md | @@ -1,5 +1,11 @@
# @zeit/fetch example
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-zeit-fetch)
+
## How to use
### Using `create... | true |
Other | vercel | next.js | 7edf0da0c4db1125806208849c6f8d85a8c38469.json | Add the deploy button to compatible examples (#9547) | examples/with-zones/README.md | @@ -1,5 +1,11 @@
# Using multiple zones
+## Deploy your own
+
+Deploy the example using [ZEIT Now](https://zeit.co/now):
+
+[](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-zones)
+
## How to use
### Using `create-nex... | true |
Other | vercel | next.js | 75e6e21029ea2cb1a660e22b9f8a652fa02600f4.json | Add Next.js Version as Metadata (#9551) | packages/next/telemetry/anonymous-meta.ts | @@ -17,6 +17,7 @@ type AnonymousMeta = {
isWsl: boolean
isCI: boolean
ciName: string | null
+ nextVersion: string
}
let traits: AnonymousMeta | undefined
@@ -44,6 +45,7 @@ export function getAnonymousMeta(): AnonymousMeta {
isWsl: isWslBoolean,
isCI: ciEnvironment.isCI,
ciName: (ciEnvironme... | false |
Other | vercel | next.js | b8acc347c021cbd46cb2809bec1f6d73429c4410.json | Increase CI Parallelism (#9552) | .circleci/config.yml | @@ -138,7 +138,7 @@ jobs:
- yarn_react_integration
- *persist_to_workspace
test:
- parallelism: 4
+ parallelism: 8
executor: node
steps:
- *attach_workspace | false |
Other | vercel | next.js | 80533f5d6259654892e557dcf3d70e549453cb69.json | Add file attribute to timings data (#9535)
* Add file attribute to timings data
* bump
* bump | run-tests.js | @@ -124,9 +124,9 @@ const timings = []
for (const timing of timings) {
const timeInSeconds = timing.time / 1000
junitData += `
- <testsuite name="${
- timing.file
- }" tests="1" errors="0" failures="0" skipped="0" timestamp="${new Date().toJSON()}" time="${timeInSeconds}">
+ ... | false |
Other | vercel | next.js | 5030bda9c250f2878a9768e543f1bef4296c69b7.json | Update Yarn Lockfile | yarn.lock | @@ -177,6 +177,14 @@
"@babel/helper-regex" "^7.4.4"
regexpu-core "^4.6.0"
+"@babel/helper-create-regexp-features-plugin@^7.7.4":
+ version "7.7.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.7.4.tgz#6d5762359fd34f4da1500e4cf... | false |
Other | vercel | next.js | cd8e72d5e3cf0cbffcdb6563372b737609e1aab4.json | Add custom routes to build output (#9517)
* Add custom routes to build output
* De-dupe code a bit | packages/next/build/index.ts | @@ -51,6 +51,7 @@ import {
hasCustomAppGetInitialProps,
PageInfo,
printTreeView,
+ printCustomRoutes,
} from './utils'
import getBaseWebpackConfig from './webpack-config'
import { writeBuildId } from './write-build-id'
@@ -718,6 +719,7 @@ export default async function build(dir: string, conf = null): Promi... | true |
Other | vercel | next.js | cd8e72d5e3cf0cbffcdb6563372b737609e1aab4.json | Add custom routes to build output (#9517)
* Add custom routes to build output
* De-dupe code a bit | packages/next/build/utils.ts | @@ -11,6 +11,8 @@ import prettyBytes from '../lib/pretty-bytes'
import { recursiveReadDir } from '../lib/recursive-readdir'
import { getRouteMatcher, getRouteRegex } from '../next-server/lib/router/utils'
import { isDynamicRoute } from '../next-server/lib/router/utils/is-dynamic'
+import { Redirect, Rewrite } from '... | true |
Other | vercel | next.js | cd8e72d5e3cf0cbffcdb6563372b737609e1aab4.json | Add custom routes to build output (#9517)
* Add custom routes to build output
* De-dupe code a bit | packages/next/next-server/server/next-server.ts | @@ -44,12 +44,12 @@ const getCustomRouteMatcher = pathMatch(true)
type NextConfig = any
-type Rewrite = {
+export type Rewrite = {
source: string
destination: string
}
-type Redirect = Rewrite & {
+export type Redirect = Rewrite & {
statusCode?: number
}
| true |
Other | vercel | next.js | cd8e72d5e3cf0cbffcdb6563372b737609e1aab4.json | Add custom routes to build output (#9517)
* Add custom routes to build output
* De-dupe code a bit | test/integration/custom-routes/test/index.test.js | @@ -1,6 +1,7 @@
/* eslint-env jest */
/* global jasmine */
import url from 'url'
+import stripAnsi from 'strip-ansi'
import fs from 'fs-extra'
import { join } from 'path'
import webdriver from 'next-webdriver'
@@ -21,6 +22,7 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 2
let appDir = join(__dirname, '..')
... | true |
Other | vercel | next.js | 04a7f1e85d34c72a3d45a05f4ca9d158ef1b5af0.json | Replace `url` polyfill with `self.URL` (#9200)
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting wi... | packages/next/build/webpack-config.ts | @@ -87,6 +87,9 @@ function getOptimizedAliases(isServer: boolean): { [pkg: string]: string } {
'object.assign$': path.join(shimAssign, 'index.js'),
'object.assign/polyfill': path.join(shimAssign, 'polyfill.js'),
'object.assign/shim': path.join(shimAssign, 'shim.js'),
+
+ // Replace: full URL polyfill ... | true |
Other | vercel | next.js | 04a7f1e85d34c72a3d45a05f4ca9d158ef1b5af0.json | Replace `url` polyfill with `self.URL` (#9200)
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting wi... | packages/next/client/polyfills.js | @@ -1,2 +1,3 @@
import '__next_polyfill__fetch'
+import 'url-polyfill'
Object.assign = require('__next_polyfill__object_assign') | true |
Other | vercel | next.js | 04a7f1e85d34c72a3d45a05f4ca9d158ef1b5af0.json | Replace `url` polyfill with `self.URL` (#9200)
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting wi... | packages/next/package.json | @@ -102,6 +102,7 @@
"lru-cache": "5.1.1",
"mini-css-extract-plugin": "0.8.0",
"mkdirp": "0.5.1",
+ "native-url": "0.2.1",
"node-fetch": "2.6.0",
"object-assign": "4.1.1",
"ora": "3.4.0",
@@ -124,6 +125,7 @@
"terser": "4.0.0",
"unfetch": "4.1.0",
"url": "0.11.0",
+ "url... | true |
Other | vercel | next.js | 04a7f1e85d34c72a3d45a05f4ca9d158ef1b5af0.json | Replace `url` polyfill with `self.URL` (#9200)
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting wi... | test/integration/chunking/test/index.test.js | @@ -45,8 +45,7 @@ describe('Chunking', () => {
console.error(stderr)
stats = (await readFile(join(appDir, '.next', 'stats.json'), 'utf8'))
// fixes backslashes in keyNames not being escaped on windows
- .replace(/"static\\(.*?":)/g, '"static\\\\$1')
- .replace(/("static\\.*?)\\pages\\(.*?":)/... | true |
Other | vercel | next.js | 04a7f1e85d34c72a3d45a05f4ca9d158ef1b5af0.json | Replace `url` polyfill with `self.URL` (#9200)
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting wi... | test/integration/size-limit/test/index.test.js | @@ -81,9 +81,9 @@ describe('Production response size', () => {
)
// These numbers are without gzip compression!
- const delta = responseSizeKilobytes - 230
+ const delta = responseSizeKilobytes - 229
expect(delta).toBeLessThanOrEqual(0) // don't increase size
- expect(delta).toBeGreaterThanOrE... | true |
Other | vercel | next.js | 04a7f1e85d34c72a3d45a05f4ca9d158ef1b5af0.json | Replace `url` polyfill with `self.URL` (#9200)
* Adding native-url package
* Bumping native-url version
* Upgrading native-url
* Logging stats object for debugging
* Logging stats object for debugging
* Adding try catch to the error lines
* Experimenting with regex
* Experimenting with regex
* Experimenting wi... | yarn.lock | @@ -10537,6 +10537,13 @@ native-or-bluebird@^1.2.0:
resolved "https://registry.yarnpkg.com/native-or-bluebird/-/native-or-bluebird-1.2.0.tgz#39c47bfd7825d1fb9ffad32210ae25daadf101c9"
integrity sha1-OcR7/Xgl0fuf+tMiEK4l2q3xAck=
+native-url@0.2.1:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/nativ... | true |
Other | vercel | next.js | 12cbb2e95a94c4f60d0f4babf001f8285fcf86e0.json | Add custom timings for CircleCi (#9523)
* Add custom timings for CircleCi
* Re-add split-by flag
* Add testcase item to junit.xml
* Log tests being run
* Update junit.xml path
* bump | .circleci/config.yml | @@ -7,7 +7,7 @@ version: 2.1
aliases:
- &store_test_results
store_test_results:
- path: ~/repo/test_results.xml
+ path: ~/repo/test
- &persist_to_workspace
persist_to_workspace:
root: ~/repo
@@ -63,9 +63,9 @@ commands:
- run:
name: Run All Tests
command: |
... | true |
Other | vercel | next.js | 12cbb2e95a94c4f60d0f4babf001f8285fcf86e0.json | Add custom timings for CircleCi (#9523)
* Add custom timings for CircleCi
* Re-add split-by flag
* Add testcase item to junit.xml
* Log tests being run
* Update junit.xml path
* bump | package.json | @@ -9,7 +9,7 @@
"dev": "lerna run build --stream --parallel",
"dev2": "while true; do yarn --check-files && yarn dev; done",
"testonly": "jest --runInBand",
- "testall": "yarn run testonly -- --ci --reporters=default --reporters=jest-junit --forceExit",
+ "testall": "yarn run testonly -- --ci --for... | true |
Other | vercel | next.js | 12cbb2e95a94c4f60d0f4babf001f8285fcf86e0.json | Add custom timings for CircleCi (#9523)
* Add custom timings for CircleCi
* Re-add split-by flag
* Add testcase item to junit.xml
* Log tests being run
* Update junit.xml path
* bump | run-tests.js | @@ -1,5 +1,6 @@
const path = require('path')
const _glob = require('glob')
+const fs = require('fs-extra')
const { promisify } = require('util')
const { Sema } = require('async-sema')
const { spawn, exec: execOrig } = require('child_process')
@@ -9,12 +10,14 @@ const exec = promisify(execOrig)
const NUM_RETRIES... | true |
Other | vercel | next.js | 12cbb2e95a94c4f60d0f4babf001f8285fcf86e0.json | Add custom timings for CircleCi (#9523)
* Add custom timings for CircleCi
* Re-add split-by flag
* Add testcase item to junit.xml
* Log tests being run
* Update junit.xml path
* bump | yarn.lock | @@ -8979,16 +8979,6 @@ jest-jasmine2@^24.8.0:
pretty-format "^24.8.0"
throat "^4.0.0"
-jest-junit@6.4.0:
- version "6.4.0"
- resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-6.4.0.tgz#23e15c979fa6338afde46f2d2ac2a6b7e8cf0d9e"
- integrity sha512-GXEZA5WBeUich94BARoEUccJumhCgCerg7mXDFLxWwI2P7... | true |
Other | vercel | next.js | 302407486e70db4dd9c32cdabfcf92d4876634a3.json | Specify Invalid Dynamic Route Values (#9525) | packages/next/next-server/lib/router/router.ts | @@ -320,7 +320,8 @@ export default class Router implements BaseRouter {
const routeMatch = getRouteMatcher(rr)(asPathname)
if (!routeMatch) {
const error =
- 'The provided `as` value is incompatible with the `href` value. This is invalid. https://err.sh/zeit/next.js/incompatible-... | true |
Other | vercel | next.js | 302407486e70db4dd9c32cdabfcf92d4876634a3.json | Specify Invalid Dynamic Route Values (#9525) | test/integration/invalid-href/test/index.test.js | @@ -86,7 +86,7 @@ describe('Invalid hrefs', () => {
it('shows error when dynamic route mismatch is used on Link', async () => {
await showsError(
'/dynamic-route-mismatch',
- /The provided `as` value is incompatible with the `href` value/,
+ /The provided `as` value \(\/blog\/post-1\)... | true |
Other | vercel | next.js | 7310e6bca690ba427fc988ff3302aa1d0bc7315b.json | Remove extra default export from readme (#8579) | packages/next/README.md | @@ -1072,8 +1072,6 @@ export default function MyLink() {
</a>
)
}
-
-export default MyLink
```
You can also add it to the `componentDidMount()` lifecycle method when using `React.Component`: | false |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | packages/next-server/server/config.ts | @@ -18,7 +18,7 @@ const defaultConfig: { [key: string]: any } = {
generateBuildId: () => null,
generateEtags: true,
pageExtensions: ['tsx', 'ts', 'jsx', 'js'],
- target: process.env.__NEXT_BUILDER_EXPERIMENTAL_TARGET || 'server',
+ target: 'server',
poweredByHeader: true,
compress: true,
onDemandEnt... | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | packages/next/build/webpack-config.ts | @@ -590,7 +590,7 @@ export default async function getBaseWebpackConfig(
)
},
}),
- isServerless && new ServerlessPlugin(),
+ isServerless && isServer && new ServerlessPlugin(),
isServer && new PagesManifestPlugin(isLikeServerless),
target === 'server' &&
... | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | test/integration/serverless-now/next.config.js | @@ -1,6 +0,0 @@
-module.exports = {
- onDemandEntries: {
- // Make sure entries are not getting disposed.
- maxInactiveAge: 1000 * 60 * 60
- }
-} | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | test/integration/serverless-now/pages/index.js | @@ -1,7 +0,0 @@
-const Comp = () => {
- return <div>Hello Serverless</div>
-}
-
-Comp.getInitialProps = () => ({})
-
-export default Comp | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | test/integration/serverless-now/test/index.test.js | @@ -1,43 +0,0 @@
-/* eslint-env jest */
-/* global jasmine */
-import { join } from 'path'
-import { existsSync } from 'fs'
-import {
- killApp,
- findPort,
- nextBuild,
- nextStart,
- renderViaHTTP
-} from 'next-test-utils'
-const appDir = join(__dirname, '../')
-const serverlessDir = join(appDir, '.next/serverle... | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | test/integration/serverless-trace/pages/api/dynamic/[path]/index.js | @@ -0,0 +1,3 @@
+export default ({ query }, res) => {
+ res.json(query)
+} | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | test/integration/serverless-trace/pages/api/posts/[id].js | @@ -1,3 +1,3 @@
-export default (req, res) => {
- res.json({ post: req.query.id })
+export default ({ query }, res) => {
+ res.json(query)
} | true |
Other | vercel | next.js | 67e7753c85fe15ebb2085eb2b7ac11f348976cfb.json | Fix serverless chunking (#8569)
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case | test/integration/serverless-trace/test/index.test.js | @@ -2,7 +2,7 @@
/* global jasmine */
import webdriver from 'next-webdriver'
import { join } from 'path'
-import { existsSync } from 'fs'
+import { existsSync, readdirSync, readFileSync } from 'fs'
import {
killApp,
findPort,
@@ -15,11 +15,13 @@ import fetch from 'node-fetch'
const appDir = join(__dirname, ... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.