1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

235 commits

Author SHA1 Message Date
Greenkeeper b78ab40c9c chore(package): update gulp-jest to version 1.0.0 (#653) 2017-01-05 13:34:26 +09:00
Greenkeeper ef25cf698d chore(package): update webpack-hot-middleware to version 2.15.0 (#654) 2017-01-05 13:34:14 +09:00
Greenkeeper c01e306022 chore(package): update babel-preset-env to version 1.1.5 (#660) 2017-01-05 13:31:55 +09:00
Guillermo Rauch 45bc4fe465 Release 2.0.0-beta.13 2017-01-03 11:09:24 -08:00
Greenkeeper 0cce0962d2 chore(package): update ansi-html to version 0.0.7 (#612) 2017-01-01 21:20:57 -08:00
Guillermo Rauch 43e2707e5d Release 2.0.0-beta.12 2017-01-01 11:41:28 -08:00
Guillermo Rauch 81a67581ed Release 2.0.0-beta.11 2016-12-31 21:57:58 -08:00
Guillermo Rauch f2483cfe1c Release 2.0.0-beta.10 2016-12-31 20:26:59 -08:00
Guillermo Rauch 697010f9ae Release 2.0.0-beta.9 2016-12-31 12:37:31 -08:00
Guillermo Rauch ec895a13a3 Release 2.0.0-beta.8 2016-12-31 11:43:05 -08:00
nkzawa 629051db2c package.json: set publishConfig.tag 2016-12-31 23:01:20 +09:00
nkzawa 72b910a117 Release 2.0.0-beta.7 2016-12-31 22:19:57 +09:00
Guillermo Rauch 56ca84bae2 Release 2.0.0-beta.6 2016-12-30 18:39:08 -08:00
Greenkeeper 6d8079a261 chore(package): update glamor to version 2.20.20 (#578) 2016-12-30 12:56:45 -08:00
nkzawa 98db4b51c6 bump styled-jsx 2016-12-30 16:18:32 +09:00
Greenkeeper 84fc6781bb chore(package): update glamor to version 2.20.19 (#567) 2016-12-29 14:37:46 -08:00
Greenkeeper 892da7eb73 chore(package): update glamor to version 2.20.18 (#551) 2016-12-28 12:23:31 -08:00
Naoyuki Kanezawa ff117b7ed6 Webpack 2 (#449)
* upgrade webpack

* fix WatchRemoveEventPlugin for webpack2

* use webpack2 for building for files

* bump webpack

* bump webpack

* monkeypatch watchpack
2016-12-28 10:16:52 -08:00
Greenkeeper 4fdfaa5ada chore(package): update glamor to version 2.20.17 (#548) 2016-12-28 17:39:26 +09:00
nkzawa ae102f96f0 Release 2.0.0-beta.5 2016-12-28 14:40:28 +09:00
Guillermo Rauch 58ce55f305 Release 2.0.0-beta.4 2016-12-27 15:34:54 -08:00
Naoyuki Kanezawa 798fd3c1e8 Fix custom document compilation (#534)
* compile _document using webpack

* don't emit the bundle file of _document.js

* exclude _document.js from minChunks of CommonsChunkPlugin

* handle creation/removal of pages/_document.js

* improve path handlings
2016-12-27 15:28:19 -08:00
Greenkeeper 65e7ab0227 chore(package): update glamor to version 2.20.15 (#542) 2016-12-27 15:27:35 -08:00
Greenkeeper 9c7da4ead9 chore(package): update glamor to version 2.20.14 (#539) 2016-12-27 23:30:59 +09:00
Greenkeeper 9e69ba7b49 chore(package): update glamor to version 2.20.13 (#535) 2016-12-27 17:34:37 +05:30
Guillermo Rauch 1456af8fd6 Release 2.0.0-beta.3 2016-12-26 14:17:09 -08:00
Greenkeeper df997faeb0 chore(package): update styled-jsx to version 0.3.0 (#529) 2016-12-26 11:47:31 -08:00
Arunoda Susiripala 157d9aebf7 Remove strict-mode from the eval-script. (#520)
* Remove strict-mode from the eval-script.

* Use exact version for babel-plugin-transform-remove-strict-mode

* Use babelrc=false
2016-12-26 12:29:53 +09:00
Greenkeeper 499a4f111a chore(package): update styled-jsx to version 0.2.4 (#519) 2016-12-25 16:29:23 -08:00
Greenkeeper 78e21d0f74 chore(package): update source-map-support to version 0.4.8 (#514) 2016-12-25 23:04:49 +09:00
Greenkeeper 87e136501f chore(package): update benchmark to version 2.1.3 (#509) 2016-12-24 09:27:50 -08:00
nkzawa b9f875318e Release 2.0.0-beta.2 2016-12-24 11:05:22 +09:00
nkzawa aeeb531dff bump styled-jsx 2016-12-24 11:04:21 +09:00
Greenkeeper 44c73b9970 chore(package): update webpack-hot-middleware to version 2.14.0 (#498) 2016-12-23 11:20:09 -08:00
Greenkeeper 9e204a39ac chore(package): update source-map-support to version 0.4.7 (#476) 2016-12-22 20:42:10 +09:00
nkzawa eb9a61e9e7 Release 2.0.0-beta.1 2016-12-22 16:11:55 +09:00
Arunoda Susiripala c60b818de4 Add missing main files to NPM. (#464) 2016-12-21 17:40:26 -08:00
Benjamin E. Coe 9ac79ed1ae fix: expose babel presets for upstream libraries (#463) 2016-12-21 11:26:55 -08:00
nkzawa 95eb20e6a2 Release 2.0.0-beta.0 2016-12-21 14:11:00 +09:00
Greenkeeper 8c54820d5c chore(package): update styled-jsx to version 0.2.2 (#447) 2016-12-20 19:07:10 -08:00
Arunoda Susiripala e839a0f6d5 Make the linting process faster. (#446) 2016-12-20 17:13:11 -08:00
Naoyuki Kanezawa a87ef1a7af Incorporate styled-jsx (#420)
* integrate styled-jsx

* define styles of pages with styled-jsx

* bump styled-jsx

* bump styled-jsx

* error-debug: fix style

* bump styled-jsx

* fix examples to use styled-jsx

* bump styled-jsx
2016-12-19 10:42:19 -08:00
Arunoda Susiripala 22776c2eee Implement the Singleton Router API (#429)
* Immplement the initial singleton Router.

* Use the new SingletonRouter for HMR error handling.

* Use SingletonRouter inside the Link.

* Create an example app using the Router.

* Make the url parameter optional in Router.push and Router.replace

* Add a section about next/router in the README.
2016-12-19 06:40:26 -08:00
nkzawa d12502ef24 bump dependencies 2016-12-19 00:36:46 +09:00
Arunoda Susiripala b62a0e8f55 Bundle all the modules inside the app (#414)
* 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.
2016-12-17 17:49:10 +09:00
Naoyuki Kanezawa 1708222381 Programmatic API (#310)
* 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
2016-12-16 12:33:08 -08:00
nkzawa cd2fcd6e6f update files field of package.json 2016-12-17 04:25:40 +09:00
Naoyuki Kanezawa 8ddafaea5c custom document support (#405) 2016-12-16 10:42:40 -08:00
Arunoda Susiripala 36abdc77c5 Prefetch pages with Service Workers (#375)
* 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.
2016-12-15 11:13:40 -08:00
Benjamin E. Coe 0f2979b02b chore: switch from ava to jest (#381) 2016-12-12 21:31:49 +09:00
Greenkeeper 3de4788e0e chore(package): update babel-plugin-transform-object-rest-spread to version 6.20.2 (#371) 2016-12-09 10:36:46 +09:00
Greenkeeper a5ae843aca chore(package): update babel-loader to version 6.2.9 (#359) 2016-12-09 09:49:46 +09:00
Greenkeeper cf5daae62f chore(package): update webpack to version 1.14.0 (#357) 2016-12-09 09:35:07 +09:00
Greenkeeper 423dd94748 chore(package): update babel-core to version 6.20.0 (#365) 2016-12-09 09:34:55 +09:00
Greenkeeper fac5c19472 chore(package): update babel-generator to version 6.20.0 (#366) 2016-12-09 09:26:44 +09:00
Greenkeeper 2edbab7934 chore(package): update babel-runtime to version 6.20.0 (#368) 2016-12-09 09:26:14 +09:00
Chua Kiem Fai f61335066b Update package.json (#346)
Fix following issue in Docker
https://github.com/IanMitchell/is-windows-bash/pull/2
https://github.com/zeit/next.js/issues/344
2016-12-05 18:08:45 +01:00
Greenkeeper c5667a7539 chore(package): update friendly-errors-webpack-plugin to version 1.1.2 (#337) 2016-12-04 04:21:32 +09:00
Greenkeeper c8ba9bb88d chore(package): update glamor to version 2.20.12 (#328) 2016-12-02 23:38:17 +09:00
nkzawa f3a42e9590 Release 1.2.3 2016-12-02 23:06:18 +09:00
Arunoda Susiripala 65c4e1e5bd Init next.js even after dom is loaded. (#326)
Earlier we add a event to init next.js when dom has loaded.
But if at that time dom is already loaded, next.js won't get init ever.
Now we are using domready NPM module which handle these for us.
2016-12-02 22:59:10 +09:00
nkzawa ea5ec12c2d Release 1.2.2 2016-12-02 17:06:04 +09:00
nkzawa 39ba1a0110 Release 1.2.1 2016-12-02 15:59:10 +09:00
nkzawa f2653d0e2f Release 1.2.0 2016-12-02 14:51:48 +09:00
nkzawa b23f193124 bump friendly-errors-webpack-plugin 2016-12-02 10:53:25 +09:00
Naoyuki Kanezawa 12f31b5bf3 Source map support (#279)
* generate source-maps on development

* remove unused dep
2016-12-02 10:43:38 +09:00
nkzawa 6ad1e23167 Merge branch 'master' into pr/259 2016-12-02 10:35:07 +09:00
nkzawa 4a71fb6b3c Merge branch 'master' into pr/264 2016-12-02 10:21:21 +09:00
Greenkeeper f9726a5d59 chore(package): update dependencies (#289) 2016-12-01 20:58:50 +09:00
Greenkeeper c36e0d98fd chore(package): update standard to version 8.6.0 (#292) 2016-12-01 20:50:35 +09:00
Greenkeeper fff12d14db chore(package): update is-windows-bash to version 1.0.2 (#305) 2016-12-01 20:41:10 +09:00
Greenkeeper 333708c751 chore(package): update babel-plugin-module-resolver to version 2.4.0 (#314) 2016-12-01 20:40:38 +09:00
Greenkeeper 94b1fb0d10 chore(package): update glamor to version 2.20.8 (#317) 2016-12-01 20:34:39 +09:00
Ian Mitchell 7a66870af9 Add Polling for Bash on Windows (#302)
* Add Polling for Bash on Windows

Fixes #166

* Add Windows Bash Dependency
2016-11-28 09:04:59 -05:00
Jonas Windey 10b815b9c9 Add react-require to avoid importing React (#295)
* Add react-require

* Add babel-plugin-react-require
2016-11-28 06:46:42 -05:00
Naoyuki Kanezawa a14cc66720 Remove webpack-dev-server (#276)
* remove webpack-dev-server

* webpack: fix publicPath
2016-11-23 10:32:49 -08:00
Benjamin Coe 0f34b9b568
fix: address merge conflict 2016-11-22 10:20:18 -08:00
Benjamin Coe 5e2b426d33
fix: switch to using the handy gulp-process-env plugin 2016-11-22 10:11:24 -08:00
Benjamin Coe 12003f307b
feat: run individual tests with ava script 2016-11-22 10:11:24 -08:00
Benjamin Coe 564b01cf73
fix: use babel-core/register rather than babel-register 2016-11-22 10:11:24 -08:00
Benjamin Coe c56fde89c3
chore: add test coverage 2016-11-22 10:11:23 -08:00
Jonas Windey 960f50a019 Upgrade packages & React v15.4.0 (#283)
* Upgrade packages & React v15.4.0

* Update package.json

* no message
2016-11-21 20:46:49 +09:00
nkzawa fc23d34a40 Release 1.1.2 2016-11-18 23:25:51 +09:00
Florian Didron becf2f2a62 Adds friendly error plugin 2016-11-16 11:46:58 +09:00
nkzawa d88f40a001 remove babel settings for ava 2016-11-14 16:01:15 +09:00
Sébastien Dubois c5887281fb Update glamor (#228) 2016-11-09 19:15:58 +09:00
Andrew McCloud 7f0f3ae940 Upgrade babel-plugin-module-resolver to 2.3.0 to fix #202 (#218) 2016-11-07 11:11:54 +09:00
nkzawa b9d6a59415 Release 1.1.1 2016-11-06 17:52:17 +09:00
nkzawa 027622f646 add ava as a devDependencies for npm@2.x 2016-11-06 14:47:13 +09:00
Siddharth Kshetrapal 18ab55bc73 Added travis file (#205)
* Added travis file

* Dropping node 5

* Added os field as well

* Removed os, fails on both osx and linux

* Adding ava and sockjs-client as devDeps

* Shouldn't need ava 🤔

* Moved sockjs-client to dependency
2016-11-06 03:04:59 +09:00
nkzawa ef409af453 Revert "Revert "Add syntax highlighting to debug error page" (#197)"
This reverts commit f4ae99fc54.
2016-11-06 00:15:54 +09:00
Guillermo Rauch 0c27e3ab16 package: bump version for release 2016-11-05 09:18:04 +08:00
Naoyuki Kanezawa f4ae99fc54 Revert "Add syntax highlighting to debug error page" (#197) 2016-11-04 21:23:00 +09:00
nkzawa 27c5632b1d add strip-ansi again 2016-11-04 19:29:39 +09:00
David Street bce4434db9 Add syntax highlighting to debug error page (#195) 2016-11-04 17:16:29 +09:00
Tim Oxley 77739f4d5e next init: Create supplied directory if it does not exist. (#136)
* next init: Create supplied directory if it does not exist.

* next init: use mkdirp to init into nested dirs.

Picked mkdirp-then out of many alternatives. Same author & similar
dependencies to mz.

Now next init a/b/c works.

Related https://github.com/zeit/next.js/pull/136#discussion_r85543040
2016-11-03 19:07:15 +09:00
Tim Oxley b86f6a2d42 Ensure bin files are linted. Fix lint issue in bin/next-init. (#158) 2016-10-31 11:39:55 -07:00
nkzawa 4c2f381e74 Release 1.0.2 2016-10-30 02:17:26 +09:00
Michael Helvey 3fa636fa81 Expose css, link, and head in package. (#154)
* Expose next/css, next/link, and next/head.

This allows test runners like Jest and ESLint's file resolver to
be able to find exported modules within `next`.

Fixes #113

* Removed semicolons for linting and expose modules.
2016-10-30 02:12:54 +09:00
Brandon Bayer 7501e80b4b fix: add json-loader to dependency list (#146) 2016-10-29 12:44:10 +02:00
nkzawa 990e39b13e replace babel-plugin-module-alias with babel-plugin-module-resolver 2016-10-29 00:48:14 +09:00
nkzawa e2a7c5f0e8 Release 1.0.1 2016-10-28 23:47:07 +09:00
Siddharth Kshetrapal 27fa4e958e Freezing version for standard (#108)
Added in https://github.com/zeit/next.js/pull/27
2016-10-27 17:57:47 +09:00
Leo Lamprecht 3d44b58d5d
Subtle fixes for package file 2016-10-25 20:47:03 +02:00
Leo Lamprecht 6cfd1a5fc2
Improved repository field in package file 2016-10-25 20:45:35 +02:00
nkzawa 767bcfdfc8 package.json: remove ^ 2016-10-26 01:27:02 +09:00
nkzawa 4b74c70cc9 Release 1.0.0 2016-10-26 00:10:10 +09:00
nkzawa c698b32ac8 Merge branch 'master' into fix/meta 2016-10-25 23:59:13 +09:00
nkzawa 333eb959cc 0.9.11 2016-10-25 23:43:07 +09:00
nkzawa 1bf98eaa6b v0.9.10 2016-10-25 22:54:45 +09:00
nkzawa 10105dce57 package.json: add the repository field 2016-10-25 20:18:06 +09:00
nkzawa c063973ac0 package.json: add description and homepage fields 2016-10-25 20:03:48 +09:00
nkzawa 165431bdc7 v0.9.9 2016-10-25 19:58:36 +09:00
nkzawa becae90375 Merge branch 'master' of https://github.com/zeit/next.js 2016-10-25 16:46:16 +09:00
nkzawa 81612f86a7 prepublish hook 2016-10-25 16:45:12 +09:00
nkzawa 414fa68295 add benchmark module 2016-10-25 16:26:21 +09:00
Guillermo Rauch 10ce2e3305 Update package.json 2016-10-25 08:11:00 +02:00
Dan Zajdband e164074f8e Added glamor css (#38)
* Added glamor css

* Using pseudoclasses instead of calling functions

* Updated readme using style instead of default import for css
2016-10-21 09:39:20 -07:00
nkzawa 2e2db37ccb add error page for debug 2016-10-19 21:41:45 +09:00
nkzawa 0544c247bb clean up dependencies 2016-10-17 16:24:38 +09:00
nkzawa a40bba954b remove .next before compiling 2016-10-17 12:55:33 +09:00
nkzawa 1be8447a26 Merge branch 'master' into add/hot-reload 2016-10-17 11:10:16 +09:00
Dan Zajdband 2d06eb5958 Added husky for linting on precommit (#29) 2016-10-16 17:52:12 -07:00
Dan Zajdband 1477734211 Added linting using standard (#27)
* Added linting using standard

* Linting on test
2016-10-16 17:00:17 -07:00
nkzawa 3032ade283 write assets to disk 2016-10-16 04:49:42 +09:00
nkzawa e7ffb2c17d emit modules as file 2016-10-16 01:17:27 +09:00
nkzawa 26e6193a97 hot-reload: initial 2016-10-15 00:05:08 +09:00
Dan Zajdband 7a379ac25e Added benchmark suite 2016-10-13 16:01:11 -04:00
Dan Zajdband 7f89c39045 Set test command and added more tests 2016-10-12 19:15:58 -04:00
nkzawa a8dcb52ac5 gulp test 2016-10-10 13:18:56 +09:00
nkzawa f9eaf8db3b use UglifyJsPlugin 2016-10-09 21:45:26 +09:00
nkzawa 429668b464 improve resolving files, cache files 2016-10-08 21:01:58 +09:00
nkzawa 88b01e0a72 next-dev 2016-10-06 20:05:52 +09:00
Dan Zajdband 7a39dac8c7 Added css using aphrodite 2016-10-05 22:42:55 -04:00
nkzawa 9b06a22f31 initial source 2016-10-06 08:52:50 +09:00