1. 10 11月, 2019 1 次提交
  2. 16 10月, 2019 1 次提交
  3. 21 9月, 2019 1 次提交
  4. 04 9月, 2019 1 次提交
    • T
      Move next-server back into `next` package (#8613) · 2ba352da
      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
      2ba352da
  5. 12 7月, 2019 1 次提交
    • L
      Improve exported router types (#7853) · b94123cc
      Luis Fernando Alvarez D 提交于
      * Added the RouteUrl type and improved router types
      
      * Added more tests for router types
      
      * Add build test for typescript types
      
      * Add next-env.d.ts to the typescript test
      
      * Removed next-env.d.ts
      
      * Added next-env.d.ts to gitignore
      
      * Remove route url re-exports
      
      * renamed PublicRouterInstance to be NextRouter
      
      * export the Url type
      
      * Replaced BaseRouter with NextRouter in server/utils
      
      * Don't export the Url type
      
      * Update tsconfig.json
      b94123cc
  6. 30 5月, 2019 1 次提交
  7. 07 5月, 2019 1 次提交
  8. 26 4月, 2019 1 次提交
  9. 23 4月, 2019 1 次提交
  10. 13 4月, 2019 1 次提交
    • S
      Set descriptive displayName on withRouter HOC (#7017) · 01779429
      Simon Boudrias 提交于
      Not sure when it was introduced, but on the latest Next v8.0.4, there's no descriptive name attached to the component returns from `withRouter`.
      
      This makes it harder to debug and write test cases for components wrapped by `withRouter`.
      01779429
  11. 24 3月, 2019 2 次提交
  12. 14 1月, 2019 1 次提交
  13. 11 1月, 2019 1 次提交
  14. 29 11月, 2018 1 次提交
  15. 28 11月, 2018 1 次提交
    • T
      Use Typescript to transpile Next.js core files instead of Babel (#5747) · 15bb1c5e
      Tim Neutkens 提交于
      - Replaces taskr-babel with taskr-typescript for the `next` package
      - Makes sure Node 8+ is used, no unneeded transpilation
      - Compile Next.js client side files through babel the same way pages are
      - Compile Next.js client side files to esmodules, not commonjs, so that tree shaking works.
      - Move error-debug.js out of next-server as it's only used/require in development
      - Drop ansi-html as dependency from next-server
      - Make next/link esmodule (for tree-shaking)
      - Make next/router esmodule (for tree-shaking)
      - add typescript compilation to next-server
      - Remove last remains of Flow
      - Move hoist-non-react-statics to next, out of next-server
      - Move htmlescape to next, out of next-server
      - Remove runtime-corejs2 from next-server
      15bb1c5e
  16. 02 10月, 2018 1 次提交
  17. 01 10月, 2018 1 次提交
    • T
      Monorepo (#5341) · b1c4f3ae
      Tim Neutkens 提交于
      - Implements Lerna
      - Moves all source code into `packages/next`
      - Keeps integration tests in the root directory
      b1c4f3ae
  18. 07 2月, 2018 1 次提交
  19. 01 9月, 2017 1 次提交
  20. 30 8月, 2017 1 次提交
    • A
      Add/with router (#2870) · 56662b4d
      Arunoda Susiripala 提交于
      * Add withRoute HOC
      
      Rebased (squashed)
      - removed routerToProps
      - updated hoist-non-react-statics
      - improved propTypes
      
      * Expose the whole Router instead of the route.
      
      * Make the example simple.
      
      * Update examples and the readme.
      
      * Add a test case.
      56662b4d