1. 19 12月, 2016 1 次提交
    • S
      Add cli usage information (#423) · 955f6817
      Stephen Sauceda 提交于
      * add cli usage: `next init`
      
      * add cli usage: `next --help`
      
      * add cli usage: `next build --help`
      
      * add cli usage: `next dev --help`
      
      * add cli usage: `next init --help`
      
      * add cli usage: `next start --help`
      
      * use set
      
      * build, start and dev all accept a directory
      
      * typo and conciseness
      955f6817
  2. 18 12月, 2016 11 次提交
  3. 17 12月, 2016 7 次提交
    • A
      Bundle all the modules inside the app (#414) · b62a0e8f
      Arunoda Susiripala 提交于
      * Remove the use of CDN and bundle everything inside the app.
      We still pre-build the prefetcher because it needs
      different webpack config which only targets browsers
      supports Service Workers.
      
      * Remove cdn config item.
      We no longer using it.
      
      * Stop adding script tags when staticMarkup=true
      
      * Remove babel-plugin-transform-remove-strict-mode NPM module.
      b62a0e8f
    • N
      stop watching files after running tests · 59d514e0
      nkzawa 提交于
      59d514e0
    • N
      Programmatic API (#310) · 17082223
      Naoyuki Kanezawa 提交于
      * add 'next' api
      
      * add render APIs
      
      * add 'as' prop to Link
      
      * check Accept header to serve json response
      
      * check if response was finished on getInitialProps call
      
      * move server/app to server/index
      
      * load webpack-hot-middleware-client by absolute path
      
      * server: options for testing
      
      * add tests
      
      * example: improve
      
      * server: make dir optional
      
      * fix client routing
      
      * add parameterized routing example
      
      * link: fix display url
      
      * Add custom-server-express example (#352)
      
      * Add custom-server-express example
      
      * Remove extraneous nexts in express routes defs
      
      * Update next config in server.js
      
      * Handle accept headers totally inside Next.js (#385)
      
      * Handle accept headers totally inside Next.js
      Now user doesn't need to handle it anymore.
      
      * Move json pages serving to /_next/pages base path.
      
      * Join paths correctly.
      
      * remove next/render
      17082223
    • G
      Update README.md · 289feeda
      Guillermo Rauch 提交于
      289feeda
    • G
      warn about master README · 8abcb81e
      Guillermo Rauch 提交于
      8abcb81e
    • N
      update files field of package.json · cd2fcd6e
      nkzawa 提交于
      cd2fcd6e
    • N
      custom document support (#405) · 8ddafaea
      Naoyuki Kanezawa 提交于
      8ddafaea
  4. 16 12月, 2016 5 次提交
    • A
      Remove console.logs (#402) · 43b0e6f5
      Arunoda Susiripala 提交于
      43b0e6f5
    • A
      Fix #204 (#401) · aa6870a4
      Arunoda Susiripala 提交于
      React addons require React in a special way.
      That causes Webpack to push React into the app's bundle.
      This fix adds new externals entries to prevent that.
      aa6870a4
    • D
      fixed bug #362, also set chunks names (#363) · 45e36fdf
      Dmitry Poddubniy 提交于
      * fixed bug #362, also set chunks names
      
      * set simple solution for minChunks
      
      * revert in favor of #310
      45e36fdf
    • M
      Remove trailing comma to fix lint (#398) · ab147703
      Matthew Mueller 提交于
      ab147703
    • A
      Prefetch pages with Service Workers (#375) · 36abdc77
      Arunoda Susiripala 提交于
      * Register the service worker.
      
      * Update prefetcher code to do prefetching.
      
      * Implement the core prefetching API.
      support "import <Link>, { prefetch } from 'next/prefetch'"
      
      * Implement a better communication system with the service worker.
      
      * Add a separate example for prefetching
      
      * Fix some typos.
      
      * Initiate service worker support even prefetching is not used.
      This is pretty important since initiating will reset the cache.
      If we don't do this, it's possible to have old cached resources
      after the user decided to remove all of the prefetching logic.
      In this case, even the page didn't prefetch it'll use the
      previously cached pages. That because of there might be a already running
      service worker.
      
      * Use url module to get pathname.
      
      * Move prefetcher code to the client from pages
      Now we also do a webpack build for the prefetcher code.
      
      * Add prefetching docs to the README.md
      
      * Fix some typo.
      
      * Register service worker only if asked to prefetch
      We also clean the cache always, even we initialize
      the service worker or not.
      36abdc77
  5. 15 12月, 2016 2 次提交
  6. 13 12月, 2016 1 次提交
  7. 12 12月, 2016 2 次提交
  8. 11 12月, 2016 1 次提交
  9. 09 12月, 2016 7 次提交
  10. 07 12月, 2016 3 次提交