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

1384 commits

Author SHA1 Message Date
greenkeeper[bot] fa951c8578 fix(package): update styled-jsx to version 1.0.5 (#2231) 2017-06-12 23:05:00 +05:30
Chris Wheatley 87c4e98fa5 Add a sw-precache example (#2237)
* add sw-precache example

* remove npm run dev command
2017-06-12 19:24:57 +02:00
Arunoda Susiripala e7a85f7c1a 3.0.0-beta13 2017-06-11 09:06:05 +05:30
Arunoda Susiripala 4726c4352e Scroll to the hash only if there's one after an error. (#2224) 2017-06-09 23:45:37 +02:00
Vinay Puppal 7b62184c0b Add with-react-ga example (#2225)
* add with-react-ga example

* fix title in Readme
2017-06-09 23:44:26 +02:00
greenkeeper[bot] ad4ec554ca fix(package): update del to version 3.0.0 (#2220) 2017-06-09 23:30:54 +02:00
Arunoda Susiripala 0d4e0e52f7 Implement the correct browser behavior for hash changes. (#2223) 2017-06-10 01:02:28 +05:30
Krisztian Puska 28b40a5d41 Update debug error colors (#2182)
* Update debug error colors

* Soften colors

* Color tweaks, use zeit red w white header
2017-06-10 00:20:58 +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 0151d09cf3 3.0.0-beta12 2017-06-09 10:06:35 +05:30
Arunoda Susiripala 0c4362e440 Load chunks in SSR mode only if they exists in the filesystem (#2196)
* Always check with the fs when gettings chunks.

* Add a new set of test cases for dynamic imports in dev.

* Add dynamic import test cases for production.

* Add availableChunks support for static exports.
2017-06-08 19:41:22 +02:00
Henrik 9c1898f2c8 Allow custom head attributes (#2189)
* fix(package): update babel-preset-env to version 1.5.2

* Allow Custom head attributes

This PR allows to add static attributes to the `document/head
2017-06-08 19:27:54 +02:00
Adam Soffer 5d71434121 Remove warning when upvoting a post in apollo examples (#2190)
* Fix apollo warning and error when upvoting post

* Fix apollo warning and error when upvoting post in apollo-redux example as well
2017-06-08 19:26:40 +02:00
greenkeeper[bot] b7de7a5733 chore(package): update cross-env to version 5.0.1 (#2192) 2017-06-08 19:24:51 +02:00
greenkeeper[bot] 7e5af32375 chore(package): update chromedriver to version 2.29.1 (#2191) 2017-06-08 19:18:21 +02:00
Adrian le Bas c66cafd362 Remove hardcoded address from ws example. (#2204)
With a hard coded address on the client, the app no longer works when deploying, which is annoying since there's a handy 'deploy now' button on the readme.

By removing the hard coded address socket.io will connect to the location host automatically so it works both on development and production.
2017-06-08 19:11:08 +02:00
David Corwin ca9146c421 support custom build directory in next export (#2135)
* use custom build directory instead of .next if specified, helpful log messages.

* Remove some unwanted newlines.
2017-06-08 07:09:45 +05:30
greenkeeper[bot] 24439f96ec fix(package): update write-file-webpack-plugin to version 4.1.0 (#2188) 2017-06-07 19:53:18 +02:00
greenkeeper[bot] 669270a20c fix(package): update babel-preset-env to version 1.5.2 (#2187) 2017-06-07 19:53:01 +02:00
Tim Neutkens bf0d7f8b40 Better error message for missing peerDependencies (#2168)
* Add better error reporting (#2087)

* Apply message to all missing dependencies (#2105)

* Use template string instead of escapes
2017-06-07 14:43:49 +05:30
Arunoda Susiripala c9a7a35f78 3.0.0-beta11 2017-06-07 12:09:32 +05:30
Arunoda Susiripala 4504d9f3cd 2.4.3 2017-06-07 12:00:59 +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
Arunoda Susiripala 8cb3e89455 Merge master into v3-beta. 2017-06-07 04:24:36 +05:30
Arunoda Susiripala 679e8d3137 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-07 04:22:37 +05:30
Arunoda Susiripala 70da357426 Merge branch 'master' of github.com:zeit/next.js 2017-06-07 04:21:56 +05:30
Arunoda Susiripala 937d0e2bb6 [WIP] Reload webpack if needed (#2076)
* Reload webpack via hot-reloader when needed.
We need to do this specially we removed a previosly
built page from the filesystem.

* Make sure reloading is happen only once

* Reload only if there's a missing page error.

* Remove debug logs.

* 2.4.2

* Refactor the codebase a bit.

* Move some commonly used regexp to a utils module.

* Handle the reloading well when there's a custom error page.

* Add a HMR test case.

* Close the browser in the test case.
2017-06-06 15:32:02 -07:00
Guillermo Rauch 8a1d49484a update version 2017-06-06 14:22:30 -07:00
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 fd414ecc5d Merge branch 'master' of github.com:zeit/next.js 2017-06-06 18:28:57 +05:30
Arunoda Susiripala dbb6e995b6 Ignore chrome checksum on appveyor (#2176)
* 2.4.2

* Appveyor tests no longer breaks due to chrome installation.
See: https://goo.gl/pNe7iu
It failed randomly due to some checksum issues.
Since we don't care about privacy or security in the CI,
we can ignore checking the checksum.
2017-06-06 18:27:58 +05:30
Arunoda Susiripala 19819c4f23 Merge branch 'master' of github.com:zeit/next.js 2017-06-06 14:02:16 +05:30
Arunoda Susiripala d3120b0a20 2.4.2 2017-06-06 05:18:53 +05:30
Arunoda Susiripala 660aaa624b 2.4.2 2017-06-06 05:04:46 +05:30
Arunoda Susiripala 0a2e4aa4e7 3.0.0-beta10 2017-06-06 05:00:51 +05:30
Arunoda Susiripala bd3c60caab Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-06 04:51:38 +05:30
Arunoda Susiripala 0191d2eb1b Merge branch 'master' into v3-beta 2017-06-05 20:39:07 +05:30
Arunoda Susiripala 24f511f343 When detecting changed pages in hot-reloader use only pages. (#2171) 2017-06-05 20:37:20 +05:30
Arunoda Susiripala f342624f14 Merge master with v3-beta 2017-06-05 15:19:33 +05:30
greenkeeper[bot] 8eb6ea3c57 chore(package): update node-fetch to version 1.7.1 (#2159) 2017-06-05 11:27:39 +02:00
Arunoda Susiripala 443abba94a Fix HMR http request timeout issue under node 8. (#2166)
The fix is to add a heartbeat less than 5 secs.
2017-06-05 11:02:13 +02:00
greenkeeper[bot] e74fb7858e fix(package): update styled-jsx to version 1.0.4 (#2162) 2017-06-04 23:18:11 +02:00
Matt Phillips 40290f85c3 Fix readme conflict (#2148) 2017-06-03 09:03:56 +02:00
Guillermo Rauch 62a41605aa Release 3.0.0-beta9 2017-06-02 07:21:36 -07:00
greenkeeper[bot] 7f782e182e chore(package): update nyc to version 11.0.1 (#2138) 2017-06-02 08:06:16 +02: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 fbb242a973 Release 3.0.0-beta8 2017-06-01 18:38:27 -07:00
Guillermo Rauch f4345e79c2 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-01 18:31:14 -07:00