Tomek
8cdd539f98
add theme to styled-components example ( #7206 )
2019-05-01 14:26:58 +02:00
JJ Kasper
808f18cd75
Fix firefox bug with detecting instanceof Promise in dynamic ( #7203 )
2019-04-30 17:03:57 -05:00
JJ Kasper
e3f0236887
Make sure Cache-Control header is set when no getInitialProps ( #7202 )
...
* Remove loadGetInitialProps from _app and fix
cache-control header not being
* Update to still use loadGetInitialProps
in _app since it's simpler
* Add test for cache-control header with custom _app
2019-04-30 23:28:25 +02:00
Nimit Aggarwal
182ab2ebf8
Browserstack optimisations ( #7201 )
...
* add local identifier to suppoort parallel runs BrowserStack
Signed-off-by: Nimit <nimitagg95@gmail.com>
* calling driver quit to stop test and then killing binary
Signed-off-by: Nimit <nimitagg95@gmail.com>
* run lint-fix
* standard fixes
Signed-off-by: Nimit <nimitagg95@gmail.com>
2019-04-30 15:22:38 -05:00
JJ Kasper
f861e0da75
Make sure not to require react before NODE_ENV has been set ( #7200 )
...
* Make sure not to require react before
NODE_ENV has been set
* Update to use force kill to make windows happy
2019-04-30 13:11:19 -05:00
Luis Fernando Alvarez D
ab22b58818
Allow _app and _document to be extended with other props ( #7184 )
2019-04-29 11:47:40 -05:00
JJ Kasper
6a5c39deaa
v8.1.1-canary.19
2019-04-28 15:47:26 -05:00
JJ Kasper
ceb60b650a
revert nccing webpack ( #7189 )
2019-04-28 15:35:40 -05:00
JJ Kasper
ab8620d6d6
v8.1.1-canary.18
2019-04-28 14:23:42 -05:00
JJ Kasper
1f39d41bd2
Fix missing webpack buildin ( #7187 )
2019-04-28 14:05:39 -05:00
Natalie Marleny
c826048ad0
Improve contributing guide ( #7186 )
...
- Correct the path to the compiled Next binary
- Code to reveal which pages are avaliable within an example
- Preferred way of testing an external application with a locally compiled Next
- Add markdown code annotations
2019-04-28 20:58:09 +02:00
JJ Kasper
353a08de16
v8.1.1-canary.17
2019-04-28 13:30:37 -05:00
JJ Kasper
84afda6bd1
Update cache-control header when no getInitialProps ( #7185 )
2019-04-28 13:28:59 -05:00
JJ Kasper
dc47c607d7
Make sure to 404 for AMP client bundles in dev mode ( #7183 )
...
* Make sure to 404 for AMP bundle in dev mode
* Add test for non-AMP to AMP navigating in dev mode
2019-04-28 13:08:38 -05:00
Luis Fernando Alvarez D
2eee876630
Add types for getInitialProps ( #7162 )
...
* Added types for pages
2019-04-27 19:00:31 -05:00
Connor Davis
f66546f950
Use ncc to bundle webpack ( #6347 )
2019-04-26 17:24:30 -05:00
Joe Haddad
00e8ba4981
Update Prettier configuration
2019-04-26 14:37:30 -04:00
Joe Haddad
13f6804503
Don't resolve ts|tsx for non-TypeScript users ( #7173 )
...
* Don't resolve ts|tsx for non-TypeScript users
* Add missing prettier file
* Add tsconfig.json file
2019-04-27 01:12:40 +09:00
Joe Haddad
5cc8079946
Run Prettier on webpack configuration ( #7172 )
2019-04-27 00:23:32 +09:00
Joe Haddad
a008b19932
Reduce CircleCI Parallelism ( #7171 )
2019-04-26 22:25:26 +09:00
Joe Haddad
9e8505f0ca
v8.1.1-canary.16
2019-04-26 09:22:15 -04:00
Joe Haddad
265b02f2a9
Purge Terser Cache When Using Flying Shuttle ( #7170 )
2019-04-26 15:08:37 +02:00
Joe Haddad
3daa473e6d
Disable Terser Cache When Using Flying Shuttle ( #7168 )
2019-04-26 21:47:57 +09:00
Tim Neutkens
6f0e795f9b
v8.1.1-canary.15
2019-04-26 09:41:20 +02:00
Luis Fernando Alvarez D
b963863106
Prefer type over interface ( #7164 )
2019-04-26 09:37:57 +02:00
JJ Kasper
5aba5e62fe
Add warning for @zeit/next-typescript ( #7163 )
2019-04-25 15:49:39 -05:00
Luis Fernando Alvarez D
92a58c1a6b
Add missing .d.ts for next/dynamic ( #7158 )
2019-04-25 15:36:04 -05:00
Tim Neutkens
f8eb392fa5
Add types for next/link ( #7160 )
...
* Add types for next/link
* Fix link type errors
* fix router type error
2019-04-25 21:31:53 +02:00
Luis Alvarez
cd0eb34752
v8.1.1-canary.14
2019-04-25 10:56:40 -05:00
Luis Fernando Alvarez D
7dee8d1280
Add types for next/dynamic ( #7157 )
...
* Add types for next/dynamic
* Updated types
* .d.ts files are now included by the taskfile of next-server
2019-04-25 17:51:36 +02:00
Joe Haddad
3d28f7fe1e
v8.1.1-canary.13
2019-04-25 11:21:14 -04:00
Joe Haddad
072bdfbf21
Extra chunks shouldn't deopt Flying Shuttle ( #7156 )
2019-04-26 00:09:57 +09:00
Tim Neutkens
fb14d32701
v8.1.1-canary.12
2019-04-25 14:11:18 +02:00
Tim Neutkens
9ce177f987
Add missing property types for styled-jsx ( #7154 )
2019-04-25 13:51:06 +02:00
Tim Neutkens
78a959bde4
v8.1.1-canary.11
2019-04-25 11:14:51 +02:00
Tim Neutkens
047bcca4bf
Add support for .ts / .tsx import without extension ( #7152 )
2019-04-25 11:14:12 +02:00
JJ Kasper
60af68f782
Update to render directly to body in AMP mode ( #7151 )
2019-04-25 10:14:52 +02:00
JJ Kasper
4fefa2e4f2
Add stale-while-revalidate when no getInitialProps ( #7149 )
...
* Add stale-while-revalidate when no getInitialProps
* Make sure setHeader exists
2019-04-25 10:11:05 +02:00
JJ Kasper
644e958d83
v8.1.1-canary.10
2019-04-24 17:08:40 -05:00
JJ Kasper
3666843e68
Remove type defs for non-ts files and fix wrong import for router in _app ( #7150 )
2019-04-24 17:06:41 -05:00
JJ Kasper
70942050b7
v8.1.1-canary.9
2019-04-24 16:05:58 -05:00
JJ Kasper
92e2f26999
Remove list_dist from debugging ( #7148 )
2019-04-24 16:04:37 -05:00
JJ Kasper
d80aea45ae
v8.1.1-canary.8
2019-04-24 15:44:26 -05:00
JJ Kasper
c0ee49b4fb
Move type generating ( #7147 )
...
* Move types to run on prepublish in each package
* Update circleci to list dist
2019-04-24 15:43:04 -05:00
Connor Davis
463c8435c5
v8.1.1-canary.7
2019-04-24 15:03:21 -05:00
Connor Davis
ef7c22385a
Replace --target serverless with env var ( #7146 )
2019-04-25 04:16:30 +09:00
JJ Kasper
9aced1788e
Move generating types to before deploy ( #7145 )
...
* Move generating types to before deploy
* Indent again
* Re-add type generating to prepublish
2019-04-24 20:41:07 +02:00
Connor Davis
8582366aa5
Add --target serverless flag ( #7141 )
2019-04-24 20:32:15 +02:00
JJ Kasper
b21ebaa8e1
Don't re-use the same page file for error-recovery tests ( #7144 )
...
* Don't re-use the same page file for error-recovery tests
* bump
* bump
2019-04-24 13:19:26 -05:00
Joe Haddad
0c3018c6ce
A webpack bug is preventing us from hashing chunks ( #7142 )
2019-04-25 01:50:29 +09:00