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

1858 commits

Author SHA1 Message Date
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
Arunoda Susiripala 6db7101c40 Add beforeHistoryChange router event. (#1360) 2017-03-08 08:30:47 -08:00
Arunoda Susiripala f9286f74bf [WIP] Improve test setup (#1372)
* Run tests serially.

* Make test result verbose.

* Don't wait until closing the browser.

* Add some debug logs.

* Add bailing support.

* Get the browser with a timeout.

* Add some comments.

* Remove istanbul babel tranformation.
Jest already do it and it's breaking our coveralls hit.
2017-03-08 13:23:05 +05:30
Thomas Preusse 634a62441d send credentials when fetching new route (#1371) 2017-03-07 15:14:17 -08:00
Guillermo Rauch e15f06071d update yarn 2017-03-07 14:12:50 -08:00
Arunoda Susiripala 6979e35947 Add content based HASH to main.js and common.js (#1336)
* Use file hashes instead of BUILD_ID.
Now JSON pages also not prefixed with a hash and
doesn't support immutable caching.
Instead it supports Etag bases caching.

* Remove appUpdated Router Events hook.
Becuase now we don't need it because there's no buildId validation.

* Remove buildId generation.

* Turn off hash checks in the dev mode.

* Update tests.

* Revert "Remove buildId generation."

This reverts commit fdd36a5a0a307becdbd1d85ae3881b3a15b03d26.

* Bring back the buildId validation.

* Handle buildId validation only in production.

* Add BUILD_ID to path again.

* Remove duplicate immutable header.

* Fix tests.
2017-03-07 10:43:56 -08:00
Tim Suchanek 40573317f7 Update README.md (#1368)
Fix graph.cool link in example
2017-03-07 14:47:31 +01:00
Arunoda Susiripala 08d9847ab7 Shallow routing changes (#1363)
* Fix a typo in a test suite.

* Add old props.url API with warn for all tags.
2017-03-06 10:14:10 -08:00