1. 16 8月, 2019 1 次提交
    • J
      Feature: Add transparent JSX optimization (#8350) · cfd60804
      Jason Miller 提交于
      * Add transparent JSX optimization.
      
      * fix duplicate React import
      
      * fix React not being imported when only a single Fragment node is present in a source module
      
      * remove babel-plugin-react-require
      
      * Fix JSX optimization for CommonJS source files.
      cfd60804
  2. 14 8月, 2019 2 次提交
  3. 07 8月, 2019 1 次提交
  4. 06 8月, 2019 1 次提交
    • J
      Experimental: Serverless Trace target (#8246) · b31c2967
      Joe Haddad 提交于
      * Experimental: Serverless Trace target
      The Serverless Trace target produces Serverless-handler wrapped entrypoints, but does not bundle all of `node_modules`.
      
      This behavior increases bundling performance to be more akin to `target: 'server'`.
      
      This mode is expected to be used with smart platforms (like [ZEIT Now](https://zeit.co/now) that can trace a program to its minimum dependencies.
      
      * Use more generic variables
      
      * Add asset relocator for production mode of serverless trace
      
      * Verify Firebase compatiblity
      
      * Revert "Add asset relocator for production mode of serverless trace"
      
      This reverts commit 8404f1dcf28b60edab41a56c94b38dcd3fddec20.
      
      * Add serverless trace tests
      
      * Add _isLikeServerless helper
      
      * Make constants
      
      * Fix export
      
      * Update packages/next-server/server/config.ts
      Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
      
      * Use a global helper for is like serverless
      
      * Update import for isTargetLikeServerless
      
      * Update packages/next/build/index.ts
      Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
      b31c2967
  5. 04 8月, 2019 1 次提交
  6. 02 8月, 2019 1 次提交
  7. 01 8月, 2019 1 次提交
  8. 30 7月, 2019 1 次提交
  9. 29 7月, 2019 1 次提交
  10. 20 7月, 2019 1 次提交
    • J
      Rewrite Create Next App (#8030) · 104d18c6
      Joe Haddad 提交于
      * Completely rewrite Create Next App
      
      * Sort imports
      
      * Show what package manager is being used
      
      * Fix project name suggestion
      
      * Update tests for new implementation
      
      * Use normal prepublish command for on-install
      
      * Upgrade Node version
      
      * Switch to 8.16
      
      * Disable v8 cache
      
      * Swap out update check package and fix CLI boot
      104d18c6
  11. 18 7月, 2019 1 次提交
  12. 12 7月, 2019 1 次提交
  13. 09 7月, 2019 1 次提交
  14. 01 7月, 2019 1 次提交
  15. 24 6月, 2019 1 次提交
  16. 22 6月, 2019 1 次提交
    • G
      ncc Webpack build redux (#7628) · e85a517e
      Guy Bedford 提交于
      * Reimplement ncc webpack build
      
      This reverts commit 6feca310.
      
      * Shared webpack build
      
      * ncc workaround pending @zeit/ncc#437
      
      * update ncc
      
      * build tweaks, fixup autodll-import
      
      * possible Node 8 fix
      
      * second possible Node 8 fix
      
      * and update taskfile
      e85a517e
  17. 06 6月, 2019 1 次提交
    • L
      Replace recursive-copy with own implementation (#7263) · 3b5f1849
      Luc 提交于
      * replace recursive-copy with own implementation
      
      * update yarn.lock
      
      * do not filter out not directories
      
      * do not fail if folder already exists
      
      * replace `\` by `/` when sending pathes to filter
      
      * use fs-extra only in tests
      
      * investigate and test recursive-copy npm module
      
      * improve test by creating fixtures programmatically
      
      * remove recursive-copy npm module test
      
      * add recursive-copy to bench
      
      * add bench:recursive-copy script
      
      * fix Sema import in recursive-copy.ts
      
      * small improvements
      3b5f1849
  18. 05 6月, 2019 1 次提交
    • L
      API interface extensions (#7363) · c821e830
      Lukáš Huvar 提交于
      * Cookies and Query parsing for API request
      
      * Adding JSON and SEND
      
      * First body parsing
      
      * Body parsing
      
      * Remove extra try catch
      
      * Fix tests
      
      * Only server bundling for API routes
      
      * Update packages/next-server/server/api-utils.ts
      Co-Authored-By: NTim Neutkens <tim@timneutkens.nl>
      
      * Revert on demand server changes
      
      * Use content-type for parsing
      
      * Update packages/next-server/server/api-utils.ts
      Co-Authored-By: NJan Potoms <potoms.jan@gmail.com>
      
      * Add tests for server compilation
      
      * Add body limit
      
      * Change API to function chaining
      
      * Limit test
      c821e830
  19. 31 5月, 2019 1 次提交
  20. 30 5月, 2019 1 次提交
  21. 29 5月, 2019 1 次提交
  22. 28 5月, 2019 1 次提交
    • J
      Dynamic routing mark 2 (#7432) · e27203f8
      Joe Haddad 提交于
      * Update escape string regexp operators
      
      * temp
      
      * Extract getRouteRegex func
      
      * First iteration of dynamic routing for production only
      
      * Correctly order prod
      
      * Add serverless support
      
      * Single line it
      
      * noop routes
      
      * Format doc
      
      * Fix dynamic routing for dev
      
      * Add flag for dynamic routing
      
      * Update packages/next-server/lib/router/router.ts
      Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
      
      * remove example
      
      * Add router tests
      
      * Format code
      
      * Sort routes
      
      * Update to not use posix path methods
      e27203f8
  23. 24 5月, 2019 1 次提交
  24. 23 5月, 2019 1 次提交
    • J
      Upgrade dependencies (#7412) · f9f80dff
      Joe Haddad 提交于
      *  Upgrade workspace dependencies
      
      * Run new prettier against examples
      
      * Upgrade some next-server packages
      
      * Upgrade Next.js dependencies
      
      * Upgrade webpack deps
      
      * Upgrade async sema
      
      * Fix compilation
      
      * Revert broken plugin
      f9f80dff
  25. 22 5月, 2019 1 次提交
  26. 17 5月, 2019 2 次提交
  27. 11 5月, 2019 1 次提交
  28. 09 5月, 2019 1 次提交
  29. 08 5月, 2019 1 次提交
  30. 07 5月, 2019 1 次提交
  31. 06 5月, 2019 1 次提交
  32. 04 5月, 2019 1 次提交
  33. 03 5月, 2019 1 次提交
  34. 29 4月, 2019 1 次提交
  35. 27 4月, 2019 1 次提交
  36. 24 4月, 2019 1 次提交
  37. 23 4月, 2019 2 次提交
    • L
      Replace the typescript compiler with @babel/preset-typescript (#7016) · 08a60666
      Luis Fernando Alvarez D 提交于
      * Added babel typescript for the core files
      
      * Add __NEXT_VERSION
      
      * Added noop.js to the babel taskfile
      
      * Only include dynamic-import-node for the bin task
      
      * Added babel-plugin-dynamic-import-node
      
      * Use loose option to prevent Object.defineProperty
      
      * Enable loose in preset and enable compact mode
      
      * Disable compact and loose to compare
      
      * Re-enable compact and loose
      08a60666
    • L
      Add more TypeScript types (#7054) · 29f71bfc
      Luis Fernando Alvarez D 提交于
      * Moved server/lib/utils.js to Typescript
      
      * moved _app.js to Typescript
      
      * Moved _error.js to Typescript
      
      * Added argument for custom props in _app and _error
      
      * Moved _document.js to Typescript
      
      * updated one test
      
      * Updated types and added a validation for _document props
      
      * Improved types
      
      * Fixed some types
      
      * Updated AppType
      
      * Fixed some tests
      
      * Added missing import
      
      * Removed a not very useful type
      
      * Fix missing type
      
      * Move @types/styled-jsx
      
      * Fix typescript errors
      29f71bfc