1. 29 10月, 2019 5 次提交
    • J
      v9.1.2-canary.10 · cb7a184c
      Joe Haddad 提交于
      cb7a184c
    • J
      Split TypeScript Flag Docs (#9231) · 4dbd267c
      Joe Haddad 提交于
      * Split TypeScript Flag Docs
      
      * reword
      4dbd267c
    • C
      Disable worker_threads by default for firebase compatibility (#9199) · 14ed8675
      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
      14ed8675
    • A
      Add configuration flags to disable integrated type checker (#9138) · ad2a3d65
      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
      ad2a3d65
    • J
      Add warning for getStaticParams without getStaticProps (#9226) · 2d9f1991
      JJ Kasper 提交于
      * Add warning for getStaticParams without getStaticProps
      
      * Throw error instead of logging to make sure it's noticed
      
      * Lower default concurrency for tests
      2d9f1991
  2. 28 10月, 2019 1 次提交
  3. 27 10月, 2019 3 次提交
  4. 26 10月, 2019 4 次提交
  5. 24 10月, 2019 2 次提交
  6. 23 10月, 2019 4 次提交
  7. 22 10月, 2019 2 次提交
    • J
      Upgrade Lockfile (#9158) · ae3410c3
      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
      ae3410c3
    • J
      Upgrade React dependencies (#9152) · 94c2c084
      Joe Haddad 提交于
      * Upgrade React dependencies
      
      * Disable data tests
      
      * Increase allowed default sizes
      94c2c084
  8. 21 10月, 2019 1 次提交
  9. 19 10月, 2019 3 次提交
  10. 18 10月, 2019 4 次提交
  11. 17 10月, 2019 6 次提交
  12. 16 10月, 2019 5 次提交
    • G
      Update legacy _app context (#9083) · beed775e
      Gerald Monaco 提交于
      beed775e
    • A
      Optimize script tags (#9048) · 0886a123
      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
      0886a123
    • J
      Fix SPR always revalidating in production (#9091) · d3cbb163
      JJ Kasper 提交于
      * Add failing tests for SPR
      
      * Fix SPR always revalidating in production
      
      * Remove extra changes
      d3cbb163
    • J
      v9.1.2-canary.3 · 07502ba2
      Joe Haddad 提交于
      07502ba2
    • J
      Temporary: SPR: Use Group Index Mapping (#9089) · 0208356f
      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.
      0208356f