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

1618 commits

Author SHA1 Message Date
Thongchai Kitiyanantawong ba740460c8 Add more example links for CSS preprocessor solution (#3213)
* Add more example link for CSS preprocessor solution

* Change deprecated link
2017-10-31 08:58:50 +01:00
Kevin Decker 6e44cdef5f Expose mechanism to monitor render events (#2655)
* Allow custom clientBootstrap entrypoint

This allows for customization of the client global bootstrap.

* Expose render event emitter to client

* Include client entry point in npm package
2017-10-30 16:01:40 +01:00
Kevin Decker 1e15105837 Output webpack build stats as webpack-stats.json (#2828) 2017-10-30 15:55:44 +01:00
Tim Neutkens c927c4f1ce Release 4.1.4 2017-10-29 01:00:16 +02:00
Tim Neutkens 0bdcb8ddc2 Add note about NODE_ENV being set automatically 2017-10-29 00:58:18 +02:00
Tim Neutkens 01780fe789 Make sure NODE_ENV is production for react-dom to optimize 2017-10-29 00:58:17 +02:00
Ismael Martínez 015d06a331 Upgrade React for examples with next@latest (#3196) 2017-10-29 00:58:17 +02:00
Remy Sharp 8578038daa Change _error.js example to use err prop (#3197)
The `jsonPageRes` isn't always there, whereas `err` is, and when used,
provides a consistent statusCode in the client when compared to the
server.
2017-10-29 00:58:17 +02:00
Sebastian 741f211331 with-apollo example using Apollo 2 (#3180)
* Updated dependencies related to Apollo and React.

* Updated libs with Apollo 2 new set of modules.

* Updated to Apollo 2 react integration modules.

* Updated withData to separate apollo state from the app's state.
2017-10-29 00:58:17 +02:00
m-allanson b937ed3644 Remove extra word (#3193) 2017-10-29 00:58:17 +02:00
Wes Bos 4314802422 Update styled components for React 16 (#3187)
Next 4 only works with React 16, so for this example to work we need an update.
2017-10-29 00:58:17 +02:00
Tim Neutkens 436a2ac73b Release 4.1.4-canary.2 2017-10-29 00:58:17 +02:00
Tim Neutkens 1f899d6b60 Update deploy keys 2017-10-29 00:58:17 +02:00
Tim Neutkens cd7bfe890d Release 4.1.4-canary.1 2017-10-29 00:58:17 +02:00
Arunoda Susiripala a9ccf1e147 Make sure benchmark runs in the production mode. 2017-10-29 04:25:32 +05:30
Shu Uesugi 9320d9f006 Add with-global-stylesheet-simple (#3157)
* Add with-global-stylesheet-simple

* Lint fix
2017-10-23 20:25:16 +02:00
Tim Neutkens ef157d97a7 Add auto-publishing of new tags (#3100)
* Add auto-publishing of new tags

* Fix paste

* Valid json

* Remove now installation
2017-10-23 20:25:00 +02:00
Ismael Martínez 8c60a2e35d Fix with-amp example (#3153)
React v16 supports invalid DOM attributes now. 
ReactInjection and DOMProperty throws an error.
Reference: #3152
2017-10-23 14:37:45 +02:00
Ismael Martínez e5c46c2632 Update React on with-socket.io example (#3151)
Next.js v4 requires React v16.
2017-10-23 11:23:50 +02:00
Tim Neutkens 03324880a8 Add asPath on the server (#3149)
* Add asPath on the server

* Make sure we don’t include `?` when there is no query
2017-10-22 12:00:31 -07:00
Tim Neutkens 40bb56e892 Fix styled-jsx test (#3147)
* Fix styled-jsx test

* Make sure the test passes
2017-10-22 18:29:58 +02:00
Tim Neutkens 9805231cf9 Release 4.1.3 2017-10-22 11:16:35 +02:00
Tim Neutkens 8e55adf4ec Render error as errorHtml (#3142) 2017-10-21 16:47:55 -07:00
Hans Trautlein 4d2ea0ce80 "download" to "downloads" when subject is singular (#3140) 2017-10-21 16:59:16 +02:00
Tim Neutkens a28bbb0ff9 Strip ansi codes when logging client side (#3138) 2017-10-21 12:58:59 +02:00
Jerome Fitzgerald 89691cbe0c [chore] Examples: styled-jsx-plugin-sass@0.2.0, show dynamic (#3137)
* [chore] styled-jsx-plugin-sass@0.2.0, show dynamic

styled-jsx-plugin-sass had an update that now allows for sass and
 dynamic to live together.

This updates that package and updates the example slightly to show how.

* [fix] errant space in styled-jsx-scss example
2017-10-20 19:29:02 +02:00
Tim Neutkens a2a83236f0 Release 4.1.2 2017-10-20 08:06:38 +02:00
Tim Neutkens 1cc3dbe35b Revert "Sourcemap and Breakpoint Fixes (#3121)"
This reverts commit 964f229f98.
2017-10-20 08:02:04 +02:00
Tim Neutkens 81479eb601 Update yarn.lock 2017-10-19 23:49:09 +02:00
Tim Neutkens 586b871a43 Release 4.1.1 2017-10-19 22:18:52 +02:00
Tim Neutkens 1034b107c1 Make next-export executable 2017-10-19 22:18:26 +02:00
Kevin Decker 964f229f98 Sourcemap and Breakpoint Fixes (#3121)
* Propagate source maps through combine assets step

* Use constant development build id
2017-10-19 22:11:37 +02:00
Dylan Staley f1f83507db Use nonce attribute for inline script if provided (#3129) 2017-10-19 21:30:34 +02:00
Li Weinan 9b53d007e7 [update example - with-apollo-and-redux] pin dependencies (#3130)
* update dependnecies

* keep next version as `latest` and depend on `react@^16.0.0`
2017-10-19 14:42:24 +02:00
Kevin Decker f7d2b96d28 Update yarn deps for react hot loader (#3122) 2017-10-17 21:05:21 +02:00
Mariano Fernández Cocirio 474085b68a Jest example updated (#3123)
* jest example updated

* reverted changes on yarn.lock
2017-10-17 20:59:22 +02:00
Tim Neutkens 47d3cfd0fd Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
Tim Neutkens 43b5626ec6 Use strict version of react-hot-loader (#3112) 2017-10-16 21:51:12 +02:00
Olivier Tassinari 180cd9f566 react-hot-loader & warnings (#3110) 2017-10-16 21:37:07 +02:00
Stephen Daves b7406e90c5 Fix url typo (#3111) 2017-10-16 21:28:25 +02:00
Tim Neutkens ae44109f6d Add styled-jsx-plugin-sass example (#3104)
* Upgrade dependency on next

* Add styled-jsx-plugin-sass example

* Update readme
2017-10-16 12:08:24 +05:30
Connor Bär 9b129f883d Fix 'Deploy to now' link for with-styled-jsx-plugins example (#3103) 2017-10-16 08:16:09 +02:00
Arunoda Susiripala ec3486a702 Release 4.1.0 2017-10-16 10:37:42 +05:30
Tim Neutkens 443b1d1260 Release 4.0.5 2017-10-15 23:20:17 +02:00
Kevin Decker fa18e13bf6 Move dev error view import to dev entry point (#3093)
This drops a few kb off of the production min+gz build due to the remove of the component and a ew dependencies that it references, ansi-html being the biggest.
2017-10-15 23:19:01 +02:00
Tim Neutkens 7271970629 Upgrade styled-jsx (#3101) 2017-10-15 22:56:40 +02:00
Tim Neutkens e9d14613d4 Make styled-jsx configurable (#3050)
* Make styled-jsx configurable

* Add styled-jsx-plugin-postcss example

* Add styled-jsx 2.1.0 with plugins support

* Move examples around and add description

* Add link to new example
2017-10-15 19:54:57 +02:00
yashha f5aac04b79 Proposal: Add shields io npm version badge (#3099) 2017-10-15 17:20:34 +02:00
Tim Neutkens db151d250a Release 4.0.4 2017-10-15 01:03:24 +02:00
Tomas Roos 494f416a9f Update exposed package to avoid DoS (#3080)
Running nsp check

```
➜  web git:(master) nsp check
(+) 1 vulnerabilities found
┌───────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│               │ Regular Expression Denial of Service                                                                       │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ mime                                                                                                       │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ CVSS          │ 7.5 (High)                                                                                                 │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 1.3.4                                                                                                      │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ < 1.4.1 || > 2.0.0 < 2.0.3                                                                                 │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >= 1.4.1 < 2.0.0 || >= 2.0.3                                                                               │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ web@1.0.0 > next@4.0.1 > send@0.15.6 > mime@1.3.4                                                          │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/535                                                                     │
└───────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

```

This is a dependency of send which already upgraded this in order to not be exposed to this known error.
https://github.com/pillarjs/send/blob/master/HISTORY.md
2017-10-14 23:52:15 +02:00