From b7e17e09e5e51a8e33b728a1ef14f11e7bf009db Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Wed, 27 May 2020 17:51:11 -0400 Subject: [PATCH] Update references to zeit/next.js (#13463) --- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/actions/next-stats-action/README.md | 4 ++-- contributing.md | 2 +- docs/advanced-features/amp-support/introduction.md | 4 ++-- docs/advanced-features/custom-error-page.md | 2 +- docs/advanced-features/custom-server.md | 10 +++++----- docs/advanced-features/customizing-babel-config.md | 2 +- .../customizing-postcss-config.md | 2 +- docs/advanced-features/dynamic-import.md | 2 +- docs/advanced-features/preview-mode.md | 10 +++++----- docs/advanced-features/static-html-export.md | 2 +- .../api-reference/data-fetching/getInitialProps.md | 6 +++--- .../cdn-support-with-asset-prefix.md | 2 +- .../next.config.js/custom-page-extensions.md | 2 +- .../next.config.js/custom-webpack-config.md | 6 +++--- .../next.config.js/environment-variables.md | 4 ++-- docs/api-reference/next.config.js/exportPathMap.md | 2 +- docs/api-reference/next.config.js/introduction.md | 4 ++-- docs/api-reference/next/amp.md | 2 +- docs/api-reference/next/head.md | 4 ++-- docs/api-reference/next/link.md | 2 +- docs/api-reference/next/router.md | 4 ++-- docs/api-routes/api-middlewares.md | 6 +++--- docs/api-routes/dynamic-api-routes.md | 2 +- docs/api-routes/introduction.md | 10 +++++----- docs/api-routes/response-helpers.md | 4 ++-- docs/basic-features/built-in-css-support.md | 14 +++++++------- docs/basic-features/data-fetching.md | 12 ++++++------ docs/basic-features/pages.md | 12 ++++++------ docs/basic-features/typescript.md | 2 +- docs/faq.md | 8 ++++---- docs/getting-started.md | 2 +- docs/routing/dynamic-routes.md | 4 ++-- docs/routing/imperatively.md | 2 +- docs/routing/introduction.md | 2 +- docs/routing/shallow-routing.md | 2 +- errors/cant-override-next-props.md | 2 +- errors/config-resolve-alias.md | 2 +- errors/css-modules-npm.md | 2 +- errors/doc-crossorigin-deprecated.md | 2 +- errors/invalid-resolve-alias.md | 2 +- errors/no-document-title.md | 2 +- errors/no-on-app-updated-hook.md | 2 +- errors/popstate-state-empty.md | 2 +- examples/active-class-name/README.md | 2 +- examples/amp-first/README.md | 2 +- examples/amp-story/README.md | 2 +- examples/amp/README.md | 2 +- examples/analyze-bundles/README.md | 4 ++-- .../README.md | 2 +- .../apollo/client.js | 2 +- .../api-routes-apollo-server-and-client/README.md | 2 +- .../apollo/client.js | 2 +- examples/api-routes-apollo-server/README.md | 6 +++--- examples/api-routes-cors/README.md | 2 +- examples/api-routes-graphql/README.md | 4 ++-- examples/api-routes-middleware/README.md | 4 ++-- examples/api-routes-rest/README.md | 4 ++-- examples/api-routes/README.md | 2 +- examples/auth0/README.md | 2 +- examples/basic-css/README.md | 4 ++-- examples/basic-export/README.md | 2 +- examples/blog-starter-typescript/README.md | 8 ++++---- .../blog-starter-typescript/components/alert.tsx | 2 +- .../blog-starter-typescript/components/footer.tsx | 2 +- examples/blog-starter/README.md | 4 ++-- examples/blog-starter/components/alert.js | 2 +- examples/blog-starter/components/footer.js | 2 +- examples/catch-all-routes/README.md | 2 +- examples/cms-contentful/README.md | 4 ++-- examples/cms-contentful/components/alert.js | 2 +- examples/cms-contentful/components/footer.js | 2 +- examples/cms-datocms/README.md | 4 ++-- examples/cms-datocms/components/alert.js | 2 +- examples/cms-datocms/components/footer.js | 2 +- examples/cms-prismic/README.md | 4 ++-- examples/cms-prismic/components/alert.js | 2 +- examples/cms-prismic/components/footer.js | 2 +- examples/cms-sanity/README.md | 4 ++-- examples/cms-sanity/components/alert.js | 2 +- examples/cms-sanity/components/footer.js | 2 +- examples/cms-takeshape/README.md | 4 ++-- examples/cms-takeshape/components/alert.js | 2 +- examples/cms-takeshape/components/footer.js | 2 +- examples/custom-server-actionhero/README.md | 2 +- examples/custom-server-express/README.md | 4 ++-- examples/custom-server-fastify/README.md | 4 ++-- examples/custom-server-hapi/README.md | 4 ++-- examples/custom-server-koa/README.md | 2 +- examples/custom-server-polka/README.md | 4 ++-- examples/custom-server-typescript/README.md | 2 +- examples/custom-server/README.md | 4 ++-- examples/data-fetch/README.md | 2 +- examples/data-fetch/pages/index.js | 2 +- examples/dynamic-routing/README.md | 2 +- examples/gh-pages/README.md | 4 ++-- examples/head-elements/README.md | 2 +- examples/hello-world/README.md | 2 +- examples/layout-component/README.md | 2 +- examples/nested-components/README.md | 2 +- examples/page-transitions/README.md | 2 +- examples/parameterized-routing/README.md | 2 +- examples/progressive-render/README.md | 2 +- examples/ssr-caching/README.md | 4 ++-- examples/svg-components/README.md | 2 +- examples/using-preact/README.md | 2 +- examples/using-router/README.md | 2 +- examples/with-absolute-imports/README.md | 2 +- .../with-algolia-react-instantsearch/README.md | 2 +- examples/with-ant-design-less/README.md | 2 +- examples/with-ant-design-mobile/README.md | 2 +- examples/with-ant-design-pro-layout-less/README.md | 2 +- examples/with-ant-design/README.md | 2 +- examples/with-aphrodite/README.md | 2 +- examples/with-apollo-and-redux/README.md | 4 ++-- examples/with-apollo-and-redux/lib/apollo.js | 2 +- examples/with-apollo/README.md | 2 +- examples/with-apollo/pages/about.js | 4 ++-- examples/with-app-layout/README.md | 2 +- examples/with-astroturf/README.md | 2 +- examples/with-aws-amplify-typescript/README.md | 4 ++-- examples/with-aws-amplify/README.md | 4 ++-- examples/with-babel-macros/README.md | 2 +- examples/with-carbon-components/README.md | 2 +- examples/with-cerebral/README.md | 4 ++-- examples/with-chakra-ui/README.md | 2 +- examples/with-chakra-ui/src/components/CTA.js | 2 +- examples/with-context-api/README.md | 2 +- examples/with-cookie-auth-fauna/README.md | 6 +++--- examples/with-cookie-auth/README.md | 8 ++++---- examples/with-custom-babel-config/README.md | 2 +- examples/with-custom-reverse-proxy/README.md | 4 ++-- examples/with-cxs/README.md | 2 +- examples/with-docker/README.md | 2 +- examples/with-dotenv/README.md | 2 +- examples/with-draft-js/README.md | 2 +- examples/with-dynamic-app-layout/README.md | 2 +- examples/with-dynamic-import/README.md | 2 +- examples/with-electron-typescript/README.md | 2 +- examples/with-electron/README.md | 2 +- examples/with-emotion-11/README.md | 4 ++-- examples/with-emotion/README.md | 4 ++-- examples/with-env-from-next-config-js/README.md | 2 +- examples/with-expo-typescript/README.md | 4 ++-- examples/with-expo/README.md | 2 +- examples/with-fela/README.md | 2 +- examples/with-firebase-authentication/README.md | 2 +- .../pages/_document.js | 4 ++-- .../utils/auth/firebaseSessionHandler.js | 2 +- .../utils/auth/logout.js | 2 +- .../utils/pageWrappers/withAuthUser.js | 2 +- examples/with-firebase-cloud-messaging/README.md | 2 +- examples/with-firebase-hosting/README.md | 4 ++-- examples/with-firebase/README.md | 2 +- examples/with-flow/README.md | 2 +- examples/with-framer-motion/README.md | 2 +- examples/with-glamor/README.md | 2 +- examples/with-glamorous/readme.md | 2 +- examples/with-google-analytics-amp/README.md | 4 ++-- examples/with-google-analytics/README.md | 4 ++-- examples/with-graphql-faunadb/README.md | 2 +- examples/with-graphql-hooks/README.md | 2 +- examples/with-graphql-react/README.md | 4 ++-- examples/with-grommet/README.md | 4 ++-- examples/with-hls-js/README.md | 2 +- examples/with-http2/README.md | 2 +- examples/with-i18n-rosetta/README.md | 2 +- examples/with-iron-session/README.md | 2 +- examples/with-jest/README.md | 2 +- .../__tests__/__snapshots__/snapshot.js.snap | 6 +++--- examples/with-jest/pages/index.js | 2 +- examples/with-kea/README.md | 2 +- examples/with-linaria/README.md | 2 +- examples/with-lingui/README.md | 2 +- examples/with-loading/README.md | 2 +- examples/with-magic/README.md | 4 ++-- examples/with-markdown/README.md | 2 +- examples/with-mdx/README.md | 2 +- examples/with-mobx-react-lite/README.md | 4 ++-- examples/with-mobx-state-tree-typescript/README.md | 4 ++-- examples/with-mobx-state-tree/README.md | 2 +- examples/with-mobx/README.md | 2 +- examples/with-mocha/README.md | 4 ++-- examples/with-monaco-editor/README.md | 4 ++-- examples/with-mux-video/README.md | 4 ++-- examples/with-mux-video/components/upload-page.js | 2 +- examples/with-mux-video/pages/v/[id].js | 2 +- examples/with-netlify-cms/README.md | 2 +- examples/with-next-css/README.md | 2 +- examples/with-next-less/README.md | 2 +- examples/with-next-offline/README.md | 2 +- examples/with-next-page-transitions/README.md | 2 +- examples/with-next-sass/README.md | 2 +- examples/with-next-seo/README.md | 2 +- examples/with-now-env/README.md | 2 +- examples/with-orbit-components/README.md | 4 ++-- examples/with-overmind/README.md | 2 +- examples/with-passport-and-next-connect/README.md | 2 +- examples/with-passport/README.md | 6 +++--- examples/with-patternfly/README.md | 2 +- examples/with-polyfills/README.md | 4 ++-- examples/with-polyfills/client/polyfills.js | 2 +- examples/with-portals-ssr/README.md | 2 +- examples/with-portals/README.md | 2 +- examples/with-prefetching/README.md | 2 +- examples/with-quill-js/README.md | 2 +- examples/with-rbx-bulma-pro/README.md | 2 +- examples/with-rbx-bulma-pro/pages/index.js | 6 +++--- examples/with-react-bootstrap/README.md | 2 +- examples/with-react-bootstrap/pages/index.jsx | 2 +- examples/with-react-ga/README.md | 4 ++-- examples/with-react-helmet/README.md | 2 +- examples/with-react-intl/README.md | 6 +++--- examples/with-react-intl/server.js | 4 ++-- examples/with-react-jss/README.md | 2 +- examples/with-react-md/README.md | 2 +- examples/with-react-multi-carousel/README.md | 4 ++-- examples/with-react-native-web/README.md | 2 +- examples/with-react-relay-network-modern/README.md | 2 +- examples/with-react-toolbox/README.md | 2 +- examples/with-react-with-styles/README.md | 4 ++-- examples/with-reason-relay/README.md | 6 +++--- examples/with-reasonml-todo/README.md | 2 +- examples/with-reasonml/README.md | 2 +- examples/with-rebass/README.md | 2 +- examples/with-rebass/pages/index.js | 2 +- examples/with-redux-code-splitting/README.md | 2 +- examples/with-redux-observable/README.md | 4 ++-- examples/with-redux-persist/README.md | 4 ++-- examples/with-redux-saga/README.md | 4 ++-- examples/with-redux-thunk/README.md | 2 +- examples/with-redux-toolkit/README.md | 2 +- examples/with-redux-wrapper/README.md | 2 +- examples/with-redux/README.md | 2 +- examples/with-reflux/README.md | 4 ++-- examples/with-relay-modern/README.md | 2 +- examples/with-rematch/README.md | 4 ++-- examples/with-route-as-modal/README.md | 2 +- examples/with-segment-analytics/README.md | 2 +- examples/with-semantic-ui/README.md | 2 +- examples/with-sentry-simple/README.md | 4 ++-- examples/with-sentry-simple/pages/_app.js | 2 +- examples/with-sentry-simple/pages/_error.js | 4 ++-- examples/with-sentry/README.md | 2 +- examples/with-shallow-routing/README.md | 2 +- examples/with-slate/README.md | 4 ++-- examples/with-static-export/README.md | 2 +- examples/with-stencil/README.md | 2 +- examples/with-stitches-styled/README.md | 4 ++-- examples/with-stitches/README.md | 4 ++-- examples/with-stomp/README.md | 2 +- examples/with-storybook/README.md | 2 +- examples/with-strict-csp-hash/README.md | 2 +- examples/with-strict-csp/README.md | 4 ++-- examples/with-stripe-typescript/README.md | 2 +- .../with-stripe-typescript/components/Layout.tsx | 2 +- examples/with-style-sheet/README.md | 2 +- examples/with-styled-components-rtl/README.md | 2 +- examples/with-styled-components/README.md | 4 ++-- examples/with-styled-jsx-plugins/README.md | 2 +- examples/with-styled-jsx-postcss/README.md | 2 +- examples/with-styled-jsx-scss/README.md | 2 +- examples/with-styletron/README.md | 2 +- examples/with-sw-precache/README.md | 2 +- examples/with-tailwindcss-emotion/README.md | 4 ++-- examples/with-tailwindcss/README.md | 2 +- examples/with-tailwindcss/components/nav.js | 2 +- examples/with-three-js/README.md | 2 +- examples/with-typescript-eslint-jest/README.md | 6 +++--- .../with-typescript-eslint-jest/pages/index.tsx | 2 +- .../test/pages/__snapshots__/index.test.tsx.snap | 8 ++++---- examples/with-typescript-graphql/README.md | 4 ++-- .../with-typescript-graphql/lib/with-apollo.tsx | 2 +- .../with-typescript-styled-components/README.md | 6 +++--- examples/with-typescript/README.md | 2 +- examples/with-typestyle/README.md | 4 ++-- .../README.md | 2 +- .../with-universal-configuration-runtime/README.md | 4 ++-- examples/with-unstated/README.md | 2 +- examples/with-urql/README.md | 6 +++--- examples/with-userbase/README.md | 4 ++-- examples/with-videojs/README.md | 2 +- examples/with-webassembly/README.md | 2 +- examples/with-webpack-bundle-analyzer/README.md | 2 +- .../with-webpack-bundle-size-analyzer/README.md | 2 +- examples/with-why-did-you-render/README.md | 6 +++--- examples/with-xstate/README.md | 2 +- examples/with-yarn-workspaces/README.md | 2 +- examples/with-zeit-fetch/README.md | 2 +- examples/with-zeit-fetch/pages/index.js | 2 +- examples/with-zones/README.md | 2 +- packages/create-next-app/README.md | 2 +- packages/create-next-app/helpers/examples.ts | 4 ++-- packages/create-next-app/package.json | 2 +- .../templates/default/README-template.md | 4 ++-- .../templates/default/pages/index.js | 2 +- packages/eslint-plugin-next/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-mdx/readme.md | 2 +- packages/next-plugin-google-analytics/package.json | 2 +- packages/next-plugin-material-ui/package.json | 2 +- packages/next-plugin-sentry/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next/README.md | 4 ++-- packages/next/bin/next.ts | 2 +- .../next/build/babel/plugins/next-page-config.ts | 2 +- packages/next/build/generate-build-id.ts | 2 +- packages/next/build/index.ts | 14 +++++++------- packages/next/build/output/store.ts | 2 +- packages/next/build/utils.ts | 2 +- packages/next/build/webpack-config.ts | 8 ++++---- packages/next/client/link.tsx | 2 +- packages/next/client/next-dev.js | 2 +- packages/next/client/page-loader.js | 2 +- packages/next/export/index.ts | 6 +++--- packages/next/export/worker.ts | 2 +- packages/next/lib/check-custom-routes.ts | 4 ++-- packages/next/lib/constants.ts | 2 +- packages/next/next-server/lib/dynamic.tsx | 2 +- packages/next/next-server/lib/router/router.ts | 8 ++++---- packages/next/next-server/lib/utils.ts | 4 ++-- packages/next/next-server/server/config.ts | 8 ++++---- packages/next/next-server/server/next-server.ts | 2 +- packages/next/next-server/server/render.tsx | 6 +++--- packages/next/next-server/server/router.ts | 2 +- packages/next/package.json | 4 ++-- packages/next/pages/_app.tsx | 4 ++-- packages/next/pages/_document.tsx | 4 ++-- packages/next/server/next-dev-server.ts | 8 ++++---- packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- test/.stats-app/stats-config.js | 2 +- test/acceptance/ReactRefreshRegression.test.js | 2 +- test/integration/api-support/test/index.test.js | 2 +- test/integration/app-document/test/rendering.js | 2 +- .../client-navigation/test/rendering.js | 2 +- test/integration/config-empty/test/index.test.js | 4 ++-- .../config-promise-error/test/index.test.js | 4 ++-- .../with-tailwindcss-and-purgecss/pages/index.js | 2 +- .../export-serverless/test/api-routes.js | 2 +- test/integration/export-serverless/test/dynamic.js | 2 +- test/integration/export/test/api-routes.js | 2 +- test/integration/export/test/dynamic.js | 2 +- .../invalid-custom-routes/test/index.test.js | 6 +++--- test/integration/invalid-href/test/index.test.js | 2 +- .../invalid-multi-match/test/index.test.js | 4 +++- .../no-override-next-props/test/index.test.js | 2 +- test/integration/page-config/test/index.test.js | 10 +++++----- test/integration/production/test/index.test.js | 6 +++--- .../with-tailwindcss-and-purgecss/pages/index.js | 2 +- test/unit/loadGetInitialProps.test.js | 2 +- 353 files changed, 533 insertions(+), 531 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3ea766fd6d3a1..5cb26d8d1312c 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: Ask a question - url: https://github.com/zeit/next.js/discussions + url: https://github.com/vercel/next.js/discussions about: Ask questions and discuss with other community members diff --git a/.github/actions/next-stats-action/README.md b/.github/actions/next-stats-action/README.md index 074b7ff63ee1f..566a6296a68cc 100644 --- a/.github/actions/next-stats-action/README.md +++ b/.github/actions/next-stats-action/README.md @@ -2,7 +2,7 @@ > Downloads and runs project with provided configs gathering stats to compare branches -See it in action at Next.js https://github.com/zeit/next.js +See it in action at Next.js https://github.com/vercel/next.js ## Getting Started @@ -26,7 +26,7 @@ const StatsConfig = { // the main branch to compare against (what PRs will be merging into) mainBranch: 'canary', // the main repository path (relative to https://github.com/) - mainRepo: 'zeit/next.js', + mainRepo: 'vercel/next.js', // whether to attempt auto merging the main branch into PR before running stats autoMergeMain: boolean | undefined, // an array of configs for each run diff --git a/contributing.md b/contributing.md index bd0398d19bfc9..7bc0271e625f4 100644 --- a/contributing.md +++ b/contributing.md @@ -140,7 +140,7 @@ Deploy the example using [Vercel](https://vercel.com/now): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example DIRECTORY_NAME DIRECTORY_NAME-app diff --git a/docs/advanced-features/amp-support/introduction.md b/docs/advanced-features/amp-support/introduction.md index 89ca03b4b3c00..ed660ee31ce9e 100644 --- a/docs/advanced-features/amp-support/introduction.md +++ b/docs/advanced-features/amp-support/introduction.md @@ -7,7 +7,7 @@ description: With minimal config, and without leaving React, you can start addin
Examples
@@ -21,7 +21,7 @@ To enable AMP support for a page, and to learn more about the different AMP conf ## Caveats -- Only CSS-in-JS is supported. [CSS Modules](/docs/basic-features/built-in-css-support.md) aren't supported by AMP pages at the moment. You can [contribute CSS Modules support to Next.js](https://github.com/zeit/next.js/issues/10549). +- Only CSS-in-JS is supported. [CSS Modules](/docs/basic-features/built-in-css-support.md) aren't supported by AMP pages at the moment. You can [contribute CSS Modules support to Next.js](https://github.com/vercel/next.js/issues/10549). ## Related diff --git a/docs/advanced-features/custom-error-page.md b/docs/advanced-features/custom-error-page.md index 8c7f964a65e06..f32c7928d1c58 100644 --- a/docs/advanced-features/custom-error-page.md +++ b/docs/advanced-features/custom-error-page.md @@ -56,7 +56,7 @@ If you want to render the built-in error page you can by importing the `Error` c import Error from 'next/error' export async function getServerSideProps() { - const res = await fetch('https://api.github.com/repos/zeit/next.js') + const res = await fetch('https://api.github.com/repos/vercel/next.js') const errorCode = res.ok ? false : res.statusCode const json = await res.json() diff --git a/docs/advanced-features/custom-server.md b/docs/advanced-features/custom-server.md index 64ee51cef6652..928fd5098aa51 100644 --- a/docs/advanced-features/custom-server.md +++ b/docs/advanced-features/custom-server.md @@ -7,11 +7,11 @@ description: Start a Next.js app programmatically using a custom server.
Examples
diff --git a/docs/advanced-features/customizing-babel-config.md b/docs/advanced-features/customizing-babel-config.md index ac2693a55597c..c0c4db96aa9bd 100644 --- a/docs/advanced-features/customizing-babel-config.md +++ b/docs/advanced-features/customizing-babel-config.md @@ -7,7 +7,7 @@ description: Extend the babel preset added by Next.js with your own configs.
Examples
diff --git a/docs/advanced-features/customizing-postcss-config.md b/docs/advanced-features/customizing-postcss-config.md index b5e2e2e0968a2..be56de56eb2b9 100644 --- a/docs/advanced-features/customizing-postcss-config.md +++ b/docs/advanced-features/customizing-postcss-config.md @@ -7,7 +7,7 @@ description: Extend the PostCSS config and plugins added by Next.js with your ow
Examples
diff --git a/docs/advanced-features/dynamic-import.md b/docs/advanced-features/dynamic-import.md index bfab9f15eacb2..b6ef8e5122e2d 100644 --- a/docs/advanced-features/dynamic-import.md +++ b/docs/advanced-features/dynamic-import.md @@ -7,7 +7,7 @@ description: Dynamically import JavaScript modules and React Components and spli
Examples
diff --git a/docs/advanced-features/preview-mode.md b/docs/advanced-features/preview-mode.md index caaf266ffeaba..9a5d195a8a6f2 100644 --- a/docs/advanced-features/preview-mode.md +++ b/docs/advanced-features/preview-mode.md @@ -9,11 +9,11 @@ description: Next.js has the preview mode for statically generated pages. You ca
Examples
diff --git a/docs/advanced-features/static-html-export.md b/docs/advanced-features/static-html-export.md index 1f2085fb26a9c..becfd255d69ed 100644 --- a/docs/advanced-features/static-html-export.md +++ b/docs/advanced-features/static-html-export.md @@ -7,7 +7,7 @@ description: Export your Next.js app to static HTML, and run it standalone witho
Examples
diff --git a/docs/api-reference/data-fetching/getInitialProps.md b/docs/api-reference/data-fetching/getInitialProps.md index 651a8c5cdc42b..d4590c9e797d8 100644 --- a/docs/api-reference/data-fetching/getInitialProps.md +++ b/docs/api-reference/data-fetching/getInitialProps.md @@ -14,7 +14,7 @@ description: Enable Server-Side Rendering in a page and do initial data populati
Examples
@@ -30,7 +30,7 @@ function Page({ stars }) { } Page.getInitialProps = async (ctx) => { - const res = await fetch('https://api.github.com/repos/zeit/next.js') + const res = await fetch('https://api.github.com/repos/vercel/next.js') const json = await res.json() return { stars: json.stargazers_count } } @@ -45,7 +45,7 @@ import React from 'react' class Page extends React.Component { static async getInitialProps(ctx) { - const res = await fetch('https://api.github.com/repos/zeit/next.js') + const res = await fetch('https://api.github.com/repos/vercel/next.js') const json = await res.json() return { stars: json.stargazers_count } } diff --git a/docs/api-reference/next.config.js/cdn-support-with-asset-prefix.md b/docs/api-reference/next.config.js/cdn-support-with-asset-prefix.md index 7b6435c1eba30..0f04a3de29d39 100644 --- a/docs/api-reference/next.config.js/cdn-support-with-asset-prefix.md +++ b/docs/api-reference/next.config.js/cdn-support-with-asset-prefix.md @@ -17,7 +17,7 @@ module.exports = { } ``` -Next.js will automatically use your prefix in the scripts it loads, but this has no effect whatsoever on the [public](/docs/basic-features/static-file-serving.md) folder; if you want to serve those assets over a CDN, you'll have to introduce the prefix yourself. One way of introducing a prefix that works inside your components and varies by environment is documented [in this example](https://github.com/zeit/next.js/tree/canary/examples/with-universal-configuration-build-time). +Next.js will automatically use your prefix in the scripts it loads, but this has no effect whatsoever on the [public](/docs/basic-features/static-file-serving.md) folder; if you want to serve those assets over a CDN, you'll have to introduce the prefix yourself. One way of introducing a prefix that works inside your components and varies by environment is documented [in this example](https://github.com/vercel/next.js/tree/canary/examples/with-universal-configuration-build-time). ## Related diff --git a/docs/api-reference/next.config.js/custom-page-extensions.md b/docs/api-reference/next.config.js/custom-page-extensions.md index 54fc78f6f9ba3..436af982cc58f 100644 --- a/docs/api-reference/next.config.js/custom-page-extensions.md +++ b/docs/api-reference/next.config.js/custom-page-extensions.md @@ -4,7 +4,7 @@ description: Extend the default page extensions used by Next.js when resolving p # Custom Page Extensions -Aimed at modules like [@next/mdx](https://github.com/zeit/next.js/tree/canary/packages/next-mdx), which adds support for pages ending with `.mdx`. You can configure the extensions looked for in the `pages` directory when resolving pages. +Aimed at modules like [@next/mdx](https://github.com/vercel/next.js/tree/canary/packages/next-mdx), which adds support for pages ending with `.mdx`. You can configure the extensions looked for in the `pages` directory when resolving pages. Open `next.config.js` and add the `pageExtensions` config: diff --git a/docs/api-reference/next.config.js/custom-webpack-config.md b/docs/api-reference/next.config.js/custom-webpack-config.md index b4d0f2f3931ec..618bafe42790a 100644 --- a/docs/api-reference/next.config.js/custom-webpack-config.md +++ b/docs/api-reference/next.config.js/custom-webpack-config.md @@ -10,8 +10,8 @@ Some commonly asked for features are available as plugins: - [@zeit/next-less](https://github.com/zeit/next-plugins/tree/master/packages/next-less) - [@zeit/next-stylus](https://github.com/zeit/next-plugins/tree/master/packages/next-stylus) - [@zeit/next-preact](https://github.com/zeit/next-plugins/tree/master/packages/next-preact) -- [@next/mdx](https://github.com/zeit/next.js/tree/canary/packages/next-mdx) -- [@next/bundle-analyzer](https://github.com/zeit/next.js/tree/canary/packages/next-bundle-analyzer) +- [@next/mdx](https://github.com/vercel/next.js/tree/canary/packages/next-mdx) +- [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/canary/packages/next-bundle-analyzer) In order to extend our usage of `webpack`, you can define a function that extends its config inside `next.config.js`, like so: @@ -47,7 +47,7 @@ Example usage of `defaultLoaders.babel`: ```js // Example config for adding a loader that depends on babel-loader // This source was taken from the @next/mdx plugin source: -// https://github.com/zeit/next.js/tree/canary/packages/next-mdx +// https://github.com/vercel/next.js/tree/canary/packages/next-mdx module.exports = { webpack: (config, options) => { config.module.rules.push({ diff --git a/docs/api-reference/next.config.js/environment-variables.md b/docs/api-reference/next.config.js/environment-variables.md index 38b7ecc3cc774..9a3536fa0c9b3 100644 --- a/docs/api-reference/next.config.js/environment-variables.md +++ b/docs/api-reference/next.config.js/environment-variables.md @@ -9,8 +9,8 @@ description: Learn to add and access environment variables in your Next.js appli
Examples
diff --git a/docs/api-reference/next.config.js/exportPathMap.md b/docs/api-reference/next.config.js/exportPathMap.md index b8f560c7863ee..1e87499a33065 100644 --- a/docs/api-reference/next.config.js/exportPathMap.md +++ b/docs/api-reference/next.config.js/exportPathMap.md @@ -9,7 +9,7 @@ description: Customize the pages that will be exported as HTML files when using
Examples
diff --git a/docs/api-reference/next.config.js/introduction.md b/docs/api-reference/next.config.js/introduction.md index e9fd3f681694f..effff047f1315 100644 --- a/docs/api-reference/next.config.js/introduction.md +++ b/docs/api-reference/next.config.js/introduction.md @@ -26,7 +26,7 @@ module.exports = (phase, { defaultConfig }) => { } ``` -`phase` is the current context in which the configuration is loaded. You can see the available phases [here](https://github.com/zeit/next.js/blob/canary/packages/next/next-server/lib/constants.ts#L1-L4). Phases can be imported from `next/constants`: +`phase` is the current context in which the configuration is loaded. You can see the available phases [here](https://github.com/vercel/next.js/blob/canary/packages/next/next-server/lib/constants.ts#L1-L4). Phases can be imported from `next/constants`: ```js const { PHASE_DEVELOPMENT_SERVER } = require('next/constants') @@ -44,7 +44,7 @@ module.exports = (phase, { defaultConfig }) => { } ``` -The commented lines are the place where you can put the configs allowed by `next.config.js`, which are defined [here](https://github.com/zeit/next.js/blob/canary/packages/next/next-server/server/config.ts#L12-L63). +The commented lines are the place where you can put the configs allowed by `next.config.js`, which are defined [here](https://github.com/vercel/next.js/blob/canary/packages/next/next-server/server/config.ts#L12-L63). However, none of the configs are required, and it's not necessary to understand what each config does, instead, search for the features you need to enable or modify in this section and they will show you what to do. diff --git a/docs/api-reference/next/amp.md b/docs/api-reference/next/amp.md index ec0570e1b8776..2e58efb82dcee 100644 --- a/docs/api-reference/next/amp.md +++ b/docs/api-reference/next/amp.md @@ -7,7 +7,7 @@ description: Enable AMP in a page, and control the way Next.js adds AMP to the p
Examples
diff --git a/docs/api-reference/next/head.md b/docs/api-reference/next/head.md index 4011d8c26595f..b642c18cd5761 100644 --- a/docs/api-reference/next/head.md +++ b/docs/api-reference/next/head.md @@ -7,8 +7,8 @@ description: Add custom elements to the `head` of your page with the built-in He
Examples
diff --git a/docs/api-reference/next/link.md b/docs/api-reference/next/link.md index 32deb3222149c..ed670bc9936c2 100644 --- a/docs/api-reference/next/link.md +++ b/docs/api-reference/next/link.md @@ -7,7 +7,7 @@ description: Enable client-side transitions between routes with the built-in Lin
Examples
diff --git a/docs/api-reference/next/router.md b/docs/api-reference/next/router.md index fef98d09c337d..b22afe6137ca8 100644 --- a/docs/api-reference/next/router.md +++ b/docs/api-reference/next/router.md @@ -70,7 +70,7 @@ The API of `Router`, exported by `next/router`, is defined below.
Examples
@@ -260,7 +260,7 @@ Router.reload()
Examples
diff --git a/docs/api-routes/api-middlewares.md b/docs/api-routes/api-middlewares.md index 3c7cfe92f16b0..78c75b95cf0f6 100644 --- a/docs/api-routes/api-middlewares.md +++ b/docs/api-routes/api-middlewares.md @@ -7,8 +7,8 @@ description: API Routes provide built-in middlewares that parse the incoming r
Examples
@@ -115,4 +115,4 @@ async function handler(req, res) { export default handler ``` -> Go to the [API Routes with CORS](https://github.com/zeit/next.js/tree/canary/examples/api-routes-cors) example to see the finished app +> Go to the [API Routes with CORS](https://github.com/vercel/next.js/tree/canary/examples/api-routes-cors) example to see the finished app diff --git a/docs/api-routes/dynamic-api-routes.md b/docs/api-routes/dynamic-api-routes.md index 1151e787df172..c8204455d1d87 100644 --- a/docs/api-routes/dynamic-api-routes.md +++ b/docs/api-routes/dynamic-api-routes.md @@ -7,7 +7,7 @@ description: You can add the dynamic routes used for pages to API Routes too. Le
Examples
diff --git a/docs/api-routes/introduction.md b/docs/api-routes/introduction.md index d4790a64ea301..eac86c6ab3db0 100644 --- a/docs/api-routes/introduction.md +++ b/docs/api-routes/introduction.md @@ -7,11 +7,11 @@ description: Next.js supports API Routes, which allow you to build your API with
Examples
diff --git a/docs/api-routes/response-helpers.md b/docs/api-routes/response-helpers.md index eea61027a291b..93fd1623f03ea 100644 --- a/docs/api-routes/response-helpers.md +++ b/docs/api-routes/response-helpers.md @@ -7,8 +7,8 @@ description: API Routes include a set of Express.js-like methods for the respons
Examples
diff --git a/docs/basic-features/built-in-css-support.md b/docs/basic-features/built-in-css-support.md index f4a597a73748b..4b2598ba26d4d 100644 --- a/docs/basic-features/built-in-css-support.md +++ b/docs/basic-features/built-in-css-support.md @@ -139,13 +139,13 @@ Error: Cannot find module 'less'
Examples
diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index bacb541bc2de4..d141416accb62 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -9,12 +9,12 @@ description: 'Next.js has 2 pre-rendering modes: Static Generation and Server-si
Examples
diff --git a/docs/basic-features/pages.md b/docs/basic-features/pages.md index a9ca3677c5c22..dbf2f144a4655 100644 --- a/docs/basic-features/pages.md +++ b/docs/basic-features/pages.md @@ -48,12 +48,12 @@ Finally, you can always use **Client-side Rendering** along with Static Generati
Examples
diff --git a/docs/basic-features/typescript.md b/docs/basic-features/typescript.md index 29e3945878f21..56b8da646beb2 100644 --- a/docs/basic-features/typescript.md +++ b/docs/basic-features/typescript.md @@ -7,7 +7,7 @@ description: Next.js supports TypeScript by default and has built-in types for p
Examples
diff --git a/docs/faq.md b/docs/faq.md index a6308ff94ebf6..130f9dff79f97 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -8,7 +8,7 @@ description: Get to know more about Next.js with the frequently asked questions. What browsers are supported?

Next.js supports IE11 and all modern browsers out of the box using @babel/preset-env. In order to support IE11 Next.js adds a global Promise polyfill.

-

In cases where your own code or any external npm dependencies you are using require features not supported by your target browsers you will need to implement polyfills. If you need to implement polyfills, the polyfills example demonstrates the recommended approach.

+

In cases where your own code or any external npm dependencies you are using require features not supported by your target browsers you will need to implement polyfills. If you need to implement polyfills, the polyfills example demonstrates the recommended approach.

@@ -51,12 +51,12 @@ description: Get to know more about Next.js with the frequently asked questions.
Can I use it with GraphQL? -

Yes! Here's an example with Apollo.

+

Yes! Here's an example with Apollo.

Can I use it with Redux? -

Yes! Here's an example. And there's another example with thunk.

+

Yes! Here's an example. And there's another example with thunk.

@@ -66,7 +66,7 @@ description: Get to know more about Next.js with the frequently asked questions.
Can I use Next with my favorite JavaScript library or toolkit? -

Since our first release we've had many example contributions. You can check them out in the examples directory.

+

Since our first release we've had many example contributions. You can check them out in the examples directory.

diff --git a/docs/getting-started.md b/docs/getting-started.md index 47b5218072e2e..32440f9c42cc6 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -10,7 +10,7 @@ If you're new to Next.js we recommend that you start with the [learn course](htt The interactive course with quizzes will guide you through everything you need to know to use Next.js. -If you have questions about anything related to Next.js, you're always welcome to ask our community on [GitHub Discussions](https://github.com/zeit/next.js/discussions). +If you have questions about anything related to Next.js, you're always welcome to ask our community on [GitHub Discussions](https://github.com/vercel/next.js/discussions). #### System Requirements diff --git a/docs/routing/dynamic-routes.md b/docs/routing/dynamic-routes.md index 2f2126775008f..f67edd6ee3cd7 100644 --- a/docs/routing/dynamic-routes.md +++ b/docs/routing/dynamic-routes.md @@ -7,7 +7,7 @@ description: Dynamic Routes are pages that allow you to add custom params to you
Examples
@@ -61,7 +61,7 @@ Client-side navigations to a dynamic route can be handled with [`next/link`](/do
Examples
diff --git a/docs/routing/imperatively.md b/docs/routing/imperatively.md index f555132a0c5bd..ba4659d889f28 100644 --- a/docs/routing/imperatively.md +++ b/docs/routing/imperatively.md @@ -7,7 +7,7 @@ description: Client-side navigations are also possible using the Router API inst
Examples
diff --git a/docs/routing/introduction.md b/docs/routing/introduction.md index 9fa8c94dca834..e16af502457c6 100644 --- a/docs/routing/introduction.md +++ b/docs/routing/introduction.md @@ -107,7 +107,7 @@ function Home({ posts }) {
Examples
diff --git a/docs/routing/shallow-routing.md b/docs/routing/shallow-routing.md index bd4246d8e83ff..9aa21feae566b 100644 --- a/docs/routing/shallow-routing.md +++ b/docs/routing/shallow-routing.md @@ -7,7 +7,7 @@ description: You can use shallow routing to change the URL without triggering a
Examples
diff --git a/errors/cant-override-next-props.md b/errors/cant-override-next-props.md index 35bfc02c82f09..3a3773dc46575 100644 --- a/errors/cant-override-next-props.md +++ b/errors/cant-override-next-props.md @@ -10,4 +10,4 @@ Look in your \_app.js component's `getInitialProps` function and make sure neith ### Useful Links -- [The issue this was reported in: #6480](https://github.com/zeit/next.js/issues/6480) +- [The issue this was reported in: #6480](https://github.com/vercel/next.js/issues/6480) diff --git a/errors/config-resolve-alias.md b/errors/config-resolve-alias.md index feacf2e3a62eb..4c2c88aa1fcf4 100644 --- a/errors/config-resolve-alias.md +++ b/errors/config-resolve-alias.md @@ -19,4 +19,4 @@ webpack(config) { ### Useful Links -- [Related issue](https://github.com/zeit/next.js/issues/6681) +- [Related issue](https://github.com/vercel/next.js/issues/6681) diff --git a/errors/css-modules-npm.md b/errors/css-modules-npm.md index c7d86dcd95120..20fe4a579b7cc 100644 --- a/errors/css-modules-npm.md +++ b/errors/css-modules-npm.md @@ -21,4 +21,4 @@ imported by you, in your application. --- If this is **first party code**, try -[including said monorepo package in the compilation pipeline](https://github.com/zeit/next.js/tree/canary/examples/with-yarn-workspaces). +[including said monorepo package in the compilation pipeline](https://github.com/vercel/next.js/tree/canary/examples/with-yarn-workspaces). diff --git a/errors/doc-crossorigin-deprecated.md b/errors/doc-crossorigin-deprecated.md index 48b99e30013d4..86f16c09794b4 100644 --- a/errors/doc-crossorigin-deprecated.md +++ b/errors/doc-crossorigin-deprecated.md @@ -17,4 +17,4 @@ module.exports = { ### Useful Links -- [The issue this was reported in: #5674](https://github.com/zeit/next.js/issues/5674) +- [The issue this was reported in: #5674](https://github.com/vercel/next.js/issues/5674) diff --git a/errors/invalid-resolve-alias.md b/errors/invalid-resolve-alias.md index feacf2e3a62eb..4c2c88aa1fcf4 100644 --- a/errors/invalid-resolve-alias.md +++ b/errors/invalid-resolve-alias.md @@ -19,4 +19,4 @@ webpack(config) { ### Useful Links -- [Related issue](https://github.com/zeit/next.js/issues/6681) +- [Related issue](https://github.com/vercel/next.js/issues/6681) diff --git a/errors/no-document-title.md b/errors/no-document-title.md index 62a3cc5d88b0f..9797164040a71 100644 --- a/errors/no-document-title.md +++ b/errors/no-document-title.md @@ -42,4 +42,4 @@ export default class MyApp extends App { ### Useful Links -- [The issue this was reported in: #4596](https://github.com/zeit/next.js/issues/4596) +- [The issue this was reported in: #4596](https://github.com/vercel/next.js/issues/4596) diff --git a/errors/no-on-app-updated-hook.md b/errors/no-on-app-updated-hook.md index 4b6463b0ffa12..5437cef9d4f71 100644 --- a/errors/no-on-app-updated-hook.md +++ b/errors/no-on-app-updated-hook.md @@ -1,6 +1,6 @@ # Router.onAppUpdated is removed -Due to [this bug fix](https://github.com/zeit/next.js/pull/3849), we had to remove the `Router.onAppUpdated` hook. But the default functionality of this feature is still in effect. +Due to [this bug fix](https://github.com/vercel/next.js/pull/3849), we had to remove the `Router.onAppUpdated` hook. But the default functionality of this feature is still in effect. We use this hook to detect a new app deployment when switching pages and act accordingly. Although there are many things you can do in this hook, it's often used to navigate the page via the server as shown below: diff --git a/errors/popstate-state-empty.md b/errors/popstate-state-empty.md index 433adc2287a5a..1268e15c0b036 100644 --- a/errors/popstate-state-empty.md +++ b/errors/popstate-state-empty.md @@ -11,4 +11,4 @@ The only known cause of this issue is manually manipulating `window.history` ins ### Useful Links -- [The issue this was reported in: #4994](https://github.com/zeit/next.js/issues/4994) +- [The issue this was reported in: #4994](https://github.com/vercel/next.js/issues/4994) diff --git a/examples/active-class-name/README.md b/examples/active-class-name/README.md index fb4e7794a4890..891665503f7d2 100644 --- a/examples/active-class-name/README.md +++ b/examples/active-class-name/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example active-class-name active-class-name-app diff --git a/examples/amp-first/README.md b/examples/amp-first/README.md index 6a40e897fee9d..2f8279f8a3f77 100644 --- a/examples/amp-first/README.md +++ b/examples/amp-first/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example amp-first amp-first-app diff --git a/examples/amp-story/README.md b/examples/amp-story/README.md index a53f6022a089e..1ba7626ec07d9 100644 --- a/examples/amp-story/README.md +++ b/examples/amp-story/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example amp-story amp-app diff --git a/examples/amp/README.md b/examples/amp/README.md index ab772db056d0a..b70a6f0487463 100644 --- a/examples/amp/README.md +++ b/examples/amp/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example amp amp-app diff --git a/examples/analyze-bundles/README.md b/examples/analyze-bundles/README.md index 7a1883dcb1e57..b8610577e50fe 100644 --- a/examples/analyze-bundles/README.md +++ b/examples/analyze-bundles/README.md @@ -1,6 +1,6 @@ # Analyzer Bundles example -This example shows how to analyze the output bundles using [@next/bundle-analyzer](https://github.com/zeit/next.js/tree/master/packages/next-bundle-analyzer) +This example shows how to analyze the output bundles using [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/master/packages/next-bundle-analyzer) ## Deploy your own @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example analyze-bundles analyze-bundles-app diff --git a/examples/api-routes-apollo-server-and-client-auth/README.md b/examples/api-routes-apollo-server-and-client-auth/README.md index 12f18f3573524..b6339fb727757 100644 --- a/examples/api-routes-apollo-server-and-client-auth/README.md +++ b/examples/api-routes-apollo-server-and-client-auth/README.md @@ -13,7 +13,7 @@ https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: ```bash npx create-next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app diff --git a/examples/api-routes-apollo-server-and-client-auth/apollo/client.js b/examples/api-routes-apollo-server-and-client-auth/apollo/client.js index 26a3de067fe62..494f1fdfdacba 100644 --- a/examples/api-routes-apollo-server-and-client-auth/apollo/client.js +++ b/examples/api-routes-apollo-server-and-client-auth/apollo/client.js @@ -127,7 +127,7 @@ function createApolloClient(ctx = {}, initialState = {}) { const ssrMode = typeof window === 'undefined' const cache = new InMemoryCache().restore(initialState) - // Check out https://github.com/zeit/next.js/pull/4611 if you want to use the AWSAppSyncClient + // Check out https://github.com/vercel/next.js/pull/4611 if you want to use the AWSAppSyncClient return new ApolloClient({ ssrMode, link: createIsomorphLink(ctx), diff --git a/examples/api-routes-apollo-server-and-client/README.md b/examples/api-routes-apollo-server-and-client/README.md index b1473790c3a61..7c93f06e9038f 100644 --- a/examples/api-routes-apollo-server-and-client/README.md +++ b/examples/api-routes-apollo-server-and-client/README.md @@ -13,7 +13,7 @@ https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app diff --git a/examples/api-routes-apollo-server-and-client/apollo/client.js b/examples/api-routes-apollo-server-and-client/apollo/client.js index 908471d6347d4..8595ed32489e1 100644 --- a/examples/api-routes-apollo-server-and-client/apollo/client.js +++ b/examples/api-routes-apollo-server-and-client/apollo/client.js @@ -125,7 +125,7 @@ function createApolloClient(initialState = {}) { const ssrMode = typeof window === 'undefined' const cache = new InMemoryCache().restore(initialState) - // Check out https://github.com/zeit/next.js/pull/4611 if you want to use the AWSAppSyncClient + // Check out https://github.com/vercel/next.js/pull/4611 if you want to use the AWSAppSyncClient return new ApolloClient({ ssrMode, link: createIsomorphLink(), diff --git a/examples/api-routes-apollo-server/README.md b/examples/api-routes-apollo-server/README.md index cb918e168f036..027200af8e724 100644 --- a/examples/api-routes-apollo-server/README.md +++ b/examples/api-routes-apollo-server/README.md @@ -6,13 +6,13 @@ Next.js ships with two forms of pre-rendering: [Static Generation](https://nextj Deploy the example using [Vercel](https://vercel.com): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/api-routes-apollo-server) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/api-routes-apollo-server) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes-apollo-server api-routes-apollo-server-app @@ -25,7 +25,7 @@ yarn create next-app --example api-routes-apollo-server api-routes-apollo-server Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/api-routes-apollo-server +curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/api-routes-apollo-server cd api-routes-apollo-server ``` diff --git a/examples/api-routes-cors/README.md b/examples/api-routes-cors/README.md index 78b2f5e74f452..2e92f2e347353 100644 --- a/examples/api-routes-cors/README.md +++ b/examples/api-routes-cors/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ## How to use -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes-cors api-routes-cors-app diff --git a/examples/api-routes-graphql/README.md b/examples/api-routes-graphql/README.md index 4ac494412e5b6..acdd995c989a5 100644 --- a/examples/api-routes-graphql/README.md +++ b/examples/api-routes-graphql/README.md @@ -1,6 +1,6 @@ # API routes with GraphQL server -Next.js ships with [API routes](https://github.com/zeit/next.js#api-routes), which provide an easy solution to build your own `API`. This example shows their usage alongside [apollo-server-micro](https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-micro) to provide simple GraphQL server consumed by Next.js app. +Next.js ships with [API routes](https://github.com/vercel/next.js#api-routes), which provide an easy solution to build your own `API`. This example shows their usage alongside [apollo-server-micro](https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-micro) to provide simple GraphQL server consumed by Next.js app. ## Deploy your own @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes-graphql api-routes-graphql-app diff --git a/examples/api-routes-middleware/README.md b/examples/api-routes-middleware/README.md index 673da7dd15bba..2a9a357e85af6 100644 --- a/examples/api-routes-middleware/README.md +++ b/examples/api-routes-middleware/README.md @@ -1,6 +1,6 @@ # API routes with middleware -Next.js ships with [API routes](https://github.com/zeit/next.js#api-routes), which provide an easy solution to build your own `API`. This example shows how to implement simple `middleware` to wrap around your `API` endpoints. +Next.js ships with [API routes](https://github.com/vercel/next.js#api-routes), which provide an easy solution to build your own `API`. This example shows how to implement simple `middleware` to wrap around your `API` endpoints. ## Deploy your own @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes-middleware api-routes-middleware-app diff --git a/examples/api-routes-rest/README.md b/examples/api-routes-rest/README.md index a0c53c036f2bf..07f8fe8875035 100644 --- a/examples/api-routes-rest/README.md +++ b/examples/api-routes-rest/README.md @@ -1,6 +1,6 @@ # API routes with REST -Next.js ships with [API routes](https://github.com/zeit/next.js#api-routes), which provide an easy solution to build your own `API`. This example shows how it can be used to create your [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) api. +Next.js ships with [API routes](https://github.com/vercel/next.js#api-routes), which provide an easy solution to build your own `API`. This example shows how it can be used to create your [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) api. ## Deploy your own @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes-rest api-routes-rest-app diff --git a/examples/api-routes/README.md b/examples/api-routes/README.md index dda71f24f053c..538f0f7b053b8 100644 --- a/examples/api-routes/README.md +++ b/examples/api-routes/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example api-routes api-routes-app diff --git a/examples/auth0/README.md b/examples/auth0/README.md index df430507a8ecc..63fff2036edb0 100644 --- a/examples/auth0/README.md +++ b/examples/auth0/README.md @@ -6,7 +6,7 @@ Read more: [https://auth0.com/blog/ultimate-guide-nextjs-authentication-auth0/]( ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example auth0 auth0 diff --git a/examples/basic-css/README.md b/examples/basic-css/README.md index 8a1cf5b270b79..a70b111f6e506 100644 --- a/examples/basic-css/README.md +++ b/examples/basic-css/README.md @@ -10,11 +10,11 @@ Deploy the example using [Vercel](https://vercel.com): ## How to use -[Try it on CodeSandbox](https://codesandbox.io/s/github/zeit/next.js/tree/canary/examples/basic-css) +[Try it on CodeSandbox](https://codesandbox.io/s/github/vercel/next.js/tree/canary/examples/basic-css) ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example basic-css basic-css-app diff --git a/examples/basic-export/README.md b/examples/basic-export/README.md index 4bc3e7684696a..b2e2289213d9b 100644 --- a/examples/basic-export/README.md +++ b/examples/basic-export/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example basic-export basic-export-app diff --git a/examples/blog-starter-typescript/README.md b/examples/blog-starter-typescript/README.md index 620dc5bde4698..05665b15cff81 100644 --- a/examples/blog-starter-typescript/README.md +++ b/examples/blog-starter-typescript/README.md @@ -1,6 +1,6 @@ # A statically generated blog example using Next.js and Markdown and TypeScript -This is the existing [blog-starter](https://github.com/zeit/next.js/tree/canary/examples/blog-starter) plus TypeScript. +This is the existing [blog-starter](https://github.com/vercel/next.js/tree/canary/examples/blog-starter) plus TypeScript. This example showcases Next.js's [Static Generation](https://nextjs.org/docs/basic-features/pages) feature using markdown files as the data source. @@ -12,7 +12,7 @@ To create the blog posts we use [`remark`](https://github.com/remarkjs/remark) a ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example blog-starter-typescript blog-starter-typescript-app @@ -25,7 +25,7 @@ yarn create next-app --example blog-starter-typescript blog-starter-typescript-a Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/blog-starter-typescript +curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/blog-starter-typescript cd blog-starter-typescript ``` @@ -41,7 +41,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/blog-starter-typescript/components/alert.tsx b/examples/blog-starter-typescript/components/alert.tsx index f616dae8cb4c7..ca01aee508e99 100644 --- a/examples/blog-starter-typescript/components/alert.tsx +++ b/examples/blog-starter-typescript/components/alert.tsx @@ -32,7 +32,7 @@ const Alert: React.FC = ({ preview }) => { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/blog-starter-typescript/components/footer.tsx b/examples/blog-starter-typescript/components/footer.tsx index 9cf748a283d08..37495165c3cdf 100644 --- a/examples/blog-starter-typescript/components/footer.tsx +++ b/examples/blog-starter-typescript/components/footer.tsx @@ -18,7 +18,7 @@ const Footer: React.FC = () => { Read Documentation View on GitHub diff --git a/examples/blog-starter/README.md b/examples/blog-starter/README.md index 4b83a0f2193ab..0f1e97dcede47 100644 --- a/examples/blog-starter/README.md +++ b/examples/blog-starter/README.md @@ -22,7 +22,7 @@ To create the blog posts we use [`remark`](https://github.com/remarkjs/remark) a ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example blog-starter blog-starter-app @@ -51,7 +51,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/blog-starter/components/alert.js b/examples/blog-starter/components/alert.js index 3530e66e59c8d..2994d59fbd321 100644 --- a/examples/blog-starter/components/alert.js +++ b/examples/blog-starter/components/alert.js @@ -27,7 +27,7 @@ export default function Alert({ preview }) { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/blog-starter/components/footer.js b/examples/blog-starter/components/footer.js index dbde8ff306efd..da9eed88ec263 100644 --- a/examples/blog-starter/components/footer.js +++ b/examples/blog-starter/components/footer.js @@ -17,7 +17,7 @@ export default function Footer() { Read Documentation View on GitHub diff --git a/examples/catch-all-routes/README.md b/examples/catch-all-routes/README.md index 925f7950d01b4..f2f8db79ea8d7 100644 --- a/examples/catch-all-routes/README.md +++ b/examples/catch-all-routes/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example catch-all-routes catch-all-routes-app diff --git a/examples/cms-contentful/README.md b/examples/cms-contentful/README.md index 39a9fd56f087a..044d9d928da83 100644 --- a/examples/cms-contentful/README.md +++ b/examples/cms-contentful/README.md @@ -16,7 +16,7 @@ This example showcases Next.js's [Static Generation](/docs/basic-features/pages. ## How to use -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example cms-contentful cms-contentful-app @@ -182,7 +182,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). ### Step 7. Try preview mode diff --git a/examples/cms-contentful/components/alert.js b/examples/cms-contentful/components/alert.js index 3530e66e59c8d..2994d59fbd321 100644 --- a/examples/cms-contentful/components/alert.js +++ b/examples/cms-contentful/components/alert.js @@ -27,7 +27,7 @@ export default function Alert({ preview }) { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/cms-contentful/components/footer.js b/examples/cms-contentful/components/footer.js index dbde8ff306efd..da9eed88ec263 100644 --- a/examples/cms-contentful/components/footer.js +++ b/examples/cms-contentful/components/footer.js @@ -17,7 +17,7 @@ export default function Footer() { Read Documentation View on GitHub diff --git a/examples/cms-datocms/README.md b/examples/cms-datocms/README.md index d2f785b1b3473..076529cbab02a 100644 --- a/examples/cms-datocms/README.md +++ b/examples/cms-datocms/README.md @@ -17,7 +17,7 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example cms-datocms cms-datocms-app @@ -124,7 +124,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). ### Step 7. Try preview mode diff --git a/examples/cms-datocms/components/alert.js b/examples/cms-datocms/components/alert.js index e6fd18b175c8c..051f3319649ed 100644 --- a/examples/cms-datocms/components/alert.js +++ b/examples/cms-datocms/components/alert.js @@ -27,7 +27,7 @@ export default function Alert({ preview }) { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/cms-datocms/components/footer.js b/examples/cms-datocms/components/footer.js index 102872d195df0..b305c3eb40b0d 100644 --- a/examples/cms-datocms/components/footer.js +++ b/examples/cms-datocms/components/footer.js @@ -17,7 +17,7 @@ export default function Footer() { Read Documentation View on GitHub diff --git a/examples/cms-prismic/README.md b/examples/cms-prismic/README.md index dd885099e35d5..55343c3092c57 100644 --- a/examples/cms-prismic/README.md +++ b/examples/cms-prismic/README.md @@ -18,7 +18,7 @@ This example showcases Next.js's [Static Generation](/docs/basic-features/pages. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example cms-prismic cms-prismic-app @@ -134,7 +134,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). ### Step 7. Try preview mode diff --git a/examples/cms-prismic/components/alert.js b/examples/cms-prismic/components/alert.js index 3530e66e59c8d..2994d59fbd321 100644 --- a/examples/cms-prismic/components/alert.js +++ b/examples/cms-prismic/components/alert.js @@ -27,7 +27,7 @@ export default function Alert({ preview }) { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/cms-prismic/components/footer.js b/examples/cms-prismic/components/footer.js index dbde8ff306efd..da9eed88ec263 100644 --- a/examples/cms-prismic/components/footer.js +++ b/examples/cms-prismic/components/footer.js @@ -17,7 +17,7 @@ export default function Footer() { Read Documentation View on GitHub diff --git a/examples/cms-sanity/README.md b/examples/cms-sanity/README.md index a23076a1554ba..e1f91e95eee98 100644 --- a/examples/cms-sanity/README.md +++ b/examples/cms-sanity/README.md @@ -18,7 +18,7 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example cms-sanity cms-sanity-app @@ -130,7 +130,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). ### Step 9. Try preview mode diff --git a/examples/cms-sanity/components/alert.js b/examples/cms-sanity/components/alert.js index 74b887c1a0460..b924cb097f169 100644 --- a/examples/cms-sanity/components/alert.js +++ b/examples/cms-sanity/components/alert.js @@ -27,7 +27,7 @@ export default function Alert({ preview }) { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/cms-sanity/components/footer.js b/examples/cms-sanity/components/footer.js index dbde8ff306efd..da9eed88ec263 100644 --- a/examples/cms-sanity/components/footer.js +++ b/examples/cms-sanity/components/footer.js @@ -17,7 +17,7 @@ export default function Footer() { Read Documentation View on GitHub diff --git a/examples/cms-takeshape/README.md b/examples/cms-takeshape/README.md index 2f6de5dca04f6..a6815783b985c 100644 --- a/examples/cms-takeshape/README.md +++ b/examples/cms-takeshape/README.md @@ -18,7 +18,7 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example cms-takeshape cms-takeshape-app @@ -132,7 +132,7 @@ yarn install yarn dev ``` -Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). ### Step 7. Try preview mode diff --git a/examples/cms-takeshape/components/alert.js b/examples/cms-takeshape/components/alert.js index 3530e66e59c8d..2994d59fbd321 100644 --- a/examples/cms-takeshape/components/alert.js +++ b/examples/cms-takeshape/components/alert.js @@ -27,7 +27,7 @@ export default function Alert({ preview }) { <> The source code for this blog is{' '} available on GitHub diff --git a/examples/cms-takeshape/components/footer.js b/examples/cms-takeshape/components/footer.js index dbde8ff306efd..da9eed88ec263 100644 --- a/examples/cms-takeshape/components/footer.js +++ b/examples/cms-takeshape/components/footer.js @@ -17,7 +17,7 @@ export default function Footer() { Read Documentation View on GitHub diff --git a/examples/custom-server-actionhero/README.md b/examples/custom-server-actionhero/README.md index 00b58c05c7943..91f3a64380561 100644 --- a/examples/custom-server-actionhero/README.md +++ b/examples/custom-server-actionhero/README.md @@ -9,7 +9,7 @@ A more detailed example showcasing how to use fetch and web sockets to interact ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-actionhero custom-server-actionhero-app diff --git a/examples/custom-server-express/README.md b/examples/custom-server-express/README.md index 9a6b1010b0a98..9643e32bdd506 100644 --- a/examples/custom-server-express/README.md +++ b/examples/custom-server-express/README.md @@ -1,6 +1,6 @@ # Custom Express Server example -Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/zeit/next.js#custom-server-and-routing) so you can customize as much as you want. +Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/vercel/next.js#custom-server-and-routing) so you can customize as much as you want. Because the Next.js server is just a node.js module you can combine it with any other part of the node.js ecosystem. in this case we are using express to build a custom router on top of Next. @@ -10,7 +10,7 @@ The example shows a server that serves the component living in `pages/a.js` when ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-express custom-server-express-app diff --git a/examples/custom-server-fastify/README.md b/examples/custom-server-fastify/README.md index e58e328d4074c..ac5f88288fe59 100644 --- a/examples/custom-server-fastify/README.md +++ b/examples/custom-server-fastify/README.md @@ -1,6 +1,6 @@ # Custom Fastify Server example -Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/zeit/next.js#custom-server-and-routing) so you can customize as much as you want. +Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/vercel/next.js#custom-server-and-routing) so you can customize as much as you want. Because the Next.js server is just a node.js module you can combine it with any other part of the node.js ecosystem. in this case we are using [Fastify](https://github.com/fastify/fastify) to build a custom router on top of Next. @@ -10,7 +10,7 @@ The example shows a server that serves the component living in `pages/a.js` when ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-fastify custom-server-fastify-app diff --git a/examples/custom-server-hapi/README.md b/examples/custom-server-hapi/README.md index 93f4738ee7382..6c3e033cb9a27 100644 --- a/examples/custom-server-hapi/README.md +++ b/examples/custom-server-hapi/README.md @@ -1,6 +1,6 @@ # Custom server using Hapi example -Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/zeit/next.js#custom-server-and-routing) so you can customize as much as you want. +Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/vercel/next.js#custom-server-and-routing) so you can customize as much as you want. Because the Next.js server is just a node.js module you can combine it with any other part of the node.js ecosystem. in this case we are using [Hapi](https://hapijs.com) to build a custom router on top of Next. @@ -10,7 +10,7 @@ The example shows a server that serves the component living in `pages/a.js` when ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-hapi custom-server-hapi-app diff --git a/examples/custom-server-koa/README.md b/examples/custom-server-koa/README.md index 80765e4e5bf45..6c208abca4019 100644 --- a/examples/custom-server-koa/README.md +++ b/examples/custom-server-koa/README.md @@ -10,7 +10,7 @@ The example shows a server that serves the component living in `pages/a.js` when ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-koa custom-server-koa-app diff --git a/examples/custom-server-polka/README.md b/examples/custom-server-polka/README.md index 1421c17ed9864..7a9a303bfb662 100644 --- a/examples/custom-server-polka/README.md +++ b/examples/custom-server-polka/README.md @@ -1,6 +1,6 @@ # Custom [Polka](https://github.com/lukeed/polka) Server example -Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/zeit/next.js#custom-server-and-routing) so you can customize as much as you want. +Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/vercel/next.js#custom-server-and-routing) so you can customize as much as you want. Because the Next.js server is just a node.js module you can combine it with any other part of the node.js ecosystem. in this case we are using express to build a custom router on top of Next. @@ -10,7 +10,7 @@ The example shows a server that serves the component living in `pages/a.js` when ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-polka custom-server-polka-app diff --git a/examples/custom-server-typescript/README.md b/examples/custom-server-typescript/README.md index 0c36fe37d9a2d..9dedc2fa00ca0 100644 --- a/examples/custom-server-typescript/README.md +++ b/examples/custom-server-typescript/README.md @@ -9,7 +9,7 @@ The second directory should be added to `.gitignore`. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server-typescript custom-server-typescript-app diff --git a/examples/custom-server/README.md b/examples/custom-server/README.md index cfd2ffe05158b..4f8fc32522b49 100644 --- a/examples/custom-server/README.md +++ b/examples/custom-server/README.md @@ -1,6 +1,6 @@ # Custom server example -Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/zeit/next.js#custom-server-and-routing) so you can customize as much as you want. +Most of the times the default Next server will be enough but sometimes you want to run your own server to customize routes or other kind of the app behavior. Next provides a [Custom server and routing](https://github.com/vercel/next.js#custom-server-and-routing) so you can customize as much as you want. The example shows a server that serves the component living in `pages/a.js` when the route `/b` is requested and `pages/b.js` when the route `/a` is accessed. This is obviously a non-standard routing strategy. You can see how this custom routing is being made inside `server.js`. @@ -8,7 +8,7 @@ The example shows a server that serves the component living in `pages/a.js` when ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example custom-server custom-server-app diff --git a/examples/data-fetch/README.md b/examples/data-fetch/README.md index 9d02221066554..7213858d215d0 100644 --- a/examples/data-fetch/README.md +++ b/examples/data-fetch/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example data-fetch data-fetch-app diff --git a/examples/data-fetch/pages/index.js b/examples/data-fetch/pages/index.js index 8a7a05e00d810..90dc176afd3cd 100644 --- a/examples/data-fetch/pages/index.js +++ b/examples/data-fetch/pages/index.js @@ -13,7 +13,7 @@ function Index({ stars }) { } export async function getStaticProps() { - const res = await fetch('https://api.github.com/repos/zeit/next.js') + const res = await fetch('https://api.github.com/repos/vercel/next.js') const json = await res.json() return { diff --git a/examples/dynamic-routing/README.md b/examples/dynamic-routing/README.md index b2c90c36a8623..a9525cafc9140 100644 --- a/examples/dynamic-routing/README.md +++ b/examples/dynamic-routing/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example dynamic-routing dynamic-routing-app diff --git a/examples/gh-pages/README.md b/examples/gh-pages/README.md index 4f4893e09ed30..195ee3a78e6e7 100644 --- a/examples/gh-pages/README.md +++ b/examples/gh-pages/README.md @@ -6,7 +6,7 @@ This example shows the most basic idea behind Next. We have 2 pages: `pages/inde ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example gh-pages gh-pages-app @@ -19,7 +19,7 @@ yarn create next-app --example gh-pages gh-pages-app Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/gh-pages +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/gh-pages cd gh-pages ``` diff --git a/examples/head-elements/README.md b/examples/head-elements/README.md index cd45c8282f9dd..cb267d7ec14ba 100644 --- a/examples/head-elements/README.md +++ b/examples/head-elements/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example head-elements head-elements-app diff --git a/examples/hello-world/README.md b/examples/hello-world/README.md index 4726089ee07b5..9debbd6b2b6e0 100644 --- a/examples/hello-world/README.md +++ b/examples/hello-world/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example hello-world hello-world-app diff --git a/examples/layout-component/README.md b/examples/layout-component/README.md index 4fc2f1f0bd74e..1fd6ac957f376 100644 --- a/examples/layout-component/README.md +++ b/examples/layout-component/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example layout-component layout-component-app diff --git a/examples/nested-components/README.md b/examples/nested-components/README.md index 8e48f2b8f10a9..d85fb262e6043 100644 --- a/examples/nested-components/README.md +++ b/examples/nested-components/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example nested-components nested-components-app diff --git a/examples/page-transitions/README.md b/examples/page-transitions/README.md index 65908dd9cfdd3..3d5b20ce8893b 100644 --- a/examples/page-transitions/README.md +++ b/examples/page-transitions/README.md @@ -1 +1 @@ -This example has been deprecated and removed in favor of https://github.com/zeit/next.js/tree/canary/examples/with-next-page-transitions +This example has been deprecated and removed in favor of https://github.com/vercel/next.js/tree/canary/examples/with-next-page-transitions diff --git a/examples/parameterized-routing/README.md b/examples/parameterized-routing/README.md index 0fb5aab0182f9..32bd93d6f9278 100644 --- a/examples/parameterized-routing/README.md +++ b/examples/parameterized-routing/README.md @@ -1 +1 @@ -This example has been deprecated and removed in favor of [examples/dynamic-routing](https://github.com/zeit/next.js/tree/canary/examples/dynamic-routing) +This example has been deprecated and removed in favor of [examples/dynamic-routing](https://github.com/vercel/next.js/tree/canary/examples/dynamic-routing) diff --git a/examples/progressive-render/README.md b/examples/progressive-render/README.md index d8cfc21b6d6c0..75b87fe2ecdc7 100644 --- a/examples/progressive-render/README.md +++ b/examples/progressive-render/README.md @@ -26,7 +26,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example progressive-render progressive-render-app diff --git a/examples/ssr-caching/README.md b/examples/ssr-caching/README.md index 11bc73ea469af..d211ca0dc3e1b 100644 --- a/examples/ssr-caching/README.md +++ b/examples/ssr-caching/README.md @@ -3,13 +3,13 @@ React Server Side rendering is very costly and takes a lot of server's CPU power for that. One of the best solutions for this problem is cache already rendered pages. That's what this example demonstrate. -This app uses Next's [custom server and routing](https://github.com/zeit/next.js#custom-server-and-routing) mode. It also uses [express](https://expressjs.com/) to handle routing and page serving. +This app uses Next's [custom server and routing](https://github.com/vercel/next.js#custom-server-and-routing) mode. It also uses [express](https://expressjs.com/) to handle routing and page serving. ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example ssr-caching ssr-caching-app diff --git a/examples/svg-components/README.md b/examples/svg-components/README.md index deb23249f4ceb..01006e782b203 100644 --- a/examples/svg-components/README.md +++ b/examples/svg-components/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example svg-components svg-components-app diff --git a/examples/using-preact/README.md b/examples/using-preact/README.md index 438c0481db0c2..1dbec61755ea0 100644 --- a/examples/using-preact/README.md +++ b/examples/using-preact/README.md @@ -6,7 +6,7 @@ This example uses [Preact](https://github.com/preactjs/preact) instead of React. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example using-preact using-preact-app diff --git a/examples/using-router/README.md b/examples/using-router/README.md index 8879c2596e792..c0716de66c023 100644 --- a/examples/using-router/README.md +++ b/examples/using-router/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example using-router using-router-app diff --git a/examples/with-absolute-imports/README.md b/examples/with-absolute-imports/README.md index a92ed5eff4151..ec1ea34bf81d1 100644 --- a/examples/with-absolute-imports/README.md +++ b/examples/with-absolute-imports/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-absolute-imports with-absolute-imports-app diff --git a/examples/with-algolia-react-instantsearch/README.md b/examples/with-algolia-react-instantsearch/README.md index 778bf5b4ac231..d462e3b74c856 100644 --- a/examples/with-algolia-react-instantsearch/README.md +++ b/examples/with-algolia-react-instantsearch/README.md @@ -6,7 +6,7 @@ The goal of this example is to illustrate how you can use [Algolia React Instant ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app diff --git a/examples/with-ant-design-less/README.md b/examples/with-ant-design-less/README.md index 33543d4046cb6..ad1c5cf0e36d8 100644 --- a/examples/with-ant-design-less/README.md +++ b/examples/with-ant-design-less/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-ant-design-less with-ant-design-app diff --git a/examples/with-ant-design-mobile/README.md b/examples/with-ant-design-mobile/README.md index 85d4ff60a459b..0bdfe43832972 100644 --- a/examples/with-ant-design-mobile/README.md +++ b/examples/with-ant-design-mobile/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-ant-design-mobile with-ant-design-mobile-app diff --git a/examples/with-ant-design-pro-layout-less/README.md b/examples/with-ant-design-pro-layout-less/README.md index 357d7ed5a6cbb..511ce95903130 100644 --- a/examples/with-ant-design-pro-layout-less/README.md +++ b/examples/with-ant-design-pro-layout-less/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-ant-design-pro-layout-less with-ant-design-app diff --git a/examples/with-ant-design/README.md b/examples/with-ant-design/README.md index 5499df5de82f6..b6bb615fce7d4 100644 --- a/examples/with-ant-design/README.md +++ b/examples/with-ant-design/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-ant-design with-ant-design-app diff --git a/examples/with-aphrodite/README.md b/examples/with-aphrodite/README.md index 9dec7f9bb7272..4da065a2e4273 100644 --- a/examples/with-aphrodite/README.md +++ b/examples/with-aphrodite/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-aphrodite with-aphrodite-app diff --git a/examples/with-apollo-and-redux/README.md b/examples/with-apollo-and-redux/README.md index 4abfd482cf89c..df6ff5bbcdda4 100644 --- a/examples/with-apollo-and-redux/README.md +++ b/examples/with-apollo-and-redux/README.md @@ -2,7 +2,7 @@ This example serves as a conduit if you were using Apollo 1.X with Redux, and are migrating to Apollo 3.x, however, you have chosen not to manage your entire application state within Apollo (`apollo-link-state`). -In 3.0.0, Apollo serves out-of-the-box support for redux in favor of Apollo's state management. This example aims to be an amalgamation of the [`with-apollo`](https://github.com/zeit/next.js/tree/master/examples/with-apollo) and [`with-redux`](https://github.com/zeit/next.js/tree/master/examples/with-redux) examples. +In 3.0.0, Apollo serves out-of-the-box support for redux in favor of Apollo's state management. This example aims to be an amalgamation of the [`with-apollo`](https://github.com/vercel/next.js/tree/master/examples/with-apollo) and [`with-redux`](https://github.com/vercel/next.js/tree/master/examples/with-redux) examples. ## Deploy your own @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-apollo-and-redux with-apollo-and-redux-app diff --git a/examples/with-apollo-and-redux/lib/apollo.js b/examples/with-apollo-and-redux/lib/apollo.js index d5ce5ace22d24..67ceba2219fbe 100644 --- a/examples/with-apollo-and-redux/lib/apollo.js +++ b/examples/with-apollo-and-redux/lib/apollo.js @@ -122,7 +122,7 @@ function initApolloClient(initialState) { * @param {Object} [initialState={}] */ function createApolloClient(initialState = {}) { - // Check out https://github.com/zeit/next.js/pull/4611 if you want to use the AWSAppSyncClient + // Check out https://github.com/vercel/next.js/pull/4611 if you want to use the AWSAppSyncClient return new ApolloClient({ ssrMode: typeof window === 'undefined', // Disables forceFetch on the server (so queries are only run once) link: new HttpLink({ diff --git a/examples/with-apollo/README.md b/examples/with-apollo/README.md index 73c892d3a255e..e0d83a7456b9a 100644 --- a/examples/with-apollo/README.md +++ b/examples/with-apollo/README.md @@ -23,7 +23,7 @@ _Live Example: https://next-with-apollo.now.sh_ ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-apollo with-apollo-app diff --git a/examples/with-apollo/pages/about.js b/examples/with-apollo/pages/about.js index 01290e995b08b..eb88a80e41f3f 100644 --- a/examples/with-apollo/pages/about.js +++ b/examples/with-apollo/pages/about.js @@ -16,8 +16,8 @@ const AboutPage = () => (

In this simple example, we integrate Apollo seamlessly with{' '} - Next by wrapping our Page - component inside a{' '} + Next by wrapping our + Page component inside a{' '} higher-order component (HOC) diff --git a/examples/with-app-layout/README.md b/examples/with-app-layout/README.md index e48c3cce20e43..d8479364067f3 100644 --- a/examples/with-app-layout/README.md +++ b/examples/with-app-layout/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-app-layout with-app-layout-app diff --git a/examples/with-astroturf/README.md b/examples/with-astroturf/README.md index b403b5cf54b84..44742af13f212 100644 --- a/examples/with-astroturf/README.md +++ b/examples/with-astroturf/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-astroturf with-astroturf-app diff --git a/examples/with-aws-amplify-typescript/README.md b/examples/with-aws-amplify-typescript/README.md index 0eedd3b5e0213..95b49e106e7f4 100644 --- a/examples/with-aws-amplify-typescript/README.md +++ b/examples/with-aws-amplify-typescript/README.md @@ -1,6 +1,6 @@ # AWS Amplify and Typescript with NextJS -[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/zeit/next.js/tree/canary/examples/with-aws-amplify-typescript) +[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/vercel/next.js/tree/canary/examples/with-aws-amplify-typescript) This example shows how to build a server rendered web application with NextJS and AWS Amplify. We use AWS Amplify to generate code and to manage and consume the AWS cloud resources needed for our app. The NextJS app has dynamic and static routes to demonstrate how to load data on the server based on the incoming request. @@ -14,7 +14,7 @@ Two routes are implemented : ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app diff --git a/examples/with-aws-amplify/README.md b/examples/with-aws-amplify/README.md index 506037bf9a9fd..081bc68b7c8db 100644 --- a/examples/with-aws-amplify/README.md +++ b/examples/with-aws-amplify/README.md @@ -1,6 +1,6 @@ # AWS Amplify with NextJS -[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/zeit/next.js/tree/canary/examples/with-aws-amplify) +[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/vercel/next.js/tree/canary/examples/with-aws-amplify) This example shows how to build a server rendered web application with NextJS and AWS Amplify. We use AWS Amplify to generate code and to manage and consume the AWS cloud resources needed for our app. The NextJS app has dynamic and static routes to demonstrate how to load data on the server based on the incoming request. @@ -13,7 +13,7 @@ Two routes are implemented : ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-aws-amplify nextjs-aws-amplify-app diff --git a/examples/with-babel-macros/README.md b/examples/with-babel-macros/README.md index 02bf5daf1baf3..62e00a9e7e4d0 100644 --- a/examples/with-babel-macros/README.md +++ b/examples/with-babel-macros/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-babel-macros with-babel-macros-app diff --git a/examples/with-carbon-components/README.md b/examples/with-carbon-components/README.md index e03007830a2d1..72711455814cf 100644 --- a/examples/with-carbon-components/README.md +++ b/examples/with-carbon-components/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-carbon-components with-carbon-components-app diff --git a/examples/with-cerebral/README.md b/examples/with-cerebral/README.md index adc7080f4d5cc..3933863459ecd 100644 --- a/examples/with-cerebral/README.md +++ b/examples/with-cerebral/README.md @@ -44,7 +44,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-cerebral with-cerebral-app @@ -57,7 +57,7 @@ yarn create next-app --example with-cerebral with-cerebral-app Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-cerebral +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-cerebral cd with-cerebral ``` diff --git a/examples/with-chakra-ui/README.md b/examples/with-chakra-ui/README.md index 41b7a693476a1..d252931aa7677 100644 --- a/examples/with-chakra-ui/README.md +++ b/examples/with-chakra-ui/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-chakra-ui with-chakra-ui-app diff --git a/examples/with-chakra-ui/src/components/CTA.js b/examples/with-chakra-ui/src/components/CTA.js index 060ca6e5dccbd..d11c5fd5386bb 100644 --- a/examples/with-chakra-ui/src/components/CTA.js +++ b/examples/with-chakra-ui/src/components/CTA.js @@ -19,7 +19,7 @@ export const CTA = () => ( diff --git a/examples/with-context-api/README.md b/examples/with-context-api/README.md index cad000f7327aa..1b4ef94f68553 100644 --- a/examples/with-context-api/README.md +++ b/examples/with-context-api/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-context-api with-context-api-app diff --git a/examples/with-cookie-auth-fauna/README.md b/examples/with-cookie-auth-fauna/README.md index 9703dd96741fa..aa0c9283b2119 100644 --- a/examples/with-cookie-auth-fauna/README.md +++ b/examples/with-cookie-auth-fauna/README.md @@ -4,7 +4,7 @@ In this example, we authenticate users and store a token in a secure (non-JS) co This example uses [Fauna](https://fauna.com/) as the auth service and DB. -The repo includes a minimal auth backend built with the new [API Routes support](https://github.com/zeit/next.js/pull/7296) (`pages/api`), [Micro](https://www.npmjs.com/package/micro), [Fauna for Auth](https://app.fauna.com/tutorials/authentication) and [dotenv](https://github.com/zeit/next.js/tree/canary/examples/with-dotenv) for environment variables. The backend allows the user to create an account (a User document), login, and see their user id (User ref id). +The repo includes a minimal auth backend built with the new [API Routes support](https://github.com/vercel/next.js/pull/7296) (`pages/api`), [Micro](https://www.npmjs.com/package/micro), [Fauna for Auth](https://app.fauna.com/tutorials/authentication) and [dotenv](https://github.com/vercel/next.js/tree/canary/examples/with-dotenv) for environment variables. The backend allows the user to create an account (a User document), login, and see their user id (User ref id). Session is synchronized across tabs. If you logout your session gets removed on all the windows as well. We use the HOC `withAuthSync` for this. @@ -14,7 +14,7 @@ The helper function `auth` helps to retrieve the token across pages and redirect ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app @@ -24,7 +24,7 @@ yarn create next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app ### Download manually -Download the example [or clone the repo](https://github.com/zeit/next.js): +Download the example [or clone the repo](https://github.com/vercel/next.js): ```bash curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-cookie-auth-fauna diff --git a/examples/with-cookie-auth/README.md b/examples/with-cookie-auth/README.md index ccdd6006a519e..a2f9ade600899 100644 --- a/examples/with-cookie-auth/README.md +++ b/examples/with-cookie-auth/README.md @@ -1,6 +1,6 @@ This example has been deprecated and removed in favor of one of the following examples: -- [auth0](https://github.com/zeit/next.js/tree/canary/examples/auth0) -- [with-cookie-auth-fauna](https://github.com/zeit/next.js/tree/canary/examples/with-cookie-auth-fauna) -- [with-passport](https://github.com/zeit/next.js/tree/canary/examples/with-passport) -- [with-iron-session](https://github.com/zeit/next.js/tree/canary/examples/with-iron-session) +- [auth0](https://github.com/vercel/next.js/tree/canary/examples/auth0) +- [with-cookie-auth-fauna](https://github.com/vercel/next.js/tree/canary/examples/with-cookie-auth-fauna) +- [with-passport](https://github.com/vercel/next.js/tree/canary/examples/with-passport) +- [with-iron-session](https://github.com/vercel/next.js/tree/canary/examples/with-iron-session) diff --git a/examples/with-custom-babel-config/README.md b/examples/with-custom-babel-config/README.md index d92a52620e2fd..cfb600945080e 100644 --- a/examples/with-custom-babel-config/README.md +++ b/examples/with-custom-babel-config/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-custom-babel-config with-custom-babel-config-app diff --git a/examples/with-custom-reverse-proxy/README.md b/examples/with-custom-reverse-proxy/README.md index a1fd50b56395c..66f4344ade8ab 100644 --- a/examples/with-custom-reverse-proxy/README.md +++ b/examples/with-custom-reverse-proxy/README.md @@ -11,7 +11,7 @@ Sorry for the extra packages. I belong to the minority camp of writing ES6 code ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-custom-reverse-proxy with-custom-reverse-proxy-app @@ -24,7 +24,7 @@ yarn create next-app --example with-custom-reverse-proxy with-custom-reverse-pro Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-custom-reverse-proxy +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-custom-reverse-proxy cd with-custom-reverse-proxy ``` diff --git a/examples/with-cxs/README.md b/examples/with-cxs/README.md index 16dd8b19d11b3..027efdb5718ed 100644 --- a/examples/with-cxs/README.md +++ b/examples/with-cxs/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-cxs with-cxs-app diff --git a/examples/with-docker/README.md b/examples/with-docker/README.md index 6e908638eb1c1..9904fc4c9bc4a 100644 --- a/examples/with-docker/README.md +++ b/examples/with-docker/README.md @@ -10,7 +10,7 @@ You can check the [Example Dockerfile for your own Node.js project](https://gith ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-docker with-docker-app diff --git a/examples/with-dotenv/README.md b/examples/with-dotenv/README.md index f56c8cd3389ed..05446b0771694 100644 --- a/examples/with-dotenv/README.md +++ b/examples/with-dotenv/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-dotenv with-dotenv-app diff --git a/examples/with-draft-js/README.md b/examples/with-draft-js/README.md index 89c65e95f30c1..5e91022969fde 100644 --- a/examples/with-draft-js/README.md +++ b/examples/with-draft-js/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-draft-js diff --git a/examples/with-dynamic-app-layout/README.md b/examples/with-dynamic-app-layout/README.md index e9b5fd8c20d35..1bbaffbd290e4 100644 --- a/examples/with-dynamic-app-layout/README.md +++ b/examples/with-dynamic-app-layout/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-dynamic-app-layout with-dynamic-app-layout-app diff --git a/examples/with-dynamic-import/README.md b/examples/with-dynamic-import/README.md index 6bfbf0df9764f..934abbd69be94 100644 --- a/examples/with-dynamic-import/README.md +++ b/examples/with-dynamic-import/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-dynamic-import with-dynamic-import-app diff --git a/examples/with-electron-typescript/README.md b/examples/with-electron-typescript/README.md index db634c8968d4a..175af1b62a183 100644 --- a/examples/with-electron-typescript/README.md +++ b/examples/with-electron-typescript/README.md @@ -16,7 +16,7 @@ For development it's going to run a HTTP server and let Next.js handle routing. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-electron-typescript with-electron-typescript-app diff --git a/examples/with-electron/README.md b/examples/with-electron/README.md index 65b3e28e5b120..a66bf89efeac5 100644 --- a/examples/with-electron/README.md +++ b/examples/with-electron/README.md @@ -10,7 +10,7 @@ For development it's going to run a HTTP server and let Next.js handle routing. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-electron with-electron-app diff --git a/examples/with-emotion-11/README.md b/examples/with-emotion-11/README.md index 40056d73017ce..557bf13bb99c0 100644 --- a/examples/with-emotion-11/README.md +++ b/examples/with-emotion-11/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-emotion-11 with-emotion-11-app @@ -25,7 +25,7 @@ yarn create next-app --example with-emotion-11 with-emotion-11-app Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-emotion-11 +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-emotion-11 cd with-emotion-11 ``` diff --git a/examples/with-emotion/README.md b/examples/with-emotion/README.md index d51970cf105d1..c4b1a0133ea2b 100644 --- a/examples/with-emotion/README.md +++ b/examples/with-emotion/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-emotion-10 with-emotion-10-app @@ -29,7 +29,7 @@ yarn create next-app --example with-emotion-10 with-emotion-10-app Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-emotion-10 +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-emotion-10 cd with-emotion-10 ``` diff --git a/examples/with-env-from-next-config-js/README.md b/examples/with-env-from-next-config-js/README.md index f6aad1498abd6..692a44ef0f60e 100644 --- a/examples/with-env-from-next-config-js/README.md +++ b/examples/with-env-from-next-config-js/README.md @@ -22,7 +22,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-env-from-next-config-js diff --git a/examples/with-expo-typescript/README.md b/examples/with-expo-typescript/README.md index 1f4c4027f2976..ebdaf720751f5 100644 --- a/examples/with-expo-typescript/README.md +++ b/examples/with-expo-typescript/README.md @@ -22,7 +22,7 @@ This is a starter project for creating universal React apps with Next.js, Expo, Deploy the example using [Vercel](https://vercel.com) (web only): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-expo) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-expo) Deploy the native app to the App store and Play store using [Expo deployment](https://docs.expo.io/distribution/app-stores/). @@ -30,7 +30,7 @@ Deploy the native app to the App store and Play store using [Expo deployment](ht ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-expo with-expo-app diff --git a/examples/with-expo/README.md b/examples/with-expo/README.md index fc3578ac7ddb5..82705b9ce3535 100644 --- a/examples/with-expo/README.md +++ b/examples/with-expo/README.md @@ -30,7 +30,7 @@ Deploy the native app to the App store and Play store using [Expo deployment](ht ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-expo with-expo-app diff --git a/examples/with-fela/README.md b/examples/with-fela/README.md index a50ce357e13e4..12fcbbd402b2e 100755 --- a/examples/with-fela/README.md +++ b/examples/with-fela/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-fela with-fela-app diff --git a/examples/with-firebase-authentication/README.md b/examples/with-firebase-authentication/README.md index 15f072e97fa97..842d7adf84aad 100644 --- a/examples/with-firebase-authentication/README.md +++ b/examples/with-firebase-authentication/README.md @@ -6,7 +6,7 @@ This example includes Firebase authentication and serverless [API routes](https: ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: ```bash npx create-next-app --example with-firebase-authentication with-firebase-authentication-app diff --git a/examples/with-firebase-authentication/pages/_document.js b/examples/with-firebase-authentication/pages/_document.js index ebe5447f8da73..cf504055deb89 100644 --- a/examples/with-firebase-authentication/pages/_document.js +++ b/examples/with-firebase-authentication/pages/_document.js @@ -8,8 +8,8 @@ class CustomDocument extends Document { render() { // Store initial props from request data that we need to use again on // the client. See: - // https://github.com/zeit/next.js/issues/3043#issuecomment-334521241 - // https://github.com/zeit/next.js/issues/2252#issuecomment-353992669 + // https://github.com/vercel/next.js/issues/3043#issuecomment-334521241 + // https://github.com/vercel/next.js/issues/2252#issuecomment-353992669 // Alternatively, you could use a store, like Redux. const { AuthUserInfo } = this.props return ( diff --git a/examples/with-firebase-authentication/utils/auth/firebaseSessionHandler.js b/examples/with-firebase-authentication/utils/auth/firebaseSessionHandler.js index cb1f3f87b3dd8..a9b0d08ee7f23 100644 --- a/examples/with-firebase-authentication/utils/auth/firebaseSessionHandler.js +++ b/examples/with-firebase-authentication/utils/auth/firebaseSessionHandler.js @@ -1,5 +1,5 @@ // From: -// https://github.com/zeit/next.js/blob/canary/examples/with-firebase-authentication/pages/index.js +// https://github.com/vercel/next.js/blob/canary/examples/with-firebase-authentication/pages/index.js export const setSession = (user) => { // Log in. diff --git a/examples/with-firebase-authentication/utils/auth/logout.js b/examples/with-firebase-authentication/utils/auth/logout.js index a471f26480e62..307ec9cf54fc8 100644 --- a/examples/with-firebase-authentication/utils/auth/logout.js +++ b/examples/with-firebase-authentication/utils/auth/logout.js @@ -10,7 +10,7 @@ export default async function logout() { // Sign-out successful. if (typeof window !== 'undefined') { // Remove the server-side rendered user data element. See: - // https://github.com/zeit/next.js/issues/2252#issuecomment-353992669 + // https://github.com/vercel/next.js/issues/2252#issuecomment-353992669 try { const elem = window.document.getElementById('__MY_AUTH_USER_INFO') elem.parentNode.removeChild(elem) diff --git a/examples/with-firebase-authentication/utils/pageWrappers/withAuthUser.js b/examples/with-firebase-authentication/utils/pageWrappers/withAuthUser.js index fba75eb83f88a..24454b6dea5ed 100644 --- a/examples/with-firebase-authentication/utils/pageWrappers/withAuthUser.js +++ b/examples/with-firebase-authentication/utils/pageWrappers/withAuthUser.js @@ -47,7 +47,7 @@ export default function withAuthUser(ComposedComponent) { } else { // If client-side, get AuthUserInfo from stored data. We store it // in _document.js. See: - // https://github.com/zeit/next.js/issues/2252#issuecomment-353992669 + // https://github.com/vercel/next.js/issues/2252#issuecomment-353992669 try { const jsonData = JSON.parse( window.document.getElementById('__MY_AUTH_USER_INFO').textContent diff --git a/examples/with-firebase-cloud-messaging/README.md b/examples/with-firebase-cloud-messaging/README.md index ab4a60af6aad0..efd431d8423aa 100644 --- a/examples/with-firebase-cloud-messaging/README.md +++ b/examples/with-firebase-cloud-messaging/README.md @@ -6,7 +6,7 @@ To demo how to implement firebase cloud messaging to send web push notification ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-firebase-cloud-messaging with-firebase-cloud-messaging-app diff --git a/examples/with-firebase-hosting/README.md b/examples/with-firebase-hosting/README.md index 2c13d55bb2097..9f4e096c3416e 100644 --- a/examples/with-firebase-hosting/README.md +++ b/examples/with-firebase-hosting/README.md @@ -2,7 +2,7 @@ The goal is to host the Next.js app on Firebase Cloud Functions with Firebase Hosting rewrite rules so our app is served from our Firebase Hosting URL. Each individual `page` bundle is served in a new call to the Cloud Function which performs the initial server render. -If you are having issues, feel free to tag @jthegedus in the [issue you create on the next.js repo](https://github.com/zeit/next.js/issues/new) +If you are having issues, feel free to tag @jthegedus in the [issue you create on the next.js repo](https://github.com/vercel/next.js/issues/new)

Make sure that firebase is set up and you have the projectID @@ -17,7 +17,7 @@ If you are having issues, feel free to tag @jthegedus in the [issue you create o ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-firebase-hosting with-firebase-hosting-app diff --git a/examples/with-firebase/README.md b/examples/with-firebase/README.md index bc67dc0888b4a..96419e36e9124 100644 --- a/examples/with-firebase/README.md +++ b/examples/with-firebase/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-firebase with-firebase-app diff --git a/examples/with-flow/README.md b/examples/with-flow/README.md index dac201b90a5f4..ea5e3d7ebd1f7 100644 --- a/examples/with-flow/README.md +++ b/examples/with-flow/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-flow with-flow-app diff --git a/examples/with-framer-motion/README.md b/examples/with-framer-motion/README.md index daff92144d0c0..f0d03146de2f0 100644 --- a/examples/with-framer-motion/README.md +++ b/examples/with-framer-motion/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-framer-motion with-framer-motion diff --git a/examples/with-glamor/README.md b/examples/with-glamor/README.md index fada2ac04d524..2c9da10730b71 100644 --- a/examples/with-glamor/README.md +++ b/examples/with-glamor/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-glamor with-glamor-app diff --git a/examples/with-glamorous/readme.md b/examples/with-glamorous/readme.md index 0b82695128fb8..79b5999dd53e4 100644 --- a/examples/with-glamorous/readme.md +++ b/examples/with-glamorous/readme.md @@ -1,3 +1,3 @@ Glamorous has been deprecated in favor of Emotion. Please see https://github.com/paypal/glamorous/issues/419 for more information. -You can find the Next.js example for Emotion here: https://github.com/zeit/next.js/tree/canary/examples/with-emotion +You can find the Next.js example for Emotion here: https://github.com/vercel/next.js/tree/canary/examples/with-emotion diff --git a/examples/with-google-analytics-amp/README.md b/examples/with-google-analytics-amp/README.md index 1ceb3db7dad88..5f3ff00341b1a 100644 --- a/examples/with-google-analytics-amp/README.md +++ b/examples/with-google-analytics-amp/README.md @@ -1,6 +1,6 @@ # Example app with google analytics & amp -This example shows how to use [Next.js](https://github.com/zeit/next.js) along with [Google Analytics](https://developers.google.com/analytics/devguides/collection/gtagjs/) in conjunction with [AMP](https://nextjs.org/docs#amp-support). A custom [\_document](https://github.com/zeit/next.js/#custom-document) is used to inject [tracking snippet](https://developers.google.com/analytics/devguides/collection/gtagjs/) and track [pageviews](https://developers.google.com/analytics/devguides/collection/gtagjs/pages) and [event](https://developers.google.com/analytics/devguides/collection/gtagjs/events). There are two separate initializations of the Google Analytics tracking code; one for AMP and one for non-AMP pages. +This example shows how to use [Next.js](https://github.com/vercel/next.js) along with [Google Analytics](https://developers.google.com/analytics/devguides/collection/gtagjs/) in conjunction with [AMP](https://nextjs.org/docs#amp-support). A custom [\_document](https://github.com/vercel/next.js/#custom-document) is used to inject [tracking snippet](https://developers.google.com/analytics/devguides/collection/gtagjs/) and track [pageviews](https://developers.google.com/analytics/devguides/collection/gtagjs/pages) and [event](https://developers.google.com/analytics/devguides/collection/gtagjs/events). There are two separate initializations of the Google Analytics tracking code; one for AMP and one for non-AMP pages. ## Deploy your own @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash npm init next-app --example with-google-analytics-amp with-google-analytics-amp-app diff --git a/examples/with-google-analytics/README.md b/examples/with-google-analytics/README.md index 6c5166ecb1035..ffbccc9702de0 100644 --- a/examples/with-google-analytics/README.md +++ b/examples/with-google-analytics/README.md @@ -1,6 +1,6 @@ # Example app with analytics -This example shows how to use [Next.js](https://github.com/zeit/next.js) along with [Google Analytics](https://developers.google.com/analytics/devguides/collection/gtagjs/). A custom [\_document](https://nextjs.org/docs/advanced-features/custom-document) is used to inject [tracking snippet](https://developers.google.com/analytics/devguides/collection/gtagjs/) and track [pageviews](https://developers.google.com/analytics/devguides/collection/gtagjs/pages) and [event](https://developers.google.com/analytics/devguides/collection/gtagjs/events). +This example shows how to use [Next.js](https://github.com/vercel/next.js) along with [Google Analytics](https://developers.google.com/analytics/devguides/collection/gtagjs/). A custom [\_document](https://nextjs.org/docs/advanced-features/custom-document) is used to inject [tracking snippet](https://developers.google.com/analytics/devguides/collection/gtagjs/) and track [pageviews](https://developers.google.com/analytics/devguides/collection/gtagjs/pages) and [event](https://developers.google.com/analytics/devguides/collection/gtagjs/events). ## Deploy your own @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash npm init next-app --example with-google-analytics with-google-analytics-app diff --git a/examples/with-graphql-faunadb/README.md b/examples/with-graphql-faunadb/README.md index dff75533635eb..f8c2648ecb301 100644 --- a/examples/with-graphql-faunadb/README.md +++ b/examples/with-graphql-faunadb/README.md @@ -34,7 +34,7 @@ At the end, the newly generated client token will be printed and should be used ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ``` npm init next-app --example with-graphql-faunadb with-graphql-faunadb diff --git a/examples/with-graphql-hooks/README.md b/examples/with-graphql-hooks/README.md index e7d78c1779170..a0e71a2c25f48 100644 --- a/examples/with-graphql-hooks/README.md +++ b/examples/with-graphql-hooks/README.md @@ -18,7 +18,7 @@ _Live Example: https://next-with-graphql-hooks.now.sh_ ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-graphql-hooks with-graphql-hooks-app diff --git a/examples/with-graphql-react/README.md b/examples/with-graphql-react/README.md index 5da951c5fb975..63e0e0845ad74 100644 --- a/examples/with-graphql-react/README.md +++ b/examples/with-graphql-react/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-graphql-react with-graphql-react-app @@ -44,5 +44,5 @@ Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&ut ## Notes - In `next.config.js` Next.js config is decorated using [`withGraphQLConfig`](https://github.com/jaydenseric/next-graphql-react#function-withgraphqlconfig) from [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react), to exclude specific [`graphql-react`](https://github.com/jaydenseric/graphql-react) and [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react) server only imports from the client bundle. -- In `pages/_app.js` a [custom `App` component](https://github.com/zeit/next.js#custom-app) is decorated with the [`withGraphQLApp`](https://github.com/jaydenseric/next-graphql-react/#function-withgraphqlapp) [higher-order component](https://reactjs.org/docs/higher-order-components) from [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react), generating a `graphql` prop that populates the [`GraphQLProvider`](https://github.com/jaydenseric/graphql-react#function-graphqlprovider) component from [`graphql-react`](https://github.com/jaydenseric/graphql-react). +- In `pages/_app.js` a [custom `App` component](https://github.com/vercel/next.js#custom-app) is decorated with the [`withGraphQLApp`](https://github.com/jaydenseric/next-graphql-react/#function-withgraphqlapp) [higher-order component](https://reactjs.org/docs/higher-order-components) from [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react), generating a `graphql` prop that populates the [`GraphQLProvider`](https://github.com/jaydenseric/graphql-react#function-graphqlprovider) component from [`graphql-react`](https://github.com/jaydenseric/graphql-react). - In `pages/index.js` the [`useGraphQL`](https://github.com/jaydenseric/graphql-react#function-usegraphql) React hook from [`graphql-react`](https://github.com/jaydenseric/graphql-react) is used to query the [GraphQL Pokémon API](https://github.com/lucasbento/graphql-pokemon) and show a picture of Pikachu. diff --git a/examples/with-grommet/README.md b/examples/with-grommet/README.md index 3bf2a76401930..c9ecec0200032 100644 --- a/examples/with-grommet/README.md +++ b/examples/with-grommet/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-grommet with-grommet-app @@ -45,4 +45,4 @@ Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&ut ### Try it on CodeSandbox -[Open this example on CodeSandbox](https://codesandbox.io/s/github/zeit/next.js/tree/canary/examples/with-grommet) +[Open this example on CodeSandbox](https://codesandbox.io/s/github/vercel/next.js/tree/canary/examples/with-grommet) diff --git a/examples/with-hls-js/README.md b/examples/with-hls-js/README.md index 546f642dc761a..e939ffbdcfdc9 100644 --- a/examples/with-hls-js/README.md +++ b/examples/with-hls-js/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com/now): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-hls-js with-hls-js-app diff --git a/examples/with-http2/README.md b/examples/with-http2/README.md index 68415308a74a5..a99777fda375f 100644 --- a/examples/with-http2/README.md +++ b/examples/with-http2/README.md @@ -6,7 +6,7 @@ This example shows the most basic example using an HTTP2 server. We have 2 pages ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-http2 with-http2-app diff --git a/examples/with-i18n-rosetta/README.md b/examples/with-i18n-rosetta/README.md index 6f72c85d4b163..6718878335b16 100644 --- a/examples/with-i18n-rosetta/README.md +++ b/examples/with-i18n-rosetta/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-i18n-rosetta with-i18n-rosetta diff --git a/examples/with-iron-session/README.md b/examples/with-iron-session/README.md index 1e0e5cff24d39..93026df9e6f54 100644 --- a/examples/with-iron-session/README.md +++ b/examples/with-iron-session/README.md @@ -33,7 +33,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-iron-session with-iron-session-app diff --git a/examples/with-jest/README.md b/examples/with-jest/README.md index 00ec3dfe91e2d..527b98096aea2 100644 --- a/examples/with-jest/README.md +++ b/examples/with-jest/README.md @@ -6,7 +6,7 @@ This includes Next.js' built-in support for Global CSS, CSS Modules, and TypeScr ## How to Use -Quickly get started using [Create Next App](https://github.com/zeit/next.js/tree/canary/packages/create-next-app#readme)! +Quickly get started using [Create Next App](https://github.com/vercel/next.js/tree/canary/packages/create-next-app#readme)! In your terminal, run the following command: diff --git a/examples/with-jest/__tests__/__snapshots__/snapshot.js.snap b/examples/with-jest/__tests__/__snapshots__/snapshot.js.snap index 641d27e505a2f..cdc7be77b8fb2 100644 --- a/examples/with-jest/__tests__/__snapshots__/snapshot.js.snap +++ b/examples/with-jest/__tests__/__snapshots__/snapshot.js.snap @@ -8,7 +8,7 @@ exports[`renders homepage unchanged 1`] = `

- Welcome to + Welcome to @@ -18,7 +18,7 @@ exports[`renders homepage unchanged 1`] = `

- Get started by editing + Get started by editing pages/index.js @@ -50,7 +50,7 @@ exports[`renders homepage unchanged 1`] = `

Examples → diff --git a/examples/with-jest/pages/index.js b/examples/with-jest/pages/index.js index c66735bd76f93..18e0762268b10 100644 --- a/examples/with-jest/pages/index.js +++ b/examples/with-jest/pages/index.js @@ -29,7 +29,7 @@ const Home = () => (

Examples →

diff --git a/examples/with-kea/README.md b/examples/with-kea/README.md index 087d576b12fb9..8a36699b6f4c5 100644 --- a/examples/with-kea/README.md +++ b/examples/with-kea/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-kea with-kea-app diff --git a/examples/with-linaria/README.md b/examples/with-linaria/README.md index f96aa13c8bd8e..a916c4ade3a0b 100644 --- a/examples/with-linaria/README.md +++ b/examples/with-linaria/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-linaria with-linaria-app diff --git a/examples/with-lingui/README.md b/examples/with-lingui/README.md index 5074c0acfe956..5b038e3f6f1ba 100644 --- a/examples/with-lingui/README.md +++ b/examples/with-lingui/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-lingui with-lingui-app diff --git a/examples/with-loading/README.md b/examples/with-loading/README.md index e38604f491b5e..0484f5e9bad8c 100644 --- a/examples/with-loading/README.md +++ b/examples/with-loading/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-loading with-loading-app diff --git a/examples/with-magic/README.md b/examples/with-magic/README.md index 60378cbe31a4c..e2884d4457197 100644 --- a/examples/with-magic/README.md +++ b/examples/with-magic/README.md @@ -12,13 +12,13 @@ The login cookie is `httpOnly`, meaning it can only be accessed by the API, and Deploy the example using [Vercel Now](https://vercel.com/docs/now-cli#commands/overview/basic-usage): -[![Deploy with Vercel Now](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-magic) +[![Deploy with Vercel Now](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-magic) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-magic with-magic-app diff --git a/examples/with-markdown/README.md b/examples/with-markdown/README.md index b5db56a4fa0be..f71ddc8428aa7 100644 --- a/examples/with-markdown/README.md +++ b/examples/with-markdown/README.md @@ -1 +1 @@ -You can find how to use Markdown in Next.js at https://github.com/zeit/next.js/tree/canary/examples/blog-starter +You can find how to use Markdown in Next.js at https://github.com/vercel/next.js/tree/canary/examples/blog-starter diff --git a/examples/with-mdx/README.md b/examples/with-mdx/README.md index fb495a4b9e492..1dfc2a0a1d3c8 100644 --- a/examples/with-mdx/README.md +++ b/examples/with-mdx/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mdx with-mdx-app diff --git a/examples/with-mobx-react-lite/README.md b/examples/with-mobx-react-lite/README.md index c8c8d09865562..f2fee2f6f3426 100644 --- a/examples/with-mobx-react-lite/README.md +++ b/examples/with-mobx-react-lite/README.md @@ -6,7 +6,7 @@ In this example we are going to display a digital clock that updates every secon ![](http://i.imgur.com/JCxtWSj.gif) -This example is a mobx-react-lite port of the [with-mobx](https://github.com/zeit/next.js/tree/master/examples/with-mobx) example. MobX support has been implemented using React Hooks. +This example is a mobx-react-lite port of the [with-mobx](https://github.com/vercel/next.js/tree/master/examples/with-mobx) example. MobX support has been implemented using React Hooks. ## Deploy your own @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mobx-react-lite with-mobx-react-lite-app diff --git a/examples/with-mobx-state-tree-typescript/README.md b/examples/with-mobx-state-tree-typescript/README.md index 964a69cee7744..1093f45f47e2c 100644 --- a/examples/with-mobx-state-tree-typescript/README.md +++ b/examples/with-mobx-state-tree-typescript/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app @@ -30,7 +30,7 @@ yarn create next-app --example with-mobx-state-tree-typescript with-mobx-state-t ### Download manually -Download the example [or clone the repo](https://github.com/zeit/next.js): +Download the example [or clone the repo](https://github.com/vercel/next.js): ```bash curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-mobx-state-tree-typescript diff --git a/examples/with-mobx-state-tree/README.md b/examples/with-mobx-state-tree/README.md index 266ad40964c60..38692d791adb1 100644 --- a/examples/with-mobx-state-tree/README.md +++ b/examples/with-mobx-state-tree/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mobx-state-tree with-mobx-state-tree-app diff --git a/examples/with-mobx/README.md b/examples/with-mobx/README.md index efccc875c174c..d2ad17e1a6e75 100644 --- a/examples/with-mobx/README.md +++ b/examples/with-mobx/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mobx with-mobx-app diff --git a/examples/with-mocha/README.md b/examples/with-mocha/README.md index 6d42c5bfa97d8..e29e3d6a588c6 100644 --- a/examples/with-mocha/README.md +++ b/examples/with-mocha/README.md @@ -6,7 +6,7 @@ This example features an app with Mocha tests. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mocha with-mocha-app @@ -41,4 +41,4 @@ npm run test yarn test ``` -> A very important part of this example is the `.babelrc` file which configures the `test` environment to use `babel-preset-env` and configures it to transpile modules to `commonjs`). [Learn more](https://github.com/zeit/next.js/issues/2895). +> A very important part of this example is the `.babelrc` file which configures the `test` environment to use `babel-preset-env` and configures it to transpile modules to `commonjs`). [Learn more](https://github.com/vercel/next.js/issues/2895). diff --git a/examples/with-monaco-editor/README.md b/examples/with-monaco-editor/README.md index 6b9810f8f9bb9..98e8cfcdd9423 100644 --- a/examples/with-monaco-editor/README.md +++ b/examples/with-monaco-editor/README.md @@ -7,13 +7,13 @@ This example adds support for [Monaco Editor](https://github.com/Microsoft/monac Deploy the example using [ZEIT Now](https://zeit.co/now): -[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-monaco-editor) +[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-monaco-editor) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-monaco-editor with-monaco-editor-app diff --git a/examples/with-mux-video/README.md b/examples/with-mux-video/README.md index c3beb432bc33d..b71b9b887294f 100644 --- a/examples/with-mux-video/README.md +++ b/examples/with-mux-video/README.md @@ -10,11 +10,11 @@ This example uses Mux Video, an API-first platform for video. The example featur Deploy the example using [Vercel](https://vercel.com/home): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-mux-video) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-mux-video) ## How to use -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-mux-video with-mux-video-app diff --git a/examples/with-mux-video/components/upload-page.js b/examples/with-mux-video/components/upload-page.js index c638882591fb5..bc945f16c050a 100644 --- a/examples/with-mux-video/components/upload-page.js +++ b/examples/with-mux-video/components/upload-page.js @@ -39,7 +39,7 @@ export default function UploadPage({ children }) {

To learn more,{' '} diff --git a/examples/with-mux-video/pages/v/[id].js b/examples/with-mux-video/pages/v/[id].js index 3b818c416ad8e..349fa1a12a0cf 100644 --- a/examples/with-mux-video/pages/v/[id].js +++ b/examples/with-mux-video/pages/v/[id].js @@ -94,7 +94,7 @@ export default function Playback({ playbackId, src, poster }) {

To learn more,{' '} diff --git a/examples/with-netlify-cms/README.md b/examples/with-netlify-cms/README.md index 234d44bc38269..ec35d1daa9c6e 100644 --- a/examples/with-netlify-cms/README.md +++ b/examples/with-netlify-cms/README.md @@ -6,7 +6,7 @@ ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-netlify-cms with-netlify-cms-app diff --git a/examples/with-next-css/README.md b/examples/with-next-css/README.md index 1e1a10cb11e84..a6c6fc442de29 100644 --- a/examples/with-next-css/README.md +++ b/examples/with-next-css/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-next-css with-next-css-app diff --git a/examples/with-next-less/README.md b/examples/with-next-less/README.md index baad62e4364d6..7ac004d0b5a9f 100644 --- a/examples/with-next-less/README.md +++ b/examples/with-next-less/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-next-less with-next-less-app diff --git a/examples/with-next-offline/README.md b/examples/with-next-offline/README.md index b789ce0b44a9d..8800def045776 100644 --- a/examples/with-next-offline/README.md +++ b/examples/with-next-offline/README.md @@ -6,7 +6,7 @@ This example demonstrates how to use the [next-offline plugin](https://github.co ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-next-offline with-next-offline-app diff --git a/examples/with-next-page-transitions/README.md b/examples/with-next-page-transitions/README.md index 84ba05db3eeab..fd6037048e0af 100644 --- a/examples/with-next-page-transitions/README.md +++ b/examples/with-next-page-transitions/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-next-page-transitions with-next-page-transitions diff --git a/examples/with-next-sass/README.md b/examples/with-next-sass/README.md index 92c3438222397..64b45ba44a91a 100644 --- a/examples/with-next-sass/README.md +++ b/examples/with-next-sass/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-next-sass with-next-sass-app diff --git a/examples/with-next-seo/README.md b/examples/with-next-seo/README.md index 4180b451dcb0c..e1ad948a46f20 100644 --- a/examples/with-next-seo/README.md +++ b/examples/with-next-seo/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-next-seo next-seo-app diff --git a/examples/with-now-env/README.md b/examples/with-now-env/README.md index 316c8a9358d24..cf44ded8fdcfc 100644 --- a/examples/with-now-env/README.md +++ b/examples/with-now-env/README.md @@ -6,7 +6,7 @@ This example shows the usage of [Now Secrets](https://vercel.com/docs/v2/deploym ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash npm init next-app --example with-now-env with-now-env-app diff --git a/examples/with-orbit-components/README.md b/examples/with-orbit-components/README.md index 4dad83c3faea9..4cea8b2196d14 100644 --- a/examples/with-orbit-components/README.md +++ b/examples/with-orbit-components/README.md @@ -4,7 +4,7 @@ For this purpose we are extending `` of injected ``, and also adding `@kiwicom/babel-plugin-orbit-components`. -This fork comes from [styled-components-example](https://github.com/zeit/next.js/tree/canary/examples/with-styled-components). +This fork comes from [styled-components-example](https://github.com/vercel/next.js/tree/canary/examples/with-styled-components). ## Deploy your own @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-orbit-components with-orbit-components-app diff --git a/examples/with-overmind/README.md b/examples/with-overmind/README.md index 419fa4cc45483..ae7a97c1ed95d 100644 --- a/examples/with-overmind/README.md +++ b/examples/with-overmind/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-overmind with-overmind-app diff --git a/examples/with-passport-and-next-connect/README.md b/examples/with-passport-and-next-connect/README.md index 848cc4bf2a272..2377586df2e09 100644 --- a/examples/with-passport-and-next-connect/README.md +++ b/examples/with-passport-and-next-connect/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ## How to use -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-passport-and-next-connect with-passport-and-next-connect-app diff --git a/examples/with-passport/README.md b/examples/with-passport/README.md index c6df5ca4723a2..e9e62d89e80a7 100644 --- a/examples/with-passport/README.md +++ b/examples/with-passport/README.md @@ -12,13 +12,13 @@ The login cookie is httpOnly, meaning it can only be accessed by the API, and it Deploy the example using [Vercel](https://vercel.com): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-passport) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-passport) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-passport with-passport-app @@ -28,7 +28,7 @@ yarn create next-app --example with-passport with-passport-app ### Download manually -Download the example [or clone the repo](https://github.com/zeit/next.js): +Download the example [or clone the repo](https://github.com/vercel/next.js): ```bash curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-passport diff --git a/examples/with-patternfly/README.md b/examples/with-patternfly/README.md index 7060d86b615db..97df51f7f2641 100644 --- a/examples/with-patternfly/README.md +++ b/examples/with-patternfly/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-patternfly with-patternfly-app diff --git a/examples/with-polyfills/README.md b/examples/with-polyfills/README.md index 7b36344238c53..4b038143e5b7c 100644 --- a/examples/with-polyfills/README.md +++ b/examples/with-polyfills/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-polyfills with-polyfills-app @@ -27,7 +27,7 @@ yarn create next-app --example with-polyfills with-polyfills-app Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-polyfills +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-polyfills cd with-polyfills ``` diff --git a/examples/with-polyfills/client/polyfills.js b/examples/with-polyfills/client/polyfills.js index 044c019ac47d5..bce92e0823f9a 100644 --- a/examples/with-polyfills/client/polyfills.js +++ b/examples/with-polyfills/client/polyfills.js @@ -4,5 +4,5 @@ // This file is loaded for all browsers // Next.js includes a number of polyfills only for older browsers like IE11 // Make sure you don't duplicate these in this file -// https://github.com/zeit/next.js/blob/canary/packages/next-polyfill-nomodule/src/index.js +// https://github.com/vercel/next.js/blob/canary/packages/next-polyfill-nomodule/src/index.js console.log('Load your polyfills') diff --git a/examples/with-portals-ssr/README.md b/examples/with-portals-ssr/README.md index fb210e1f9cdd7..b83f80a3d7df1 100644 --- a/examples/with-portals-ssr/README.md +++ b/examples/with-portals-ssr/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-portals-ssr with-portals-ssr diff --git a/examples/with-portals/README.md b/examples/with-portals/README.md index 2b29a473216f5..e039ab933f822 100644 --- a/examples/with-portals/README.md +++ b/examples/with-portals/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-portals with-portals-app diff --git a/examples/with-prefetching/README.md b/examples/with-prefetching/README.md index c5eda54f9a231..80e58572d493d 100644 --- a/examples/with-prefetching/README.md +++ b/examples/with-prefetching/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-prefetching with-prefetching-app diff --git a/examples/with-quill-js/README.md b/examples/with-quill-js/README.md index d07b9af239091..d524e4aebfb5d 100644 --- a/examples/with-quill-js/README.md +++ b/examples/with-quill-js/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-quill-js with-quill-js-app diff --git a/examples/with-rbx-bulma-pro/README.md b/examples/with-rbx-bulma-pro/README.md index 6600854dcfe6b..a4e9d630c7df9 100644 --- a/examples/with-rbx-bulma-pro/README.md +++ b/examples/with-rbx-bulma-pro/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-rbx-bulma-pro with-rbx-bulma-pro-app diff --git a/examples/with-rbx-bulma-pro/pages/index.js b/examples/with-rbx-bulma-pro/pages/index.js index 7ee945a61c293..f44638bb94985 100644 --- a/examples/with-rbx-bulma-pro/pages/index.js +++ b/examples/with-rbx-bulma-pro/pages/index.js @@ -8,7 +8,7 @@ const Home = () => ( - + Getting Started →

Learn more about Next on Github and in their examples

@@ -20,7 +20,7 @@ const Home = () => ( - + Examples →

@@ -35,7 +35,7 @@ const Home = () => ( - + Create Next App →

Was this tool helpful? Let us know how we can improve it

diff --git a/examples/with-react-bootstrap/README.md b/examples/with-react-bootstrap/README.md index 5e9365b18c3f1..5352b54b9da41 100644 --- a/examples/with-react-bootstrap/README.md +++ b/examples/with-react-bootstrap/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-bootstrap with-react-bootstrap-app diff --git a/examples/with-react-bootstrap/pages/index.jsx b/examples/with-react-bootstrap/pages/index.jsx index 2c76d5fdb80a1..273da9a5f06b6 100644 --- a/examples/with-react-bootstrap/pages/index.jsx +++ b/examples/with-react-bootstrap/pages/index.jsx @@ -49,7 +49,7 @@ export default function Home() { diff --git a/examples/with-react-ga/README.md b/examples/with-react-ga/README.md index 649178b0fc23d..32bd5906236b9 100644 --- a/examples/with-react-ga/README.md +++ b/examples/with-react-ga/README.md @@ -1,6 +1,6 @@ # React-GA example -This example shows the most basic way to use [react-ga](https://github.com/react-ga/react-ga) using custom [App](https://github.com/zeit/next.js#custom-app) +This example shows the most basic way to use [react-ga](https://github.com/react-ga/react-ga) using custom [App](https://github.com/vercel/next.js#custom-app) component with NextJs. Modify `Tracking ID` in `utils/analytics.js` file for testing this example. ## Deploy your own @@ -13,7 +13,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-ga with-react-ga-app diff --git a/examples/with-react-helmet/README.md b/examples/with-react-helmet/README.md index e9c23bada2cb5..81d4636841320 100644 --- a/examples/with-react-helmet/README.md +++ b/examples/with-react-helmet/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-helmet with-react-helmet-app diff --git a/examples/with-react-intl/README.md b/examples/with-react-intl/README.md index c723d2b76986b..3d768b4de4fe9 100644 --- a/examples/with-react-intl/README.md +++ b/examples/with-react-intl/README.md @@ -6,7 +6,7 @@ This example app shows how to integrate [React Intl][] with Next. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-intl with-react-intl-app @@ -39,7 +39,7 @@ Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&ut - Server-side language negotiation - React Intl locale data loading via `pages/_document.js` customization -- React Intl integration with [custom App](https://github.com/zeit/next.js#custom-app) component +- React Intl integration with [custom App](https://github.com/vercel/next.js#custom-app) component - `` creation with `locale`, `messages` props - Default message extraction via `babel-plugin-react-intl` integration - Translation management via build script and customized Next server @@ -65,7 +65,7 @@ If you still want to enable this feature, you should install a `DOMParser` imple ```js // Polyfill Node with `DOMParser` required by formatjs. -// See: https://github.com/zeit/next.js/issues/10533 +// See: https://github.com/vercel/next.js/issues/10533 const { DOMParser } = require('xmldom') global.DOMParser = DOMParser ``` diff --git a/examples/with-react-intl/server.js b/examples/with-react-intl/server.js index 73605f543ff9a..4a0859f5e69d0 100644 --- a/examples/with-react-intl/server.js +++ b/examples/with-react-intl/server.js @@ -24,7 +24,7 @@ if (global.Intl) { global.Intl = require('intl') } -// Fix: https://github.com/zeit/next.js/issues/11777 +// Fix: https://github.com/vercel/next.js/issues/11777 // See related issue: https://github.com/andyearnshaw/Intl.js/issues/308 if (Intl.__disableRegExpRestore) { Intl.__disableRegExpRestore() @@ -32,7 +32,7 @@ if (Intl.__disableRegExpRestore) { // Polyfill DOMParser for **pre-v4** react-intl used by formatjs. // Only needed when using FormattedHTMLMessage. Make sure to install `xmldom`. -// See: https://github.com/zeit/next.js/issues/10533 +// See: https://github.com/vercel/next.js/issues/10533 // const { DOMParser } = require('xmldom') // global.DOMParser = DOMParser diff --git a/examples/with-react-jss/README.md b/examples/with-react-jss/README.md index f76f545b7a376..bcbcdf33b4ee8 100644 --- a/examples/with-react-jss/README.md +++ b/examples/with-react-jss/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-jss with-react-jss-app diff --git a/examples/with-react-md/README.md b/examples/with-react-md/README.md index cea7a0e6bcee7..dd38ec63ce162 100644 --- a/examples/with-react-md/README.md +++ b/examples/with-react-md/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-md with-react-md-app diff --git a/examples/with-react-multi-carousel/README.md b/examples/with-react-multi-carousel/README.md index 712f05d0dbfcb..04dc88ff522c4 100644 --- a/examples/with-react-multi-carousel/README.md +++ b/examples/with-react-multi-carousel/README.md @@ -14,7 +14,7 @@ _Live Example: https://react-multi-carousel.now.sh_ ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-multi-carousel with-react-multi-carousel-app @@ -48,6 +48,6 @@ Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&ut - On the server-side, we detect the user's device to decide how many items we are showing and then using flex-basis to assign \* width to the carousel item. - On the client-side, old fashion getting width of the container and assign the average of it to each carousel item. -The UI part of this example is copy paste from for the sake of simplicity. [with-material-ui](https://github.com/zeit/next.js/tree/canary/examples/with-material-ui) +The UI part of this example is copy paste from for the sake of simplicity. [with-material-ui](https://github.com/vercel/next.js/tree/canary/examples/with-material-ui) Source code is hosted on the [react-multi-carorusel](https://github.com/YIZHUANG/react-multi-carousel/tree/master/examples/ssr) repository. diff --git a/examples/with-react-native-web/README.md b/examples/with-react-native-web/README.md index badcb7b78301d..0583ca9d479f0 100644 --- a/examples/with-react-native-web/README.md +++ b/examples/with-react-native-web/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-native-web diff --git a/examples/with-react-relay-network-modern/README.md b/examples/with-react-relay-network-modern/README.md index 095ab40465922..8228200febfa7 100644 --- a/examples/with-react-relay-network-modern/README.md +++ b/examples/with-react-relay-network-modern/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-relay-network-modern with-react-relay-network-modern-app diff --git a/examples/with-react-toolbox/README.md b/examples/with-react-toolbox/README.md index 2589b9a1ead73..b63dfbff542c5 100644 --- a/examples/with-react-toolbox/README.md +++ b/examples/with-react-toolbox/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-toolbox with-react-toolbox-app diff --git a/examples/with-react-with-styles/README.md b/examples/with-react-with-styles/README.md index c5bf08a2ade27..13a01c6101e78 100644 --- a/examples/with-react-with-styles/README.md +++ b/examples/with-react-with-styles/README.md @@ -6,7 +6,7 @@ In this case we are using [react-with-styles](https://github.com/airbnb/react-wi For this purpose we are extending the `` and injecting the server side rendered styles into the ``. -We are using `pages/_index.js` from this example [with-aphrodite](https://github.com/zeit/next.js/tree/master/examples/with-aphrodite). +We are using `pages/_index.js` from this example [with-aphrodite](https://github.com/vercel/next.js/tree/master/examples/with-aphrodite). ## Deploy your own @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-react-with-styles with-react-with-styles-app diff --git a/examples/with-reason-relay/README.md b/examples/with-reason-relay/README.md index 0629b01d4cca3..584965640febe 100644 --- a/examples/with-reason-relay/README.md +++ b/examples/with-reason-relay/README.md @@ -8,13 +8,13 @@ This example relies on [graph.cool](https://www.graph.cool) for its GraphQL back Deploy the example using [ZEIT Now](https://zeit.co/now): -[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-reason-relay) +[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-reason-relay) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-reason-relay with-reason-relay @@ -27,7 +27,7 @@ yarn create next-app --example with-reason-relay with-reason-relay Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-reason-relay +curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-reason-relay cd with-reason-relay ``` diff --git a/examples/with-reasonml-todo/README.md b/examples/with-reasonml-todo/README.md index bfd39493155ae..4cb616b036eed 100644 --- a/examples/with-reasonml-todo/README.md +++ b/examples/with-reasonml-todo/README.md @@ -24,7 +24,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-reasonml-todo with-reasonml-app diff --git a/examples/with-reasonml/README.md b/examples/with-reasonml/README.md index db6d3d7bcfb4f..a4ff241d02d73 100644 --- a/examples/with-reasonml/README.md +++ b/examples/with-reasonml/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-reasonml with-reasonml-app diff --git a/examples/with-rebass/README.md b/examples/with-rebass/README.md index 41384e71cf4b0..6cc73f6c4573c 100644 --- a/examples/with-rebass/README.md +++ b/examples/with-rebass/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-rebass with-rebass-app diff --git a/examples/with-rebass/pages/index.js b/examples/with-rebass/pages/index.js index 2c89b7d7e22ae..34eb999a4cf44 100644 --- a/examples/with-rebass/pages/index.js +++ b/examples/with-rebass/pages/index.js @@ -16,7 +16,7 @@ function HomePage() { - + Next.js diff --git a/examples/with-redux-code-splitting/README.md b/examples/with-redux-code-splitting/README.md index 1e993c235d75b..c93c10318178e 100644 --- a/examples/with-redux-code-splitting/README.md +++ b/examples/with-redux-code-splitting/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux-code-splitting with-redux-code-splitting-app diff --git a/examples/with-redux-observable/README.md b/examples/with-redux-observable/README.md index 967f04a3eb629..d8966b411bf47 100644 --- a/examples/with-redux-observable/README.md +++ b/examples/with-redux-observable/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux-observable with-redux-observable-app @@ -92,5 +92,5 @@ The layout of the redux related functionality is split between: and organized in `redux/index.js`. Excepting in those manners discussed above, the configuration is similar the -configuration found in [with-redux example](https://github.com/zeit/next.js/tree/canary/examples/with-redux) +configuration found in [with-redux example](https://github.com/vercel/next.js/tree/canary/examples/with-redux) and [redux-observable docs](https://redux-observable.js.org/). diff --git a/examples/with-redux-persist/README.md b/examples/with-redux-persist/README.md index 9545eb4be9dd6..8d33e8620d683 100644 --- a/examples/with-redux-persist/README.md +++ b/examples/with-redux-persist/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux-persist with-redux-persist-app @@ -45,7 +45,7 @@ Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&ut ## Notes -In this example, we are going to use the Next.js example [with-redux](https://github.com/zeit/next.js/tree/master/examples/with-redux-persist) to see how you can add a layer of persistence for one of the state from global redux state. To know more about how to create a Next.js project with Redux, you can browse the example project [with-redux](https://github.com/zeit/next.js/tree/master/examples/with-redux) to know more about its implementation. +In this example, we are going to use the Next.js example [with-redux](https://github.com/vercel/next.js/tree/master/examples/with-redux-persist) to see how you can add a layer of persistence for one of the state from global redux state. To know more about how to create a Next.js project with Redux, you can browse the example project [with-redux](https://github.com/vercel/next.js/tree/master/examples/with-redux) to know more about its implementation. The Redux Persist has been initialized in `store.js`. You can modify the `redux-persist` configuration (In this example, we are persisting only one state termed `exampleData` which is added in the `persist configuration`, listed under the values of whitelist states) if you need something more with `redux-persist` by following their [docs](https://github.com/rt2zz/redux-persist/blob/master/README.md). To wrap out our component in the `Persist Gate` which rehydrates the global state with combining the persisted values and global state values, we'll have to make some modifications in the implementation of Redux in `pages/_app.js`. diff --git a/examples/with-redux-saga/README.md b/examples/with-redux-saga/README.md index db2b0fdf526c6..4fc244d9ffcd6 100644 --- a/examples/with-redux-saga/README.md +++ b/examples/with-redux-saga/README.md @@ -2,7 +2,7 @@ Usually splitting your app state into `pages` feels natural, but sometimes you'll want to have global state for your app. This is an example using `redux` and `redux-saga` that works with universal rendering. This is just one way it can be done. If you have any suggestions or feedback please submit an issue or PR. -> This example and documentation is based on the [with-redux](https://github.com/zeit/next.js/tree/master/examples/with-redux) example. +> This example and documentation is based on the [with-redux](https://github.com/vercel/next.js/tree/master/examples/with-redux) example. ## Deploy your own @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux-saga with-redux-saga-app diff --git a/examples/with-redux-thunk/README.md b/examples/with-redux-thunk/README.md index 3af88d373dbdb..20c07898263a0 100644 --- a/examples/with-redux-thunk/README.md +++ b/examples/with-redux-thunk/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux-thunk with-redux-thunk-app diff --git a/examples/with-redux-toolkit/README.md b/examples/with-redux-toolkit/README.md index 24a5d8935f512..564a47cb5428b 100644 --- a/examples/with-redux-toolkit/README.md +++ b/examples/with-redux-toolkit/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-redux-toolkit with-redux-toolkit-app diff --git a/examples/with-redux-wrapper/README.md b/examples/with-redux-wrapper/README.md index 68e4e83bde4b5..41aeb28c46de4 100644 --- a/examples/with-redux-wrapper/README.md +++ b/examples/with-redux-wrapper/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux-wrapper with-redux-wrapper-app diff --git a/examples/with-redux/README.md b/examples/with-redux/README.md index f78c15a695c9d..9418afd3d034d 100644 --- a/examples/with-redux/README.md +++ b/examples/with-redux/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-redux with-redux-app diff --git a/examples/with-reflux/README.md b/examples/with-reflux/README.md index bf7abf626fa33..c8c3580214e2a 100644 --- a/examples/with-reflux/README.md +++ b/examples/with-reflux/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-reflux with-reflux-app @@ -25,7 +25,7 @@ yarn create next-app --example with-reflux with-reflux-app Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-reflux +curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-reflux cd with-reflux ``` diff --git a/examples/with-relay-modern/README.md b/examples/with-relay-modern/README.md index 75e57b83e6130..3cf559f391195 100644 --- a/examples/with-relay-modern/README.md +++ b/examples/with-relay-modern/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-relay-modern with-relay-modern-app diff --git a/examples/with-rematch/README.md b/examples/with-rematch/README.md index 6350ae8436b28..0a1f27b170aee 100644 --- a/examples/with-rematch/README.md +++ b/examples/with-rematch/README.md @@ -2,7 +2,7 @@ This example has two pages. The first page has a counter which can be incremented synchronously or asynchronously. The second page is a page which shows a list of github users. It fetches data from the github api using this [endpoint](api.github.com/users). -Since rematch is utility which uses redux under the hood, some elements like `store.js` and `withRematch` are very similar to the `with-redux` example. Please go through the `with-redux` example [here](https://github.com/zeit/next.js/tree/master/examples/with-redux) before reading further if you are not familiar with how redux is integrated with nextjs. Rematch is just an extension for Redux so a lot of elements are the same. +Since rematch is utility which uses redux under the hood, some elements like `store.js` and `withRematch` are very similar to the `with-redux` example. Please go through the `with-redux` example [here](https://github.com/vercel/next.js/tree/master/examples/with-redux) before reading further if you are not familiar with how redux is integrated with nextjs. Rematch is just an extension for Redux so a lot of elements are the same. ## Deploy your own @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash npm init next-app --example with-rematch with-rematch-app diff --git a/examples/with-route-as-modal/README.md b/examples/with-route-as-modal/README.md index 7babf934c96d8..e79e614db8373 100644 --- a/examples/with-route-as-modal/README.md +++ b/examples/with-route-as-modal/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-route-as-modal with-route-as-modal-app diff --git a/examples/with-segment-analytics/README.md b/examples/with-segment-analytics/README.md index 5154928a8655c..ad04fcf85d5d1 100644 --- a/examples/with-segment-analytics/README.md +++ b/examples/with-segment-analytics/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-segment-analytics with-segment-analytics-app diff --git a/examples/with-semantic-ui/README.md b/examples/with-semantic-ui/README.md index d1c9aeff0c1bb..fbc8b6dfecbae 100644 --- a/examples/with-semantic-ui/README.md +++ b/examples/with-semantic-ui/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-semantic-ui with-semantic-ui-app diff --git a/examples/with-sentry-simple/README.md b/examples/with-sentry-simple/README.md index 206bb552b9883..a256ebf61f4f7 100644 --- a/examples/with-sentry-simple/README.md +++ b/examples/with-sentry-simple/README.md @@ -1,4 +1,4 @@ -[![Deploy To Now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-sentry-simple) +[![Deploy To Now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/vercel/next.js/tree/master/examples/with-sentry-simple) # Sentry (Simple Example) @@ -12,7 +12,7 @@ This is a simple example showing how to use [Sentry](https://sentry.io) to catch ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-sentry-simple with-sentry-simple diff --git a/examples/with-sentry-simple/pages/_app.js b/examples/with-sentry-simple/pages/_app.js index 1fb40ec3f53a1..93e2a2a412c5c 100644 --- a/examples/with-sentry-simple/pages/_app.js +++ b/examples/with-sentry-simple/pages/_app.js @@ -6,6 +6,6 @@ Sentry.init({ }) export default function App({ Component, pageProps, err }) { - // Workaround for https://github.com/zeit/next.js/issues/8592 + // Workaround for https://github.com/vercel/next.js/issues/8592 return } diff --git a/examples/with-sentry-simple/pages/_error.js b/examples/with-sentry-simple/pages/_error.js index 0bb741c4240d1..76a72693d4672 100644 --- a/examples/with-sentry-simple/pages/_error.js +++ b/examples/with-sentry-simple/pages/_error.js @@ -4,7 +4,7 @@ import * as Sentry from '@sentry/node' const MyError = ({ statusCode, hasGetInitialPropsRun, err }) => { if (!hasGetInitialPropsRun && err) { // getInitialProps is not called in case of - // https://github.com/zeit/next.js/issues/8592. As a workaround, we pass + // https://github.com/vercel/next.js/issues/8592. As a workaround, we pass // err via _app.js so it can be captured Sentry.captureException(err) } @@ -18,7 +18,7 @@ MyError.getInitialProps = async ({ res, err, asPath }) => { err, }) - // Workaround for https://github.com/zeit/next.js/issues/8592, mark when + // Workaround for https://github.com/vercel/next.js/issues/8592, mark when // getInitialProps has run errorInitialProps.hasGetInitialPropsRun = true diff --git a/examples/with-sentry/README.md b/examples/with-sentry/README.md index bd3cde754445e..c5e5a15600262 100644 --- a/examples/with-sentry/README.md +++ b/examples/with-sentry/README.md @@ -6,7 +6,7 @@ An example showing use of [Sentry](https://sentry.io) to catch & report errors o ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-sentry with-sentry-app diff --git a/examples/with-shallow-routing/README.md b/examples/with-shallow-routing/README.md index 07040d5a779aa..3c1365db616bd 100644 --- a/examples/with-shallow-routing/README.md +++ b/examples/with-shallow-routing/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-shallow-routing with-shallow-routing-app diff --git a/examples/with-slate/README.md b/examples/with-slate/README.md index e85e24a85b620..b48af53b7f914 100644 --- a/examples/with-slate/README.md +++ b/examples/with-slate/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash npm init next-app --example with-slate with-slate-app @@ -22,7 +22,7 @@ yarn create next-app --example with-slate with-slate-app ### Download manually -Download the example [or clone the repo](https://github.com/zeit/next.js): +Download the example [or clone the repo](https://github.com/vercel/next.js): ```bash curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-slate diff --git a/examples/with-static-export/README.md b/examples/with-static-export/README.md index 2cc2bec361a25..4377280bf36c2 100644 --- a/examples/with-static-export/README.md +++ b/examples/with-static-export/README.md @@ -8,7 +8,7 @@ When trying to run `npm start` it will build and export your pages into the `out ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-static-export with-static-export-app diff --git a/examples/with-stencil/README.md b/examples/with-stencil/README.md index 232e16cc70dd3..6c9feae54d12c 100644 --- a/examples/with-stencil/README.md +++ b/examples/with-stencil/README.md @@ -10,7 +10,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: ```bash npx create-next-app --example with-stencil with-stencil-app diff --git a/examples/with-stitches-styled/README.md b/examples/with-stitches-styled/README.md index ee61611dd820f..345f981099e90 100644 --- a/examples/with-stitches-styled/README.md +++ b/examples/with-stitches-styled/README.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app). +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started @@ -21,7 +21,7 @@ To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. -You can check out [the Next.js GitHub repository](https://github.com/zeit/next.js/) - your feedback and contributions are welcome! +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on ZEIT Now diff --git a/examples/with-stitches/README.md b/examples/with-stitches/README.md index ee61611dd820f..345f981099e90 100644 --- a/examples/with-stitches/README.md +++ b/examples/with-stitches/README.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app). +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started @@ -21,7 +21,7 @@ To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. -You can check out [the Next.js GitHub repository](https://github.com/zeit/next.js/) - your feedback and contributions are welcome! +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on ZEIT Now diff --git a/examples/with-stomp/README.md b/examples/with-stomp/README.md index 6401085c74fe0..87f6ddd642536 100644 --- a/examples/with-stomp/README.md +++ b/examples/with-stomp/README.md @@ -10,7 +10,7 @@ Read more about [STOMP](http://jmesnil.net/stomp-websocket/doc/) protocol. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-stomp with-stomp-app diff --git a/examples/with-storybook/README.md b/examples/with-storybook/README.md index ed6c45ff19ac7..9f42c29311a8b 100644 --- a/examples/with-storybook/README.md +++ b/examples/with-storybook/README.md @@ -6,7 +6,7 @@ This example shows a default set up of Storybook. Also included in the example i ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-storybook with-storybook-app diff --git a/examples/with-strict-csp-hash/README.md b/examples/with-strict-csp-hash/README.md index ccde4538b442d..819999a97c797 100644 --- a/examples/with-strict-csp-hash/README.md +++ b/examples/with-strict-csp-hash/README.md @@ -1 +1 @@ -This example was moved to [with-strict-csp](https://github.com/zeit/next.js/tree/canary/examples/with-strict-csp) +This example was moved to [with-strict-csp](https://github.com/vercel/next.js/tree/canary/examples/with-strict-csp) diff --git a/examples/with-strict-csp/README.md b/examples/with-strict-csp/README.md index f25fe4aba9eed..4e6003fe1c2ca 100644 --- a/examples/with-strict-csp/README.md +++ b/examples/with-strict-csp/README.md @@ -9,13 +9,13 @@ Note: There are still valid cases for using a nonce in case you need to inline s Deploy the example using [Vercel](https://vercel.com): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-strict-csp-hash) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-strict-csp-hash) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-strict-csp-hash with-strict-csp-hash-app diff --git a/examples/with-stripe-typescript/README.md b/examples/with-stripe-typescript/README.md index b9f0cff982714..8f53a51130c78 100644 --- a/examples/with-stripe-typescript/README.md +++ b/examples/with-stripe-typescript/README.md @@ -59,7 +59,7 @@ Read more about testing on Stripe at https://stripe.com/docs/testing. ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-stripe-typescript with-stripe-typescript-app diff --git a/examples/with-stripe-typescript/components/Layout.tsx b/examples/with-stripe-typescript/components/Layout.tsx index a6cd61a2716cc..f64c24f5c3691 100644 --- a/examples/with-stripe-typescript/components/Layout.tsx +++ b/examples/with-stripe-typescript/components/Layout.tsx @@ -60,7 +60,7 @@ const Layout: React.FunctionComponent = ({ .{' View code on '} diff --git a/examples/with-style-sheet/README.md b/examples/with-style-sheet/README.md index c85cc608fa374..64d02a33efc98 100644 --- a/examples/with-style-sheet/README.md +++ b/examples/with-style-sheet/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-style-sheet with-style-sheet-app diff --git a/examples/with-styled-components-rtl/README.md b/examples/with-styled-components-rtl/README.md index 220995dbf9d86..856bfee703bed 100644 --- a/examples/with-styled-components-rtl/README.md +++ b/examples/with-styled-components-rtl/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-styled-components-rtl with-styled-components-rtl-app diff --git a/examples/with-styled-components/README.md b/examples/with-styled-components/README.md index b19780befab6b..1ce700c8928d2 100644 --- a/examples/with-styled-components/README.md +++ b/examples/with-styled-components/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-styled-components with-styled-components-app @@ -45,7 +45,7 @@ Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&ut ### Try it on CodeSandbox -[Open this example on CodeSandbox](https://codesandbox.io/s/github/zeit/next.js/tree/canary/examples/with-styled-components) +[Open this example on CodeSandbox](https://codesandbox.io/s/github/vercel/next.js/tree/canary/examples/with-styled-components) ### Notes diff --git a/examples/with-styled-jsx-plugins/README.md b/examples/with-styled-jsx-plugins/README.md index 34fd42bb3ad34..bec85dde162ae 100644 --- a/examples/with-styled-jsx-plugins/README.md +++ b/examples/with-styled-jsx-plugins/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-styled-jsx-plugins with-styled-jsx-plugins-app diff --git a/examples/with-styled-jsx-postcss/README.md b/examples/with-styled-jsx-postcss/README.md index f9d2f83e3c3ae..5ef4bfd8b34eb 100644 --- a/examples/with-styled-jsx-postcss/README.md +++ b/examples/with-styled-jsx-postcss/README.md @@ -1 +1 @@ -This examples was moved to [https://github.com/zeit/next.js/tree/master/examples/with-styled-jsx-plugins](https://github.com/zeit/next.js/tree/master/examples/with-styled-jsx-plugins) +This examples was moved to [https://github.com/vercel/next.js/tree/master/examples/with-styled-jsx-plugins](https://github.com/vercel/next.js/tree/master/examples/with-styled-jsx-plugins) diff --git a/examples/with-styled-jsx-scss/README.md b/examples/with-styled-jsx-scss/README.md index d14f662445281..bd94f5529706e 100644 --- a/examples/with-styled-jsx-scss/README.md +++ b/examples/with-styled-jsx-scss/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-styled-jsx-scss with-styled-jsx-scss-app diff --git a/examples/with-styletron/README.md b/examples/with-styletron/README.md index b4f318e3b5912..c5bb9422574f4 100644 --- a/examples/with-styletron/README.md +++ b/examples/with-styletron/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-styletron with-styletron-app diff --git a/examples/with-sw-precache/README.md b/examples/with-sw-precache/README.md index 622f3846de4a9..84416fd52efcc 100644 --- a/examples/with-sw-precache/README.md +++ b/examples/with-sw-precache/README.md @@ -1 +1 @@ -We recommend using https://github.com/zeit/next.js/tree/canary/examples/with-next-offline +We recommend using https://github.com/vercel/next.js/tree/canary/examples/with-next-offline diff --git a/examples/with-tailwindcss-emotion/README.md b/examples/with-tailwindcss-emotion/README.md index db62f6d308a53..1bb3c08f65fee 100644 --- a/examples/with-tailwindcss-emotion/README.md +++ b/examples/with-tailwindcss-emotion/README.md @@ -1,6 +1,6 @@ # Tailwind CSS with Emotion.js example -This is an example of how you can add [tailwind CSS](https://tailwindcss.com/) with [Emotion.js](https://emotion.sh/docs/introduction) in your web app. It takes inspiration from [examples/with-tailwindcss](https://github.com/zeit/next.js/blob/canary/examples/with-tailwindcss/README.md). +This is an example of how you can add [tailwind CSS](https://tailwindcss.com/) with [Emotion.js](https://emotion.sh/docs/introduction) in your web app. It takes inspiration from [examples/with-tailwindcss](https://github.com/vercel/next.js/blob/canary/examples/with-tailwindcss/README.md). `@tailwindcssinjs/macro` is used to add tailwind classes inside Emotion by injecting the tailwind CSS into the styled component. No need to use CSS files, autoprefix, minifier, etc. You will get the full benefits of Emotion. @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-tailwindcss-emotion with-tailwindcss-emotion-app diff --git a/examples/with-tailwindcss/README.md b/examples/with-tailwindcss/README.md index 2eae6ad49657d..c749bd99cc320 100644 --- a/examples/with-tailwindcss/README.md +++ b/examples/with-tailwindcss/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-tailwindcss with-tailwindcss-app diff --git a/examples/with-tailwindcss/components/nav.js b/examples/with-tailwindcss/components/nav.js index 9fa866085529a..5034568696f4d 100644 --- a/examples/with-tailwindcss/components/nav.js +++ b/examples/with-tailwindcss/components/nav.js @@ -1,7 +1,7 @@ import Link from 'next/link' const links = [ - { href: 'https://github.com/zeit/next.js', label: 'GitHub' }, + { href: 'https://github.com/vercel/next.js', label: 'GitHub' }, { href: 'https://nextjs.org/docs', label: 'Docs' }, ] diff --git a/examples/with-three-js/README.md b/examples/with-three-js/README.md index 90a6678255cdb..5bef52cd772e4 100644 --- a/examples/with-three-js/README.md +++ b/examples/with-three-js/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-three-js diff --git a/examples/with-typescript-eslint-jest/README.md b/examples/with-typescript-eslint-jest/README.md index fe052adaf10f6..de10df8c63afb 100644 --- a/examples/with-typescript-eslint-jest/README.md +++ b/examples/with-typescript-eslint-jest/README.md @@ -12,13 +12,13 @@ Bootstrap a developer-friendly NextJS app configured with: Deploy the example using [Vercel](https://vercel.com): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-typescript-eslint-jest) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-typescript-eslint-jest) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-typescript-eslint-jest with-typescript-eslint-jest-app @@ -31,7 +31,7 @@ yarn create next-app --example with-typescript-eslint-jest with-typescript-eslin Download the example: ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-typescript-eslint-jest +curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-typescript-eslint-jest cd with-typescript-eslint-jest ``` diff --git a/examples/with-typescript-eslint-jest/pages/index.tsx b/examples/with-typescript-eslint-jest/pages/index.tsx index 453878d93fb93..b09e894a03b59 100644 --- a/examples/with-typescript-eslint-jest/pages/index.tsx +++ b/examples/with-typescript-eslint-jest/pages/index.tsx @@ -36,7 +36,7 @@ export const Home = (): JSX.Element => (

Examples →

diff --git a/examples/with-typescript-eslint-jest/test/pages/__snapshots__/index.test.tsx.snap b/examples/with-typescript-eslint-jest/test/pages/__snapshots__/index.test.tsx.snap index 8eb9a10892fb0..4e8b6586e5778 100644 --- a/examples/with-typescript-eslint-jest/test/pages/__snapshots__/index.test.tsx.snap +++ b/examples/with-typescript-eslint-jest/test/pages/__snapshots__/index.test.tsx.snap @@ -11,7 +11,7 @@ exports[`Home page clicking button triggers alert 1`] = `

- Welcome to + Welcome to - Get started by editing + Get started by editing @@ -69,7 +69,7 @@ exports[`Home page clicking button triggers alert 1`] = `

- Powered by + Powered by ` and injecting the server side rendered styles into the ``. Refer to [with-typescript](https://github.com/zeit/next.js/tree/master/examples/with-typescript) to use this with typescript. +For this purpose we are extending the `` and injecting the server side rendered styles into the ``. Refer to [with-typescript](https://github.com/vercel/next.js/tree/master/examples/with-typescript) to use this with typescript. ## Deploy your own @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-typestyle with-typestyle-app diff --git a/examples/with-universal-configuration-build-time/README.md b/examples/with-universal-configuration-build-time/README.md index 022a0a050822f..9d94327cbad73 100644 --- a/examples/with-universal-configuration-build-time/README.md +++ b/examples/with-universal-configuration-build-time/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-universal-configuration-build-time with-universal-configuration-build-time-app diff --git a/examples/with-universal-configuration-runtime/README.md b/examples/with-universal-configuration-runtime/README.md index a329f08ee0aed..06029415c774e 100644 --- a/examples/with-universal-configuration-runtime/README.md +++ b/examples/with-universal-configuration-runtime/README.md @@ -2,13 +2,13 @@ This example show how to set custom environment variables for your application at runtime using the `publicRuntimeConfig` key in `next.config.js` -For documentation see: https://github.com/zeit/next.js#exposing-configuration-to-the-server--client-side +For documentation see: https://github.com/vercel/next.js#exposing-configuration-to-the-server--client-side ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-universal-configuration-runtime with-universal-configuration-runtime-app diff --git a/examples/with-unstated/README.md b/examples/with-unstated/README.md index 7156ebc2b0eb1..79ab584584cd6 100644 --- a/examples/with-unstated/README.md +++ b/examples/with-unstated/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-unstated with-unstated-app diff --git a/examples/with-urql/README.md b/examples/with-urql/README.md index 64720f5590d27..420e7e7f716cc 100644 --- a/examples/with-urql/README.md +++ b/examples/with-urql/README.md @@ -6,13 +6,13 @@ Use [urql](https://github.com/FormidableLabs/urql) with Next.js using SSG. Deploy the example using [Vercel](https://vercel.com/now): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-urql) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-urql) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-urql with-urql-app @@ -25,7 +25,7 @@ yarn create next-app --example with-urql with-urql-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-urql +curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-urql cd with-urql ``` diff --git a/examples/with-userbase/README.md b/examples/with-userbase/README.md index 5824a7140eaf2..9ffb3438f4ca4 100644 --- a/examples/with-userbase/README.md +++ b/examples/with-userbase/README.md @@ -14,7 +14,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-userbase next-userbase-app @@ -79,7 +79,7 @@ yarn install yarn dev ``` -Your todo app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). +Your todo app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). ### Step 4. Deploy on Vercel diff --git a/examples/with-videojs/README.md b/examples/with-videojs/README.md index 9793c8cb826ff..7fbdc357b1367 100644 --- a/examples/with-videojs/README.md +++ b/examples/with-videojs/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash npm init next-app --example with-videojs with-videojs-app diff --git a/examples/with-webassembly/README.md b/examples/with-webassembly/README.md index 6ef305ea7c05f..f8e2a30e15c59 100644 --- a/examples/with-webassembly/README.md +++ b/examples/with-webassembly/README.md @@ -6,7 +6,7 @@ This example shows how to import WebAssembly files (`.wasm`) and use them inside ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-webassembly with-webassembly-app diff --git a/examples/with-webpack-bundle-analyzer/README.md b/examples/with-webpack-bundle-analyzer/README.md index a178c239c28ef..67387496d7e30 100644 --- a/examples/with-webpack-bundle-analyzer/README.md +++ b/examples/with-webpack-bundle-analyzer/README.md @@ -1,3 +1,3 @@ # Webpack Bundle Analyzer example -This example have been moved here: [analyze-bundles](https://github.com/zeit/next.js/tree/canary/examples/analyze-bundles) +This example have been moved here: [analyze-bundles](https://github.com/vercel/next.js/tree/canary/examples/analyze-bundles) diff --git a/examples/with-webpack-bundle-size-analyzer/README.md b/examples/with-webpack-bundle-size-analyzer/README.md index 7a6fc0581475d..e6612cab15843 100644 --- a/examples/with-webpack-bundle-size-analyzer/README.md +++ b/examples/with-webpack-bundle-size-analyzer/README.md @@ -6,7 +6,7 @@ This example shows how to analyze the output bundles using [webpack-bundle-size- ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app diff --git a/examples/with-why-did-you-render/README.md b/examples/with-why-did-you-render/README.md index 8438750feda9f..f7383d88d1125 100644 --- a/examples/with-why-did-you-render/README.md +++ b/examples/with-why-did-you-render/README.md @@ -7,13 +7,13 @@ The header component will rerender despite the state staying the same. You can s Deploy the example using [Vercel](https://vercel.com): -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-why-did-you-render) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-why-did-you-render) ## How to use ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npx create-next-app --example with-why-did-you-render with-why-did-you-render-app @@ -42,4 +42,4 @@ yarn dev Deploy it to the cloud with [Vercel](https://vercel.com/new?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). -[![Deploy To Now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-why-did-you-render) +[![Deploy To Now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/vercel/next.js/tree/master/examples/with-why-did-you-render) diff --git a/examples/with-xstate/README.md b/examples/with-xstate/README.md index ab02e3bde7eda..e533f1f669215 100644 --- a/examples/with-xstate/README.md +++ b/examples/with-xstate/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-xstate with-xstate-app diff --git a/examples/with-yarn-workspaces/README.md b/examples/with-yarn-workspaces/README.md index 360f7c9524afa..98c83ee4fc40a 100644 --- a/examples/with-yarn-workspaces/README.md +++ b/examples/with-yarn-workspaces/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-yarn-workspaces with-yarn-workspaces-app diff --git a/examples/with-zeit-fetch/README.md b/examples/with-zeit-fetch/README.md index bcd5c917107f3..ece7a21a120c6 100644 --- a/examples/with-zeit-fetch/README.md +++ b/examples/with-zeit-fetch/README.md @@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-zeit-fetch with-zeit-fetch-app diff --git a/examples/with-zeit-fetch/pages/index.js b/examples/with-zeit-fetch/pages/index.js index 9e77baa3d04d6..5498200c15580 100644 --- a/examples/with-zeit-fetch/pages/index.js +++ b/examples/with-zeit-fetch/pages/index.js @@ -13,7 +13,7 @@ export default function Index({ stars }) { } export async function getStaticProps() { - const res = await fetch('https://api.github.com/repos/zeit/next.js') + const res = await fetch('https://api.github.com/repos/vercel/next.js') const json = await res.json() // better use it inside try .. catch return { props: { stars: json.stargazers_count }, diff --git a/examples/with-zones/README.md b/examples/with-zones/README.md index e8a3dea8ca6f6..bf0410de10578 100644 --- a/examples/with-zones/README.md +++ b/examples/with-zones/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): ### Using `create-next-app` -Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash npm init next-app --example with-zones with-zones-app diff --git a/packages/create-next-app/README.md b/packages/create-next-app/README.md index 034beba95be6e..aeb3cf09c0e4d 100644 --- a/packages/create-next-app/README.md +++ b/packages/create-next-app/README.md @@ -1,6 +1,6 @@ # create-next-app -This package includes the global command for creating [Next.js](https://github.com/zeit/next.js) applications. +This package includes the global command for creating [Next.js](https://github.com/vercel/next.js) applications. Please refer to its documentation: diff --git a/packages/create-next-app/helpers/examples.ts b/packages/create-next-app/helpers/examples.ts index 2a75490e4692f..19c19cf4be3d5 100644 --- a/packages/create-next-app/helpers/examples.ts +++ b/packages/create-next-app/helpers/examples.ts @@ -61,7 +61,7 @@ export function hasRepo({ export function hasExample(name: string): Promise { return isUrlOk( - `https://api.github.com/repos/zeit/next.js/contents/examples/${encodeURIComponent( + `https://api.github.com/repos/vercel/next.js/contents/examples/${encodeURIComponent( name )}/package.json` ) @@ -92,7 +92,7 @@ export async function downloadAndExtractExample( try { return await pipeline( - got.stream('https://codeload.github.com/zeit/next.js/tar.gz/canary'), + got.stream('https://codeload.github.com/vercel/next.js/tar.gz/canary'), tar.extract({ cwd: root, strip: 3 }, [`next.js-canary/examples/${name}`]) ) } catch (err) { diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index fb26a9d28211a..09ce17f558c23 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -9,7 +9,7 @@ "description": "Create Next.js-powered React apps with one command", "repository": { "type": "git", - "url": "https://github.com/zeit/next.js", + "url": "https://github.com/vercel/next.js", "directory": "packages/create-next-app" }, "author": "Next.js Team ", diff --git a/packages/create-next-app/templates/default/README-template.md b/packages/create-next-app/templates/default/README-template.md index 69ea58694b2c4..4b5c883b29bd5 100644 --- a/packages/create-next-app/templates/default/README-template.md +++ b/packages/create-next-app/templates/default/README-template.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app). +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started @@ -21,7 +21,7 @@ To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. -You can check out [the Next.js GitHub repository](https://github.com/zeit/next.js/) - your feedback and contributions are welcome! +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on Vercel diff --git a/packages/create-next-app/templates/default/pages/index.js b/packages/create-next-app/templates/default/pages/index.js index f7afd96e40fea..1379c5f92dabb 100644 --- a/packages/create-next-app/templates/default/pages/index.js +++ b/packages/create-next-app/templates/default/pages/index.js @@ -29,7 +29,7 @@ export default function Home() {

Examples →

diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index d5f76cba88a3f..6a9fc4d9f5a38 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -5,7 +5,7 @@ "main": "lib/index.js", "license": "MIT", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/eslint-plugin-next" } } diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index f1b96bdfdfea9..558c5f686d367 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "MIT", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-bundle-analyzer" }, "dependencies": { diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index 728421a4a1c35..9e73bd27a5b7c 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "MIT", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-mdx" }, "peerDependencies": { diff --git a/packages/next-mdx/readme.md b/packages/next-mdx/readme.md index 2f2345949d1e8..2a42e061de5a5 100644 --- a/packages/next-mdx/readme.md +++ b/packages/next-mdx/readme.md @@ -1,6 +1,6 @@ # Next.js + MDX -Use [MDX](https://github.com/mdx-js/mdx) with [Next.js](https://github.com/zeit/next.js) +Use [MDX](https://github.com/mdx-js/mdx) with [Next.js](https://github.com/vercel/next.js) ## Installation diff --git a/packages/next-plugin-google-analytics/package.json b/packages/next-plugin-google-analytics/package.json index af97e15fb46ec..5df2c7d058ac3 100644 --- a/packages/next-plugin-google-analytics/package.json +++ b/packages/next-plugin-google-analytics/package.json @@ -2,7 +2,7 @@ "name": "@next/plugin-google-analytics", "version": "9.4.3-canary.2", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-plugin-google-analytics" }, "nextjs": { diff --git a/packages/next-plugin-material-ui/package.json b/packages/next-plugin-material-ui/package.json index 6077c9d28d9cc..a2864b2e872e3 100644 --- a/packages/next-plugin-material-ui/package.json +++ b/packages/next-plugin-material-ui/package.json @@ -2,7 +2,7 @@ "name": "@next/plugin-material-ui", "version": "9.4.3-canary.2", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-plugin-material-ui" }, "nextjs": { diff --git a/packages/next-plugin-sentry/package.json b/packages/next-plugin-sentry/package.json index df43bd7c6da4c..d2826c00b11cd 100644 --- a/packages/next-plugin-sentry/package.json +++ b/packages/next-plugin-sentry/package.json @@ -2,7 +2,7 @@ "name": "@next/plugin-sentry", "version": "9.4.3-canary.2", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-plugin-sentry" }, "nextjs": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 8f9b89c4d198e..395d2d47a9fc5 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -2,7 +2,7 @@ "name": "@next/plugin-storybook", "version": "9.4.3-canary.2", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" }, "peerDependencies": { diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index ef2c74d02cf79..367776f04f0c7 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -5,7 +5,7 @@ "main": "dist/polyfill-nomodule.js", "license": "MIT", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/next-polyfill-nomodule" }, "scripts": { diff --git a/packages/next/README.md b/packages/next/README.md index bf583a911cac6..d4d5cedd1b52e 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -7,10 +7,10 @@
- + - +

diff --git a/packages/next/bin/next.ts b/packages/next/bin/next.ts index c7e0ff2beb5a6..6e8ee0429b4bd 100755 --- a/packages/next/bin/next.ts +++ b/packages/next/bin/next.ts @@ -102,7 +102,7 @@ const React = require('react') if (typeof React.Suspense === 'undefined') { throw new Error( - `The version of React you are using is lower than the minimum required version needed for Next.js. Please upgrade "react" and "react-dom": "npm install react react-dom" https://err.sh/zeit/next.js/invalid-react-version` + `The version of React you are using is lower than the minimum required version needed for Next.js. Please upgrade "react" and "react-dom": "npm install react react-dom" https://err.sh/vercel/next.js/invalid-react-version` ) } diff --git a/packages/next/build/babel/plugins/next-page-config.ts b/packages/next/build/babel/plugins/next-page-config.ts index e1880e1759ace..d7684710cec0e 100644 --- a/packages/next/build/babel/plugins/next-page-config.ts +++ b/packages/next/build/babel/plugins/next-page-config.ts @@ -27,7 +27,7 @@ function replaceBundle(path: any, t: typeof BabelTypes): void { function errorMessage(state: any, details: string): string { const pageName = (state.filename || '').split(state.cwd || '').pop() || 'unknown' - return `Invalid page config export found. ${details} in file ${pageName}. See: https://err.sh/zeit/next.js/invalid-page-config` + return `Invalid page config export found. ${details} in file ${pageName}. See: https://err.sh/vercel/next.js/invalid-page-config` } interface ConfigState { diff --git a/packages/next/build/generate-build-id.ts b/packages/next/build/generate-build-id.ts index 54996c93bdea8..0f9de31c1ddb4 100644 --- a/packages/next/build/generate-build-id.ts +++ b/packages/next/build/generate-build-id.ts @@ -14,7 +14,7 @@ export async function generateBuildId( if (typeof buildId !== 'string') { throw new Error( - 'generateBuildId did not return a string. https://err.sh/zeit/next.js/generatebuildid-not-a-string' + 'generateBuildId did not return a string. https://err.sh/vercel/next.js/generatebuildid-not-a-string' ) } diff --git a/packages/next/build/index.ts b/packages/next/build/index.ts index ff8560a438bdb..2ef7065c86ac7 100644 --- a/packages/next/build/index.ts +++ b/packages/next/build/index.ts @@ -101,7 +101,7 @@ export type PrerenderManifest = { export default async function build(dir: string, conf = null): Promise { if (!(await isWriteable(dir))) { throw new Error( - '> Build directory is not writeable. https://err.sh/zeit/next.js/build-dir-not-writeable' + '> Build directory is not writeable. https://err.sh/vercel/next.js/build-dir-not-writeable' ) } @@ -254,7 +254,7 @@ export default async function build(dir: string, conf = null): Promise { throw new Error( `Conflicting public and page file${ numConflicting === 1 ? ' was' : 's were' - } found. https://err.sh/zeit/next.js/conflicting-public-file-page\n${conflictingPublicFiles.join( + } found. https://err.sh/vercel/next.js/conflicting-public-file-page\n${conflictingPublicFiles.join( '\n' )}` ) @@ -378,7 +378,7 @@ export default async function build(dir: string, conf = null): Promise { console.warn( chalk.bold.yellow(`Warning: `) + chalk.bold( - `Production code optimization has been disabled in your project. Read more: https://err.sh/zeit/next.js/minification-disabled` + `Production code optimization has been disabled in your project. Read more: https://err.sh/vercel/next.js/minification-disabled` ) ) } @@ -386,7 +386,7 @@ export default async function build(dir: string, conf = null): Promise { const webpackBuildStart = process.hrtime() let result: CompilerResult = { warnings: [], errors: [] } - // TODO: why do we need this?? https://github.com/zeit/next.js/issues/8253 + // TODO: why do we need this?? https://github.com/vercel/next.js/issues/8253 if (isLikeServerless) { const clientResult = await runCompiler(clientConfig) // Fail build if clientResult contains errors @@ -432,7 +432,7 @@ export default async function build(dir: string, conf = null): Promise { const parsed = page_name_regex.exec(error) const page_name = parsed && parsed.groups && parsed.groups.page_name throw new Error( - `webpack build failed: found page without a React Component as default export in pages/${page_name}\n\nSee https://err.sh/zeit/next.js/page-without-valid-component for more info.` + `webpack build failed: found page without a React Component as default export in pages/${page_name}\n\nSee https://err.sh/vercel/next.js/page-without-valid-component for more info.` ) } @@ -444,7 +444,7 @@ export default async function build(dir: string, conf = null): Promise { error.indexOf('__next_polyfill__') > -1 ) { throw new Error( - '> webpack config.resolve.alias was incorrectly overriden. https://err.sh/zeit/next.js/invalid-resolve-alias' + '> webpack config.resolve.alias was incorrectly overriden. https://err.sh/vercel/next.js/invalid-resolve-alias' ) } throw new Error('> Build failed because of webpack errors') @@ -742,7 +742,7 @@ export default async function build(dir: string, conf = null): Promise { .map((pg) => `pages${pg}`) .join( '\n' - )}\n\nSee https://err.sh/zeit/next.js/page-without-valid-component for more info.\n` + )}\n\nSee https://err.sh/vercel/next.js/page-without-valid-component for more info.\n` ) } diff --git a/packages/next/build/output/store.ts b/packages/next/build/output/store.ts index ad2eb1558fa3e..e7bb6734ee503 100644 --- a/packages/next/build/output/store.ts +++ b/packages/next/build/output/store.ts @@ -60,7 +60,7 @@ store.subscribe((state) => { for (const match of matches) { const prop = (match.split(']').shift() || '').substr(1) console.log( - `AMP bind syntax [${prop}]='' is not supported in JSX, use 'data-amp-bind-${prop}' instead. https://err.sh/zeit/next.js/amp-bind-jsx-alt` + `AMP bind syntax [${prop}]='' is not supported in JSX, use 'data-amp-bind-${prop}' instead. https://err.sh/vercel/next.js/amp-bind-jsx-alt` ) } return diff --git a/packages/next/build/utils.ts b/packages/next/build/utils.ts index 327d7fddf00ae..292cf5ce22b0a 100644 --- a/packages/next/build/utils.ts +++ b/packages/next/build/utils.ts @@ -565,7 +565,7 @@ export async function buildStaticPaths( const expectedReturnVal = `Expected: { paths: [], fallback: boolean }\n` + - `See here for more info: https://err.sh/zeit/next.js/invalid-getstaticpaths-value` + `See here for more info: https://err.sh/vercel/next.js/invalid-getstaticpaths-value` if ( !staticPathsResult || diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 9404bf357745f..33fb8fccb7596 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -319,7 +319,7 @@ export default async function getBaseWebpackConfig( warnings: false, // The following two options are known to break valid JavaScript code comparisons: false, - inline: 2, // https://github.com/zeit/next.js/issues/7178#issuecomment-493048965 + inline: 2, // https://github.com/vercel/next.js/issues/7178#issuecomment-493048965 }, mangle: { safari10: true }, output: { @@ -381,7 +381,7 @@ export default async function getBaseWebpackConfig( name: 'framework', // This regex ignores nested copies of framework libraries so they're // bundled with their issuer. - // https://github.com/zeit/next.js/pull/9012 + // https://github.com/vercel/next.js/pull/9012 test: /(? { if (/^(?:NODE_.+)|^(?:__.+)$/i.test(key)) { throw new Error( - `The key "${key}" under "env" in next.config.js is not allowed. https://err.sh/zeit/next.js/env-key-not-allowed` + `The key "${key}" under "env" in next.config.js is not allowed. https://err.sh/vercel/next.js/env-key-not-allowed` ) } @@ -1078,7 +1078,7 @@ export default async function getBaseWebpackConfig( if (typeof (webpackConfig as any).then === 'function') { console.warn( - '> Promise returned in next config. https://err.sh/zeit/next.js/promise-in-next-config' + '> Promise returned in next config. https://err.sh/vercel/next.js/promise-in-next-config' ) } } diff --git a/packages/next/client/link.tsx b/packages/next/client/link.tsx index ef1374d4bc702..6a0edea5a3750 100644 --- a/packages/next/client/link.tsx +++ b/packages/next/client/link.tsx @@ -116,7 +116,7 @@ class Link extends Component { if (process.env.NODE_ENV !== 'production') { if (props.prefetch) { console.warn( - 'Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://err.sh/zeit/next.js/prefetch-true-deprecated' + 'Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://err.sh/vercel/next.js/prefetch-true-deprecated' ) } } diff --git a/packages/next/client/next-dev.js b/packages/next/client/next-dev.js index e15045b953eb7..0f94523fa6ddc 100644 --- a/packages/next/client/next-dev.js +++ b/packages/next/client/next-dev.js @@ -8,7 +8,7 @@ import initializePrerenderIndicator from './dev/prerender-indicator' import { displayContent } from './dev/fouc' // Temporary workaround for the issue described here: -// https://github.com/zeit/next.js/issues/3775#issuecomment-407438123 +// https://github.com/vercel/next.js/issues/3775#issuecomment-407438123 // The runtimeChunk doesn't have dynamic import handling code when there hasn't been a dynamic import // The runtimeChunk can't hot reload itself currently to correct it when adding pages using on-demand-entries // eslint-disable-next-line no-unused-expressions diff --git a/packages/next/client/page-loader.js b/packages/next/client/page-loader.js index 67cc68680c568..aef09e8b3cb19 100644 --- a/packages/next/client/page-loader.js +++ b/packages/next/client/page-loader.js @@ -287,7 +287,7 @@ export default class PageLoader { if (process.env.NODE_ENV !== 'production') { // Wait for webpack to become idle if it's not. - // More info: https://github.com/zeit/next.js/pull/1511 + // More info: https://github.com/vercel/next.js/pull/1511 if (module.hot && module.hot.status() !== 'idle') { console.log( `Waiting for webpack to become "idle" to initialize the page: "${route}"` diff --git a/packages/next/export/index.ts b/packages/next/export/index.ts index 4f1ebc1bf55b0..5d4bd0da95db2 100644 --- a/packages/next/export/index.ts +++ b/packages/next/export/index.ts @@ -198,7 +198,7 @@ export default async function exportApp( if (outDir === join(dir, 'public')) { throw new Error( - `The 'public' directory is reserved in Next.js and can not be used as the export out directory. https://err.sh/zeit/next.js/can-not-output-to-public` + `The 'public' directory is reserved in Next.js and can not be used as the export out directory. https://err.sh/vercel/next.js/can-not-output-to-public` ) } @@ -343,7 +343,7 @@ export default async function exportApp( chalk.yellow( `Pages in your application without server-side data dependencies will be automatically statically exported by \`next build\`, including pages powered by \`getStaticProps\`.` ) + - `\nLearn more: https://err.sh/zeit/next.js/api-routes-static-export` + `\nLearn more: https://err.sh/vercel/next.js/api-routes-static-export` ) } @@ -455,7 +455,7 @@ export default async function exportApp( } if (hadValidationError) { throw new Error( - `AMP Validation caused the export to fail. https://err.sh/zeit/next.js/amp-export-validation` + `AMP Validation caused the export to fail. https://err.sh/vercel/next.js/amp-export-validation` ) } diff --git a/packages/next/export/worker.ts b/packages/next/export/worker.ts index b58a6f1fb2725..8f83af5439e12 100644 --- a/packages/next/export/worker.ts +++ b/packages/next/export/worker.ts @@ -117,7 +117,7 @@ export default async function exportPage({ } } else { throw new Error( - `The provided export path '${path}' doesn't match the '${page}' page.\nRead more: https://err.sh/zeit/next.js/export-path-mismatch` + `The provided export path '${path}' doesn't match the '${page}' page.\nRead more: https://err.sh/vercel/next.js/export-path-mismatch` ) } } diff --git a/packages/next/lib/check-custom-routes.ts b/packages/next/lib/check-custom-routes.ts index fcc39ce626cc4..873237a58abd0 100644 --- a/packages/next/lib/check-custom-routes.ts +++ b/packages/next/lib/check-custom-routes.ts @@ -103,14 +103,14 @@ function tryParsePath(route: string, handleUrl?: boolean): ParseAttemptResult { const position = parseInt(errMatches[1], 10) console.error( `\nError parsing \`${route}\` ` + - `https://err.sh/zeit/next.js/invalid-route-source\n` + + `https://err.sh/vercel/next.js/invalid-route-source\n` + `Reason: ${err.message}\n\n` + ` ${routePath}\n` + ` ${new Array(position).fill(' ').join('')}^\n` ) } else { console.error( - `\nError parsing ${route} https://err.sh/zeit/next.js/invalid-route-source`, + `\nError parsing ${route} https://err.sh/vercel/next.js/invalid-route-source`, err ) } diff --git a/packages/next/lib/constants.ts b/packages/next/lib/constants.ts index 5f2fad9a772c3..de1b816cf32c1 100644 --- a/packages/next/lib/constants.ts +++ b/packages/next/lib/constants.ts @@ -22,7 +22,7 @@ export const API_ROUTE = /^\/api(?:\/|$)/ export const PAGES_DIR_ALIAS = 'private-next-pages' export const DOT_NEXT_ALIAS = 'private-dot-next' -export const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://err.sh/zeit/next.js/public-next-folder-conflict` +export const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://err.sh/vercel/next.js/public-next-folder-conflict` export const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps` diff --git a/packages/next/next-server/lib/dynamic.tsx b/packages/next/next-server/lib/dynamic.tsx index 3c1a9ebc15a69..316ac992414a1 100644 --- a/packages/next/next-server/lib/dynamic.tsx +++ b/packages/next/next-server/lib/dynamic.tsx @@ -124,7 +124,7 @@ export default function dynamic

( if (process.env.NODE_ENV !== 'production') { if (dynamicOptions.modules) { console.warn( - 'The modules option for next/dynamic has been deprecated. See here for more info https://err.sh/zeit/next.js/next-dynamic-modules' + 'The modules option for next/dynamic has been deprecated. See here for more info https://err.sh/vercel/next.js/next-dynamic-modules' ) } } diff --git a/packages/next/next-server/lib/router/router.ts b/packages/next/next-server/lib/router/router.ts index ff86a29d26ed2..79a64e22a1d26 100644 --- a/packages/next/next-server/lib/router/router.ts +++ b/packages/next/next-server/lib/router/router.ts @@ -296,7 +296,7 @@ export default class Router implements BaseRouter { if (process.env.NODE_ENV !== 'production') { if (typeof url === 'undefined' || typeof as === 'undefined') { console.warn( - '`popstate` event triggered but `event.state` did not have `url` or `as` https://err.sh/zeit/next.js/popstate-state-empty' + '`popstate` event triggered but `event.state` did not have `url` or `as` https://err.sh/vercel/next.js/popstate-state-empty' ) } } @@ -415,7 +415,7 @@ export default class Router implements BaseRouter { if (!pathname || protocol) { if (process.env.NODE_ENV !== 'production') { throw new Error( - `Invalid href passed to router: ${url} https://err.sh/zeit/next.js/invalid-href-passed` + `Invalid href passed to router: ${url} https://err.sh/vercel/next.js/invalid-href-passed` ) } return resolve(false) @@ -455,7 +455,7 @@ export default class Router implements BaseRouter { return reject( new Error( `The provided \`as\` value (${asPathname}) is incompatible with the \`href\` value (${route}). ` + - `Read more: https://err.sh/zeit/next.js/incompatible-href-as` + `Read more: https://err.sh/vercel/next.js/incompatible-href-as` ) ) } @@ -748,7 +748,7 @@ export default class Router implements BaseRouter { if (!pathname || protocol) { if (process.env.NODE_ENV !== 'production') { throw new Error( - `Invalid href passed to router: ${url} https://err.sh/zeit/next.js/invalid-href-passed` + `Invalid href passed to router: ${url} https://err.sh/vercel/next.js/invalid-href-passed` ) } return diff --git a/packages/next/next-server/lib/utils.ts b/packages/next/next-server/lib/utils.ts index d8ab04aca5878..87dbfa0772b6a 100644 --- a/packages/next/next-server/lib/utils.ts +++ b/packages/next/next-server/lib/utils.ts @@ -286,7 +286,7 @@ export async function loadGetInitialProps< if (App.prototype?.getInitialProps) { const message = `"${getDisplayName( App - )}.getInitialProps()" is defined as an instance method - visit https://err.sh/zeit/next.js/get-initial-props-as-an-instance-method for more information.` + )}.getInitialProps()" is defined as an instance method - visit https://err.sh/vercel/next.js/get-initial-props-as-an-instance-method for more information.` throw new Error(message) } } @@ -321,7 +321,7 @@ export async function loadGetInitialProps< console.warn( `${getDisplayName( App - )} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://err.sh/zeit/next.js/empty-object-getInitialProps` + )} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://err.sh/vercel/next.js/empty-object-getInitialProps` ) } } diff --git a/packages/next/next-server/server/config.ts b/packages/next/next-server/server/config.ts index 918d8b0ce9fc0..2af95bd8c8c28 100644 --- a/packages/next/next-server/server/config.ts +++ b/packages/next/next-server/server/config.ts @@ -97,7 +97,7 @@ function assignDefaults(userConfig: { [key: string]: any }) { // public files if (userDistDir === 'public') { throw new Error( - `The 'public' directory is reserved in Next.js and can not be set as the 'distDir'. https://err.sh/zeit/next.js/can-not-output-to-public` + `The 'public' directory is reserved in Next.js and can not be set as the 'distDir'. https://err.sh/vercel/next.js/can-not-output-to-public` ) } // make sure distDir isn't an empty string as it can result in the provided @@ -155,7 +155,7 @@ function assignDefaults(userConfig: { [key: string]: any }) { if (typeof result.assetPrefix !== 'string') { throw new Error( - `Specified assetPrefix is not a string, found type "${typeof result.assetPrefix}" https://err.sh/zeit/next.js/invalid-assetprefix` + `Specified assetPrefix is not a string, found type "${typeof result.assetPrefix}" https://err.sh/vercel/next.js/invalid-assetprefix` ) } if (result.experimental) { @@ -201,7 +201,7 @@ export function normalizeConfig(phase: string, config: any) { if (typeof config.then === 'function') { throw new Error( - '> Promise returned in next config. https://err.sh/zeit/next.js/promise-in-next-config' + '> Promise returned in next config. https://err.sh/vercel/next.js/promise-in-next-config' ) } } @@ -231,7 +231,7 @@ export default function loadConfig( if (Object.keys(userConfig).length === 0) { console.warn( chalk.yellow.bold('Warning: ') + - 'Detected next.config.js, no exported configuration found. https://err.sh/zeit/next.js/empty-configuration' + 'Detected next.config.js, no exported configuration found. https://err.sh/vercel/next.js/empty-configuration' ) } diff --git a/packages/next/next-server/server/next-server.ts b/packages/next/next-server/server/next-server.ts index 16a572dfea79a..5f9fbd23fb652 100644 --- a/packages/next/next-server/server/next-server.ts +++ b/packages/next/next-server/server/next-server.ts @@ -342,7 +342,7 @@ export default class Server { // It's very important to keep this route's param optional. // (but it should support as many params as needed, separated by '/') // Otherwise this will lead to a pretty simple DOS attack. - // See more: https://github.com/zeit/next.js/issues/2617 + // See more: https://github.com/vercel/next.js/issues/2617 match: route('/static/:path*'), name: 'static catchall', fn: async (req, res, params, parsedUrl) => { diff --git a/packages/next/next-server/server/render.tsx b/packages/next/next-server/server/render.tsx index ebd4f589b87ea..2e9ff59a16371 100644 --- a/packages/next/next-server/server/render.tsx +++ b/packages/next/next-server/server/render.tsx @@ -45,7 +45,7 @@ import { GetStaticProps, GetServerSideProps } from '../../types' function noRouter() { const message = - 'No router instance found. you should only use "next/router" inside the client side of your app. https://err.sh/zeit/next.js/no-router-instance' + 'No router instance found. you should only use "next/router" inside the client side of your app. https://err.sh/vercel/next.js/no-router-instance' throw new Error(message) } @@ -660,7 +660,7 @@ export async function renderToHTML( ) { console.warn( `The prop \`url\` is a reserved prop in Next.js for legacy reasons and will be overridden on page ${pathname}\n` + - `See more info here: https://err.sh/zeit/next.js/reserved-page-prop` + `See more info here: https://err.sh/vercel/next.js/reserved-page-prop` ) } @@ -702,7 +702,7 @@ export async function renderToHTML( if (dev && (props.router || props.Component)) { throw new Error( - `'router' and 'Component' can not be returned in getInitialProps from _app.js https://err.sh/zeit/next.js/cant-override-next-props` + `'router' and 'Component' can not be returned in getInitialProps from _app.js https://err.sh/vercel/next.js/cant-override-next-props` ) } } diff --git a/packages/next/next-server/server/router.ts b/packages/next/next-server/server/router.ts index a12baf021c696..146936413967a 100644 --- a/packages/next/next-server/server/router.ts +++ b/packages/next/next-server/server/router.ts @@ -88,7 +88,7 @@ export const prepareDestination = ( } catch (err) { if (err.message.match(/Expected .*? to not repeat, but got an array/)) { throw new Error( - `To use a multi-match in the destination you must add \`*\` at the end of the param name to signify it should repeat. https://err.sh/zeit/next.js/invalid-multi-match` + `To use a multi-match in the destination you must add \`*\` at the end of the param name to signify it should repeat. https://err.sh/vercel/next.js/invalid-multi-match` ) } throw err diff --git a/packages/next/package.json b/packages/next/package.json index 0720817e166f7..9a0f52d0ffc87 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -4,8 +4,8 @@ "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", - "repository": "zeit/next.js", - "bugs": "https://github.com/zeit/next.js/issues", + "repository": "vercel/next.js", + "bugs": "https://github.com/vercel/next.js/issues", "homepage": "https://nextjs.org", "types": "types/index.d.ts", "files": [ diff --git a/packages/next/pages/_app.tsx b/packages/next/pages/_app.tsx index ca491052467eb..1761645e9852e 100644 --- a/packages/next/pages/_app.tsx +++ b/packages/next/pages/_app.tsx @@ -63,13 +63,13 @@ let warnUrl: () => void if (process.env.NODE_ENV !== 'production') { warnContainer = execOnce(() => { console.warn( - `Warning: the \`Container\` in \`_app\` has been deprecated and should be removed. https://err.sh/zeit/next.js/app-container-deprecated` + `Warning: the \`Container\` in \`_app\` has been deprecated and should be removed. https://err.sh/vercel/next.js/app-container-deprecated` ) }) warnUrl = execOnce(() => { console.error( - `Warning: the 'url' property is deprecated. https://err.sh/zeit/next.js/url-deprecated` + `Warning: the 'url' property is deprecated. https://err.sh/vercel/next.js/url-deprecated` ) }) } diff --git a/packages/next/pages/_document.tsx b/packages/next/pages/_document.tsx index 1ba5e18f7eb62..9aec9f6dabffe 100644 --- a/packages/next/pages/_document.tsx +++ b/packages/next/pages/_document.tsx @@ -111,7 +111,7 @@ export default class Document

extends Component { value={{ _documentProps: props, // In dev we invalidate the cache by appending a timestamp to the resource URL. - // This is a workaround to fix https://github.com/zeit/next.js/issues/5860 + // This is a workaround to fix https://github.com/vercel/next.js/issues/5860 // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed. _devOnlyInvalidateCacheQueryString: process.env.NODE_ENV !== 'production' ? '?ts=' + Date.now() : '', @@ -635,7 +635,7 @@ export class NextScript extends Component { } catch (err) { if (err.message.indexOf('circular structure')) { throw new Error( - `Circular structure in "getInitialProps" result of page "${__NEXT_DATA__.page}". https://err.sh/zeit/next.js/circular-structure` + `Circular structure in "getInitialProps" result of page "${__NEXT_DATA__.page}". https://err.sh/vercel/next.js/circular-structure` ) } throw err diff --git a/packages/next/server/next-dev-server.ts b/packages/next/server/next-dev-server.ts index 3e338d1378528..70a5c7afa8baa 100644 --- a/packages/next/server/next-dev-server.ts +++ b/packages/next/server/next-dev-server.ts @@ -34,7 +34,7 @@ import { getNodeOptionsWithoutInspect } from './lib/utils' if (typeof React.Suspense === 'undefined') { throw new Error( - `The version of React you are using is lower than the minimum required version needed for Next.js. Please upgrade "react" and "react-dom": "npm install react react-dom" https://err.sh/zeit/next.js/invalid-react-version` + `The version of React you are using is lower than the minimum required version needed for Next.js. Please upgrade "react" and "react-dom": "npm install react react-dom" https://err.sh/vercel/next.js/invalid-react-version` ) } @@ -75,7 +75,7 @@ export default class DevServer extends Server { } if (fs.existsSync(join(this.dir, 'static'))) { console.warn( - `The static directory has been deprecated in favor of the public directory. https://err.sh/zeit/next.js/static-dir-deprecated` + `The static directory has been deprecated in favor of the public directory. https://err.sh/vercel/next.js/static-dir-deprecated` ) } this.isCustomServer = !options.isNextDevCommand @@ -328,7 +328,7 @@ export default class DevServer extends Server { if (await this.hasPublicFile(path)) { if (await this.hasPage(pathname!)) { const err = new Error( - `A conflicting public file and page file was found for path ${pathname} https://err.sh/zeit/next.js/conflicting-public-file-page` + `A conflicting public file and page file was found for path ${pathname} https://err.sh/vercel/next.js/conflicting-public-file-page` ) res.statusCode = 500 await this.renderError(err, req, res, pathname!, {}) @@ -559,7 +559,7 @@ export default class DevServer extends Server { if (!err && res.statusCode === 500) { err = new Error( 'An undefined error was thrown sometime during render... ' + - 'See https://err.sh/zeit/next.js/threw-undefined' + 'See https://err.sh/vercel/next.js/threw-undefined' ) } diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 54dd0816b209d..355d99ac986f8 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -3,7 +3,7 @@ "version": "9.4.3-canary.2", "description": "A development-only overlay for developing React applications.", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/react-dev-overlay" }, "files": [ diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index d209e212122a7..8e364a1685979 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -3,7 +3,7 @@ "version": "9.4.3-canary.2", "description": "An experimental package providing utilities for React Refresh.", "repository": { - "url": "zeit/next.js", + "url": "vercel/next.js", "directory": "packages/react-refresh-utils" }, "files": [ diff --git a/test/.stats-app/stats-config.js b/test/.stats-app/stats-config.js index 53fd0faa572cb..509c2d416bbad 100644 --- a/test/.stats-app/stats-config.js +++ b/test/.stats-app/stats-config.js @@ -93,7 +93,7 @@ module.exports = { commentReleaseHeading: 'Stats from current release', appBuildCommand: 'NEXT_TELEMETRY_DISABLED=1 yarn next build', appStartCommand: 'NEXT_TELEMETRY_DISABLED=1 yarn next start --port $PORT', - mainRepo: 'zeit/next.js', + mainRepo: 'vercel/next.js', mainBranch: 'canary', autoMergeMain: true, configs: [ diff --git a/test/acceptance/ReactRefreshRegression.test.js b/test/acceptance/ReactRefreshRegression.test.js index 4ac784d52237a..fd7d98d1e9ef4 100644 --- a/test/acceptance/ReactRefreshRegression.test.js +++ b/test/acceptance/ReactRefreshRegression.test.js @@ -3,7 +3,7 @@ import { sandbox } from './helpers' jest.setTimeout(1000 * 60 * 5) -// https://github.com/zeit/next.js/issues/12422 +// https://github.com/vercel/next.js/issues/12422 test('styled-components hydration mismatch', async () => { const files = new Map() files.set( diff --git a/test/integration/api-support/test/index.test.js b/test/integration/api-support/test/index.test.js index 9b09e117dc1e0..7b83653d281b6 100644 --- a/test/integration/api-support/test/index.test.js +++ b/test/integration/api-support/test/index.test.js @@ -418,7 +418,7 @@ function runTests(dev = false) { { stdout: true } ) expect(stdout).toContain( - 'https://err.sh/zeit/next.js/api-routes-static-export' + 'https://err.sh/vercel/next.js/api-routes-static-export' ) }) diff --git a/test/integration/app-document/test/rendering.js b/test/integration/app-document/test/rendering.js index 2f7eab040b1b7..541594eef04df 100644 --- a/test/integration/app-document/test/rendering.js +++ b/test/integration/app-document/test/rendering.js @@ -81,7 +81,7 @@ export default function ({ app }, suiteName, render, fetch) { ) }) - // This is a workaround to fix https://github.com/zeit/next.js/issues/5860 + // This is a workaround to fix https://github.com/vercel/next.js/issues/5860 // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed. test('It adds a timestamp to link tags with preload attribute to invalidate the cache (DEV only)', async () => { const $ = await get$('/') diff --git a/test/integration/client-navigation/test/rendering.js b/test/integration/client-navigation/test/rendering.js index 539a97c015273..a8873df8fbe2b 100644 --- a/test/integration/client-navigation/test/rendering.js +++ b/test/integration/client-navigation/test/rendering.js @@ -213,7 +213,7 @@ export default function (render, fetch) { test('getInitialProps should be class method', async () => { const $ = await get$('/instance-get-initial-props') const expectedErrorMessage = - '\\"InstanceInitialPropsPage.getInitialProps()\\" is defined as an instance method - visit https://err.sh/zeit/next.js/get-initial-props-as-an-instance-method for more information.' + '\\"InstanceInitialPropsPage.getInitialProps()\\" is defined as an instance method - visit https://err.sh/vercel/next.js/get-initial-props-as-an-instance-method for more information.' expect( $('#__NEXT_DATA__').text().includes(expectedErrorMessage) ).toBeTruthy() diff --git a/test/integration/config-empty/test/index.test.js b/test/integration/config-empty/test/index.test.js index ab44586b7d0c9..41ab79940e0af 100644 --- a/test/integration/config-empty/test/index.test.js +++ b/test/integration/config-empty/test/index.test.js @@ -21,7 +21,7 @@ describe('Empty configuration', () => { }) expect(stdout).toMatch(/Compiled successfully./) expect(stderr).toMatch( - /Warning: Detected next.config.js, no exported configuration found. https:\/\/err.sh\/zeit\/next.js\/empty-configuration/ + /Warning: Detected next.config.js, no exported configuration found. https:\/\/err.sh\/vercel\/next.js\/empty-configuration/ ) }) @@ -38,7 +38,7 @@ describe('Empty configuration', () => { await killApp(app) expect(stderr).toMatch( - /Warning: Detected next.config.js, no exported configuration found. https:\/\/err.sh\/zeit\/next.js\/empty-configuration/ + /Warning: Detected next.config.js, no exported configuration found. https:\/\/err.sh\/vercel\/next.js\/empty-configuration/ ) }) }) diff --git a/test/integration/config-promise-error/test/index.test.js b/test/integration/config-promise-error/test/index.test.js index 069e2565b4db1..8431bab2a510a 100644 --- a/test/integration/config-promise-error/test/index.test.js +++ b/test/integration/config-promise-error/test/index.test.js @@ -24,7 +24,7 @@ describe('Promise in next config', () => { ) expect(stderr).toMatch( - /Error: > Promise returned in next config\. https:\/\/err\.sh\/zeit\/next\.js\/promise-in-next-config/ + /Error: > Promise returned in next config\. https:\/\/err\.sh\/vercel\/next\.js\/promise-in-next-config/ ) }) @@ -46,7 +46,7 @@ describe('Promise in next config', () => { ) expect(stderr).toMatch( - /> Promise returned in next config\. https:\/\/err\.sh\/zeit\/next\.js\/promise-in-next-config/ + /> Promise returned in next config\. https:\/\/err\.sh\/vercel\/next\.js\/promise-in-next-config/ ) }) }) diff --git a/test/integration/css-fixtures/with-tailwindcss-and-purgecss/pages/index.js b/test/integration/css-fixtures/with-tailwindcss-and-purgecss/pages/index.js index ee6a89480a706..488d8b23c4e93 100644 --- a/test/integration/css-fixtures/with-tailwindcss-and-purgecss/pages/index.js +++ b/test/integration/css-fixtures/with-tailwindcss-and-purgecss/pages/index.js @@ -1,7 +1,7 @@ import Link from 'next/link' const links = [ - { href: 'https://github.com/zeit/next.js', label: 'GitHub' }, + { href: 'https://github.com/vercel/next.js', label: 'GitHub' }, { href: 'https://nextjs.org/docs', label: 'Docs' }, ] diff --git a/test/integration/export-serverless/test/api-routes.js b/test/integration/export-serverless/test/api-routes.js index 2957d55a7c84c..83960bdca66d5 100644 --- a/test/integration/export-serverless/test/api-routes.js +++ b/test/integration/export-serverless/test/api-routes.js @@ -21,7 +21,7 @@ export default function (context) { ) expect(stdout).toContain( - 'https://err.sh/zeit/next.js/api-routes-static-export' + 'https://err.sh/vercel/next.js/api-routes-static-export' ) }) }) diff --git a/test/integration/export-serverless/test/dynamic.js b/test/integration/export-serverless/test/dynamic.js index e2368d63064de..5b95b223db7f8 100644 --- a/test/integration/export-serverless/test/dynamic.js +++ b/test/integration/export-serverless/test/dynamic.js @@ -20,7 +20,7 @@ export default function (context) { ).catch((err) => err) expect(stderr).toContain( - 'https://err.sh/zeit/next.js/export-path-mismatch' + 'https://err.sh/vercel/next.js/export-path-mismatch' ) }) }) diff --git a/test/integration/export/test/api-routes.js b/test/integration/export/test/api-routes.js index 2957d55a7c84c..83960bdca66d5 100644 --- a/test/integration/export/test/api-routes.js +++ b/test/integration/export/test/api-routes.js @@ -21,7 +21,7 @@ export default function (context) { ) expect(stdout).toContain( - 'https://err.sh/zeit/next.js/api-routes-static-export' + 'https://err.sh/vercel/next.js/api-routes-static-export' ) }) }) diff --git a/test/integration/export/test/dynamic.js b/test/integration/export/test/dynamic.js index e2368d63064de..5b95b223db7f8 100644 --- a/test/integration/export/test/dynamic.js +++ b/test/integration/export/test/dynamic.js @@ -20,7 +20,7 @@ export default function (context) { ).catch((err) => err) expect(stderr).toContain( - 'https://err.sh/zeit/next.js/export-path-mismatch' + 'https://err.sh/vercel/next.js/export-path-mismatch' ) }) }) diff --git a/test/integration/invalid-custom-routes/test/index.test.js b/test/integration/invalid-custom-routes/test/index.test.js index 3a197d69ae233..3c7c262dba1fb 100644 --- a/test/integration/invalid-custom-routes/test/index.test.js +++ b/test/integration/invalid-custom-routes/test/index.test.js @@ -186,7 +186,7 @@ const runTests = () => { ) expect(stderr).toContain( - `Error parsing \`/feedback/(?!general)\` https://err.sh/zeit/next.js/invalid-route-source` + `Error parsing \`/feedback/(?!general)\` https://err.sh/vercel/next.js/invalid-route-source` ) expect(stderr).toContain( @@ -330,13 +330,13 @@ const runTests = () => { const stderr = await getStderr() expect(stderr).toContain( - `Error parsing \`/feedback/(?!general)\` https://err.sh/zeit/next.js/invalid-route-source` + `Error parsing \`/feedback/(?!general)\` https://err.sh/vercel/next.js/invalid-route-source` ) expect(stderr).toContain(`Reason: Pattern cannot start with "?" at 11`) expect(stderr).toContain(`/feedback/(?!general)`) expect(stderr).toContain( - `Error parsing \`/learning/?\` https://err.sh/zeit/next.js/invalid-route-source` + `Error parsing \`/learning/?\` https://err.sh/vercel/next.js/invalid-route-source` ) expect(stderr).toContain(`Reason: Unexpected MODIFIER at 10, expected END`) expect(stderr).toContain(`/learning/?`) diff --git a/test/integration/invalid-href/test/index.test.js b/test/integration/invalid-href/test/index.test.js index 07f5bf782120f..35e8589f8db3a 100644 --- a/test/integration/invalid-href/test/index.test.js +++ b/test/integration/invalid-href/test/index.test.js @@ -183,7 +183,7 @@ describe('Invalid hrefs', () => { expect( errors.find((err) => err.includes( - 'The provided `as` value (/blog/post-1) is incompatible with the `href` value (/[post]). Read more: https://err.sh/zeit/next.js/incompatible-href-as' + 'The provided `as` value (/blog/post-1) is incompatible with the `href` value (/[post]). Read more: https://err.sh/vercel/next.js/incompatible-href-as' ) ) ).toBeTruthy() diff --git a/test/integration/invalid-multi-match/test/index.test.js b/test/integration/invalid-multi-match/test/index.test.js index 56c57da46c233..2bb70eb925863 100644 --- a/test/integration/invalid-multi-match/test/index.test.js +++ b/test/integration/invalid-multi-match/test/index.test.js @@ -23,7 +23,9 @@ const runTests = () => { expect(stderr).toContain( 'To use a multi-match in the destination you must add' ) - expect(stderr).toContain('https://err.sh/zeit/next.js/invalid-multi-match') + expect(stderr).toContain( + 'https://err.sh/vercel/next.js/invalid-multi-match' + ) }) } diff --git a/test/integration/no-override-next-props/test/index.test.js b/test/integration/no-override-next-props/test/index.test.js index ba1c1949f0957..5eccd6bb7f026 100644 --- a/test/integration/no-override-next-props/test/index.test.js +++ b/test/integration/no-override-next-props/test/index.test.js @@ -18,7 +18,7 @@ describe('Dynamic require', () => { it('should show error when a Next prop is returned in _app.getInitialProps', async () => { const html = await renderViaHTTP(appPort, '/') expect(html).toMatch( - /https:\/\/err\.sh\/zeit\/next\.js\/cant-override-next-props/ + /https:\/\/err\.sh\/vercel\/next\.js\/cant-override-next-props/ ) }) }) diff --git a/test/integration/page-config/test/index.test.js b/test/integration/page-config/test/index.test.js index c353206545b1e..01933be5674e8 100644 --- a/test/integration/page-config/test/index.test.js +++ b/test/integration/page-config/test/index.test.js @@ -30,7 +30,7 @@ describe('Page Config', () => { try { const { stderr } = await nextBuild(appDir, undefined, { stderr: true }) expect(stderr).toMatch( - /https:\/\/err\.sh\/zeit\/next\.js\/invalid-page-config/ + /https:\/\/err\.sh\/vercel\/next\.js\/invalid-page-config/ ) } finally { await reset() @@ -43,7 +43,7 @@ describe('Page Config', () => { try { const { stderr } = await nextBuild(appDir, undefined, { stderr: true }) expect(stderr).toMatch( - /https:\/\/err\.sh\/zeit\/next\.js\/invalid-page-config/ + /https:\/\/err\.sh\/vercel\/next\.js\/invalid-page-config/ ) } finally { await reset() @@ -56,7 +56,7 @@ describe('Page Config', () => { try { const { stderr } = await nextBuild(appDir, undefined, { stderr: true }) expect(stderr).toMatch( - /https:\/\/err\.sh\/zeit\/next\.js\/invalid-page-config/ + /https:\/\/err\.sh\/vercel\/next\.js\/invalid-page-config/ ) } finally { await reset() @@ -69,7 +69,7 @@ describe('Page Config', () => { try { const { stderr } = await nextBuild(appDir, undefined, { stderr: true }) expect(stderr).toMatch( - /https:\/\/err\.sh\/zeit\/next\.js\/invalid-page-config/ + /https:\/\/err\.sh\/vercel\/next\.js\/invalid-page-config/ ) } finally { await reset() @@ -82,7 +82,7 @@ describe('Page Config', () => { try { const { stderr } = await nextBuild(appDir, undefined, { stderr: true }) expect(stderr).toMatch( - /https:\/\/err\.sh\/zeit\/next\.js\/invalid-page-config/ + /https:\/\/err\.sh\/vercel\/next\.js\/invalid-page-config/ ) } finally { await reset() diff --git a/test/integration/production/test/index.test.js b/test/integration/production/test/index.test.js index f2171e4564c6a..4d91ef240bffe 100644 --- a/test/integration/production/test/index.test.js +++ b/test/integration/production/test/index.test.js @@ -421,7 +421,7 @@ describe('Production Usage', () => { it('should allow to access /static/ and /_next/', async () => { // This is a test case which prevent the following issue happening again. - // See: https://github.com/zeit/next.js/issues/2617 + // See: https://github.com/vercel/next.js/issues/2617 await renderViaHTTP(appPort, '/_next/') await renderViaHTTP(appPort, '/static/') const data = await renderViaHTTP(appPort, '/static/data/item.txt') @@ -529,7 +529,7 @@ describe('Production Usage', () => { await browser.close() }) - // This is a workaround to fix https://github.com/zeit/next.js/issues/5860 + // This is a workaround to fix https://github.com/vercel/next.js/issues/5860 // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed. it('It does not add a timestamp to link tags with prefetch attribute', async () => { const browser = await webdriver(appPort, '/prefetch') @@ -612,7 +612,7 @@ describe('Production Usage', () => { it('should not put backslashes in pages-manifest.json', () => { // Whatever platform you build on, pages-manifest.json should use forward slash (/) - // See: https://github.com/zeit/next.js/issues/4920 + // See: https://github.com/vercel/next.js/issues/4920 const pagesManifest = require(join('..', '.next', 'server', PAGES_MANIFEST)) for (let key of Object.keys(pagesManifest)) { diff --git a/test/integration/scss-fixtures/with-tailwindcss-and-purgecss/pages/index.js b/test/integration/scss-fixtures/with-tailwindcss-and-purgecss/pages/index.js index ee6a89480a706..488d8b23c4e93 100644 --- a/test/integration/scss-fixtures/with-tailwindcss-and-purgecss/pages/index.js +++ b/test/integration/scss-fixtures/with-tailwindcss-and-purgecss/pages/index.js @@ -1,7 +1,7 @@ import Link from 'next/link' const links = [ - { href: 'https://github.com/zeit/next.js', label: 'GitHub' }, + { href: 'https://github.com/vercel/next.js', label: 'GitHub' }, { href: 'https://nextjs.org/docs', label: 'Docs' }, ] diff --git a/test/unit/loadGetInitialProps.test.js b/test/unit/loadGetInitialProps.test.js index 96813b3ef700b..44f7d74b2d8d6 100644 --- a/test/unit/loadGetInitialProps.test.js +++ b/test/unit/loadGetInitialProps.test.js @@ -8,7 +8,7 @@ describe('loadGetInitialProps', () => { } const rejectPromise = loadGetInitialProps(TestComponent, {}) const error = new Error( - '"TestComponent.getInitialProps()" is defined as an instance method - visit https://err.sh/zeit/next.js/get-initial-props-as-an-instance-method for more information.' + '"TestComponent.getInitialProps()" is defined as an instance method - visit https://err.sh/vercel/next.js/get-initial-props-as-an-instance-method for more information.' ) return expect(rejectPromise).rejects.toEqual(error) })