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

383 commits

Author SHA1 Message Date
greenkeeper[bot] 9fd6982c95 fix(package): update loader-utils to version 1.0.4 (#1411)
https://greenkeeper.io/
2017-03-14 14:38:54 +01:00
greenkeeper[bot] 098ec02665 chore(package): update fly-esnext to version 2.0.1 (#1408)
https://greenkeeper.io/
2017-03-14 08:02:04 +01:00
greenkeeper[bot] 624cab9909 fix(package): update source-map-support to version 0.4.12 (#1405)
https://greenkeeper.io/
2017-03-13 22:00:51 +01:00
Guillermo Rauch 45bd239827 Release 2.0.0-beta.37 2017-03-13 10:49:15 -07:00
greenkeeper[bot] e653683ff7 fix(package): update babel-core to version 6.24.0 (#1403)
https://greenkeeper.io/
2017-03-13 08:10:17 +01:00
greenkeeper[bot] 0e9ca29c78 fix(package): update babel-generator to version 6.24.0 (#1404)
https://greenkeeper.io/
2017-03-13 08:07:57 +01:00
greenkeeper[bot] 3136bd55fb fix(package): update babel-preset-latest to version 6.24.0 (#1402)
https://greenkeeper.io/
2017-03-13 08:07:50 +01:00
greenkeeper[bot] 6a7ee7b193 chore(package): update babel-preset-es2015 to version 6.24.0 (#1401)
https://greenkeeper.io/
2017-03-13 06:56:54 +01:00
greenkeeper[bot] 595eb9e512 chore(package): update husky to version 0.13.3-0 (#1395)
https://greenkeeper.io/
2017-03-13 06:20:05 +01:00
greenkeeper[bot] f2969ed824 fix(package): update babel-plugin-transform-es2015-modules-commonjs to version 6.24.0 (#1400)
https://greenkeeper.io/
2017-03-13 06:16:02 +01:00
Arunoda Susiripala 57099a544c Use mitt instead of EventEmitter. (#1398)
EventEmitter is quite bit and mitt is a pretty good/small replacement.
2017-03-13 10:04:30 +05:30
greenkeeper[bot] 0d01f5c8e8 chore(package): update chromedriver to version 2.28.0 (#1386)
https://greenkeeper.io/
2017-03-12 08:16:38 +05:30
greenkeeper[bot] bef2e30592 fix(package): update write-file-webpack-plugin to version 4.0.0 (#1383)
https://greenkeeper.io/
2017-03-10 13:37:23 +01:00
Arunoda Susiripala f9286f74bf [WIP] Improve test setup (#1372)
* Run tests serially.

* Make test result verbose.

* Don't wait until closing the browser.

* Add some debug logs.

* Add bailing support.

* Get the browser with a timeout.

* Add some comments.

* Remove istanbul babel tranformation.
Jest already do it and it's breaking our coveralls hit.
2017-03-08 13:23:05 +05:30
greenkeeper[bot] bbd1a97aa9 fix(package): update send to version 0.15.1 (#1350)
https://greenkeeper.io/
2017-03-06 08:59:25 -08:00
greenkeeper[bot] 95bd7b70a0 fix(package): update babel-loader to version 6.4.0 (#1359)
https://greenkeeper.io/
2017-03-06 08:52:33 -08:00
greenkeeper[bot] e6e57aef91 fix(package): update loader-utils to version 1.0.3 (#1361)
https://greenkeeper.io/
2017-03-06 08:52:14 -08:00
Arunoda Susiripala 76698eaa08 Revert "Update cross-env to the latest version 🚀" (#1358) 2017-03-06 17:27:02 +05:30
greenkeeper[bot] bcd582a1dc chore(package): update cross-env to version 3.2.0 (#1348)
https://greenkeeper.io/
2017-03-04 17:29:50 -08:00
greenkeeper[bot] 888a029c75 fix(package): update unfetch to version 2.1.2 (#1338)
https://greenkeeper.io/
2017-03-03 09:19:05 -08:00
greenkeeper[bot] 631289f706 chore(package): update husky to version 0.13.2 (#1330)
https://greenkeeper.io/
2017-03-02 22:05:40 +01:00
Arunoda Susiripala db60fac2c2 Revert "Update friendly-errors-webpack-plugin to the latest version 🚀" (#1328) 2017-03-02 22:58:58 +05:30
greenkeeper[bot] fd8559c971 chore(package): update standard to version 9.0.0 (#1318)
https://greenkeeper.io/
2017-03-01 09:42:17 -08:00
greenkeeper[bot] 1f771eb2ee fix(package): update friendly-errors-webpack-plugin to version 1.6.0 (#1320)
https://greenkeeper.io/
2017-03-01 09:42:03 -08:00
Guillermo Rauch 7deca93a10 Release 2.0.0-beta.36 2017-02-28 15:02:33 -08:00
greenkeeper[bot] 25414acf15 fix(package): update friendly-errors-webpack-plugin to version 1.5.0 (#1315)
https://greenkeeper.io/
2017-02-28 14:40:52 +01:00
Guillermo Rauch 012c4d1f81 Release 2.0.0-beta.35 2017-02-27 21:50:33 -08:00
Guillermo Rauch 1971517c17 Release 2.0.0-beta.34 2017-02-27 15:21:01 -08:00
greenkeeper[bot] 9e9382936c fix(package): update send to version 0.15.0 (#1285)
https://greenkeeper.io/
2017-02-27 16:33:02 +01:00
greenkeeper[bot] e8b59fdf36 fix(package): update unfetch to version 2.1.1 (#1298)
https://greenkeeper.io/
2017-02-27 10:51:08 +05:30
Guillermo Rauch 8399ea70d4 Release 2.0.0-beta.33 2017-02-26 11:47:50 -08:00
Arunoda Susiripala d3b1ead149 Implement "on demand entries" (#1111)
* Add a plan for dynamic entry middleware.

* Use dynamic pages middleware to load pages in dev.

* Add the first version of middleware but not tested.

* Integrated.

* Disable prefetching in development.
Otherwise it'll discard the use of dynamic-entries.

* Build custom document and error always.

* Refactor code base.

* Change branding as on-demand entries.

* Fix tests.

* Add a client side pinger for on-demand-entries.

* Dispose inactive entries.

* Add proper logs.

* Update grammer changes.

* Add integration tests for ondemand entries.

* Improve ondemand entry disposing logic.

* Try to improve testing.

*  Make sure entries are not getting disposed in basic integration tests.

* Resolve conflicts.

* Fix tests.

* Fix issue when running Router.onRouteChangeComplete

* Simplify state management.

* Make sure we don't dispose the last active page.

* Reload invalid pages detected with the client side ping.

* Improve the pinger code.

* Touch the first page to speed up the future rebuild times.

* Add Websockets based pinger.

* Revert "Add Websockets based pinger."

This reverts commit f706a49a3d886d0231259b7a1fded750ced2e48f.

* Do not send requests per every route change.

* Make sure we are completing the middleware request always.

* Make sure test pages are prebuilt.
2017-02-26 11:45:16 -08:00
greenkeeper[bot] 48d8b248c8 fix(package): update cross-spawn to version 5.1.0 (#1293)
https://greenkeeper.io/
2017-02-26 19:44:22 +01:00
Tim Neutkens 408633c1dc Remove traces of glamor (#1286)
* Remove traces of glamor

As talked about with @rauchg. Glamor takes up around 60KB of the bundle (pre-gzip). Since styled-jsx is the way to go now and we support adding glamor by the user we should remove it as dependency cause it is bundled even when not used.

Added rehydration to the example, since we did that in our code.

There is only one thing I'm not sure about and want to discuss:
what should we do with next/css. Right now I added a throw for when it is imported. I'm not sure if we should do that / some other way to notify the user it has been removed. The reasoning behind the throw is that when we would do a console.warn the user would see 'css.default.<X>' not found because we don't have the glamor dependency anymore.

* Update yarn.lock

* Remove test for styles
2017-02-26 17:58:00 +05:30
Guillermo Rauch bb526fdf53 bump unfetch 2017-02-25 19:31:50 -08:00
Guillermo Rauch e7c85e0162 Revert "Remove unfetch because of production build errors. (#1288)"
This reverts commit 756a32aefd.
2017-02-25 19:28:24 -08:00
Arunoda Susiripala 756a32aefd Remove unfetch because of production build errors. (#1288)
See https://github.com/zeit/next.js/pull/1278#issuecomment-282528628
2017-02-26 08:26:55 +05:30
greenkeeper[bot] 9fc6b68180 fix(package): update unfetch to version 2.0.1 (#1284)
https://greenkeeper.io/
2017-02-25 12:43:47 -08:00
Dan Zajdband 216efa526b Using developit/unfetch as the Fetch API polyfill (#1278) 2017-02-25 15:49:27 -03:00
greenkeeper[bot] 898f90218e fix(package): update webpack-hot-middleware to version 2.17.1 (#1266)
https://greenkeeper.io/
2017-02-24 09:54:39 +01:00
greenkeeper[bot] 48a2e3b5b8 chore(package): update jest-cli to version 19.0.1 (#1243)
https://greenkeeper.io/
2017-02-23 13:14:18 +01:00
Arunoda Susiripala fb496b7c9a Run tests in Travis. (#1247)
* Run tests in Travis.

* Update deps and config.

* Update jest config.

* Disable a test temp.

* Increase the timeout.
2017-02-22 23:38:49 +05:30
greenkeeper[bot] 468b75b8b0 fix(package): update friendly-errors-webpack-plugin to version 1.4.0 (#1242)
https://greenkeeper.io/
2017-02-22 13:31:41 +05:30
greenkeeper[bot] 0ceeb6502a chore(package): update fly to version 2.0.5 (#1234)
https://greenkeeper.io/
2017-02-21 10:08:35 -08:00
greenkeeper[bot] 591be093c7 fix(package): update loader-utils to version 1.0.1 (#1231)
https://greenkeeper.io/
2017-02-21 16:40:47 +01:00
greenkeeper[bot] 9d8ef921da chore(package): update jest-cli to version 19.0.0 (#1228)
https://greenkeeper.io/
2017-02-21 10:35:48 +01:00
greenkeeper[bot] 7aa9f5424d fix(package): update loader-utils to version 0.2.17 (#1225)
https://greenkeeper.io/
2017-02-20 20:12:10 -08:00
Guillermo Rauch c866540601 Release 2.0.0-beta.32 2017-02-20 15:51:19 -08:00
greenkeeper[bot] 90f2ee6fb7 fix(package): update webpack-dev-middleware to version 1.10.1 (#1200)
https://greenkeeper.io/
2017-02-18 20:11:27 +01:00
greenkeeper[bot] 6268105807 fix(package): update styled-jsx to version 0.5.7 (#1198)
https://greenkeeper.io/
2017-02-18 15:07:09 +01:00
Leo Lamprecht 4f1a446688
Peer dependencies shouldn't be pinned 2017-02-17 13:24:50 +01:00
Guillermo Rauch 49eb8d2f54 Release 2.0.0-beta.31 2017-02-17 02:03:05 -03:00
Guillermo Rauch b621f2d840 Release 2.0.0-beta.30 2017-02-17 02:02:07 -03:00
greenkeeper[bot] 9f3e61b0fe fix(package): update styled-jsx to version 0.5.6 (#1184)
https://greenkeeper.io/
2017-02-17 00:25:53 -03:00
Leo Lamprecht 1a8dd6bac3
Pinned dependencies 2017-02-16 23:53:39 +01:00
Guillermo Rauch db758e00ae Release 2.0.0-beta.29 2017-02-16 19:36:54 -03:00
Guillermo Rauch 59726866a5 Release 2.0.0-beta.28 2017-02-16 17:34:07 -03:00
Joe Lutz 2e0db62b52 Fix "EXDEV: cross-device link not permitted" error (#1174)
* Fix "EXDEV: cross-device link not permitted" error

* Fix lint errors

Not sure why standard passes in my dev environment, but hopefully this fixes the CI errors.

* Fix logic mistake

Wow, my bad :/
2017-02-16 15:16:02 +01:00
greenkeeper[bot] d5208389be fix(package): update babel-loader to version 6.3.2 (#1178)
https://greenkeeper.io/
2017-02-16 11:20:55 +01:00
greenkeeper[bot] d64f5aa7d9 fix(package): update friendly-errors-webpack-plugin to version 1.3.1 (#1176)
https://greenkeeper.io/
2017-02-16 09:46:09 +01:00
greenkeeper[bot] 1f2e52dbb6 fix(package): update webpack-hot-middleware to version 2.17.0 (#1162)
https://greenkeeper.io/
2017-02-15 23:49:08 -03:00
greenkeeper[bot] 711588f76e fix(package): update friendly-errors-webpack-plugin to version 1.3.0 (#1169)
https://greenkeeper.io/
2017-02-16 01:49:49 +01:00
greenkeeper[bot] 2c9c84e143 fix(package): update babel-loader to version 6.3.1 (#1145)
https://greenkeeper.io/
2017-02-16 05:14:25 +09:00
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
Guillermo Rauch 3765b14993 bump styled-jsx 2017-01-20 18:26:27 -08:00
Greenkeeper f085a6d9a0 chore(package): update styled-jsx to version 0.4.5 (#847) 2017-01-20 23:15:58 +01:00
Greenkeeper 318f110a8e chore(package): update babel-generator to version 6.22.0 (#833) 2017-01-20 08:16:02 +01:00
Greenkeeper a05a5d2004 chore(package): update babel-plugin-transform-async-to-generator to version 6.22.0 (#834) 2017-01-20 08:15:31 +01:00
Greenkeeper 865f806058 chore(package): update babel-plugin-transform-class-properties to version 6.22.0 (#835) 2017-01-20 08:15:05 +01:00
Greenkeeper 118055516c chore(package): update babel-plugin-transform-object-rest-spread to version 6.22.0 (#836) 2017-01-20 08:14:44 +01:00
Greenkeeper 2aed328eee chore(package): update babel-plugin-transform-runtime to version 6.22.0 (#837) 2017-01-20 08:14:10 +01:00
Greenkeeper 279fc99e31 chore(package): update babel-preset-es2015 to version 6.22.0 (#838) 2017-01-20 08:13:37 +01:00
Greenkeeper 901ab5f5d7 chore(package): update babel-preset-react to version 6.22.0 (#839) 2017-01-20 08:12:55 +01:00
Greenkeeper 21a22b9791 chore(package): update babel-runtime to version 6.22.0 (#840) 2017-01-20 07:41:22 +01:00
Greenkeeper cfb1c0fbd5 chore(package): update babel-core to version 6.22.1 (#842) 2017-01-20 07:41:11 +01:00
Greenkeeper 011914906b chore(package): update styled-jsx to version 0.4.4 (#817) 2017-01-18 19:56:23 +01:00
Greenkeeper c1f2b92a27 chore(package): update source-map-support to version 0.4.10 (#809) 2017-01-18 00:25:40 +09:00
Greenkeeper 0627378bc2 chore(package): update glamor to version 2.20.22 (#804) 2017-01-17 08:20:43 +01:00
Greenkeeper 807d4be9ff chore(package): update styled-jsx to version 0.4.3 (#792) 2017-01-17 00:23:03 +09:00
nkzawa da8395883c bump webpack 2017-01-16 19:17:01 +09:00
Greenkeeper 782807bb8b chore(package): update friendly-errors-webpack-plugin to version 1.1.3 (#783) 2017-01-15 19:59:02 -08:00
Greenkeeper 876716569c chore(package): update styled-jsx to version 0.4.2 (#784) 2017-01-15 17:55:11 -08:00
Greenkeeper 6fd5cfd87d chore(package): update source-map-support to version 0.4.9 (#777) 2017-01-15 23:50:20 +09:00
Greenkeeper cebed46014 chore(package): update mime-types to version 2.1.14 (#772) 2017-01-15 00:19:36 -08:00
Guillermo Rauch 0b2b56f174 Release 2.0.0-beta.17 2017-01-12 08:36:29 -08:00
Naoyuki Kanezawa dbecc2a701 Use dynamic entry feature of webpack (#750)
* update webpack version and use dynamic entry feature of it

* fix typo
2017-01-12 07:39:04 -08:00
Arunoda Susiripala 1dc52dbc6c New test setup (#640)
* Use jest-cli instead of gulp plugin.

* Use jest-cli instead of gulp plugin.

* Move fixtures into the examples dir.

* Move test code of example app to the basic example.

* Add isolated tests for server/resolve

* Allow tests to use cheerio.

* Use portfinder to get a unique port.

* Move back integration tests into the example dir.

* Introduce next-test-utils.

* Remove gulp-jest

* Add coveralls support.

* Use transpiled version of code in dist.
This is to make sure same file gets covered
by both unit/isolated tests and integration tests.

* Add support for source maps.

* Use code from dist always.

* Use nyc to stop instrument.

* Add integration test suite for production usage.

* Use jest-cli.

* Add support for running e2e tests.

* Check gzipPath with fs.stat before serving
Otherwise, serve package might throw issues other than ENOENT

* Install chromedriver with npm install.

* Install chrome on travis-ci.

* Add --forceExit to Jest.

* Run tests only on Node v6.
That's because selenium-webdriver only supports
Node 6 LTS.

* Use chromedriver NPM module to install chromedriver.

* Use wd as the webdriver client.

* Run chromedriver before tests.

* Run travis for both node 4 and 6

* Remove unwanted npm install script.

* Move some common text utilities to next-test-utils

* Add lint checks and testing in npm prepublish hook.

* Use npm on travis-ci.
We are having some caching issues with yarn and chromedriver.

* Make tests work on windows.\n But chromedriver doesn't work.

* Clean up dependencies.

* Run chromedriver in background without any tools.

* Fix a typo in the code.

* Use ES6 features used in node4 inside the gulpfile.

* Add some comments.

* Add support for running in windows.

* Stop chromedriver properly on windows.

* Fix typos.
2017-01-12 13:14:49 +09:00
Arunoda Susiripala b7e57f9347 Implement "Immutable build artifacts" feature (#745)
* Write BUILD_ID when building.
It's a random id (uuid.v4())

* Add buildId to the core JS files.

* Add immutable cache-control header.
Only if the buildId is matched.

* Set '-' as the dev buildId always.

* Add buildId handling for JSON pages.
2017-01-11 12:16:18 -08:00
Greenkeeper ab5c69ba9d chore(package): update babel-preset-env to version 1.1.8 (#726) 2017-01-10 11:42:24 -08:00
Arunoda Susiripala 88e4adfc2a Add case sensitive checks for imports and JSON page resolver (#697)
* Add case-sensitive-paths-webpack-plugin plugin.

* Add case-sensitive check for server/resolve.
2017-01-08 18:12:29 -08:00
Arunoda Susiripala 042ffa1175 Add correct content-type header for gzipped version. (#705) 2017-01-08 18:12:10 -08:00
Greenkeeper 9163da459e chore(package): update styled-jsx to version 0.4.1 (#700) 2017-01-08 12:30:55 -08:00
Greenkeeper c6842629ba chore(package): update react-dom to version 15.4.2 (#682) 2017-01-07 09:20:05 +09:00
Greenkeeper 9cf109a456 chore(package): update react to version 15.4.2 (#683) 2017-01-07 09:19:43 +09:00
Greenkeeper 9b8b3290c7 chore(package): update babel-preset-env to version 1.1.6 (#685) 2017-01-07 09:19:30 +09:00
Guillermo Rauch 7ebfec088f Release 2.0.0-beta.16 2017-01-06 07:25:05 -08:00
Guillermo Rauch 221a5eadf2 Release 2.0.0-beta.15 2017-01-05 17:20:53 -08:00
Guillermo Rauch d387c52179 bump styled-jsx 2017-01-05 17:20:33 -08:00
Guillermo Rauch 05cbcb46af Release 2.0.0-beta.14 2017-01-05 13:03:52 -08:00
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