Tim Neutkens
695c8836d4
Upgrade react-hot-loader to beta 23 ( #3843 )
2018-02-19 10:29:10 +01:00
Tim Neutkens
c204cdd91e
Read compiler.context instead of this.context ( #3839 )
2018-02-19 13:19:59 +05:30
Tim Neutkens
7a28922b63
Release 5.0.1-canary.6
2018-02-18 23:09:07 +01:00
Tim Neutkens
5b061ec793
Upgrade styled-jsx ( #3840 )
2018-02-18 23:06:58 +01:00
Alexander Kachkaev
97aef52def
Update tsconfig.json in with-typescript example ( #3837 )
...
Fixes https://github.com/zeit/next.js/pull/3698#issuecomment-366442816
2018-02-18 12:42:22 +01:00
Jan Mühlemann
7a937505f5
update with-react-i18next sample with latest dependencies ( #3835 )
2018-02-18 12:41:40 +01:00
Tim Neutkens
7e756ee5d9
Expose totalPages to the webpack decorator ( #3824 )
2018-02-17 12:37:33 +01:00
thom
07af67bfea
Allow page extensions in any order ( #3827 )
2018-02-17 12:36:47 +01:00
Maik Marschner
9fb8b93ed9
Use indexOf instead of startsWith ( #3758 )
...
* Use indexOf instead of startsWith
This fixes an IE11 regression, see #3755
* Lint the code
2018-02-16 16:05:57 +01:00
Abel Tamayo
69b236b976
Upgrade Firebase and Firebase-Admin ( #3786 )
...
Firebase and Firebase Admin versions are upgraded.
2018-02-16 11:12:57 +01:00
Jay Phelps
bc185878e8
change mergeMap -> map in redux-observable example ( #3794 )
...
Using `mergeMap` with an inner Observable `of` is the same as using `map` by itself, so this is more idiomatic and clear.
2018-02-16 11:01:00 +01:00
djskinner
0e044828ea
Add example of next-plugin composition ( #3800 )
...
* Add example of next-plugin composition
* Add require statements to the example
2018-02-16 10:59:55 +01:00
Ari Leo Frankel
7b975d2156
examples: Add an example for the next-css plugin ( #3739 )
...
- with css modules
- with additional webpack config
- with post css
- without css modules
Fix #3699
2018-02-16 10:59:11 +01:00
AlbertGao
48e6decc2d
Fix #3700 Added examples for next-sass ( #3729 )
...
* #3700 Add examples for next-sass
* #3700 Use React.Fragments and more
* Fix #3700 remove some keys to make more clear
* Fix #3700 , change to without-css-modules
* Replace PageWrapper with _document for more concise code. #3700
2018-02-16 10:51:13 +01:00
Fumihiro Xue
972db9ba43
Fix #3814 ( #3815 )
...
* fix: module name typo
* fix: issue #3814
2018-02-16 10:49:25 +01:00
Kye Hohenberger
523b61569b
with emotion example - hoist styles out of the index page component ( #3821 )
2018-02-16 08:48:21 +01:00
Juan Caicedo
a7741341cb
Fix links for next css ( #3820 )
2018-02-16 08:41:40 +01:00
Arunoda Susiripala
30b0be1aaf
Add a test for reloading the page on page script error with prefetch ( #3811 )
...
* Add a test for reloading the page on page script error with prefetch.
* Click the correct link.
2018-02-15 11:22:11 +01:00
Brent Clark
24d862cd6b
Remove console.log derp ( #3810 )
...
* fix copy pasta issue
* remove console.log derp
* resolve merge conflicts
2018-02-15 11:02:33 +01:00
Jerome Fitzgerald
a0798fd9ad
[chore] react-hot-loader@4.0.0-beta.22 (patch) ( #3808 )
2018-02-14 23:58:44 +01:00
thom
ebe39a63e6
Display errors when using glamor/server in a custom document ( #3804 )
2018-02-14 18:05:02 +01:00
Jerome Fitzgerald
c92bc858f7
[refactor] poweredByHeader ( #3716 ) ( #3807 )
...
This reverts `fb7c862` per @timneutkens
- Removes the errors/*.md associated
- Puts back `poweredByHeader` for `next.config.js`
- Reincorporates test:
X-Powered-By header
✓ should set it by default (3ms)
✓ should not set it when poweredByHeader==false (5ms)
Also tested with `yarn link` and verified.
2018-02-14 18:02:48 +01:00
Tim Neutkens
6ac25b02dc
Release 5.0.1-canary.5
2018-02-14 17:53:14 +01:00
Tim Neutkens
340b49c571
Document pageExtensions
2018-02-14 17:52:11 +01:00
Tim Neutkens
903f15acc4
Make pageExtensions configurable ( #3787 )
...
* Make page require faster
* Add windows search/replace
* Use normalize instead of resolve
* Add remaining tests
* Use sep instead of /
* Add test files
* Make component require faster
* Add console.error
* Make pageExtensions configurable
* Remove resolve.js
* Add test for `.jsx`
* Also resolve `/nav/index` and the likes
* Normalize page paths
* Use config passed off by webpack
2018-02-14 20:50:41 +05:30
Tim Neutkens
64379ee342
Get config from one location ( #3801 )
...
* Remove obsolete clean.js
* Remove unused root-module-relative-path
* Single source of configuration
* Fix next export
2018-02-14 20:47:41 +05:30
David Calhoun
4469bd056c
Fix react-native-web example typo ( #3802 )
2018-02-14 15:34:35 +01:00
Arunoda Susiripala
9a4226c1ec
Add test case for reloading the page on page script error ( #3798 )
...
* Add a test for reloading the page on page script error.
* Add a comment.
2018-02-14 11:13:32 +01:00
Sitian Liu
6de3ff9d78
Remove redux comment ( #3792 )
...
Apollo client 2.0 is no longer implemented with redux
2018-02-13 23:20:22 +01:00
David Calhoun
8b1458af4f
Add with-react-native-web example ( #3781 )
...
* Add with-react-native-web example
Showcase the required work to use
[react-native-web](https://github.com/necolas/react-native-web ) with
Next.js.
* Repair lint warnings
2018-02-13 17:42:31 +01:00
Arunoda Susiripala
fc3b3a4101
Implement proper error handling ( #3749 )
...
* Render error on the client without fetching additional scripts.
* Fix test cases.
* Remove unused '_document' page in ensurePage logic
* Remove console.error when page is not found
2018-02-13 16:13:22 +01:00
Kelly Burke
68f7e20477
Add example to #recipes ( #3789 )
2018-02-13 15:20:54 +01:00
Tim Neutkens
c8da345765
Make page require faster ( #3776 )
...
* Make page require faster
* Add windows search/replace
* Use normalize instead of resolve
* Add remaining tests
* Use sep instead of /
* Add test files
* Make component require faster
* Add console.error
2018-02-13 14:27:52 +01:00
Abel Tamayo
024d0c70ff
Update README.md ( #3784 )
...
Detailed instructions for configuring authentication.
2018-02-13 13:20:16 +01:00
vuldin
74866edc40
fix setInterval usage in mobx examples to work in firefox ( #3769 )
2018-02-12 11:02:05 +01:00
Brent Clark
a8d07af355
use null instead of empty string for coerced className ( #3771 )
2018-02-12 10:10:01 +01:00
Fabrício Matté
e3079187fd
Fix with-redux-saga server rendered clock, fixes #3760 ( #3762 )
...
Also updated the tick interval to one second, the clock works better this way and this is how the with-redux example is currently implemented as well.
2018-02-11 19:55:16 +01:00
Shogun Sea
7d7deca1b3
With redux example clock interval fix ( #3756 )
2018-02-11 13:36:33 +01:00
Zoltan Kochan
5daf3830db
fix: add missing dependency to package.json ( #3753 )
...
webpack-sources is used in code but not declared in package.json
ref https://github.com/pnpm/pnpm/issues/891
2018-02-11 17:39:06 +05:30
Tim Neutkens
53cb345d4c
Don’t quote automatically quoted string
2018-02-09 22:19:08 +01:00
Tim Neutkens
ab43e9efc5
Load pathname correctly
2018-02-09 21:51:57 +01:00
Tim Neutkens
b615564c2a
Release 5.0.1-canary.4
2018-02-09 21:25:37 +01:00
Tim Neutkens
856700d576
Register the right path
2018-02-09 21:24:50 +01:00
Tim Neutkens
90db1c2545
Release 5.0.1-canary.3
2018-02-09 21:00:04 +01:00
Tim Neutkens
9a10461150
Don’t include script that we know is going to error ( #3747 )
...
* Don’t include script that we know is going to error
* Add check to make sure page script is not included
* Loop over script tags, cheerio fails on /
2018-02-09 21:25:45 +05:30
Ángel M
2ba6a9aff7
Fix svg-components example and improve babel example file ( #3746 )
2018-02-09 15:41:09 +01:00
astenmies
b8076a84a0
With DraftJS example ( #3736 )
2018-02-09 09:40:32 +01:00
Tim Teeling
1b473e478d
Fix with-polyfills example for Next 5 ( #3740 )
2018-02-09 09:31:30 +01:00
Yevhen Uzhva
73bf0ab162
[Fix] with-global-stylesheet example ( #3741 )
2018-02-09 09:29:10 +01:00
Tim Neutkens
34670bbd3d
Upgrade react-hot-loader ( #3733 )
2018-02-08 16:05:06 +05:30