Muhaimin CS
e892898dfe
Update with-redux-code-splitting example (patch) ( #5252 )
2018-09-22 14:14:40 +02:00
Iago Bruno
b68b705446
Just some simple improvements in formatting codes in documentation ( #5250 )
...
I think it looks better for new people in JavaScript/React (and for my perfectionism 😄 ).
2018-09-22 14:13:27 +02:00
Arek Mytych
2304300d68
Update GrpahQL dependencies ( #5242 )
...
Fixes the example with next.js@7
Fixes #5238
2018-09-21 11:49:24 +02:00
Alessandro
a39ce550e4
FIX #5234 ( #5235 )
...
FIX https://github.com/zeit/next.js/issues/5234
It simply needed to update dependencies
2018-09-20 21:09:29 +02:00
Tim Neutkens
8d649d1b4b
Upgrade next plugins to the latest version in examples
2018-09-20 16:04:32 +02:00
Eugene
648e07f187
Update with-mobx example ( #5229 )
...
Update to new @babel/plugin-proposal-decorators, @babel/plugin-proposal-class-properties plugins version.
2018-09-20 14:29:57 +02:00
Yuri Yakovlev
2d763e08a8
Remove useless link tag in the head of Ant design example ( #5227 )
2018-09-20 13:26:11 +02:00
Damian Stasik
758ad9ce84
Remove Fragment from Main component ( #5222 )
...
Since `__next-error` is no longer necessary, there is no need to wrap the `__next` div in `Fragment`.
2018-09-20 11:38:33 +02:00
Ian Mitchell
0e4d2a15a7
Fix Example Deploy Links ( #5216 )
2018-09-20 11:32:16 +02:00
Julien Bouquillon
cfcff160de
doc: fix deploy link ( #5223 )
2018-09-20 11:30:23 +02:00
Tim Neutkens
a616656f19
Upgrade @zeit/next-sass
...
Fixes #5210
2018-09-20 00:43:57 +02:00
Tim Neutkens
3a059688a8
7.0.0
2018-09-19 18:17:06 +02:00
Tim Neutkens
b6c8d2a4ac
Merge branch 'canary'
...
# Conflicts:
# package.json
2018-09-19 18:15:57 +02:00
Henrik Wenz
8e9b84bf2a
Keep warnings when process.env.NODE_ENV is not production ( #5196 )
...
This way the warnings will work in test mode. (`process.env.NODE_ENV === „test“`)
2018-09-18 20:17:35 +02:00
Tim Neutkens
ee3a73f80b
Add WebAssembly example
2018-09-17 21:48:06 +02:00
Tim Neutkens
200ba0de4e
7.0.0-canary.20
2018-09-17 15:59:34 +02:00
Tim Neutkens
10a9178e32
Make sure react always ends up in the commons bundle ( #5192 )
...
Fixes an edge case where some library imports react-dom by itself, like react-spring.
2018-09-17 15:57:28 +02:00
Tim Neutkens
14c07f059e
7.0.0-canary.19
2018-09-17 13:48:52 +02:00
Tim Neutkens
a912a4d9dd
Make initial HTML smaller ( #5183 )
2018-09-17 13:19:19 +02:00
Stephen Sauceda
e2d331dbcc
add mocha example ( #5182 )
...
Adding an example of testing with Mocha
#4767
2018-09-17 00:12:39 +02:00
Tim Neutkens
35c2103e57
7.0.0-canary.18
2018-09-16 18:11:03 +02:00
Tim Neutkens
3dae7cf9a6
Fix test intermittently failing
2018-09-16 18:05:36 +02:00
Tim Neutkens
249d4be6d6
Clear node_modules/.cache before saving node_modules on travis
2018-09-16 17:31:36 +02:00
Tim Neutkens
d3f57fb215
7.0.0-canary.17
2018-09-16 17:03:34 +02:00
Tim Neutkens
b475e619b9
Implement hard-source-webpack-plugin ( #5181 )
...
Follow-up of #5176
Closes #5173 as it led to inconsistencies in DX.
2018-09-16 17:02:32 +02:00
Tim Neutkens
459c1c13d0
Improvements to on-demand-entries ( #5176 )
...
First wave of changes. Just landing this first so that there is a base to build on.
2018-09-16 16:06:02 +02:00
René Keller
864ea5d0a1
Remove reference to ./css.js from npm files list ( #5179 )
...
./css.js has been removed with [e093441
](e093441bad (diff-b9cfc7f2cdf78a7f4b91a753d10865a2)
)
2018-09-16 13:20:28 +02:00
Tim Neutkens
e763a60840
Don’t read package.scripts if there’s no scripts defined ( #5168 )
2018-09-14 22:44:17 +02:00
Henrik Wenz
34cb05a860
Remove obsolete webpack plugins ( #5158 )
...
Since we are now using webpacks `mode` flag we can get rid of:
* `webpack.optimize.ModuleConcatenationPlugin`
* `webpack.DefinePlugin` (`process.env.NODE_ENV`)
https://webpack.js.org/concepts/mode/
2018-09-14 15:45:48 +02:00
maurodaprotis
1f64082c03
Add with-context-api example ( #5154 )
...
* Add with-context-api example
* Change next dependency to canary and fix CounterProvider import
2018-09-14 12:04:29 +02:00
Tim Neutkens
695f372da9
Compile away next/link proptypes in production ( #5155 )
...
This saves 7KB as prop-types-exact is not needed in production.
2018-09-14 11:34:08 +02:00
Rafael Almeida
5d147a82c4
Update with-ant-design example ( #5141 )
...
There is no need to wrap every page with a component when you can use the custom document.
2018-09-12 17:24:37 +02:00
Marcelo Zapaia
ae7e53239a
FIX with-apollo-auth example token access ( #4771 )
...
in some cases access to the token doesn't work in client side. this access to the token once in getInitialProps method and pass it down using props
2018-09-12 17:19:32 +02:00
Henri
b79bbecb13
Add react-jss example ( #5140 )
...
Added a clear example on how to use react-jss with injecting the styles on the server.
cssinjs/jss#457
2018-09-12 15:49:54 +02:00
Tim Neutkens
c2a7766a05
Remove code that is no longer in use ( #5147 )
...
* Remove handleBuildId as it’s being handled in the static files route
* Remove dead code
2018-09-12 15:33:52 +02:00
Tim Neutkens
344d770a28
Upgrade with-jest dependencies ( #5149 )
2018-09-12 15:29:17 +02:00
Lin Qiu
3f650e1549
Update 404 static cache header to not cache ( #5146 )
2018-09-12 14:44:15 +02:00
Tim Neutkens
873ac5dba8
Add test for cache-control in development
2018-09-12 14:42:50 +02:00
Tim Neutkens
12c0c9fd40
7.0.0-canary.16
2018-09-11 20:05:36 +02:00
Tim Neutkens
3582496913
Trigger page register when module is executed ( #5115 )
...
Solves inconsistent loading issues when one bundle is loaded faster than the other
Fixes zeit/next-plugins#244
Fixes #4997
Fixes #4620
2018-09-11 20:03:20 +02:00
Kyle Holmberg
f85a0bd550
Update next.config in with-webpack-bundle-analyzer example to avoid issue with Next.js in CI ( #5135 )
...
See: https://spectrum.chat/thread/030243b0-7ebf-434c-8e02-5f54ea30f3b6
Build works now 💃
2018-09-10 12:00:45 +02:00
Tim Neutkens
b5003ffb8b
7.0.0-canary.15
2018-09-09 22:34:48 +02:00
Tim Neutkens
3ece48b603
Make exportPathMap / _next routes work with useFileSystemPublicRoutes disabled ( #5131 )
...
* Add test for /_next/development route
* Make sure useFileSystemPublicRoute: false only disables filesystem routing
* Bring back comment
* Add useFileSystemPublicRoutes tests
2018-09-09 22:32:23 +02:00
Tim Neutkens
d21603707e
Set cwd on babel-loader ( #5127 )
...
Fixes #5125
I'm not sure if this is a bug in babel-loader / babel-core or not. But this will at least temporary fix it till I hear back from @loganfsmyth 🙏
2018-09-09 01:10:47 +02:00
Tim Neutkens
fd67f22b65
7.0.0-canary.14
2018-09-07 14:43:44 +02:00
Tim Neutkens
8d304ed7ef
Make non-existent routes under /_next
return 404 ( #5120 )
...
Fixes #5114
Also adds a test for it.
2018-09-07 14:38:01 +02:00
Tim Neutkens
932e72b965
6.1.2
2018-09-07 12:13:18 +02:00
Evan Jacobs
33692a5678
update hoist-non-react-statics ( #5116 )
...
you folks should really use semver ranges, but since greenkeeper
is no longer running for this branch things have fallen behind
in particular, there seems to be an incompatibility with multiple
v2.x versions of this package in the same bundle as displayed here:
https://github.com/styled-components/styled-components/issues/1972
When I force resolution to a particular h-n-r-s version, the issue
goes away. This is true for both next 6 and next 7 canary.
But really you folks should use semver carets instead of pinning.
2018-09-07 12:11:45 +02:00
Evan Jacobs
7c0de2c397
update hoist-non-react-statics ( #5117 )
...
you folks should really use semver ranges, but since greenkeeper
is no longer running for this branch things have fallen behind
in particular, there seems to be an incompatibility with multiple
v2.x versions of this package in the same bundle as displayed here:
styled-components/styled-components#1972
When I force resolution to a particular h-n-r-s version, the issue
goes away. This is true for both next 6 and next 7 canary.
2018-09-07 12:11:25 +02:00
Julia Qiu
a9b1383b5d
Fix @babel/env modules config ( #5119 )
...
Probably an oversight but currently env preset's `modules` option always evaluates to 'auto'. We probably want it to be set to false, especially in prod, to have Webpack handle modules natively.
2018-09-07 11:42:10 +02:00