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

1955 commits

Author SHA1 Message Date
Pavel Prichodko 2ba8ad9760 Add with-google-analytics example (#4036)
* Rename example with-analytics to with-segment-analytics

* Add with-google-analytics example
2018-03-29 17:03:28 +02:00
Tim Neutkens 341c34d4bf Move getConfig message to the line above in readme 2018-03-29 10:19:21 +02:00
Tim Neutkens cfe748d4b5 Add note about getConfig 2018-03-29 10:17:44 +02:00
Luis Fernando Alvarez D 9f4e707682 New example: with-now-env (#4073) 2018-03-29 00:11:40 +02:00
Will Meier 4570f2d050 Update with-apollo examples (#4067)
* Update with-apollo examples to include note about top-level withData HOC

* Update with-apollo examples to include note about top-level withData HOC
2018-03-28 22:30:42 +02:00
Tim Neutkens ebf0c47c25
Upgrade standard.js (#4064)
* Upgrade standard.js

# Conflicts:
#	yarn.lock

* Upgrade babel-eslint
2018-03-27 20:11:03 +02:00
Rasool Dastoori 603b90ce02 Fix loading and rendering GraphQL data on the server in the with-apollo-and-redux example (#4054) 2018-03-25 17:40:25 +02:00
moondef 7cf9199a5f Add alt attributes to examples in readme.md (#4053) 2018-03-25 12:43:36 +02:00
Tim Neutkens 14a16924c5 Make sourcemap paths relative in production 2018-03-23 17:10:23 +01:00
Gianmarco 7bef864a6f Fixes install command in with-absolute-imports example. (#4049)
Fixes installation command for `with-absolute-imports` example.
2018-03-23 14:00:18 +01:00
Tim Neutkens e1a0f18a92 Add note about _document being only server side 2018-03-23 13:50:52 +01:00
Luke Plaster a6af11c6ae Improved with-ant-design example (#4034)
* Improved with-ant-design example

* standardjs fix maybe
2018-03-23 12:52:34 +01:00
Prateek Rastogi 9470b91ba1 migrated from apollo-client-preset to apollo-boost (#4047) 2018-03-23 12:51:58 +01:00
Igor Toporet b13410525a Update readme (do not mention specific version) (#4038)
* Update readme for Next 5

* remove specific version mention
2018-03-23 09:24:42 +01:00
Tim Neutkens 930be2813b 5.0.1-canary.17 2018-03-21 12:17:47 +01:00
Tim Neutkens ac7a23d595
Make sure react and react-dom are bundled to main.js in development (#4039)
Signed-off-by: Tim Neutkens <timneutkens@me.com>
2018-03-21 12:16:44 +01:00
Arunoda Susiripala 1844a09023 Remove the default HMR error overlay (#4020)
This is supplied by webpack-hot-middleware.
I also added a test case to prevent this from popping up again.
2018-03-17 11:59:46 +01:00
Leo Lamprecht 17db533be5 Fixed deployment token (#4019) 2018-03-16 17:15:14 +01:00
Tim Neutkens b52ae3bb23 5.0.1-canary.16 2018-03-16 12:00:42 +01:00
Shaleen Jain cd1d9e0c35 with-apollo: Improve lib/withData (#3973)
* pass down getInitialProps ctx to ComposedComponent
* pass apollo client instance directly to getDataFromTree instead of through the ApolloProvider wrapper.
* Avoid redundant empty serverState initialization (It's always initialized)
2018-03-16 11:52:30 +01:00
Tomáš Witek c73f7d6ace Unlink only pages bundle in dev env (#4015)
* Unlink only pages bundle in dev env

* Use IS_BUNDLED_PAGE regexp for unlink file plugin
2018-03-15 22:04:17 +05:30
Jeffrey Young f0308687c1 fix mistake in docs (#4013) 2018-03-15 10:30:29 +05:30
James Hegedus b1d8b839dd Examples: use npx and yarn create to run create-next-app on examples (#4002)
* remove global npm install of create-next-app

* add npx to create-next-app command in examples

* add bash to shell snippets

* add yarn create to next-app command in examples

* fix READMEs named with lowercase

* change READMEs to use UPPERCASE
2018-03-14 09:09:46 +01:00
Wagner Camarao 0eb5bab452 Fix a/b typo in custom-server-typescript routing (#4003) 2018-03-14 09:06:53 +01:00
Oscar Martinez eff27bdcfb Allow etags to be disabled with config option (#3915)
* Allow etags to be disabled with config option

- CR Change: Rename option to generateEtags
- CR Change: Add tests for etag generation
- CR Change: Refactor to use next.config.js
- Update documentation

* Use renderOpts instead of passing nextConfig
2018-03-13 14:18:59 +01:00
Tim Neutkens c5bd36e373 5.0.1-canary.15 2018-03-12 18:51:28 +01:00
Tim Neutkens 96dd757f00 Upgrade styled-jsx 2018-03-12 18:50:23 +01:00
PetrSnobelt d391c2a040 Presets should be array (#3996) 2018-03-12 17:30:28 +01:00
Leo Lamprecht b02e5849e9 Show only Spectrum link 2018-03-10 20:34:07 -08:00
Anton Egorov 2d7ba7f489 Remove error handling from custom-server-koa's server example (#3982)
Koa's `listeningListener` callback is invoked with no arguments according to the Koa's type definitions, hence error handling is extraneous.
2018-03-10 12:22:40 +01:00
Tim Neutkens 6e31583d01 5.0.1-canary.14 2018-03-09 17:14:55 +01:00
Tim Neutkens 7e9f4f9327
Only show 404 when the page does not exist (#3976)
* Only show 404 when the page does not exist

* Do async filesystem check
2018-03-09 17:14:30 +01:00
Tomas Roos 4757836a67 Expose manifest.js.map during development (#3975) 2018-03-09 12:23:21 +01:00
Saro Vindigni d3518242a6 FIX deploy with-firebase-hosting (#3946)
* FIX deploy with-firebase-hosting

* add npm run command in place of yarn in firebase.json predeploy hooks

* Change yarn with npm

* firebase-hosting example: Add warning in examples README

* firebase-hosting example: clarify warning language

* firebase-hosting example: remove the warning and upgrade to canary

* firebase-hosting example: actually upgrade pkg.json
2018-03-08 13:54:32 +01:00
Tim Neutkens 2abcfec110 5.0.1-canary.13 2018-03-08 11:49:54 +01:00
Tomas Roos 40d926d794 Expose main.js.map (#3969) 2018-03-08 11:49:25 +01:00
Tim Neutkens ae07cbae09 5.0.1-canary.12 2018-03-08 09:53:42 +01:00
Tim Neutkens 521b722aa2 Enable conditionals and evaluate uglify 2018-03-08 09:52:40 +01:00
Tim Neutkens b0cdc1368e
Remove unused dependencies (#3962) 2018-03-07 09:31:24 +01:00
Alexander Kachkaev d5ce7aa3ca Update debug flag in with-react-i18next example (#3964)
Do not set it to true in production
2018-03-07 09:31:03 +01:00
Alexander Kachkaev 2e641e9e8c Use separate tsconfig for server in custom-server-typescript example (#3963) 2018-03-07 09:13:12 +01:00
Tim Neutkens 5bb9fa67b1
Upgrade react-hot-loader (#3961) 2018-03-07 09:10:41 +01:00
Alexander Kachkaev 8bd81f6a68 Split exports in with-react-18next example to avoid ambiguity (#3959)
See context in https://github.com/i18next/react-i18next/issues/397
2018-03-07 08:42:14 +01:00
Jimmy Moon 84493a67b3 Update readme.md (#3957)
Update readme for scroll props related to #3950
2018-03-07 08:38:11 +01:00
Tim Neutkens dac6e9c17d 5.0.1-canary.11 2018-03-06 21:39:36 +01:00
Tim Neutkens 503f4a3b24 Upgrade @zeit/check-updates 2018-03-06 21:28:10 +01:00
Robin Frischmann 6f0914c788 FIX #3757 update Fela example for Next 5 (#3949)
* #3757 update Fela for Next 5

closes #3757

* add missing props passdown
2018-03-06 14:27:47 +01:00
Ondrej Maksi 359e25af13 extendable with-redux example (#3947)
* copied with-redux -> with-redux-wrapper, changed links in readme

* added simplified redux wrapper

* removed next-redux-wrapper dep

* changed imports to local wrapper

* changed readme to reflect changes
2018-03-06 13:34:28 +01:00
Jeremy Stucki edfd44c3ca Add EventSource polyfill to hot-middleware-client (#3945)
* Move security related test cases into a its own file.

* Removes the unused renderScript function

* Add a nerv example. (#3573)

* Add a nerv example.

* Fix for indentation/style

* Fix for name

* Release 5.0.0

* Add multi-zones docs. (#3688)

* with emotion example - hoist styles out of the index page component (#3821)

* Use indexOf instead of startsWith (#3758)

* Use indexOf instead of startsWith

This fixes an IE11 regression, see #3755

* Lint the code

* Add event-source-polyfill

Fixes an issue where the dev server crashes in IE11.
2018-03-06 17:25:03 +05:30
Tomas Roos 76582b8e43 Enable source maps in webpack chunking + bundling process (#3793)
* Removed combine-assets-plugin, since its very broken

* Bundle everything into app.js on production build

* Clean up

* Removed app.js from server routes

* Renamed app.js -> main.js and removed commons from loading

* Remove commons and react CommonChunks

* Removed the commons route

* Killing the entire build-stats hack for app.js

* Removed unused md5-file package
2018-03-06 10:45:29 +01:00