├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── fossa.yml │ └── workflow.yml ├── .gitignore ├── .prettierignore ├── CHANGELOG.md ├── LICENSE ├── MIGRATING.md ├── README.md ├── assets ├── showcase-bigbinary.png ├── showcase-missionbit.png └── showcase-opinionatedreact.png ├── cypress ├── .gitignore ├── fixtures │ ├── .netlify │ │ └── .keep │ ├── netlify.toml │ ├── next.config.js │ ├── next.config.js-with-i18n │ ├── next.config.js-with-optionalCatchAll │ ├── package.json │ ├── pages-with-i18n │ │ ├── api │ │ │ ├── enterPreview.js │ │ │ ├── enterPreviewStatic.js │ │ │ ├── exitPreview.js │ │ │ ├── redirect.js │ │ │ ├── shows │ │ │ │ ├── [...params].js │ │ │ │ └── [id].js │ │ │ └── static.js │ │ ├── getServerSideProps │ │ │ ├── [id].js │ │ │ ├── catch │ │ │ │ └── all │ │ │ │ │ └── [...slug].js │ │ │ └── static.js │ │ ├── getStaticProps │ │ │ ├── [id].js │ │ │ ├── static.js │ │ │ ├── with-revalidate.js │ │ │ ├── withFallback │ │ │ │ ├── [...slug].js │ │ │ │ └── [id].js │ │ │ └── withRevalidate │ │ │ │ └── [id].js │ │ ├── index.js │ │ ├── previewTest │ │ │ ├── [id].js │ │ │ └── static.js │ │ ├── shows │ │ │ ├── [...params].js │ │ │ └── [id].js │ │ ├── static.js │ │ └── static │ │ │ └── [id].js │ ├── pages-with-optionalCatchAll-at-root │ │ ├── [[...slug]].js │ │ ├── [bar] │ │ │ └── ssr.js │ │ ├── home.js │ │ ├── static.js │ │ └── subfolder │ │ │ └── [id].js │ ├── pages-with-optionalCatchAll │ │ ├── catch │ │ │ └── [[...all]].js │ │ └── index.js │ ├── pages │ │ ├── api │ │ │ ├── context.js │ │ │ ├── enterPreview.js │ │ │ ├── enterPreviewStatic.js │ │ │ ├── exitPreview.js │ │ │ ├── redirect.js │ │ │ ├── shows │ │ │ │ ├── [...params].js │ │ │ │ └── [id].js │ │ │ └── static.js │ │ ├── getServerSideProps │ │ │ ├── [id].js │ │ │ ├── catch │ │ │ │ └── all │ │ │ │ │ └── [...slug].js │ │ │ ├── context.js │ │ │ ├── static.js │ │ │ └── wait-on-empty-event-loop │ │ │ │ └── [wait].js │ │ ├── getStaticProps │ │ │ ├── [id].js │ │ │ ├── static.js │ │ │ ├── with-revalidate.js │ │ │ ├── withFallback │ │ │ │ ├── [...slug].js │ │ │ │ └── [id].js │ │ │ └── withRevalidate │ │ │ │ └── [id].js │ │ ├── index.js │ │ ├── previewTest │ │ │ ├── [id].js │ │ │ └── static.js │ │ ├── shows │ │ │ ├── [...params].js │ │ │ └── [id].js │ │ ├── static.js │ │ └── static │ │ │ └── [id].js │ └── public │ │ ├── file.txt │ │ ├── folder │ │ └── file.txt │ │ └── subfolder │ │ └── file.txt ├── integration │ ├── default_spec.js │ ├── i18n_spec.js │ ├── optionalCatchAll_at_root_spec.js │ └── optionalCatchAll_spec.js ├── plugins │ ├── buildProject.js │ ├── clearDeployment.js │ ├── clearProject.js │ ├── copyFixture.js │ ├── deployProject.js │ ├── getBaseUrl.js │ └── index.js └── support │ ├── commands.js │ └── index.js ├── index.js ├── lib ├── config.js ├── constants │ └── regex.js ├── helpers │ ├── addDefaultLocaleRedirect.js │ ├── addLocaleRedirects.js │ ├── copyDynamicImportChunks.js │ ├── getDataRouteForRoute.js │ ├── getFilePathForRoute.js │ ├── getI18n.js │ ├── getNetlifyFunctionName.js │ ├── getNetlifyRoutes.js │ ├── getNextConfig.js │ ├── getNextDistDir.js │ ├── getNextSrcDir.js │ ├── getPagesManifest.js │ ├── getPrerenderManifest.js │ ├── getRoutesManifest.js │ ├── getSortedRedirects.js │ ├── handleFileTracking.js │ ├── isApiRoute.js │ ├── isDynamicRoute.js │ ├── isFrameworkRoute.js │ ├── isHtmlFile.js │ ├── isRootCatchAllRedirect.js │ ├── isRouteInPrerenderManifest.js │ ├── isRouteWithDataRoute.js │ ├── isRouteWithFallback.js │ ├── logger.js │ ├── removeFileExtension.js │ ├── setupNetlifyFunctionForPage.js │ └── setupStaticFileForPage.js ├── pages │ ├── api │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js │ ├── getInitialProps │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js │ ├── getServerSideProps │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js │ ├── getStaticProps │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js │ ├── getStaticPropsWithFallback │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js │ ├── getStaticPropsWithRevalidate │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js │ └── withoutProps │ │ ├── pages.js │ │ ├── redirects.js │ │ └── setup.js ├── steps │ ├── copyNextAssets.js │ ├── copyPublicFiles.js │ ├── prepareFolders.js │ ├── setupHeaders.js │ ├── setupImageFunction.js │ ├── setupPages.js │ └── setupRedirects.js └── templates │ ├── createRequestObject.js │ ├── createResponseObject.js │ ├── imageFunction.js │ ├── netlifyFunction.js │ └── renderNextPage.js ├── next-on-netlify.js ├── next-on-netlify.png ├── package.json └── tests ├── .gitignore ├── __snapshots__ ├── defaults.test.js.snap ├── i18n.test.js.snap └── optionalCatchAll.test.js.snap ├── configurableDirs.test.js ├── customHeaders.test.js ├── customNextDistDir.test.js ├── customRedirects.test.js ├── defaults.test.js ├── dynamicImports.test.js ├── fixtures ├── .nonfiletracking ├── _headers ├── _redirects ├── components │ └── Header.js ├── image.png ├── my-functions │ ├── next_image.js │ ├── next_shows_id │ │ └── next_shows_id.js │ └── someTestFunction.js ├── next.config.js ├── next.config.js-est ├── next.config.js-with-distDir.js ├── next.config.js-with-function.js ├── next.config.js-with-i18n.js ├── package.json ├── pages-dynamic-imports │ ├── deep │ │ └── import.js │ └── index.js ├── pages-i18n-ssg-index │ └── index.js ├── pages-simple │ └── index.js ├── pages-with-gssp-index │ └── index.js ├── pages-with-optionalCatchAll │ ├── [[...all]].js │ └── page.js ├── pages-with-prerendered-index │ ├── index.js │ └── shows │ │ └── index.js ├── pages-with-static-props-index │ ├── index.js │ └── static │ │ └── index.js └── pages │ ├── api │ ├── hello-background.js │ ├── shows │ │ ├── [...params].js │ │ └── [id].js │ └── static.js │ ├── getServerSideProps │ ├── [id].js │ ├── all │ │ └── [[...slug]].js │ └── static.js │ ├── getStaticProps │ ├── [id].js │ ├── static.js │ ├── with-revalidate.js │ ├── withFallback │ │ ├── [...slug].js │ │ └── [id].js │ ├── withFallbackBlocking │ │ └── [id].js │ └── withRevalidate │ │ ├── [id].js │ │ └── withFallback │ │ └── [id].js │ ├── index.js │ ├── shows │ ├── [...params].js │ └── [id].js │ ├── static.js │ └── static │ └── [id].js ├── getServerSidePropsIndexPage.test.js ├── helpers ├── buildNextApp.js ├── clearCache.js ├── nextVersion.js └── npmRun.js ├── i18n-ssg-root-index.test.js ├── i18n.test.js ├── jest.config.js ├── nextConfigFunction.test.js ├── optionalCatchAll.test.js ├── preRenderedIndexPages.test.js └── staticIndexPages.test.js /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/fossa.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/.github/workflows/fossa.yml -------------------------------------------------------------------------------- /.github/workflows/workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/.github/workflows/workflow.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/.prettierignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/LICENSE -------------------------------------------------------------------------------- /MIGRATING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/MIGRATING.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/README.md -------------------------------------------------------------------------------- /assets/showcase-bigbinary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/assets/showcase-bigbinary.png -------------------------------------------------------------------------------- /assets/showcase-missionbit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/assets/showcase-missionbit.png -------------------------------------------------------------------------------- /assets/showcase-opinionatedreact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/assets/showcase-opinionatedreact.png -------------------------------------------------------------------------------- /cypress/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/.gitignore -------------------------------------------------------------------------------- /cypress/fixtures/.netlify/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cypress/fixtures/netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/netlify.toml -------------------------------------------------------------------------------- /cypress/fixtures/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | target: "experimental-serverless-trace", 3 | }; 4 | -------------------------------------------------------------------------------- /cypress/fixtures/next.config.js-with-i18n: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/next.config.js-with-i18n -------------------------------------------------------------------------------- /cypress/fixtures/next.config.js-with-optionalCatchAll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/next.config.js-with-optionalCatchAll -------------------------------------------------------------------------------- /cypress/fixtures/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/package.json -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/enterPreview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/enterPreview.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/enterPreviewStatic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/enterPreviewStatic.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/exitPreview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/exitPreview.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/redirect.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/shows/[...params].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/shows/[...params].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/shows/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/shows/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/api/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/api/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getServerSideProps/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getServerSideProps/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getServerSideProps/catch/all/[...slug].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getServerSideProps/catch/all/[...slug].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getServerSideProps/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getServerSideProps/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getStaticProps/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getStaticProps/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getStaticProps/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getStaticProps/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getStaticProps/with-revalidate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getStaticProps/with-revalidate.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getStaticProps/withFallback/[...slug].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getStaticProps/withFallback/[...slug].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getStaticProps/withFallback/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getStaticProps/withFallback/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/getStaticProps/withRevalidate/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/getStaticProps/withRevalidate/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/index.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/previewTest/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/previewTest/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/previewTest/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/previewTest/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/shows/[...params].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/shows/[...params].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/shows/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/shows/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-i18n/static/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-i18n/static/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll-at-root/[[...slug]].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll-at-root/[[...slug]].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll-at-root/[bar]/ssr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll-at-root/[bar]/ssr.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll-at-root/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll-at-root/home.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll-at-root/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll-at-root/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll-at-root/subfolder/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll-at-root/subfolder/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll/catch/[[...all]].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll/catch/[[...all]].js -------------------------------------------------------------------------------- /cypress/fixtures/pages-with-optionalCatchAll/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages-with-optionalCatchAll/index.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/context.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/enterPreview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/enterPreview.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/enterPreviewStatic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/enterPreviewStatic.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/exitPreview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/exitPreview.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/redirect.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/shows/[...params].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/shows/[...params].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/shows/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/shows/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/api/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/api/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getServerSideProps/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getServerSideProps/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getServerSideProps/catch/all/[...slug].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getServerSideProps/catch/all/[...slug].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getServerSideProps/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getServerSideProps/context.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getServerSideProps/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getServerSideProps/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getServerSideProps/wait-on-empty-event-loop/[wait].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getServerSideProps/wait-on-empty-event-loop/[wait].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getStaticProps/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getStaticProps/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getStaticProps/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getStaticProps/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getStaticProps/with-revalidate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getStaticProps/with-revalidate.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getStaticProps/withFallback/[...slug].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getStaticProps/withFallback/[...slug].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getStaticProps/withFallback/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getStaticProps/withFallback/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/getStaticProps/withRevalidate/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/getStaticProps/withRevalidate/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/index.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/previewTest/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/previewTest/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/previewTest/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/previewTest/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/shows/[...params].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/shows/[...params].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/shows/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/shows/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/pages/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/static.js -------------------------------------------------------------------------------- /cypress/fixtures/pages/static/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/fixtures/pages/static/[id].js -------------------------------------------------------------------------------- /cypress/fixtures/public/file.txt: -------------------------------------------------------------------------------- 1 | a text file 2 | -------------------------------------------------------------------------------- /cypress/fixtures/public/folder/file.txt: -------------------------------------------------------------------------------- 1 | a text file in a folder 2 | -------------------------------------------------------------------------------- /cypress/fixtures/public/subfolder/file.txt: -------------------------------------------------------------------------------- 1 | a text file in a subfolder 2 | -------------------------------------------------------------------------------- /cypress/integration/default_spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/integration/default_spec.js -------------------------------------------------------------------------------- /cypress/integration/i18n_spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/integration/i18n_spec.js -------------------------------------------------------------------------------- /cypress/integration/optionalCatchAll_at_root_spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/integration/optionalCatchAll_at_root_spec.js -------------------------------------------------------------------------------- /cypress/integration/optionalCatchAll_spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/integration/optionalCatchAll_spec.js -------------------------------------------------------------------------------- /cypress/plugins/buildProject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/buildProject.js -------------------------------------------------------------------------------- /cypress/plugins/clearDeployment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/clearDeployment.js -------------------------------------------------------------------------------- /cypress/plugins/clearProject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/clearProject.js -------------------------------------------------------------------------------- /cypress/plugins/copyFixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/copyFixture.js -------------------------------------------------------------------------------- /cypress/plugins/deployProject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/deployProject.js -------------------------------------------------------------------------------- /cypress/plugins/getBaseUrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/getBaseUrl.js -------------------------------------------------------------------------------- /cypress/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/plugins/index.js -------------------------------------------------------------------------------- /cypress/support/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/support/commands.js -------------------------------------------------------------------------------- /cypress/support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/cypress/support/index.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/index.js -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/config.js -------------------------------------------------------------------------------- /lib/constants/regex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/constants/regex.js -------------------------------------------------------------------------------- /lib/helpers/addDefaultLocaleRedirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/addDefaultLocaleRedirect.js -------------------------------------------------------------------------------- /lib/helpers/addLocaleRedirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/addLocaleRedirects.js -------------------------------------------------------------------------------- /lib/helpers/copyDynamicImportChunks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/copyDynamicImportChunks.js -------------------------------------------------------------------------------- /lib/helpers/getDataRouteForRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getDataRouteForRoute.js -------------------------------------------------------------------------------- /lib/helpers/getFilePathForRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getFilePathForRoute.js -------------------------------------------------------------------------------- /lib/helpers/getI18n.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getI18n.js -------------------------------------------------------------------------------- /lib/helpers/getNetlifyFunctionName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getNetlifyFunctionName.js -------------------------------------------------------------------------------- /lib/helpers/getNetlifyRoutes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getNetlifyRoutes.js -------------------------------------------------------------------------------- /lib/helpers/getNextConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getNextConfig.js -------------------------------------------------------------------------------- /lib/helpers/getNextDistDir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getNextDistDir.js -------------------------------------------------------------------------------- /lib/helpers/getNextSrcDir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getNextSrcDir.js -------------------------------------------------------------------------------- /lib/helpers/getPagesManifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getPagesManifest.js -------------------------------------------------------------------------------- /lib/helpers/getPrerenderManifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getPrerenderManifest.js -------------------------------------------------------------------------------- /lib/helpers/getRoutesManifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getRoutesManifest.js -------------------------------------------------------------------------------- /lib/helpers/getSortedRedirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/getSortedRedirects.js -------------------------------------------------------------------------------- /lib/helpers/handleFileTracking.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/handleFileTracking.js -------------------------------------------------------------------------------- /lib/helpers/isApiRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isApiRoute.js -------------------------------------------------------------------------------- /lib/helpers/isDynamicRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isDynamicRoute.js -------------------------------------------------------------------------------- /lib/helpers/isFrameworkRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isFrameworkRoute.js -------------------------------------------------------------------------------- /lib/helpers/isHtmlFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isHtmlFile.js -------------------------------------------------------------------------------- /lib/helpers/isRootCatchAllRedirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isRootCatchAllRedirect.js -------------------------------------------------------------------------------- /lib/helpers/isRouteInPrerenderManifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isRouteInPrerenderManifest.js -------------------------------------------------------------------------------- /lib/helpers/isRouteWithDataRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isRouteWithDataRoute.js -------------------------------------------------------------------------------- /lib/helpers/isRouteWithFallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/isRouteWithFallback.js -------------------------------------------------------------------------------- /lib/helpers/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/logger.js -------------------------------------------------------------------------------- /lib/helpers/removeFileExtension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/removeFileExtension.js -------------------------------------------------------------------------------- /lib/helpers/setupNetlifyFunctionForPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/setupNetlifyFunctionForPage.js -------------------------------------------------------------------------------- /lib/helpers/setupStaticFileForPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/helpers/setupStaticFileForPage.js -------------------------------------------------------------------------------- /lib/pages/api/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/api/pages.js -------------------------------------------------------------------------------- /lib/pages/api/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/api/redirects.js -------------------------------------------------------------------------------- /lib/pages/api/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/api/setup.js -------------------------------------------------------------------------------- /lib/pages/getInitialProps/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getInitialProps/pages.js -------------------------------------------------------------------------------- /lib/pages/getInitialProps/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getInitialProps/redirects.js -------------------------------------------------------------------------------- /lib/pages/getInitialProps/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getInitialProps/setup.js -------------------------------------------------------------------------------- /lib/pages/getServerSideProps/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getServerSideProps/pages.js -------------------------------------------------------------------------------- /lib/pages/getServerSideProps/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getServerSideProps/redirects.js -------------------------------------------------------------------------------- /lib/pages/getServerSideProps/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getServerSideProps/setup.js -------------------------------------------------------------------------------- /lib/pages/getStaticProps/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticProps/pages.js -------------------------------------------------------------------------------- /lib/pages/getStaticProps/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticProps/redirects.js -------------------------------------------------------------------------------- /lib/pages/getStaticProps/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticProps/setup.js -------------------------------------------------------------------------------- /lib/pages/getStaticPropsWithFallback/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticPropsWithFallback/pages.js -------------------------------------------------------------------------------- /lib/pages/getStaticPropsWithFallback/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticPropsWithFallback/redirects.js -------------------------------------------------------------------------------- /lib/pages/getStaticPropsWithFallback/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticPropsWithFallback/setup.js -------------------------------------------------------------------------------- /lib/pages/getStaticPropsWithRevalidate/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticPropsWithRevalidate/pages.js -------------------------------------------------------------------------------- /lib/pages/getStaticPropsWithRevalidate/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticPropsWithRevalidate/redirects.js -------------------------------------------------------------------------------- /lib/pages/getStaticPropsWithRevalidate/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/getStaticPropsWithRevalidate/setup.js -------------------------------------------------------------------------------- /lib/pages/withoutProps/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/withoutProps/pages.js -------------------------------------------------------------------------------- /lib/pages/withoutProps/redirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/withoutProps/redirects.js -------------------------------------------------------------------------------- /lib/pages/withoutProps/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/pages/withoutProps/setup.js -------------------------------------------------------------------------------- /lib/steps/copyNextAssets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/copyNextAssets.js -------------------------------------------------------------------------------- /lib/steps/copyPublicFiles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/copyPublicFiles.js -------------------------------------------------------------------------------- /lib/steps/prepareFolders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/prepareFolders.js -------------------------------------------------------------------------------- /lib/steps/setupHeaders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/setupHeaders.js -------------------------------------------------------------------------------- /lib/steps/setupImageFunction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/setupImageFunction.js -------------------------------------------------------------------------------- /lib/steps/setupPages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/setupPages.js -------------------------------------------------------------------------------- /lib/steps/setupRedirects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/steps/setupRedirects.js -------------------------------------------------------------------------------- /lib/templates/createRequestObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/templates/createRequestObject.js -------------------------------------------------------------------------------- /lib/templates/createResponseObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/templates/createResponseObject.js -------------------------------------------------------------------------------- /lib/templates/imageFunction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/templates/imageFunction.js -------------------------------------------------------------------------------- /lib/templates/netlifyFunction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/templates/netlifyFunction.js -------------------------------------------------------------------------------- /lib/templates/renderNextPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/lib/templates/renderNextPage.js -------------------------------------------------------------------------------- /next-on-netlify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/next-on-netlify.js -------------------------------------------------------------------------------- /next-on-netlify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/next-on-netlify.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/package.json -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/__snapshots__/defaults.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/__snapshots__/defaults.test.js.snap -------------------------------------------------------------------------------- /tests/__snapshots__/i18n.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/__snapshots__/i18n.test.js.snap -------------------------------------------------------------------------------- /tests/__snapshots__/optionalCatchAll.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/__snapshots__/optionalCatchAll.test.js.snap -------------------------------------------------------------------------------- /tests/configurableDirs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/configurableDirs.test.js -------------------------------------------------------------------------------- /tests/customHeaders.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/customHeaders.test.js -------------------------------------------------------------------------------- /tests/customNextDistDir.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/customNextDistDir.test.js -------------------------------------------------------------------------------- /tests/customRedirects.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/customRedirects.test.js -------------------------------------------------------------------------------- /tests/defaults.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/defaults.test.js -------------------------------------------------------------------------------- /tests/dynamicImports.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/dynamicImports.test.js -------------------------------------------------------------------------------- /tests/fixtures/.nonfiletracking: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/.nonfiletracking -------------------------------------------------------------------------------- /tests/fixtures/_headers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/_headers -------------------------------------------------------------------------------- /tests/fixtures/_redirects: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/_redirects -------------------------------------------------------------------------------- /tests/fixtures/components/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/components/Header.js -------------------------------------------------------------------------------- /tests/fixtures/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/image.png -------------------------------------------------------------------------------- /tests/fixtures/my-functions/next_image.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/my-functions/next_shows_id/next_shows_id.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/my-functions/someTestFunction.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | target: "serverless", 3 | }; 4 | -------------------------------------------------------------------------------- /tests/fixtures/next.config.js-est: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | target: "experimental-serverless-trace", 3 | }; 4 | -------------------------------------------------------------------------------- /tests/fixtures/next.config.js-with-distDir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/next.config.js-with-distDir.js -------------------------------------------------------------------------------- /tests/fixtures/next.config.js-with-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/next.config.js-with-function.js -------------------------------------------------------------------------------- /tests/fixtures/next.config.js-with-i18n.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/next.config.js-with-i18n.js -------------------------------------------------------------------------------- /tests/fixtures/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/package.json -------------------------------------------------------------------------------- /tests/fixtures/pages-dynamic-imports/deep/import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-dynamic-imports/deep/import.js -------------------------------------------------------------------------------- /tests/fixtures/pages-dynamic-imports/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-dynamic-imports/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-i18n-ssg-index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-i18n-ssg-index/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-simple/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-simple/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-gssp-index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-gssp-index/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-optionalCatchAll/[[...all]].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-optionalCatchAll/[[...all]].js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-optionalCatchAll/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-optionalCatchAll/page.js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-prerendered-index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-prerendered-index/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-prerendered-index/shows/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-prerendered-index/shows/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-static-props-index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-static-props-index/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages-with-static-props-index/static/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages-with-static-props-index/static/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages/api/hello-background.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/api/hello-background.js -------------------------------------------------------------------------------- /tests/fixtures/pages/api/shows/[...params].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/api/shows/[...params].js -------------------------------------------------------------------------------- /tests/fixtures/pages/api/shows/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/api/shows/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/api/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/api/static.js -------------------------------------------------------------------------------- /tests/fixtures/pages/getServerSideProps/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getServerSideProps/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getServerSideProps/all/[[...slug]].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getServerSideProps/all/[[...slug]].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getServerSideProps/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getServerSideProps/static.js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/static.js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/with-revalidate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/with-revalidate.js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/withFallback/[...slug].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/withFallback/[...slug].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/withFallback/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/withFallback/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/withFallbackBlocking/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/withFallbackBlocking/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/withRevalidate/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/withRevalidate/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/getStaticProps/withRevalidate/withFallback/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/getStaticProps/withRevalidate/withFallback/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/index.js -------------------------------------------------------------------------------- /tests/fixtures/pages/shows/[...params].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/shows/[...params].js -------------------------------------------------------------------------------- /tests/fixtures/pages/shows/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/shows/[id].js -------------------------------------------------------------------------------- /tests/fixtures/pages/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/static.js -------------------------------------------------------------------------------- /tests/fixtures/pages/static/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/fixtures/pages/static/[id].js -------------------------------------------------------------------------------- /tests/getServerSidePropsIndexPage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/getServerSidePropsIndexPage.test.js -------------------------------------------------------------------------------- /tests/helpers/buildNextApp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/helpers/buildNextApp.js -------------------------------------------------------------------------------- /tests/helpers/clearCache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/helpers/clearCache.js -------------------------------------------------------------------------------- /tests/helpers/nextVersion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/helpers/nextVersion.js -------------------------------------------------------------------------------- /tests/helpers/npmRun.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/helpers/npmRun.js -------------------------------------------------------------------------------- /tests/i18n-ssg-root-index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/i18n-ssg-root-index.test.js -------------------------------------------------------------------------------- /tests/i18n.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/i18n.test.js -------------------------------------------------------------------------------- /tests/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/jest.config.js -------------------------------------------------------------------------------- /tests/nextConfigFunction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/nextConfigFunction.test.js -------------------------------------------------------------------------------- /tests/optionalCatchAll.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/optionalCatchAll.test.js -------------------------------------------------------------------------------- /tests/preRenderedIndexPages.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/preRenderedIndexPages.test.js -------------------------------------------------------------------------------- /tests/staticIndexPages.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netlify/next-on-netlify/HEAD/tests/staticIndexPages.test.js --------------------------------------------------------------------------------