- 29 10月, 2019 5 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Split TypeScript Flag Docs * reword
-
由 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
-
由 Alexander Kachkaev 提交于
* Add a configuration flag to disable integrated type checker * Add tests for typescript-transpileonly * Restore removed argument * Make output more coherent * Split transpileOnly into ignoreDevErrors and ignoreBuildErrors * Minor stylistic change
-
由 JJ Kasper 提交于
* Add warning for getStaticParams without getStaticProps * Throw error instead of logging to make sure it's noticed * Lower default concurrency for tests
-
- 28 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 27 10月, 2019 3 次提交
-
-
由 Jan Potoms 提交于
* Take multiple values into account * make typescript happy
-
由 Tim Neutkens 提交于
-
由 htbvo 提交于
* allow NextScript to optionally defer javascript * move defer options to experimental feature * combine defer flags into a single option * Update deferScripts to work with serverless target * Add test for defer and async property * Read the async property * Check versions of chrome and chromedriver * Update to chromedriver 76 * Fix test
-
- 26 10月, 2019 4 次提交
-
-
由 Tim Neutkens 提交于
* Update Babel dependencies * Update sizes
-
由 Christoph Tavan 提交于
Before this patch users would see the following warning during initial compilation: ``` Warning: Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information. in link in Head in html in Html in Document in Context.Provider in Context.Provider ```
-
由 Gerald Monaco 提交于
* Add StrictMode toggle * Rename option to reactStrictMode * Default to false initially
-
由 JJ Kasper 提交于
* Ensure directory before flushing cache iSSG file * Add test for prerender cache flush * Nest the dynamic route test one more level * update fetch for test * Update error check
-
- 24 10月, 2019 2 次提交
-
-
由 Miguel Ángel Durán 提交于
The correct option to use with `micro-cors` package is `allowMethods` instead `allowedMethods`. This PR fixes the example.
-
由 Joe Haddad 提交于
-
- 23 10月, 2019 4 次提交
-
-
由 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
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
* Add yarn check to tests * Update yarn.lock * Update lockfile some more * Use resolutions to bump browserslist
-
由 Joe Haddad 提交于
* Cache No-Revalidate Pages * Specifically check for `false`
-
- 22 10月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
* Upgrade Lockfile * Fix types version mismatch * Upgrade amphtml-validator * Revert "Upgrade amphtml-validator" This reverts commit 05068b2ad9f2f53429cf514b47b4f7924b0b9623. * Disable AMP Tests * Skip 2x more AMP tests
-
由 Joe Haddad 提交于
* Upgrade React dependencies * Disable data tests * Increase allowed default sizes
-
- 21 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 19 10月, 2019 3 次提交
-
-
由 JJ Kasper 提交于
-
由 Alex Castle 提交于
-
由 Joe Haddad 提交于
* Warn on No Cache in CI * Bold the note lead * Add custom clarification for netlify * Reorder * Add tests * Fix detection
-
- 18 10月, 2019 4 次提交
-
-
由 Gerald Monaco 提交于
-
由 Liran Cohen 提交于
* allow to remove amphtml from desktop page * only 1 link with amphtml rel * clean up * remove checkup for amphtml link * Dedupe looping
-
由 JJ Kasper 提交于
* Register page export declaration to scope * Update to not need to traverse to update scope
-
由 Melanie Seltzer 提交于
* Dedupe meta tag in favor of custom tag defined in _app * Add test * Fix comments
-
- 17 10月, 2019 6 次提交
-
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
* Don't mark page as nextExport if it's SPR * Add test for fetching prerender data after mount
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
* Update to return json if data request * Update sending data * Add test using serverless bundle directly * Don't early return if fromExport
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 16 10月, 2019 5 次提交
-
-
由 Gerald Monaco 提交于
-
由 Alex Castle 提交于
* Update _document.tsx to optimize script loading * Update maxInitialChunks to 15 * Undo change chunk count * Adjust impl a bit * Add CSS preload test * Ensure build manifest not preloaded * Correct file name * break comment
-
由 JJ Kasper 提交于
* Add failing tests for SPR * Fix SPR always revalidating in production * Remove extra changes
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
This pull request is a temporary addition that uses the `x-now-route-params` header in serverless. This header returns the regex groups with indexes, not their named variants. As a result, we must use the getRouteMatcher utility to reverse this into Next.js' expected names. Since this got complex, I've added a test for it. We should probably remove this behavior sooner than later.
-