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

1465 commits

Author SHA1 Message Date
greenkeeper[bot] fb8fbc401d fix(package): update webpack to version 2.3.1 (#1480)
https://greenkeeper.io/
2017-03-22 16:58:46 +01:00
greenkeeper[bot] 7abd0472a3 fix(package): update webpack to version 2.3.0 (#1475)
https://greenkeeper.io/
2017-03-22 08:12:00 +05:30
Penn Su b682267b50 Fix URL (#1467) 2017-03-21 09:40:09 +05:30
Arunoda Susiripala b2fabf0fe0 Load script with the defer attribute (#1437)
Load script with the defer attribute
2017-03-19 18:46:50 +05:30
Arunoda Susiripala ffade8d5ac Fix client error modal not showing in dev (HMR) (#1448)
* Fix HMR not working issue.
Our hot-reload code on the server has custom webpack error dectection logic.
Is supports only multi-modules entries.
So, we need to all entries as multi-module entries
even if there's just a single entry.

* Add a test case for showing errors over HMR.
2017-03-18 16:01:55 -07:00
greenkeeper[bot] 3837b75b8b fix(package): update source-map-support to version 0.4.14 (#1457)
https://greenkeeper.io/
2017-03-18 11:46:59 +01:00
Vlad Frolov 1a61133dd4 fix(example): Added missing instructions for CSS "bundling" in with-react-md example (#1451) (#1456) 2017-03-18 11:45:48 +01:00
greenkeeper[bot] 930736fa3b chore(package): update standard to version 9.0.2 (#1453)
https://greenkeeper.io/
2017-03-18 08:32:37 +01:00
Guillermo Rauch 59433fc88e Release 2.0.0-beta.39 2017-03-16 13:09:37 -07:00
greenkeeper[bot] 1675ad1e75 fix(package): update loader-utils to version 1.1.0 (#1442)
https://greenkeeper.io/
2017-03-16 19:18:25 +01:00
greenkeeper[bot] 7278a7ec66 chore(package): update node-notifier to version 5.1.2 (#1441)
https://greenkeeper.io/
2017-03-16 13:49:15 +01:00
greenkeeper[bot] 4fa6276e7d fix(package): update babel-loader to version 6.4.1 (#1439)
https://greenkeeper.io/
2017-03-16 17:30:01 +05:30
greenkeeper[bot] 25dcce4aee fix(package): update source-map-support to version 0.4.13 (#1440)
https://greenkeeper.io/
2017-03-16 17:29:44 +05:30
Tim Neutkens 1a7e804361 Document babel caching (#1432) 2017-03-15 20:47:31 +01:00
Henrik 8bd46c8380 Remove .DS_Store file from helmet example (#1435) 2017-03-15 20:36:47 +01:00
Stephen Mathieson 8cf965a753 examples: add svg-components (#982) 2017-03-15 15:26:08 +01:00
BDav24 db7c286740 [POC] Pretty url routing (#1001)
* [example] with pretty url routing

* use single quotes even in React components

* improve Link import
2017-03-15 15:24:54 +01:00
Steve Fan a57fa7ebb1 An example with react-helmet (#1264)
* upload example

* fix

* fix

* fix

* fix .babelrc

* fix standard style

* fix indent

* rename helmetHead to helmet

* added gitignore

* package.json

* removed yarn.lock

* Added more examples of using react-helmet

* removed gitignore
2017-03-15 15:23:42 +01:00
Guilherme Diego 123a635f00 Example to create next application with scoped/external css. (#1340)
* First structure for external css example

* Remove: Builded files

* Fix: Identation to 2 spaces

* Fix example

* Fix lint

* Fix: Review points
2017-03-15 15:21:48 +01:00
Will Djingga 13ccf78498 Fix typo in README (#1427)
`routing`not `routig`
2017-03-15 13:24:34 +01:00
Arunoda Susiripala fbc6c47e86 Fix deployment wiki link. 2017-03-15 08:10:10 +05:30
Tim Neutkens 9acc7cfc68 Add reference to deployment wiki page (#1423) 2017-03-15 08:08:00 +05:30
Tim Neutkens 228bbbef74 Use jsonPageRes instead of xhr (#1424) 2017-03-15 08:07:29 +05:30
Dan Zajdband d92ab55d22 Add/link replace (#1419)
* Using developit/unfetch as the Fetch API polyfill

* Added the replace prop into the Link component

* Added integration test for replace prop on Link component
2017-03-14 18:06:34 -05:00
Adam Soffer d5bd8c7d03 Update with-apollo example (#1394)
* Add minimal apollo example

* Update apollo example README

* Update apollo example demo link in README

* Fix button styles

* Fix show more button

* Alias demo url

* Include the data field on the Apollo store when hydrating

* Revert

* Include the data field on the Apollo store when hydrating per tpreusse's suggestion.

* Add example to faq section in README

* Sort by newest; Add active state to buttons

* Make optimization suggestions

* Use process.browser; inline props

* Pass wrapped component's initial props into component heirarchy if they exist

* Remove unnecessary sorting of array

* Update Apollo example

* Remove trailing comma

* Update reduxRootKey

* Remove unnecessary babelrc

* Update with-apollo example

- Remove use of deprecated 'reduxRootKey' option
- Add loading indicator inside pagination button
2017-03-14 23:41:55 +01:00
Tim Neutkens 68a7b59b19 Upgrade styled-components. Fixes #1416 (#1422) 2017-03-14 13:18:10 -07:00
Guillermo Rauch 458f33f6f8 Release 2.0.0-beta.38 2017-03-14 11:58:28 -07:00
Arunoda Susiripala 8bf376737f Remove patch-react.js (#1420)
This is a pretty complex code base and it cause
issues for some React components.
And React/fiber is coming with a proper solution.
2017-03-14 11:57:41 -07:00
greenkeeper[bot] 7d0374bb55 chore(package): update cross-env to version 3.2.4 (#1417)
https://greenkeeper.io/
2017-03-14 22:31:55 +05:30
greenkeeper[bot] 9fd6982c95 fix(package): update loader-utils to version 1.0.4 (#1411)
https://greenkeeper.io/
2017-03-14 14:38:54 +01:00
greenkeeper[bot] 098ec02665 chore(package): update fly-esnext to version 2.0.1 (#1408)
https://greenkeeper.io/
2017-03-14 08:02:04 +01:00
Luke Edwards 4ad5e2e0dc Examples: Update Inferno & Preact (#1407)
* clean & bump inferno & preact pkgs

* reenable UglifyJS for preact
2017-03-13 22:05:04 +01:00
greenkeeper[bot] 624cab9909 fix(package): update source-map-support to version 0.4.12 (#1405)
https://greenkeeper.io/
2017-03-13 22:00:51 +01:00
Guillermo Rauch 45bd239827 Release 2.0.0-beta.37 2017-03-13 10:49:15 -07:00
greenkeeper[bot] e653683ff7 fix(package): update babel-core to version 6.24.0 (#1403)
https://greenkeeper.io/
2017-03-13 08:10:17 +01:00
greenkeeper[bot] 0e9ca29c78 fix(package): update babel-generator to version 6.24.0 (#1404)
https://greenkeeper.io/
2017-03-13 08:07:57 +01:00
greenkeeper[bot] 3136bd55fb fix(package): update babel-preset-latest to version 6.24.0 (#1402)
https://greenkeeper.io/
2017-03-13 08:07:50 +01:00
greenkeeper[bot] 6a7ee7b193 chore(package): update babel-preset-es2015 to version 6.24.0 (#1401)
https://greenkeeper.io/
2017-03-13 06:56:54 +01:00
greenkeeper[bot] 595eb9e512 chore(package): update husky to version 0.13.3-0 (#1395)
https://greenkeeper.io/
2017-03-13 06:20:05 +01:00
greenkeeper[bot] f2969ed824 fix(package): update babel-plugin-transform-es2015-modules-commonjs to version 6.24.0 (#1400)
https://greenkeeper.io/
2017-03-13 06:16:02 +01:00
Arunoda Susiripala e985e0dd48 Use mitt instead of EventEmitter for the client HMR (#1399)
error handling.
2017-03-13 10:16:32 +05:30
Arunoda Susiripala 57099a544c Use mitt instead of EventEmitter. (#1398)
EventEmitter is quite bit and mitt is a pretty good/small replacement.
2017-03-13 10:04:30 +05:30
Arunoda Susiripala bb7c8f87c6 Use a private Router event API for the ondemand-pinger. (#1397) 2017-03-12 18:06:50 -07:00
Jayden Seric 02e697cb0d Updated with-apollo example. (#1389)
- Deleted several unused dependencies.
- Updated dependencies.
- Simplified Apollo related imports thanks to react-apollo exporting apollo-client and graphql-tag since [v0.13.2](https://github.com/apollographql/react-apollo/blob/master/Changelog.md#0132).
- Tidied the readme and added a link to the Apollo docs.
2017-03-12 08:33:01 +01:00
Sergio Daniel Xalambrí 38822717a9 Add support for URL objects in Link and Router (#1345)
* Add support for URL objects in Link and Router

* Fix typo in comment

* Fix possible bug if the `href` prop is `null`

* Document the usage of URL objects in Link and Router

* Update readme.md

* Parse URL to get the host & hostname in `isLocal`

This should check if the current location and the checked URL have the same `host` or `hostname`.

* Format `as` parameter from object to string if required

* Format `href` and `as` inside the construct and componentWillReceiveProps

* Use `JSON.stringify` to compare objects

* Add usage example

* chore(package): update chromedriver to version 2.28.0 (#1386)

https://greenkeeper.io/

* Refactor the codebase a bit.

* Change the example name.

* Add a few test cases.

* Add the example to the README.
2017-03-12 09:27:51 +05:30
Arunoda Susiripala 1ae3c2e637 Ping to on-demand-entries on every page change. (#1384)
This will prevent disposing the page after viewing it.
Otherwise, it'll possible to dispose the page even
we load the page on the client.
2017-03-12 09:21:49 +05:30
greenkeeper[bot] 0d01f5c8e8 chore(package): update chromedriver to version 2.28.0 (#1386)
https://greenkeeper.io/
2017-03-12 08:16:38 +05:30
greenkeeper[bot] bef2e30592 fix(package): update write-file-webpack-plugin to version 4.0.0 (#1383)
https://greenkeeper.io/
2017-03-10 13:37:23 +01:00
Larry Lu 4fb7e4bc64 Fix typo (#1380)
port 300 -> 3000
2017-03-10 09:10:44 +01:00
Sergio Daniel Xalambrí bb3ceaadea Fix styled-components server-render example (#1382) 2017-03-10 09:07:28 +01:00