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

1322 commits

Author SHA1 Message Date
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
Andrei Pfeiffer 4c33c6b9fc lint: use const instead of let (#2270) 2017-06-25 12:45:45 +02:00
Dan Zajdband 87e01f681b Fix #2353 - server render parameters (#2356) 2017-06-24 04:38:05 +05:30
Christoph Stock 5d039877a6 update dependencies (#2354) 2017-06-23 20:40:42 +02:00
Henrik b2bda416b6 Fix material-ui-next example (#2348) 2017-06-23 15:51:25 +02:00
Henrik f14297dc80 Normalize example package.json files (#2350) 2017-06-23 10:46:44 +02:00
Arunoda Susiripala 1abfe108c0 3.0.1-beta.1
We've changed the beta version a bit to follow the semvar.
See: https://github.com/zeit/next.js/issues/2309
2017-06-23 13:26:31 +05:30
Arunoda Susiripala 8c6550c504 Fix a potential race condition in router when doing prefetching. (#2317) 2017-06-23 10:46:55 +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
Felix-Antoine Paradis d2149da54d Add the ability to pass next configuration to production builds (#2345) 2017-06-23 09:18:06 +05:30
Colder Xihk 3a9c419160 fix typo in dynamic import with multiple modules (#2344) 2017-06-22 19:11:54 +02:00
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
David Nguyen 3c71e818bf Example/add high order component example (#2331)
* temporary commit

* update code

* completed example higher order component

* remove custom server
2017-06-21 19:45:06 +02:00
Leo Lamprecht e3f0fdb9db Invalidated cache for slack badge
The other one is broken since it's been cached wrong by GitHub some time ago
2017-06-21 08:54:04 +02:00
Sasha Aickin 9c2db29166 Fixed an issue where two-page sites didn't split code. (#2329) 2017-06-21 09:57:24 +05:30
Jess Telford 8017bd3774 More informative error for bad routes (#2300) 2017-06-20 21:43:38 +02:00
Robin Frischmann d8bc386282 improve server-side rendering (#2322) 2017-06-20 17:21:17 +02:00
Arunoda Susiripala 8277d43190 Rewrite url when exporting only if there's a href. (#2316) 2017-06-20 14:07:36 +05:30
Henrik 7b8a4ea234 Create displayName util (#2286) 2017-06-19 18:33:02 +05:30
Arunoda Susiripala fe77397f26 Make sure internal url always has 200 status code. (#2299)
Even the user set it to something else via custom server api.
2017-06-19 12:57:35 +05:30
greenkeeper[bot] 7c97cdc7fb fix(package): update uuid to version 3.1.0 (#2290) 2017-06-17 10:54:14 +02:00
Arunoda Susiripala 65c6d75419 3.0.0-beta16 2017-06-16 21:56:25 +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
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