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

1256 commits

Author SHA1 Message Date
Grokling 1b893518bb Add SSR to examples/with-styled-components + bump styled_components v2 (#1908) 2017-05-07 14:25:33 +02:00
greenkeeper[bot] 12f423faf9 fix(package): update webpack to version 2.5.1 (#1902) 2017-05-06 23:01:50 +02:00
Paul Xu d1b47146d3 Update incorrect example reference in readme (#1901)
In the `with-refnux` eample.
2017-05-06 21:59:02 +02:00
Arana Jhonny 23574b5489 Support for cxs rehydration and removal of duplicate styles. (#1860)
* add cxs.rehydrate.

* add id='cxs-style'.
2017-05-06 11:37:47 -07:00
greenkeeper[bot] 0abfca26f7 chore(package): update nyc to version 10.3.2 (#1889) 2017-05-06 11:31:56 -07:00
Matija Marohnić 6ca1feaf98 Add link to the Glamorous example (#1887) 2017-05-06 11:31:42 -07:00
Arunoda Susiripala 5153d6958b Use development babel presets if it's we are not in production. (#1895)
Otherwise, user has to expose it's env variable as development.
Usually, that's unlikely to happen.
2017-05-06 00:07:50 -07:00
Arunoda Susiripala 8268905d2f Use cheap module inline source map (#1894)
* Fix the page-loader-normalization issue on '/index' page.

* Use cheap-module-inline-source-map as the default devtool.
2017-05-05 23:54:47 -07:00
Tim de Koning 9fb7987c69 #1874 - A warning when using _document.js (#1884) 2017-05-04 16:44:28 -07:00
greenkeeper[bot] 96b5e4a7ce fix(package): update webpack to version 2.5.0 (#1871) 2017-05-04 16:41:46 -07:00
ateev 3fbccff936 remove elliptic precomputed folder 2017-05-05 02:14:25 +05:30
Guillermo Rauch f4e6c51985 Release 2.3.1 2017-05-04 13:06:32 -07:00
Arunoda Susiripala 0edee47d07 Fix the page-loader-normalization issue on '/index' page. (#1882) 2017-05-04 13:05:47 -07:00
greenkeeper[bot] 68880bc9f8 fix(package): update pkg-up to version 2.0.0 (#1876) 2017-05-04 10:21:34 -07:00
Trevor D. Miller 93a1b73efe Removing unneeded dev dependency (#1869)
babel-jest is included automatically by jest when a babel config is present, so including it manually here doesn't do anything.

> "Note: babel-jest is automatically installed when installing Jest and will automatically transform files if a babel configuration exists in your project."
http://facebook.github.io/jest/docs/en/getting-started.html#using-babel
2017-05-04 10:06:58 -07:00
Guillermo Rauch 9a2edfd040 Release 2.3.0 2017-05-04 07:22:17 -07:00
Arunoda Susiripala 383eec3604 We are using some divs to wrap some script tags. (#1867)
We don't need them.
So, this change will remove them.
2017-05-03 15:03:39 -07:00
greenkeeper[bot] 5e393b14cd chore(package): update fly to version 2.0.6 (#1866) 2017-05-03 14:08:30 -07:00
Arunoda Susiripala ee9dba9ea7 React react-dom/server minified alias. (#1862)
That's simply because it has no effect since we don't run webpack on the server.
And for the server, file size difference doesn't matter a lot.
2017-05-03 13:59:21 -07:00
Arunoda Susiripala 24f3f143a6 Introduce "asPath" into router and getInitialProps (#1857)
* Add asPath to next/router and getInitialProps context.

* Add test cases.

* Update docs.

* Build as-path pages before they use.
2017-05-03 09:40:09 -07:00
jascha ehrenreich 6e89d49f99 fix typo (#1856) 2017-05-02 21:06:33 -07:00
Luke Edwards 87773b98dc add react production aliases (#1855) 2017-05-02 18:27:18 -07:00
David Madner d1b61afcf8 Update README.md (#1851) 2017-05-02 09:12:24 -07:00
Dieter Luypaert cb635dd9a5 use configured distDir where required (#1816) 2017-05-01 17:42:01 -07:00
greenkeeper[bot] 605e739f97 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.4 (#1845)
https://greenkeeper.io/
2017-05-01 16:29:55 -07:00
Arunoda Susiripala f578089d05 Fix page loader page normalization issue (#1844)
* Add integration tests for nested componentDidMount

* Fix the page loader normalization issue.

* Fix a typo in the url.
2017-05-01 16:26:18 -07:00
spencer 2e7bc1074d Update to examples: with-redux (updated) (#1813)
* With-Redux-example-update-request

Hello Next.js,

I’ve added an additional example to “With-Redux” and updated some of
the original code to help illustrate to less inexperienced developers
how to implement Redux with Next.js.

The example is a simple counter to help reinforce how the client and
server renderings work together. In addition I also updated some of the
redux boilerplate code to help fully demonstrate how redux can be
implemented when using is with Next.js

Please contact me at spencer.bigum@gmail.com for further questions or
anything else you might need.

Thanks,
Spencer

* fixed listing issues: examples/with-redux

* Updated code based on @impronunciable Feedback
2017-04-30 17:44:24 -03:00
greenkeeper[bot] 8fb6a03e48 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.2 (#1810)
https://greenkeeper.io/
2017-04-30 07:35:19 -07:00
Átila Fassina c9d0670362 with-i18next example (#1496)
* examples/with-i18next: create folder and initial settings

* examples/with-i18next:abstract url and object keys - finish readme

* examples/with-i18next: next@beta is not actually necessary

* examples/with-it18next: fix standardjs eslint warnings

* examples/with-i18next: review updates
2017-04-30 07:35:07 -07:00
greenkeeper[bot] 1f642dceda fix(package): update source-map-support to version 0.4.15 (#1826)
https://greenkeeper.io/
2017-04-30 07:32:00 -07:00
greenkeeper[bot] 208b3199cb chore(package): update coveralls to version 2.13.1 (#1822)
https://greenkeeper.io/
2017-04-30 07:31:51 -07:00
greenkeeper[bot] fc0302afb5 chore(package): update babel-plugin-istanbul to version 4.1.3 (#1829)
https://greenkeeper.io/
2017-04-30 07:31:35 -07:00
greenkeeper[bot] fa45cb8aa2 chore(package): update nyc to version 10.3.0 (#1830)
https://greenkeeper.io/
2017-04-30 07:31:15 -07:00
Craig Ramey 8d59de4d7a example curl pointed to with-styled-components, supposed to be with-flow (#1832) 2017-04-30 07:31:03 -07:00
Brendan Houle 03bfaecf49 Add root static files example (#1835) 2017-04-30 07:30:29 -07:00
Arana Jhonny 25dbcce60b fix #1833, update all examples. (#1834) 2017-04-30 07:29:37 -07:00
Arunoda Susiripala d4e047839c Make sure to run the promise logic if only called .then() 2017-04-27 17:12:20 -07:00
Arunoda Susiripala fc34484e5e Fix a typo. 2017-04-27 13:07:01 -07:00
Arunoda Susiripala 358cfb3a29 Make dynamic import support to work with HMR. 2017-04-27 12:41:02 -07:00
Arunoda Susiripala 93da57e1f6 Set a proper displayName for the wrapper dynamic component. 2017-04-27 09:05:18 -07:00
Arunoda Susiripala 312cf2356c Add docs. 2017-04-27 08:56:53 -07:00
Arunoda Susiripala 686dd4c4dd Merge master into dynamic-import. 2017-04-27 08:48:43 -07:00
Arunoda Susiripala 753113bb9c Add some tests for dynamic rendering. 2017-04-27 08:39:52 -07:00
Arunoda Susiripala 7fcd1ea760 Add async-reactor example. 2017-04-27 08:22:25 -07:00
Arunoda Susiripala 857a1d3138 Add some test cases for the same loop promise. 2017-04-27 08:16:38 -07:00
Craig Mulligan a903503d41 Update readme.md (#1818) 2017-04-27 18:51:50 +05:30
Colder Xihk b52b91a840 fix typo in with-material-ui readme (#1797) 2017-04-26 13:27:37 +02:00
Ben Hadfield 0210540b8f Fixed typo in README (#1784)
In Shallow Routing, the line `Since that's a new page, it'll unload the current page, load the new one and call `getInitialProps` even we asked to do shallow routing.` is missing the word `though`.
2017-04-26 13:24:46 +02:00
greenkeeper[bot] 58397a66c2 fix(package): update send to version 0.15.2 (#1807)
https://greenkeeper.io/
2017-04-26 13:24:09 +02:00
Arunoda Susiripala 84d00ad14d Always send an error to client if there is. (#1800)
In the production, we need to send a dummy error.
2017-04-25 09:45:58 +05:30