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

765 commits

Author SHA1 Message Date
Guillermo Rauch adf38f3ba3 Release 2.0.0-beta.22 2017-02-02 15:59:44 -08:00
Tim Neutkens ec83670cc7 Check if BUILD_ID is available before starting (#960)
* Check if BUILD_ID is available before starting

* Leave whitespace at end of file
2017-02-02 15:59:01 -08:00
Tim Neutkens efe0c7b433 Resolve all modules through module resolver (#963) 2017-02-02 15:58:02 -08:00
Vlad Frolov fca0a39cbc examples/with-react-md: Fixed "Cannot read property 'focus' of undefined" (#961) 2017-02-02 22:56:07 +01:00
Guillermo Rauch 3e34430f74 Release 2.0.0-beta.21 2017-02-02 11:13:43 -08:00
Tim Neutkens 61bdae5a08 Fix typo in react-md example readme (#959) 2017-02-02 20:00:45 +01:00
greenkeeper[bot] cf4fb78f96 fix(package): update styled-jsx to version 0.5.3 (#958)
https://greenkeeper.io/
2017-02-02 19:55:59 +01:00
Vlad Frolov 0a2466a36e Added React-MD example (#940) 2017-02-02 13:10:59 +01:00
Tim Neutkens 59281adef3 Allow parsed url to be passed down (#950)
* Allow parsed url to be passed down

* Update example to reflect url passing

* Check if passed url.query is empty

* Rename url to parsedUrl
2017-02-02 12:21:08 +05:30
Arunoda Susiripala 24edfbdea7 Resolve styled-jsx/style when transpiling ES2015 modules. (#953) 2017-02-02 06:56:21 +01:00
Tim Neutkens f9717347a4 Resolve preset es2015 from next directory (#949) 2017-02-02 07:35:21 +05:30
greenkeeper[bot] a97ca923d8 fix(package): update webpack-dev-middleware to version 1.10.0 (#948)
https://greenkeeper.io/
2017-02-01 21:37:14 +01:00
Artem Samofalov 2f7d743050 add pretty message if port already in use(#927) (#932)
* add pretty message if port already use(#927)

* fix console async nature

* fix linter

* clean callbacks code

* Check package.json for the startup script

* fix path to package

* omit callback

* remove extra check, code execute in try block

* + reason for change start listen port of node http

* remove extra code for search package
2017-02-01 21:36:23 +01:00
Arunoda Susiripala ec2c8c6784 Fix .json import issue (#944)
* Fix .json import error
This is a regression we've added by #926 (tree-shaking-support)

* Add a test case.
2017-02-01 15:17:15 +09:00
Tim Neutkens 579098663c Set dev variable consistent with examples (#939) 2017-01-31 19:48:10 +05:30
Arunoda Susiripala f3e541fe23 Add support for Webpack 2's tree-shaking (#926)
* Let webpack2 to handle ES2015 module system
Since Node.js can't do that, we need to transpile
ES2015 module system in the emit-file-loader.

* Use sourceMaps only in dev.

* Introduce a transform option to emit-file-loader
So, we can move our ES2015 transpile code with that option.

* Remove unwanted argument options.

* Update comments.

* Use dev flag instead of NODE_ENV
2017-01-31 15:31:27 +09:00
greenkeeper[bot] 5188eed5b1 fix(package): update webpack to version 2.2.1 (#938)
https://greenkeeper.io/
2017-01-31 06:38:43 +01:00
Tim Neutkens bd83ed5c54 [WIP] Remember scroll position on error (#911)
* Remember scroll position on error

* Added comment + check if lastScroll was set

* Remove check for lastAppProps

* Use events to make scroll persistence dev-only

* Return EventEmitter from next()

* Update next-dev.js
2017-01-31 08:56:17 +05:30
greenkeeper[bot] 08eadb4688 fix(package): update webpack-hot-middleware to version 2.16.1 (#935)
https://greenkeeper.io/
2017-01-30 19:51:33 +01:00
Arunoda Susiripala 0d2af801ec Use service-worker to fetch only JSON pages. (#924)
* Use service-worker to fetch only JSON pages.
We simply don't need to proxy other requests through that.
That's might cause some latency issues.

* Use a better regexp to identify JSON pages.
2017-01-30 19:42:49 +09:00
greenkeeper[bot] 72ae013e08 fix(package): update webpack-hot-middleware to version 2.16.0 (#922)
https://greenkeeper.io/
2017-01-30 07:58:10 +01:00
Jaga Santagostino b4814e1ef9 fix typo (#916) 2017-01-29 11:32:29 +01:00
Stephen Mathieson ac2a963c9c README: fix "Routing with lazy component loading" blob (#915)
Looks like `<Link>` was replaced with `\n` on accident
2017-01-29 06:29:29 +05:30
Tim Neutkens 0820204646 Remove yarn.lock from examples (#912)
* Remove yarn.lock from examples

* Add yarn.lock to gitignore for examples

* Move yarn ignore to examples directory
2017-01-29 05:48:53 +05:30
Sébastien Dubois a3bec7666b with-apollo: Don't store Redux store and Apollo client in global namespace (#909)
* Add yarn lockfile

* Avoid storing Redux store and Apollo client in global namespace + don't create Apollo client when already existing in browser
2017-01-28 17:22:32 +01:00
Arunoda Susiripala bf467e64af Do not patch prototypes with render exposed only as a getter. (#898)
* Do not patch prototypes with render exposed only as a getter.

* Use Object.getOwnPropertyDescriptor to make things simpler.

* Get the prototype which has the render method.
2017-01-28 22:50:46 +09:00
Stephen Mathieson ee717af088 examples/with-redux: remove global store (#908)
This patch removes the global `store` on the client. IMO this example
should avoid polluting the global namespace with simple scoping tricks
can solve the problem equally as well.
2017-01-27 18:33:42 -08:00
Tim Neutkens db50fc7dee chore(package): update wd to version 1.1.3 (#906)
https://greenkeeper.io/
2017-01-27 22:44:44 +01:00
greenkeeper[bot] 52163f5cb8 fix(package): update source-map-support to version 0.4.11 (#901)
https://greenkeeper.io/
2017-01-27 22:33:39 +01:00
greenkeeper[bot] 4481038fcf chore(package): update gulp-notify to version 3.0.0 (#905)
https://greenkeeper.io/
2017-01-27 22:29:32 +01:00
Guillermo Rauch f944b50ffe Release 2.0.0-beta.20 2017-01-27 10:57:16 -08:00
greenkeeper[bot] e0f49f8a18 fix(package): update styled-jsx to version 0.5.2 (#902)
https://greenkeeper.io/
2017-01-27 10:37:43 -08:00
Adam Soffer 8310f812ec Fix Apollo Example (#900)
* 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
2017-01-27 17:06:17 +01:00
jcsmesquita 8922e7b63a Update README.md (#895)
Just adding download instructions
2017-01-26 23:19:12 +05:30
Jarmo Isotalo 0b131cad2a Add next build and next start to the first How to use sample (#894) 2017-01-26 22:30:55 +05:30
Naoyuki Kanezawa 0b3db91731 Fix handling finished response (#889)
* allows to not return props if response is already finished on getInitialProps

* check res.finished after getInitialProps call of Document
2017-01-26 16:36:50 +05:30
nkzawa 386c960359 Release 2.0.0-beta.19 2017-01-26 18:30:56 +09:00
nkzawa 293029a36a update yarn.lock 2017-01-26 18:30:20 +09:00
Jarmo Isotalo 51cbebb240 Don't process.exit(null) when e.g build is SIGKILLed (#887) 2017-01-25 17:10:48 -08:00
Adam Soffer a76ec83b64 Update Apollo Example (#888)
* 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
2017-01-25 17:10:21 -08:00
Arunoda Susiripala b4e2b7bd4d Handles the initial popstate event of older version of Safari. (#870) 2017-01-26 01:58:26 +09:00
greenkeeper[bot] f89eaf315c fix(package): update styled-jsx to version 0.5.1 (#879)
https://greenkeeper.io/
2017-01-25 14:56:35 +01:00
Robin Frischmann a418b35e98 Added Fela Example to the CSS-in-JS <details> in README (#878) 2017-01-25 04:13:34 -08:00
Dan Zajdband 3ad3a6c1e7 Added Google AMP example (#793)
* Added Google AMP example

* Added styles and a second page

* Using regular anchor since there is no client-side routing

* Added comment on react config for amp
2017-01-24 05:20:56 -08:00
jagreehal cbb2d1c250 simpler flow task (#857) 2017-01-23 22:19:14 -08:00
Robin Frischmann 8d8d5ebdf6 Example using Fela (#863)
* added example using fela

* update package-json

* removed nested routing test

* fixed linting issues

* fixed typo
2017-01-23 20:29:15 -03:00
Greenkeeper 2390c87cb4 chore(package): update husky to version 0.13.1 (#862) 2017-01-23 13:50:07 +01:00
Naoyuki Kanezawa 8b94534260 Wrap render method created using class properties (2) (#856)
* wrap render method created using class properties

* use Boolean instead of double not-operator

* patch-react: move a comment
2017-01-22 10:11:56 -08:00
Adam Soffer 4b257483e2 Add Apollo example (#780)
* 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
2017-01-22 13:27:06 +01:00
Guillermo Rauch 85cd38f4bd tweak font sizes again 🙈 2017-01-21 18:12:27 -08:00