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

1346 commits

Author SHA1 Message Date
Arunoda Susiripala 9df59c1176 Dynamic component support with multiple modules (#2235)
* Layout ground works for next/async

* Implement the Dynamic Bundle feature.

* Add some test cases.

* Update README.

* Implement props aware dynamic bundle API.

* Update tests and README.

* Add a test case for React Context support.
2017-06-16 18:49:34 +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 3898cb53b4 Make sure page-loader doesn't throw errors when registering. (#2282)
Even if it does it, we need to mark it as a page error.
2017-06-16 16:43:55 +05:30
Felipe db1ee2e161 Add Intl API polyfill in with-react-intl example (#2283)
* Add Intl API polyfill in with-react-intl example

* fix linting
2017-06-16 12:30:35 +02:00
tashburn 6303d19a3a Edited README.md (#2276)
Explained how this example is different from /examples/with-material-ui
2017-06-15 21:51:19 +02:00
Zane Milakovic 05f6e3ff11 updates styled-jsx to fix issues and bugs (#2275) 2017-06-15 21:49:59 +02:00
David Nguyen 7b62ef3ba6 Upgrade beta version of next for "with-dynamic-import" example (#2262)
* temporary commit

* fixed eslint & parse error when precommit

* upgrade new beta version for stability
2017-06-15 00:16:45 +05:30
Robin Frischmann c72435fe5c update with-fela to Fela > 5.0 (#2253)
* update fela example

* fix wrong whitespace
2017-06-13 22:50:42 +02:00
Thomas Foricher 480f3ab124 Small typo (#2243) 2017-06-13 12:27:07 +05:30
Arunoda Susiripala a36be58124 Rewrite urls with hashes correct for static export. (#2242)
* Rewrite urls with hashes correct for static export.

* Fix some lint issues inside an example app.
2017-06-13 11:44:31 +05:30
Arunoda Susiripala 320b94a94b 3.0.0-beta14 2017-06-12 23:06:55 +05:30
Arunoda Susiripala f9ef3c7cda Update yarn.lock 2017-06-12 23:06:34 +05:30
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