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

107 commits

Author SHA1 Message Date
Tim Neutkens 531d0a3068 Upgrade dependencies (#2998) 2017-09-27 20:11:02 +02:00
Arunoda Susiripala 56662b4d84 Add/with router (#2870)
* Add withRoute HOC

Rebased (squashed)
- removed routerToProps
- updated hoist-non-react-statics
- improved propTypes

* Expose the whole Router instead of the route.

* Make the example simple.

* Update examples and the readme.

* Add a test case.
2017-08-30 19:37:12 +05:30
Arunoda Susiripala 4833e2ffb5 [WIP] Add more HMR test cases (#2599)
Add more HMR test cases
2017-07-20 21:30:45 +05:30
Arunoda Susiripala 412389d64e Update yarn.lock 2017-07-17 11:13:28 +05:30
Arunoda Susiripala 62a6247753 3.0.1-beta.14 2017-07-15 16:26:25 +05:30
Tim Neutkens ee29abb8d1 Add propType check with validation (#2516) 2017-07-09 18:42:20 +05:30
Arunoda Susiripala feaa1934d8 Update yarn.lock 2017-07-09 10:04:53 +05:30
Arunoda Susiripala 64aca55f8b Update yarn.lock 2017-07-08 11:11:55 +05:30
Arunoda Susiripala 0c7089f856 Remove mitt and use an internal EventEmitter (#2477)
This fixes one of the crucial bug in Next.js
The issue happens when you try to load a page when it's
prefetching.
With mitt, it only fires the first registered event.
2017-07-06 12:19:33 +05:30
Leo Lamprecht c050ba46bf Support for Prettier 1.5.x added (styled-jsx) 2017-07-03 17:15:52 +02:00
Arunoda Susiripala e2a8cc411a 3.0.1-beta.7 2017-07-03 11:09:11 +05:30
Arunoda Susiripala 761a965bfb 3.0.1-beta.6 2017-07-02 09:17:40 +05:30
Arunoda Susiripala 66b31b62da Update yarn.lock 2017-06-29 00:51:42 +05:30
Arunoda Susiripala c92bdef8b5 Merge master into v3-beta. 2017-06-26 23:21:52 +05:30
Arunoda Susiripala 7247a36ef8 Update styled-jsx to 1.0.6. (#2368)
This fixes the styled-jsx HMR not working error
2017-06-26 23:02:27 +05:30
C. T. Lin 213d7a82d1 update webpack to v3 (#2349)
* update webpack to v3

* Use exact versions.
2017-06-23 10:44:40 +05:30
Luke Edwards 8d0fdc09f7 [Beta] Switch from Fly to Taskr (#2307)
* switch from fly to taskr

* update taskfile
2017-06-22 15:52:13 +02:00
Luke Edwards ba5b05a276 [Stable] Move from Fly to Taskr (#2306)
* switch from fly to taskr

* update taskfile
2017-06-22 15:51:49 +02:00
Arunoda Susiripala 8277d43190 Rewrite url when exporting only if there's a href. (#2316) 2017-06-20 14:07:36 +05:30
Arunoda Susiripala 319a2144f3 Merge master into v3-beta. 2017-06-16 21:55:46 +05:30
Arunoda Susiripala a33a01fba5 2.4.4 2017-06-16 21:51:03 +05:30
Arunoda Susiripala 25f967edfc 3.0.0-beta15 2017-06-16 18:55:05 +05:30
Jayden Seric f36b4f9b4a Update Webpack to v2.6.1 (#2271)
* Update Webpack to v2.6.1.

Also, added the ^ so that future patches won’t be missed. Should fix https://github.com/zeit/next.js/issues/2244.

* Update package.json
2017-06-16 18:47:13 +05:30
Arunoda Susiripala f9ef3c7cda Update yarn.lock 2017-06-12 23:06:34 +05:30
Iain Collins 5fa03f941d Updating react & react-dom versions (#2212)
Ran into blocking compatibility issues (unable to start an app even  with the simplest possible example) when trying to upgrade the next.js version on an older project that used react/react-dom@15.4.2.

This was resolved by upgrading react/react-dom to the latest version (15.5.4) so updating dependencies and peerDependencies to reflect the latest version.

Raised in issue #2150
2017-06-09 23:49:31 +05:30
Arunoda Susiripala 13a51e0a75 Merge master into v3-beta. 2017-06-07 11:43:05 +05:30
Arunoda Susiripala 7cd2bb69ea Squashed commit of the following:
commit ced48c3fcfd1880016b08590e1b50827247b7cfb
Author: Arunoda Susiripala <arunoda.susiripala@gmail.com>
Date:   Wed Jun 7 11:28:43 2017 +0530

    Make sure XSS fix doesn't break our 404 support.

commit d40c833aa16660d547df785bb52e69ecf9a717f2
Author: Arunoda Susiripala <arunoda.susiripala@gmail.com>
Date:   Wed Jun 7 09:08:41 2017 +0530

    Prevent url path based XSS attacks.
2017-06-07 11:37:28 +05:30
Guillermo Rauch fa5dc4293d update lock 2017-06-06 13:36:59 -07:00
Guillermo Rauch 3a36aeec68 update yarn.lock 2017-06-06 13:32:27 -07:00
Arunoda Susiripala f342624f14 Merge master with v3-beta 2017-06-05 15:19:33 +05:30
Guillermo Rauch 62a41605aa Release 3.0.0-beta9 2017-06-02 07:21:36 -07:00
Arunoda Susiripala e1a9febe28 Get latest master into v3 (#2139)
* Merge branch 'master' into v3-beta

* Add send back to v3-beta.
2017-06-02 10:35:04 +05:30
Guillermo Rauch 850a931e88 Merge branch 'master' into v3-beta 2017-06-01 18:30:57 -07:00
Arunoda Susiripala ed3618f035 Fix test failures (#2129)
* Fix test failures due to styled-jsx change.

* Update styled-jsx to the latest.
2017-06-01 10:34:21 +05:30
Tim Neutkens 25afe27211 Update styled jsx to 1.x (#2119) 2017-05-31 07:43:17 +02:00
Tim Neutkens e97ed52b3d move dep to devdep 2017-05-15 20:49:59 +02:00
Arunoda Susiripala 4d0147385c Merge v3-beta in dynamic-imports 2017-05-15 09:41:42 +05:30
Arunoda Susiripala e613882010 Update tests for the recent changes. 2017-05-15 09:31:02 +05:30
Arunoda Susiripala 6f674b8c0a Get rid of realPathname for consistant page file structure. 2017-05-10 20:01:42 -07:00
Arunoda Susiripala 98ed666ca6 merge master into next-export 2017-05-10 19:01:01 -07:00
Arunoda Susiripala 7b193f1aa7 Add basic test setup 2017-05-09 16:24:34 -07:00
Grokling 7c8d0246e2 Add rehydration to example/aphrodite (#1858)
* Add rehydration to example/aphrodite

* linting

* replaced yarn.lock
2017-05-10 00:33:39 +02:00
Arunoda Susiripala f602f6dc1e Copy all the static assests to .out 2017-05-07 15:47:40 -07:00
Guillermo Rauch 9a2edfd040 Release 2.3.0 2017-05-04 07:22:17 -07:00
Arunoda Susiripala 686dd4c4dd Merge master into dynamic-import. 2017-04-27 08:48:43 -07:00
Guillermo Rauch ae983c6e3f update lockfile 2017-04-23 12:35:56 -07: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
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