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

981 commits

Author SHA1 Message Date
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
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
greenkeeper[bot] 68f568b0fc fix(package): update mitt to version 1.1.1 (#1726)
https://greenkeeper.io/
2017-04-22 14:59:30 +02:00
greenkeeper[bot] 1f09c7b004 fix(package): update webpack-dev-middleware to version 1.10.2 (#1778)
https://greenkeeper.io/
2017-04-22 14:59:14 +02:00
David Gómez 4f1ba6ac78 Add wallaby.js support (#1742) 2017-04-22 14:58:12 +02:00
Sébastien Dubois 612f06b7cf Document skipping cache for babel-loader + setting env at runtime (#1747) 2017-04-22 14:57:09 +02:00
captDaylight 06baed2fe8 820 firebase (#1756)
* connecting to firebase

* login and logout with sessions

*  setting messages on the client side

* should have messages served on init

* set messages in state

* updating credentials

* updating readme

* more cred

* iron out eslint issues

* highlight where to put firebase variables

* fix problem of database listener not picking up changes on load

* remove isomorphic from main package.json
2017-04-22 14:56:28 +02:00
Dan Zajdband bbb8ff75a5 Add/semantic ui example (#1753)
* Using developit/unfetch as the Fetch API polyfill

* Added Semantic UI React example

* Fixed linting issues
2017-04-22 14:54:35 +02:00
Sergio Daniel Xalambrí 1bb20b1930 Add socket.io example (#1766)
* Add socket.io example

* [update] stop handling events before unmount

* [update] add deploy to now button

* Fix linting problems

* Fix last missing linting problem
2017-04-22 14:53:48 +02:00
Ernesto Palafox ce0a2f7b13 Add Material-UI example (#1771)
* Add Material-UI example

* Fix linting on material-ui example
2017-04-22 14:52:49 +02:00
Paul Molluzzo d08e027a8c Add deploy now button to the top of all example READMEs (#1763)
* Add deploy now button to the top of all example READMEs

* Remove unnecessary whitespace changes
2017-04-22 14:51:51 +02:00
Ernesto Palafox ba5601f6da Fix dependencies install error on 'with-url-object-routing' example (#1764) 2017-04-22 14:48:09 +02:00
Arunoda Susiripala ea77b41570 Use babel-loader 7 beta. (#1495)
* Use babel-loader 7 beta.
This will get rid of the DeprecationWarning printed while
starting next.
Also this is the version recommened to use with Webpack 2.

* Update to the babel-loader-7
2017-04-22 07:18:53 +05:30
greenkeeper[bot] b629490469 chore(package): update babel-eslint to version 7.2.3 (#1775)
https://greenkeeper.io/
2017-04-22 06:57:37 +05:30
Dan Zajdband 865263d24a Fix/amp example (#1755)
* Using developit/unfetch as the Fetch API polyfill

* Fixed amp example checking if the amp attribute is already present

* Fix lint
2017-04-19 11:59:04 +02:00
Arunoda Susiripala f82e52935d Implement ETag support for server rendered pages. (#1693) 2017-04-18 21:15:42 +05:30
Arunoda Susiripala e0f71d8448 Use babel-preset-env instead of babel-preset-latest. (#1701)
Here we don't use the full capabilities of babel-preset-env.
But it's recommended to use it without browser configs as
a substitute for babel-preset-latest.
That's why we did this.
2017-04-18 19:28:34 +05:30
Arunoda Susiripala b3f15f8d5c Fix a typo. (#1749) 2017-04-18 19:14:26 +05:30
Arunoda Susiripala dec85fe6c4 Add CDN support with assetPrefix (#1700)
* Introduce script tag based page loading system.

* Call ensurePage only in the dev mode.

* Implement router using the page-loader.

* Fix a typo and remove unwanted code.

* Fix some issues related to rendering.

* Fix production tests.

* Fix ondemand test cases.

* Fix unit tests.

* Get rid of eval completely.

* Remove all the inline code.

* Remove the json-pages plugin.

* Rename NEXT_PAGE_LOADER into __NEXT_PAGE_LOADER__

* Rename NEXT_LOADED_PAGES into __NEXT_LOADED_PAGES__

* Remove some unwanted code.

* Load everything async.

* Remove lib/eval-script.js
We no longer need it.

* Move webpack idle wait code to the page-loader.
Because that's the place to do it.

* Remove pageNotFound key from the error.

* Remove unused error field 'buildError'

* Add much better logic to normalize routes.

* Get rid of mitt.

* Introduce a better way to register pages.

* Came back to the mitt() based page-loader.

* Add link rel=preload support.

* Add assetPrefix support to add support for CDNs.

* Add assetPrefix support for preload links.

* Update readme.md
2017-04-17 21:18:43 -07:00
Xavier Brown bdc30bc089 Update readme.md (#1741)
The link element in the example code didn't end its first bracket before <a>
2017-04-17 09:00:12 +05:30
Orlin M Bozhinov b46502f8f1 corrected css pre-processing #readme link (#1709) 2017-04-14 17:54:55 -03:00
greenkeeper[bot] b32f5e3814 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.0 (#1713)
https://greenkeeper.io/
2017-04-14 02:53:52 +05:30
Jaga Santagostino 2103e0541b remove roadmap to 2.0 (#1711)
2.0 is already released
2017-04-13 20:43:30 +05:30
Arunoda Susiripala e054430026 Fix a typo 2017-04-13 20:32:05 +05:30
Jaga Santagostino a52458181a Add learnnextjs link (#1710)
* Add learnnextjs link

* fix typos
2017-04-13 16:43:06 +02:00
greenkeeper[bot] af1afa472b chore(package): update babel-eslint to version 7.2.2 (#1703)
https://greenkeeper.io/
2017-04-13 06:43:27 +05:30
greenkeeper[bot] 4df6f5b434 fix(package): update prop-types to version 15.5.7 (#1695)
https://greenkeeper.io/
2017-04-13 06:37:06 +05:30
Leo Lamprecht 2337827c40 We are not in beta anymore, so remove publishConfig
Added in 629051db2c
2017-04-11 13:07:00 +02:00
C. T. Lin 8e6615dcf9 upgrade react to v15.5 and use prop-types instead of React.PropTypes (#1684)
* upgrade react to v15.5 and use prop-types instead of React.PropTypes

* Update package.json
2017-04-11 00:05:26 +05:30
Kevin Donahue c9bfba6865 Only watch config file that exists on the level of source files (#1643) 2017-04-10 16:07:38 +02:00
Guillermo Rauch 0ed3978a51 add lock 2017-04-07 11:41:43 -07:00