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 | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-mobx/README.md | @@ -14,7 +14,7 @@ The clock, under `components/Clock.js`, has access to the state using the `injec
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-mobx)
+[... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-mocha/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-mocha with-mocha-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-mocha
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-cana... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-monaco-editor/README.md | @@ -26,7 +26,7 @@ yarn create next-app --example with-monaco-editor with-monaco-editor-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-monaco-editor
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -x... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-netlify-cms/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-netlify-cms with-netlify-cms-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-netlify-cms
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --st... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-next-css/README.md | @@ -6,7 +6,7 @@ This example demonstrates how to use Next.js' built-in CSS imports and CSS modul
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-css)
... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-next-less/README.md | @@ -8,7 +8,7 @@ It includes patterns for with and without CSS Modules, with PostCSS and with add
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-less)... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-next-offline/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-next-offline with-next-offline-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-next-offline
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz -... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-next-page-transitions/README.md | @@ -8,7 +8,7 @@ This example includes two pages with links between them. The "About" page demons
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-page-... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-next-sass/README.md | @@ -6,7 +6,7 @@ This example demonstrates how to use Next.js' built-in Global Sass/Scss imports
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-sass)
... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-next-seo/README.md | @@ -6,7 +6,7 @@ This example shows how you integrate [next-seo](https://github.com/garmeeh/next-
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-next-seo)
... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-now-env/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-now-env with-now-env-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-now-env
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.j... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-orbit-components/README.md | @@ -10,7 +10,7 @@ This fork comes from [styled-components-example](https://github.com/zeit/next.js
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-orbit-co... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-overmind/README.md | @@ -6,7 +6,7 @@ This example uses [overmind](https://overmindjs.org/?view=react&typescript=false
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-overmind)
... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-passport-and-next-connect/README.md | @@ -12,7 +12,7 @@ In production, you must use a password hashing library, such as [argon2](https:/
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-passport... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-passport/README.md | @@ -31,7 +31,7 @@ yarn create next-app --example with-passport with-passport-app
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-passport
+curl https://codeload.github.com... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-patternfly/README.md | @@ -6,7 +6,7 @@ This example shows how to use Next.js along with [Patterfly](https://www.pattern
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-patternfly... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-polyfills/README.md | @@ -8,7 +8,7 @@ This how you can do it easily with Next.js's custom webpack config feature.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-polyfills)
+[:
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-portals-ss... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-portals/README.md | @@ -6,7 +6,7 @@ This example show how to use the React [Portals](https://reactjs.org/docs/portal
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-portals)
+... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-prefetching/README.md | @@ -10,7 +10,7 @@ This example features an app with four simple pages:
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-prefetching)
+[![Deploy with Vercel]... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-quill-js/README.md | @@ -8,7 +8,7 @@ Quill does not suppport SSR, so it's only loaded and rendered in the browser.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-quill-js)
+[!... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-rbx-bulma-pro/README.md | @@ -6,7 +6,7 @@ This example shows how to use Next.js along with [rbx](https://github.com/dfee/r
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-rbx-bulma-... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-bootstrap/README.md | @@ -6,7 +6,7 @@ This example shows how to use Next.js along with [react-bootstrap](https://react
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-boot... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-ga/README.md | @@ -7,7 +7,7 @@ component with NextJs. Modify `Tracking ID` in `utils/analytics.js` file for tes
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-ga)
... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-helmet/README.md | @@ -9,7 +9,7 @@ The rest is all up to you.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-helmet)
+[... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-intl/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-react-intl with-react-intl-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-react-intl
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-jss/README.md | @@ -8,7 +8,7 @@ The critical styles will be injected into the head when server rendered.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-jss)
+[ example next to lear
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-md... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-multi-carousel/README.md | @@ -6,7 +6,7 @@
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-multi-carousel)
+[](https://vercel.co... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-native-web/README.md | @@ -10,7 +10,7 @@ This example features how to use [react-native-web](https://github.com/necolas/r
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-na... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-relay-network-modern/README.md | @@ -10,7 +10,7 @@ This example relies on [graph.cool](https://www.graph.cool) for its GraphQL back
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-re... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-toolbox/README.md | @@ -8,7 +8,7 @@ For actual use, you probably also want to add Roboto Font, and Material Design I
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-tool... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-react-with-styles/README.md | @@ -12,7 +12,7 @@ We are using `pages/_index.js` from this example [with-aphrodite](https://github
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-react-wi... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-reasonml-todo/README.md | @@ -18,7 +18,7 @@ This example features:
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-reasonml-todo)
+[]... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-reasonml/README.md | @@ -12,7 +12,7 @@ This example features:
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-reasonml)
+[](http... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-rebass/README.md | @@ -8,7 +8,7 @@ This example features how you use [Rebass](http://jxnblk.com/rebass/) functional
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-rebass)
+[... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux-code-splitting/README.md | @@ -8,7 +8,7 @@ This example utilizes [fast-redux](https://github.com/dogada/fast-redux) to spli
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-code... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux-observable/README.md | @@ -12,7 +12,7 @@ Example also uses `redux-logger` to log every action.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-observable)
+[:
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-pers... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux-saga/README.md | @@ -8,7 +8,7 @@ Usually splitting your app state into `pages` feels natural, but sometimes you'l
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-saga... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux-thunk/README.md | @@ -8,7 +8,7 @@ Usually splitting your app state into `pages` feels natural but sometimes you'll
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-thun... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux-toolkit/README.md | @@ -8,7 +8,7 @@ The **Redux Toolkit** is intended to be the standard way to write Redux logic (c
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-tool... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux-wrapper/README.md | @@ -6,7 +6,7 @@ Usually splitting your app state into `pages` feels natural but sometimes you'll
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux-wrap... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-redux/README.md | @@ -8,7 +8,7 @@ Usually splitting your app state into `pages` feels natural but sometimes you'll
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-redux)
+[!... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-reflux/README.md | @@ -6,7 +6,7 @@ Use [reflux](https://github.com/reflux/refluxjs) to manage an application store
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-reflux)
+[!... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-relay-modern/README.md | @@ -10,7 +10,7 @@ This example relies on [graph.cool](https://www.graph.cool) for its GraphQL back
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-relay-mo... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-rematch/README.md | @@ -8,7 +8,7 @@ Since rematch is utility which uses redux under the hood, some elements like `st
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-rematch)
+... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-route-as-modal/README.md | @@ -8,7 +8,7 @@ This example show how to conditionally display a modal based on a route.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-route-as-modal)
+[... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-segment-analytics/README.md | @@ -6,7 +6,7 @@ This example shows how to use Next.js along with [Segment Analytics](https://seg
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-segment-an... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-semantic-ui/README.md | @@ -6,7 +6,7 @@ This example shows how to use Next.js along with [Semantic UI React](http://reac
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-semantic-u... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-sentry-simple/README.md | @@ -25,7 +25,7 @@ yarn create next-app --example with-sentry-simple with-sentry-simple
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-sentry-simple
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-shallow-routing/README.md | @@ -8,7 +8,7 @@ We do this by passing the `shallow: true` option to `Router.push` or `Router.rep
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-shallow-ro... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-slate/README.md | @@ -6,7 +6,7 @@ This example shows how to use Next.js along with [Slate.js](https://www.slatejs.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-slate)
+[!... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-static-export/README.md | @@ -21,7 +21,7 @@ yarn create next-app --example with-static-export with-static-export-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-static-export
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -x... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-stencil/README.md | @@ -4,7 +4,7 @@
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-stencil)
+[](https://vercel.com/import/proj... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-stomp/README.md | @@ -23,7 +23,7 @@ yarn create next-app --example with-stomp with-stomp-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-stomp
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-cana... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-storybook/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-storybook with-storybook-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-storybook
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 ... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-strict-csp/README.md | @@ -28,8 +28,8 @@ yarn create next-app --example with-strict-csp-hash with-strict-csp-hash-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-strict-csp-hash
-cd with-strict-csp-hash
+curl https://codeload.github.com/vercel... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-stripe-typescript/README.md | @@ -72,7 +72,7 @@ yarn create next-app --example with-stripe-typescript with-stripe-typescript-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-stripe-typescript
+curl https://codeload.github.com/vercel/next.js/tar.gz/can... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-style-sheet/README.md | @@ -6,7 +6,7 @@ This example features an app using the [style-sheet](https://www.npmjs.com/packa
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-style-shee... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-styled-components-rtl/README.md | @@ -6,7 +6,7 @@ This example shows how to use nextjs with right to left (RTL) styles using style
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-com... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-styled-components/README.md | @@ -8,7 +8,7 @@ For this purpose we are extending the `<Document />` and injecting the server si
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-com... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-styled-jsx-plugins/README.md | @@ -12,7 +12,7 @@ More details about how plugins work can be found in the [styled-jsx readme](http
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-j... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-styled-jsx-scss/README.md | @@ -12,7 +12,7 @@ More details about how plugins work can be found in the [styled-jsx readme](http
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styled-j... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-styletron/README.md | @@ -8,7 +8,7 @@ For this purpose we are extending the `<Document />` and injecting the server si
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-styletron)... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-tailwindcss-emotion/README.md | @@ -8,7 +8,7 @@ This is an example of how you can add [tailwind CSS](https://tailwindcss.com/) w
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-tailwindcs... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-tailwindcss/README.md | @@ -6,7 +6,7 @@ This is an example of using [Tailwind CSS](https://tailwindcss.com) in a Next.js
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-tailwindcs... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-three-js/README.md | @@ -9,7 +9,7 @@ This example uses:
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-three-js)
+[](https://ve... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-typescript-graphql/README.md | @@ -18,7 +18,7 @@ const News: React.FC = () => {
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typescript-graphql)
+[
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-typescript-styled-components/README.md | @@ -6,7 +6,7 @@ This is a really simple project that show the usage of Next.js with TypeScript a
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typescript... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-typescript/README.md | @@ -6,7 +6,7 @@ This is a really simple project that shows the usage of Next.js with TypeScript.
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typescript... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-typestyle/README.md | @@ -8,7 +8,7 @@ For this purpose we are extending the `<Document />` and injecting the server si
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typestyle)... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-universal-configuration-build-time/README.md | @@ -8,7 +8,7 @@ When you build your application the environment variable is transformed into a p
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-universal-... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-universal-configuration-runtime/README.md | @@ -21,7 +21,7 @@ yarn create next-app --example with-universal-configuration-runtime with-univers
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-universal-configuration-runtime
+curl https://codeload.github.com/vercel/next... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-unstated/README.md | @@ -8,7 +8,7 @@ There are two pages, `/` and `/about`, both render a counter and a timer, the st
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-unstated)
... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-userbase/README.md | @@ -8,7 +8,7 @@ Deployed Demo: [https://next-userbase.now.sh](https://next-userbase.now.sh)
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-userbase)
+[
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-videojs)
+[... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-webassembly/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-webassembly with-webassembly-app
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-webassembly
+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --st... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-webpack-bundle-size-analyzer/README.md | @@ -19,7 +19,7 @@ yarn create next-app --example with-webpack-bundle-size-analyzer with-webpack-bu
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-webpack-bundle-size-analyzer
+curl https://codeload.github.com/vercel/next.js... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-why-did-you-render/README.md | @@ -26,7 +26,7 @@ yarn create next-app --example with-why-did-you-render with-why-did-you-render-a
Download the example:
```bash
-curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-why-did-you-render
+curl https://codeload.github.com/vercel/next.js/tar.gz/ca... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-xstate/README.md | @@ -6,7 +6,7 @@ This example shows how to integrate XState in Next.js. For more info about XStat
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-xstate)
+[... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-yarn-workspaces/README.md | @@ -12,7 +12,7 @@ In this example we have three workspaces:
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-yarn-workspaces)
+[
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-zeit-fetch/README.md | @@ -6,7 +6,7 @@ This example shows how to use [`@zeit/fetch`](https://npmjs.com/package/@zeit/fe
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-zeit-fetch... | true |
Other | vercel | next.js | 1f6ce106ae4b1b74258eb362c50d01bfb5ffa083.json | Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> | examples/with-zones/README.md | @@ -11,7 +11,7 @@ With Next.js you can use multiple apps as a single app using it's [multi-zones f
Deploy the example using [Vercel](https://vercel.com):
-[](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-zones)
+... | true |
Other | vercel | next.js | e2619359ec76d2932c6703cbfe66098dd5246f3d.json | Add warning when reserved pages are nested (#13449)
This adds a warning when a user has nested a reserved page `_error`, `_app`, or `_document` in their pages directory since it causes it to not be picked up and used by Next.js in the expected way
x-ref: https://github.com/zeit/next.js/pull/13425
<details>
<summary>... | errors/nested-reserved-page.md | @@ -0,0 +1,15 @@
+# Nested Reserved Page
+
+#### Why This Error Occurred
+
+In your pages folder you nested a reserved page e.g. `_app`, `_error`, or `_document` which causes the page to not be used since they must be located directly under the pages folder.
+
+#### Possible Ways to Fix It
+
+Move the reserved pages di... | true |
Other | vercel | next.js | e2619359ec76d2932c6703cbfe66098dd5246f3d.json | Add warning when reserved pages are nested (#13449)
This adds a warning when a user has nested a reserved page `_error`, `_app`, or `_document` in their pages directory since it causes it to not be picked up and used by Next.js in the expected way
x-ref: https://github.com/zeit/next.js/pull/13425
<details>
<summary>... | packages/next/build/index.ts | @@ -260,6 +260,26 @@ export default async function build(dir: string, conf = null): Promise<void> {
)
}
+ const nestedReservedPages = pageKeys.filter((page) => {
+ return (
+ page.match(/\/(_app|_document|_error)$/) && path.dirname(page) !== '/'
+ )
+ })
+
+ if (nestedReservedPages.length) {
+ ... | true |
Other | vercel | next.js | e2619359ec76d2932c6703cbfe66098dd5246f3d.json | Add warning when reserved pages are nested (#13449)
This adds a warning when a user has nested a reserved page `_error`, `_app`, or `_document` in their pages directory since it causes it to not be picked up and used by Next.js in the expected way
x-ref: https://github.com/zeit/next.js/pull/13425
<details>
<summary>... | test/integration/auto-export-error-bail/test/index.test.js | @@ -19,10 +19,16 @@ const runTests = () => {
console.log(output)
}
+ const combinedOutput = output.stderr + output.stdout
+
expect(output.code).toBe(0)
- expect(output.stderr + output.stdout).not.toContain(
+ expect(combinedOutput).not.toContain(
'You have opted-out of Automatic Stati... | true |
Other | vercel | next.js | c731d591497780ace9ab2e9eb0758bfa6416fbe3.json | Fix AMP Test Flake (#13450)
Observed here: https://github.com/zeit/next.js/pull/13434#issuecomment-634566450 | test/integration/amphtml/test/index.test.js | @@ -1,29 +1,29 @@
/* eslint-env jest */
-import { join } from 'path'
-import cheerio from 'cheerio'
-import webdriver from 'next-webdriver'
import { validateAMP } from 'amp-test-utils'
+import cheerio from 'cheerio'
import {
accessSync,
+ readFile,
readFileSync,
- writeFileSync,
writeFile,
- readFile,
... | false |
Other | vercel | next.js | 83bc82e40abd24dff8d09b1cd75c10d668db8671.json | Fix auto export opting out from _error edge case (#13425)
This fixes an edge case where an application can seemingly randomly be opted out of the automatic static optimization from having an `_error` file that isn't directly nested under the `pages` folder e.g. `pages/hello/_error.js`.
Since in serverless mode we us... | packages/next/build/index.ts | @@ -497,7 +497,8 @@ export default async function build(dir: string, conf = null): Promise<void> {
: ['server', 'static', buildId, 'pages']),
'_error.js'
),
- runtimeEnvConfig
+ runtimeEnvConfig,
+ false
))
const analysisBegin = process.hrtime()
@@ -540,7 +541,8 @@ ex... | true |
Other | vercel | next.js | 83bc82e40abd24dff8d09b1cd75c10d668db8671.json | Fix auto export opting out from _error edge case (#13425)
This fixes an edge case where an application can seemingly randomly be opted out of the automatic static optimization from having an `_error` file that isn't directly nested under the `pages` folder e.g. `pages/hello/_error.js`.
Since in serverless mode we us... | packages/next/build/utils.ts | @@ -776,16 +776,16 @@ export async function isPageStatic(
export function hasCustomGetInitialProps(
bundle: string,
- runtimeEnvConfig: any
+ runtimeEnvConfig: any,
+ checkingApp: boolean
): boolean {
require('../next-server/lib/runtime-config').setConfig(runtimeEnvConfig)
let mod = require(bundle)
- ... | true |
Other | vercel | next.js | 83bc82e40abd24dff8d09b1cd75c10d668db8671.json | Fix auto export opting out from _error edge case (#13425)
This fixes an edge case where an application can seemingly randomly be opted out of the automatic static optimization from having an `_error` file that isn't directly nested under the `pages` folder e.g. `pages/hello/_error.js`.
Since in serverless mode we us... | test/integration/auto-export-error-bail/pages/app/_error.js | @@ -0,0 +1,11 @@
+import Error from 'next/error'
+
+function MyError(props) {
+ return <Error {...props} />
+}
+
+MyError.getInitialProps = async (ctx) => {
+ return Error.getInitialProps(ctx)
+}
+
+export default MyError | true |
Other | vercel | next.js | 83bc82e40abd24dff8d09b1cd75c10d668db8671.json | Fix auto export opting out from _error edge case (#13425)
This fixes an edge case where an application can seemingly randomly be opted out of the automatic static optimization from having an `_error` file that isn't directly nested under the `pages` folder e.g. `pages/hello/_error.js`.
Since in serverless mode we us... | test/integration/auto-export-error-bail/test/index.test.js | @@ -0,0 +1,49 @@
+/* eslint-env jest */
+
+import path from 'path'
+import fs from 'fs-extra'
+import { nextBuild } from 'next-test-utils'
+
+jest.setTimeout(1000 * 60 * 1)
+const appDir = path.join(__dirname, '..')
+const nextConfig = path.join(appDir, 'next.config.js')
+
+const runTests = () => {
+ it('should not op... | true |
Other | vercel | next.js | d94e8db531cd6af33aa650e3478b7fb45dcfcecc.json | Add failing paths to export error summary (#10026)
Closes #9990 by collecting all paths with errors during `next export` and reporting them sorted in the error summary at the end.
It will produce an output similar to:
```
Error: Export encountered errors on following paths:
/nested/page
/page
... | packages/next/export/index.ts | @@ -368,6 +368,7 @@ export default async function exportApp(
worker.getStderr().pipe(process.stderr)
let renderError = false
+ const errorPaths: string[] = []
await Promise.all(
filteredPaths.map(async (path) => {
@@ -393,6 +394,7 @@ export default async function exportApp(
(Array.isArray(... | true |
Other | vercel | next.js | d94e8db531cd6af33aa650e3478b7fb45dcfcecc.json | Add failing paths to export error summary (#10026)
Closes #9990 by collecting all paths with errors during `next export` and reporting them sorted in the error summary at the end.
It will produce an output similar to:
```
Error: Export encountered errors on following paths:
/nested/page
/page
... | test/integration/handles-export-errors/test/index.test.js | @@ -14,5 +14,11 @@ describe('Handles Errors During Export', () => {
})
expect(stdout + stderr).not.toMatch(/ERR_IPC_CHANNEL_CLOSED/)
+ expect(stderr).toContain('Export encountered errors on following paths')
+ expect(stderr).toContain('/page')
+ expect(stderr).toContain('/page-1')
+ expect(stder... | true |
Other | vercel | next.js | b3e45fab5ed6276cf9979d0bbca09cf2941b60d5.json | feat(cli): use default template when GH is offline (#12194)
fix #12136
I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯 | packages/create-next-app/create-app.ts | @@ -1,16 +1,16 @@
+import retry from 'async-retry'
import chalk from 'chalk'
import cpy from 'cpy'
import fs from 'fs'
import makeDir from 'make-dir'
import os from 'os'
import path from 'path'
-
import {
- hasExample,
- hasRepo,
- getRepoInfo,
downloadAndExtractExample,
downloadAndExtractRepo,
+ getRe... | true |
Other | vercel | next.js | b3e45fab5ed6276cf9979d0bbca09cf2941b60d5.json | feat(cli): use default template when GH is offline (#12194)
fix #12136
I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯 | packages/create-next-app/helpers/examples.ts | @@ -86,6 +86,10 @@ export async function downloadAndExtractExample(
root: string,
name: string
): Promise<void> {
+ if (name === '__internal-testing-retry') {
+ throw new Error('This is an internal example for testing the CLI.')
+ }
+
try {
return await pipeline(
got.stream('https://codeload.... | true |
Other | vercel | next.js | b3e45fab5ed6276cf9979d0bbca09cf2941b60d5.json | feat(cli): use default template when GH is offline (#12194)
fix #12136
I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯 | packages/create-next-app/index.ts | @@ -4,12 +4,11 @@ import Commander from 'commander'
import path from 'path'
import prompts from 'prompts'
import checkForUpdate from 'update-check'
-
-import { createApp } from './create-app'
+import { createApp, DownloadError } from './create-app'
+import { listExamples } from './helpers/examples'
+import { shouldU... | true |
Other | vercel | next.js | b3e45fab5ed6276cf9979d0bbca09cf2941b60d5.json | feat(cli): use default template when GH is offline (#12194)
fix #12136
I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯 | packages/create-next-app/package.json | @@ -27,12 +27,14 @@
"prepublish": "yarn release"
},
"devDependencies": {
+ "@types/async-retry": "1.4.2",
"@types/node": "^12.6.8",
"@types/prompts": "2.0.1",
"@types/rimraf": "3.0.0",
"@types/tar": "4.0.3",
"@types/validate-npm-package-name": "3.0.0",
"@zeit/ncc": "^0.20.4",... | true |
Other | vercel | next.js | b3e45fab5ed6276cf9979d0bbca09cf2941b60d5.json | feat(cli): use default template when GH is offline (#12194)
fix #12136
I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯 | test/integration/create-next-app/index.test.js | @@ -1,12 +1,12 @@
/* eslint-env jest */
-import path from 'path'
-import fs from 'fs-extra'
import execa from 'execa'
+import fs from 'fs-extra'
import os from 'os'
+import path from 'path'
const cli = require.resolve('create-next-app/dist/index.js')
-jest.setTimeout(1000 * 60 * 2)
+jest.setTimeout(1000 * 60 * ... | true |
Other | vercel | next.js | b3e45fab5ed6276cf9979d0bbca09cf2941b60d5.json | feat(cli): use default template when GH is offline (#12194)
fix #12136
I add a prompt if there is an error when trying to download example files.
Maybe could be better to add an error class and in create-app.ts on every "console.error" trow a new Exception and manage it in catch. What you think ? 👯 | yarn.lock | @@ -2407,6 +2407,13 @@
version "1.3.1"
resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a"
+"@types/async-retry@1.4.2":
+ version "1.4.2"
+ resolved "https://registry.yarnpkg.com/@types/async-retry/-/async-retry-1.4.2.tgz#7f910188cd3893b51e32df... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.