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

397 commits

Author SHA1 Message Date
greenkeeper[bot] 208b3199cb chore(package): update coveralls to version 2.13.1 (#1822)
https://greenkeeper.io/
2017-04-30 07:31:51 -07:00
greenkeeper[bot] fc0302afb5 chore(package): update babel-plugin-istanbul to version 4.1.3 (#1829)
https://greenkeeper.io/
2017-04-30 07:31:35 -07:00
greenkeeper[bot] fa45cb8aa2 chore(package): update nyc to version 10.3.0 (#1830)
https://greenkeeper.io/
2017-04-30 07:31:15 -07:00
Arunoda Susiripala 686dd4c4dd Merge master into dynamic-import. 2017-04-27 08:48:43 -07:00
greenkeeper[bot] 58397a66c2 fix(package): update send to version 0.15.2 (#1807)
https://greenkeeper.io/
2017-04-26 13:24:09 +02:00
Guillermo Rauch ff0f1e6c72 Release 2.2.0 2017-04-23 12:41:26 -07:00
greenkeeper[bot] f94b927fd6 chore(package): update babel-preset-es2015 to version 6.24.1 (#1661)
https://greenkeeper.io/
2017-04-22 15:17:05 +02:00
greenkeeper[bot] 85342002e8 fix(package): update babel-plugin-transform-es2015-modules-commonjs to version 6.24.1 (#1668)
https://greenkeeper.io/
2017-04-22 15:09:07 +02:00
greenkeeper[bot] 9ed387ad26 fix(package): update babel-preset-react to version 6.24.1 (#1670)
https://greenkeeper.io/
2017-04-22 15:05:21 +02:00
greenkeeper[bot] d1d341b1c5 fix(package): update babel-plugin-transform-class-properties to version 6.24.1 (#1671)
https://greenkeeper.io/
2017-04-22 15:04:24 +02:00
greenkeeper[bot] 3cc3da1793 fix(package): update babel-generator to version 6.24.1 (#1665)
https://greenkeeper.io/
2017-04-22 15:03:53 +02:00
greenkeeper[bot] ceae4173db fix(package): update write-file-webpack-plugin to version 4.0.2 (#1729)
https://greenkeeper.io/
2017-04-22 15:01:51 +02:00
greenkeeper[bot] 384053e80e fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.1 (#1738)
https://greenkeeper.io/
2017-04-22 15:01:46 +02:00
greenkeeper[bot] caaa153132 fix(package): update webpack to version 2.4.0 (#1719)
https://greenkeeper.io/
2017-04-22 15:01:16 +02:00
greenkeeper[bot] 68f568b0fc fix(package): update mitt to version 1.1.1 (#1726)
https://greenkeeper.io/
2017-04-22 14:59:30 +02:00
greenkeeper[bot] 1f09c7b004 fix(package): update webpack-dev-middleware to version 1.10.2 (#1778)
https://greenkeeper.io/
2017-04-22 14:59:14 +02:00
Arunoda Susiripala ea77b41570 Use babel-loader 7 beta. (#1495)
* Use babel-loader 7 beta.
This will get rid of the DeprecationWarning printed while
starting next.
Also this is the version recommened to use with Webpack 2.

* Update to the babel-loader-7
2017-04-22 07:18:53 +05:30
greenkeeper[bot] b629490469 chore(package): update babel-eslint to version 7.2.3 (#1775)
https://greenkeeper.io/
2017-04-22 06:57:37 +05:30
Arunoda Susiripala 90ea471aa7 Merge master into dynamic-import. 2017-04-18 21:42:21 +05:30
Arunoda Susiripala f82e52935d Implement ETag support for server rendered pages. (#1693) 2017-04-18 21:15:42 +05:30
Arunoda Susiripala e0f71d8448 Use babel-preset-env instead of babel-preset-latest. (#1701)
Here we don't use the full capabilities of babel-preset-env.
But it's recommended to use it without browser configs as
a substitute for babel-preset-latest.
That's why we did this.
2017-04-18 19:28:34 +05:30
Arunoda Susiripala f51300f14b Add core import() support. 2017-04-17 21:03:40 +05:30
greenkeeper[bot] b32f5e3814 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.0 (#1713)
https://greenkeeper.io/
2017-04-14 02:53:52 +05:30
greenkeeper[bot] af1afa472b chore(package): update babel-eslint to version 7.2.2 (#1703)
https://greenkeeper.io/
2017-04-13 06:43:27 +05:30
greenkeeper[bot] 4df6f5b434 fix(package): update prop-types to version 15.5.7 (#1695)
https://greenkeeper.io/
2017-04-13 06:37:06 +05:30
Leo Lamprecht 2337827c40 We are not in beta anymore, so remove publishConfig
Added in 629051db2c
2017-04-11 13:07:00 +02:00
C. T. Lin 8e6615dcf9 upgrade react to v15.5 and use prop-types instead of React.PropTypes (#1684)
* upgrade react to v15.5 and use prop-types instead of React.PropTypes

* Update package.json
2017-04-11 00:05:26 +05:30
Guillermo Rauch e4a42977a8 Release 2.1.1 2017-04-07 11:40:57 -07:00
greenkeeper[bot] feb62816e0 chore(package): update chromedriver to version 2.29.0 (#1648)
https://greenkeeper.io/
2017-04-07 10:00:43 -07:00
greenkeeper[bot] 5a48e8afa3 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.3.3 (#1649)
https://greenkeeper.io/
2017-04-07 09:58:44 -07:00
Guillermo Rauch 6e0e2307da Release 2.1.0 2017-04-06 10:29:18 -07:00
Robin Millette 8c19286a4d Add glob dependency (glob-promise peer). (#1624) 2017-04-05 09:22:32 +02:00
greenkeeper[bot] ee91726d75 fix(package): update webpack-hot-middleware to version 2.18.0 (#1586)
https://greenkeeper.io/
2017-04-03 19:49:22 -07:00
greenkeeper[bot] 1e88331baf fix(package): update webpack to version 2.3.3 (#1604)
https://greenkeeper.io/
2017-04-03 18:37:14 +05:30
greenkeeper[bot] b176f33142 fix(package): update babel-plugin-module-resolver to version 2.6.2 (#1571)
https://greenkeeper.io/
2017-03-31 18:10:42 -07:00
greenkeeper[bot] 407f8b66e5 fix(package): update webpack to version 2.3.2 (#1502)
https://greenkeeper.io/
2017-04-01 00:51:14 +02:00
greenkeeper[bot] ce78c9654d chore(package): update cross-env to version 4.0.0 (#1572)
https://greenkeeper.io/
2017-04-01 00:50:23 +02:00
greenkeeper[bot] b298460331 fix(package): update case-sensitive-paths-webpack-plugin to version 2.0.0 (#1581)
https://greenkeeper.io/
2017-03-31 15:15:54 -07:00
greenkeeper[bot] 102c20df2c chore(package): update wd to version 1.2.0 (#1521)
https://greenkeeper.io/
2017-03-30 11:20:26 -07:00
greenkeeper[bot] bab25f395a chore(package): update nyc to version 10.2.0 (#1529)
https://greenkeeper.io/
2017-03-30 11:20:10 -07:00
greenkeeper[bot] 074fd218cd chore(package): update benchmark to version 2.1.4 (#1540)
https://greenkeeper.io/
2017-03-30 11:19:56 -07:00
Leo Lamprecht 4430fd3e43 2.0.1 2017-03-30 20:17:17 +02:00
greenkeeper[bot] 248b2f45e2 chore(package): update coveralls to version 2.13.0 (#1570)
https://greenkeeper.io/
2017-03-30 11:13:59 -07:00
Andrey Okonetchnikov 66ab661d4c chore(lint): Use lint-staged with standard --fix to run linter only on staged files. (#1519) 2017-03-30 04:51:11 +05:30
greenkeeper[bot] 1aabe4bc01 fix(package): update babel-plugin-module-resolver to version 2.6.0 (#1549)
https://greenkeeper.io/
2017-03-30 03:26:58 +05:30
Guillermo Rauch 2e67041f7c Release 2.0.0 2017-03-27 03:01:42 -07:00
Guillermo Rauch 16956fede9 Release 2.0.0-beta.42 2017-03-26 23:20:42 -07:00
Guillermo Rauch 75028b6a8f Release 2.0.0-beta.41 2017-03-26 11:25:13 -07:00
Guillermo Rauch 0a452ba3e4 Release 2.0.0-beta.40 2017-03-25 13:08:16 -07:00
greenkeeper[bot] d0e1c92cb0 chore(package): update husky to version 0.13.3 (#1491)
https://greenkeeper.io/
2017-03-24 14:14:53 +01:00
Arunoda Susiripala 32af8294a7 Load the main JS bundle in production with async (#1485)
* Use a webpack plugin to combine assets.

* Add comments and make this releseable.

* Fix some typos.

* Fix some typos.
2017-03-24 13:21:34 +05:30
greenkeeper[bot] 377a614f04 chore(package): update babel-eslint to version 7.2.0 (#1468)
https://greenkeeper.io/
2017-03-23 20:43:27 +01:00
greenkeeper[bot] d6b8a530ed chore(package): update babel-plugin-istanbul to version 4.1.1 (#1481)
https://greenkeeper.io/
2017-03-22 17:24:14 +01:00
greenkeeper[bot] fb8fbc401d fix(package): update webpack to version 2.3.1 (#1480)
https://greenkeeper.io/
2017-03-22 16:58:46 +01:00
greenkeeper[bot] 7abd0472a3 fix(package): update webpack to version 2.3.0 (#1475)
https://greenkeeper.io/
2017-03-22 08:12:00 +05:30
greenkeeper[bot] 3837b75b8b fix(package): update source-map-support to version 0.4.14 (#1457)
https://greenkeeper.io/
2017-03-18 11:46:59 +01:00
greenkeeper[bot] 930736fa3b chore(package): update standard to version 9.0.2 (#1453)
https://greenkeeper.io/
2017-03-18 08:32:37 +01:00
Guillermo Rauch 59433fc88e Release 2.0.0-beta.39 2017-03-16 13:09:37 -07:00
greenkeeper[bot] 1675ad1e75 fix(package): update loader-utils to version 1.1.0 (#1442)
https://greenkeeper.io/
2017-03-16 19:18:25 +01:00
greenkeeper[bot] 7278a7ec66 chore(package): update node-notifier to version 5.1.2 (#1441)
https://greenkeeper.io/
2017-03-16 13:49:15 +01:00
greenkeeper[bot] 4fa6276e7d fix(package): update babel-loader to version 6.4.1 (#1439)
https://greenkeeper.io/
2017-03-16 17:30:01 +05:30
greenkeeper[bot] 25dcce4aee fix(package): update source-map-support to version 0.4.13 (#1440)
https://greenkeeper.io/
2017-03-16 17:29:44 +05:30
Guillermo Rauch 458f33f6f8 Release 2.0.0-beta.38 2017-03-14 11:58:28 -07:00
greenkeeper[bot] 7d0374bb55 chore(package): update cross-env to version 3.2.4 (#1417)
https://greenkeeper.io/
2017-03-14 22:31:55 +05:30
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