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

1442 commits

Author SHA1 Message Date
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
Arunoda Susiripala da775f2e11 Fix error pages' cdn cache issue. (#1794)
We do this by providing some headers mentioning not to cache.
2017-04-24 13:48:34 -07:00
Guillermo Rauch ff0f1e6c72 Release 2.2.0 2017-04-23 12:41:26 -07:00
Guillermo Rauch ae983c6e3f update lockfile 2017-04-23 12:35:56 -07:00
Paul Molluzzo 1eeb8820bb Add deply now buttons to with-firebase, with-material-ui, with-socket.io (#1779) 2017-04-22 15:37:04 +02:00
greenkeeper[bot] f94b927fd6 chore(package): update babel-preset-es2015 to version 6.24.1 (#1661)
https://greenkeeper.io/
2017-04-22 15:17:05 +02:00
Daniel Steigerwald 2a14d32235 Fix Fela example (#1663)
* Fix Fela example

Styles must be set via the innerHTML. Otherwise, a fontFamily "Segoe
UI” will have encoded quotes.

* Add example

Which didn’t work previously.

* Fix lint
2017-04-22 15:09:35 +02:00
greenkeeper[bot] 85342002e8 fix(package): update babel-plugin-transform-es2015-modules-commonjs to version 6.24.1 (#1668)
https://greenkeeper.io/
2017-04-22 15:09:07 +02:00
Kuan fb0b7534d7 Update isLocal logic to enforce protocol and port (#1737) 2017-04-22 15:07:36 +02:00
greenkeeper[bot] 9ed387ad26 fix(package): update babel-preset-react to version 6.24.1 (#1670)
https://greenkeeper.io/
2017-04-22 15:05:21 +02:00
greenkeeper[bot] d1d341b1c5 fix(package): update babel-plugin-transform-class-properties to version 6.24.1 (#1671)
https://greenkeeper.io/
2017-04-22 15:04:24 +02:00
greenkeeper[bot] 3cc3da1793 fix(package): update babel-generator to version 6.24.1 (#1665)
https://greenkeeper.io/
2017-04-22 15:03:53 +02:00
greenkeeper[bot] ceae4173db fix(package): update write-file-webpack-plugin to version 4.0.2 (#1729)
https://greenkeeper.io/
2017-04-22 15:01:51 +02:00
greenkeeper[bot] 384053e80e fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.1 (#1738)
https://greenkeeper.io/
2017-04-22 15:01:46 +02:00
greenkeeper[bot] caaa153132 fix(package): update webpack to version 2.4.0 (#1719)
https://greenkeeper.io/
2017-04-22 15:01:16 +02:00