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

220 commits

Author SHA1 Message Date
Arunoda Susiripala 00e7a29731 Move the test babel setup to the main babelrc file. (#1163)
* Move the test babel setup to the main babelrc file.

* Add es2015 preset.
2017-02-16 00:43:31 +05:30
Guillermo Rauch 09442173ea Release 2.0.0-beta.27 2017-02-15 15:59:02 -03:00
greenkeeper[bot] fa590bfd7a fix(package): update friendly-errors-webpack-plugin to version 1.2.0 (#1156)
https://greenkeeper.io/
2017-02-15 13:18:09 -03:00
Tim Neutkens fca186f9e7 Remove pre-gzip support (#1155) 2017-02-15 15:49:45 +01:00
Arunoda Susiripala 14c86bef1d Introduce a simple prefetching solution (#957)
* Implement a very simple prefetching solution.

* Remove next-prefetcher.

* Require 'whatwg-fetch' only in the client.

* Use xhr in the code.

* Use a simple fetching solution.

* Fix 404 and xhr status issue.

* Move the prefetching implementation to next/router.

* Add deprecated warnning for next/prefetch

* Run only 2 parellel prefetching request at a time.

* Change xhr to jsonPageRes.

* Improve the prefetching logic.

* Add unit tests covering the Router.prefetch()

* Update examples to use the new syntax.

* Update docs.

* Use execOnce() to manage warn printing.

* Remove prefetcher building from the flyfile.js
Because, we no longer use it.
2017-02-15 14:22:22 +05:30
greenkeeper[bot] 3766cd0013 fix(package): update babel-runtime to version 6.23.0 (#1136)
https://greenkeeper.io/
2017-02-15 04:31:50 +09:00
Guillermo Rauch 507e8c2ca4 Release 2.0.0-beta.26 2017-02-14 12:31:34 -03:00
Naoyuki Kanezawa 45e77d535f Fix status messages on error (#1131)
* fix status messages on error

* error: use the special message for 404
2017-02-14 16:15:42 +01:00
greenkeeper[bot] fb8f050667 fix(package): update glamor to version 2.20.23 (#1129)
https://greenkeeper.io/
2017-02-14 13:26:35 +01:00
greenkeeper[bot] 01213506ba fix(package): update babel-loader to version 6.3.0 (#1127)
https://greenkeeper.io/
2017-02-14 10:39:42 +01:00
greenkeeper[bot] cd894fb6e2 fix(package): update babel-core to version 6.23.1 (#1122)
https://greenkeeper.io/
2017-02-14 08:15:46 +05:30
Arunoda Susiripala 9d529ea0b1 Remove babell-plugin-transform-react-constant-elements. (#1102)
* Remove babell-plugin-transform-react-constant-elements.
With this, our shared-modules example's counter won't work in
production mode. (as this plugin enabled)
So, we could see more issues like this.
That's why we don't need this at this time.

* Update package.json.
2017-02-14 07:37:34 +05:30
Tim Neutkens 77c14f96b1 Add react-jsx-source for development (#1115) 2017-02-14 07:24:01 +05:30
greenkeeper[bot] b39a32a126 fix(package): update babel-preset-react to version 6.23.0 (#1121)
https://greenkeeper.io/
2017-02-14 07:14:19 +05:30
greenkeeper[bot] 674e1c785d fix(package): update styled-jsx to version 0.5.5 (#1114)
https://greenkeeper.io/
2017-02-13 18:57:17 -03:00
nkzawa 60bfd00ccf Release 2.0.0-beta.25 2017-02-14 02:32:05 +09:00
Tim Neutkens faef6e48e0 Remove pure-class-to-function (#1077)
* Optimize React

* Remove unused preset

* Remove pure-class-to-function
2017-02-11 07:42:12 +05:30
Tim Neutkens 250c066de5 Optimize React on next build (#1075)
* Optimize React

* Remove unused preset
2017-02-11 04:05:13 +09:00
Luke Edwards 864fe60a15 Write executable files to dist/bin (#1059)
* update to fly@2.0.4

* write executable dist/bin files
2017-02-09 21:37:18 +01:00
Luke Edwards 839fb1c05c [WIP] Migrate from Gulp to Fly (#965)
* install fly & plugins

* start flyfile conversion

* install node-notifier directly

* send task notifications

* upgrade to fly@2.0.1

* fix watch rebuilds

* compile in parallel

* remove gulp-related deps

* enable start|stop-chromedriver

* run build before watching

* extract webpack config

* fix webpack build

* use serial chain within 'build' -- faster

* update to fly-watch@1.1.0

* generate new yarn.lock after rebase

* rename tasks; use fly-esnext (async/await)

* bump fly deps (node4 supp)

* remove destructured assignment

* import latest package.json changes
2017-02-09 20:33:08 +01:00
nkzawa bfab00a3ee add react and react-dom to devDependencies again 2017-02-09 22:49:32 +09:00
Arunoda Susiripala 355c984ed8 Testing: use a better way to get a port to the test app (#753)
* Randomize the port returned from test util's findPort().

* Use http's server.listen() to bind to a random available port.

* Update yarn.lock

* Update yarn.lock
2017-02-09 14:40:09 +01:00
Naoyuki Kanezawa 9348762f4a add next/error (#1040) 2017-02-08 16:59:33 -03:00
nkzawa 29e0c3eba0 add react and react-dom to devDependencies 2017-02-09 02:31:20 +09:00
Arunoda Susiripala 55f48563a0 Add babel-preset-latest support. (#1027)
* Add babel-preset-2016 support.
This adds the support for Exponentiation operator (**)

* Use babel-preset-latest.

* Remove babel-plugin-transform-async-to-generator in favor of babel-plugin-latest
It has es2017 preset and it comes with the above plugin.
2017-02-08 13:05:25 +01:00
Lukas Strassel 4a73ccbb00 add react and react dom as peer (#1024)
- tackles #997
- add ./idea to gitignore for webstorm users
- update all the examples
2017-02-08 10:11:38 +05:30
Guillermo Rauch 8dfbbd3674 Release 2.0.0-beta.24 2017-02-06 11:05:07 -03:00
greenkeeper[bot] 6832fea9f1 chore(package): update coveralls to version 2.11.16 (#1007)
https://greenkeeper.io/
2017-02-05 22:11:36 +01:00
greenkeeper[bot] 1d456346ae fix(package): update babel-plugin-module-resolver to version 2.5.0 (#1005)
https://greenkeeper.io/
2017-02-05 20:50:08 +01:00
greenkeeper[bot] 2af8a4cbcf fix(package): update styled-jsx to version 0.5.4 (#1002)
https://greenkeeper.io/
2017-02-06 00:38:07 +09:00
Guillermo Rauch 2e81af8d83 Release 2.0.0-beta.23 2017-02-03 15:12:44 -08:00
Naoyuki Kanezawa ddd93e9865 Improve babel settings (#976)
* fix babelrc settings

* use only transform-es2015-modules-commonjs for transpiling emitting files
2017-02-03 12:18:44 -08:00
Guillermo Rauch adf38f3ba3 Release 2.0.0-beta.22 2017-02-02 15:59:44 -08:00
Guillermo Rauch 3e34430f74 Release 2.0.0-beta.21 2017-02-02 11:13:43 -08:00
greenkeeper[bot] cf4fb78f96 fix(package): update styled-jsx to version 0.5.3 (#958)
https://greenkeeper.io/
2017-02-02 19:55:59 +01:00
greenkeeper[bot] a97ca923d8 fix(package): update webpack-dev-middleware to version 1.10.0 (#948)
https://greenkeeper.io/
2017-02-01 21:37:14 +01:00
Artem Samofalov 2f7d743050 add pretty message if port already in use(#927) (#932)
* add pretty message if port already use(#927)

* fix console async nature

* fix linter

* clean callbacks code

* Check package.json for the startup script

* fix path to package

* omit callback

* remove extra check, code execute in try block

* + reason for change start listen port of node http

* remove extra code for search package
2017-02-01 21:36:23 +01:00
greenkeeper[bot] 5188eed5b1 fix(package): update webpack to version 2.2.1 (#938)
https://greenkeeper.io/
2017-01-31 06:38:43 +01:00
greenkeeper[bot] 08eadb4688 fix(package): update webpack-hot-middleware to version 2.16.1 (#935)
https://greenkeeper.io/
2017-01-30 19:51:33 +01:00
greenkeeper[bot] 72ae013e08 fix(package): update webpack-hot-middleware to version 2.16.0 (#922)
https://greenkeeper.io/
2017-01-30 07:58:10 +01:00
Tim Neutkens db50fc7dee chore(package): update wd to version 1.1.3 (#906)
https://greenkeeper.io/
2017-01-27 22:44:44 +01:00
greenkeeper[bot] 52163f5cb8 fix(package): update source-map-support to version 0.4.11 (#901)
https://greenkeeper.io/
2017-01-27 22:33:39 +01:00
greenkeeper[bot] 4481038fcf chore(package): update gulp-notify to version 3.0.0 (#905)
https://greenkeeper.io/
2017-01-27 22:29:32 +01:00
Guillermo Rauch f944b50ffe Release 2.0.0-beta.20 2017-01-27 10:57:16 -08:00
greenkeeper[bot] e0f49f8a18 fix(package): update styled-jsx to version 0.5.2 (#902)
https://greenkeeper.io/
2017-01-27 10:37:43 -08:00
nkzawa 386c960359 Release 2.0.0-beta.19 2017-01-26 18:30:56 +09:00
greenkeeper[bot] f89eaf315c fix(package): update styled-jsx to version 0.5.1 (#879)
https://greenkeeper.io/
2017-01-25 14:56:35 +01:00
Greenkeeper 2390c87cb4 chore(package): update husky to version 0.13.1 (#862) 2017-01-23 13:50:07 +01:00
Greenkeeper 13d6c04acf chore(package): update husky to version 0.13.0 (#853) 2017-01-21 16:16:06 -08:00
Guillermo Rauch cec8f9dd58 Release 2.0.0-beta.18 2017-01-20 18:45:23 -08:00