- 19 5月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
-
由 Joe Haddad 提交于
-
- 02 5月, 2020 1 次提交
-
-
由 matamatanot 提交于
-
- 14 4月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add basePath in link component and add/remove it consistently * Update to not use regex for delBasePath * Expose addBasePath as router method * Revert "Expose addBasePath as router method" This reverts commit 40fed596195c6affabf837e42d472452768e13a3. * Expose basePath as router field * Apply suggestion * Expose basePath as router field * remove un-used vars * Update externals * Apply lint fix * Update size-limit test * Update prefetch
-
- 31 3月, 2020 3 次提交
-
-
由 Tim Neutkens 提交于
* Remove req.env * Rename NEXT_APP_ to NEXT_PUBLIC_ * Remove key exposing env config * Update tests * Update NEXT_APP_ test to NEXT_PUBLIC_
-
由 Guy Bedford 提交于
-
由 Guy Bedford 提交于
-
- 26 3月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add initial support for new env config file * Fix serverless processEnv call when no env is provided * Add missing await for test method * Update env config to .env.json and add dotenv loading * ncc dotenv package * Update type * Update with new discussed behavior removing .env.json * Update hot-reloader createEntrypoints * Make sure .env is loaded before next.config.js * Add tests for all separate .env files * Remove comments * Add override tests * Add test for overriding env vars based on local environment * Add support for .env.test * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Use chalk for env loaded message * Remove constant as it’s not needed * Update test * Update errsh, taskr, and CNA template ignores * Make sure to only consider undefined missing * Remove old .env ignore * Update to not populate process.env with loaded env * Add experimental flag and add loading of global env values Co-authored-by: NTim Neutkens <timneutkens@me.com> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 25 3月, 2020 2 次提交
- 24 3月, 2020 1 次提交
-
-
由 Yosuke Furukawa 提交于
* Add custom amp optimizer and skip validation mode * fix: type * fix worker lint errors
-
- 22 3月, 2020 1 次提交
-
-
由 Dulmandakh 提交于
* bump mkdirp to 1.0.3, which support promise * fix mkdirp in spr-cache.ts * bump fs-extra to 9.0.0 * remove mkdirp
-
- 15 2月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
* Check next.config.js settings * Add tests * test package.json case too
-
- 06 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Update to use existing util to de-dupe path check * Update error message for requested/resolved mismatch * Use correct dataRoute value for prerender manifest * Fix pageUrl having double slash on Windows
-
- 03 2月, 2020 1 次提交
-
-
由 Matt Snider 提交于
* Changing variable name internally * Add tests for custom AMP validator Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
- 16 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 15 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Rename some spr related stuff to ssg * Update packages/next/lib/constants.ts Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 09 1月, 2020 1 次提交
-
-
由 Afzal Sayed 提交于
* Use optional chaining syntax * Changes as per review * Bug fix
-
- 14 12月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
* Add support for exporting from serverless build * Add more tests * Update syntax * Dont add dynamic params in worker * Update amphtml rel for serverless tests * Update tests again * Update dynamic params populating * Fix params parsing * Pass params separately
-
由 Joe Haddad 提交于
* Emit Static Export Intent * Remove the old export detail on rebuild * Add test cases * fix export * Add a resolve return
-
- 04 12月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Add Support for Event Flushing * Update packages/next/export/index.ts Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
-
- 26 11月, 2019 1 次提交
-
-
由 Yosuke Furukawa 提交于
* Allow custom amp validation * Update packages/next/export/index.ts Co-Authored-By: NTim Neutkens <tim@timneutkens.nl> * Update packages/next/server/next-dev-server.ts Co-Authored-By: NTim Neutkens <tim@timneutkens.nl> * chore: fix prettier error * fix: set amp.valiator undefined by default
-
- 22 11月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* `next export` should skip iSSG fallback page * Move config to correct place
-
- 09 11月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Check if the user has a now.json * Check for now.json * Add check for custom server
-
- 01 11月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add handling for exportTrailingSlash for iSSG pages * Update index.test.js
-
- 29 10月, 2019 1 次提交
-
-
由 Christoph Tavan 提交于
* Pass config.experimental.cpus to export during build Currently, there is no way of specifying the number of worker threads of `next export` when run as part of `next build`. I suggest a sane default should be to just use the same amount of workers that were used during the build process which currently seems to be configured through `config.experimental.cpus`. This setting is already respected in the two other places where jest-workers are in use: The TerserPlugin and the staticCheckWorkers in `next build`. * Only enable worker threads if there is more than 1 worker Multiple worker threads can cause problems when certain dependencies are being used, see e.g. https://github.com/zeit/next.js/issues/7894 This patch allows disabling of worker threads by setting `config.experimental.cpus = 1`. The benefit of spawning 1 worker thread, if there is any at all, should very limited anyways, so the workload can just as well be processed in the main thread. * Disable parallel build for firebase authentication example * Add integration test to cover #7894 * Rename test suite and add worker_threads config * Disable worker_threads by default * Update index.test.js * Use workerThreads config for TerserPlugin * Update to use workerThreads config in TerserPlugin for consistency * Disable node 12 specific test
-
- 23 10月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add tracking src dir usage to telemetry * Move isSrcDir back to eventVersion * Move spinner back * Add test for isSrcDir telemetry * Add test for dev mode
-
- 11 10月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
* Do Not Rely on Module State * Update storage.ts
-
由 JJ Kasper 提交于
* Add buildId to SPR data routes * Update buildId replace in serverless loader * Use new RegExp and add comment * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Test to ensure client transition and handle / data route
-
- 06 10月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Remove experimental.publicDirectory config * Error when public is set as an output dir * Remove experimental.publicDirectory checks * Update publicFiles checking in next build
-
- 04 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
This pull request converts Next.js' export CLI command to use TypeScript. This is useful for upcoming changes.
-
- 03 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Use Better Telemetry Directory So, as it turns out, storing in `node_modules` is a bad idea. Both npm and Yarn will remove additional files when you run `npm install` or `yarn install`. Instead, we'll store this inside of Next.js' `distDir`. This should also be cached by users, if it's not, it probably won't be any worse as compared to `node_modules`. * Fix directory name * Fix build setup * Record when export session is started * Move more into branch
-
- 02 10月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 25 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add revalidate header and error when invalid object from getStaticProps * Make sprCache no-op in dev mode * Update packages/next/next-server/server/next-server.ts * Update tests for fixes * Update getStaticProps error and add test * Update manifest test * Add validating revalidate value * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Change from error to warning high revalidate value
-
- 24 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* initial commit for SPRv2 * Add initial SPR cache handling * update SPR handling * Implement SPR handling in render * Update tests, handle caching with serverless next start, add TODOs, and update manifest generating * Handle no prerender-manifest from not being used * Fix url.parse error * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Replace set with constants in next-page-config * simplify sprStatus.used * Add error if getStaticProps is used with getInitialProps * Remove stale TODO * Update revalidate values in SPR cache for non-seeded routes * Apply suggestions from code review * Remove concurrency type * Rename variable for clarity * Add copying prerender files during export * Add comment for clarity * Fix exporting * Update comment * Add additional note * Rename variable * Update to not re-export SPR pages from build * Hard navigate when fetching data fails * Remove default extension * Add brackets * Add checking output files to prerender tests * Adjust export move logic * Clarify behavior of export aggregation * Update variable names for clarity * Update tests * Add comment * s/an oxymoron/contradictory/ * rename * Extract error case * Add tests for exporting SPR pages and update /_next/data endpoint to end with .json * Relocate variable * Adjust route building * Rename to unstable * Rename unstable_getStaticParams * Fix linting * Only add this when a data request * Update prerender data tests * s/isServerless/isLikeServerless/ * Don't rely on query for `next start` in serverless mode * Rename var * Update renderedDuringBuild check * Add test for dynamic param with bracket * Fix serverless next start handling * remove todo * Adjust comment * Update calculateRevalidate * Remove cache logic from render.tsx * Remove extra imports * Move SPR cache logic to next-server * Remove old isDynamic prop * Add calling App getInitialProps for SPR pages * Update revalidate logic * Add isStale to SprCacheValue * Update headers for SPR * add awaiting pendingRevalidation * Dont return null for revalidation render * Adjust logic * Be sure to remove coalesced render * Fix data for serverless * Create a method coalescing utility * Remove TODO * Extract send payload helper * Wrap in-line * Move around some code * Add tests for de-duping and revalidating * Update prerender manifest test
-
- 16 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add progress for analyzing and auto-prerendering * Add typing for tty-aware-progress and use stdout * Add fancier spinners * Update spinner and add handling for logs while spinning * Remove un-needed types package * Remove progress and combine analyzing/prerendering messages
-
- 05 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add failing test * Add jest-worker to export
-
- 04 9月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Initial move * Make emitting work * Update paths * Remove leftover files * Add correct externals configuration * Import correct path * Update path to work with ts-server test * Update lib directory * Compile next-server/lib
-
- 19 8月, 2019 1 次提交
-
-
由 undirectlookable 提交于
* Fix conflict between defaultPathMap and default 404.html export,if have a page in pages/404.js * Update packages/next/export/index.js Co-Authored-By: NJJ Kasper <jj@jjsweb.site> * add test export-override-404
-
- 12 8月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
* Throw error if next export detects an api route * Moved the test to the export tests * Added missing comma * Move the API route comment * Add comma after replace * Show a warning instead
-