JJ Kasper
e61c1952c8
Add test for invalid ref in Link ( #7266 )
2019-05-06 15:14:29 -05:00
JJ Kasper
b97a47d273
Fix attempting to observe non-DOM refs in Link ( #7249 )
...
handleRef isn't called with valid DOM node
2019-05-06 15:44:18 +02:00
Luis Fernando Alvarez D
3a5c1ebe04
Add docs to public ( #7239 )
...
* New example: public-file-serving
* Updated sitemap-and-robots examples
2019-05-06 15:42:54 +02:00
Joe Haddad
948948f6be
Fix application output ( #7264 )
2019-05-06 15:22:54 +02:00
JJ Kasper
cd4e2a2214
Update to latest version of browserstack-local ( #7236 )
2019-05-06 15:16:21 +02:00
Lukáš Huvar
5ac54d7afb
Remove reload and use only location.reload ( #7257 )
2019-05-05 15:22:02 -05:00
JJ Kasper
a243bc435c
Make sure to update asPath on hashOnlyChange to ( #7255 )
...
prevent getInitialProps from firing when it shouldn't
2019-05-05 14:34:33 -05:00
JJ Kasper
c421c259ec
Fix webpack fetch error ( #7253 )
...
* Add devtool to AutoDllPlugin to prevent
react-error-overlay from attempting to
fetch webpack://
* Fix map file being added as script
2019-05-05 13:03:13 +02:00
Anthony Mittaz
7f471a4463
Tweak ReasonML example ( #7254 )
...
* Lock bs-platform to 5.0.3 (avoiding issues with reason language server)
https://github.com/jaredly/reason-language-server/issues/275
* Reformat code
* Ask bucklescript to use es6 instead of commonjs
* Rework getInitialProps (can now use a promise)
* Ignore .bsb.lock
2019-05-05 13:02:27 +02:00
JJ Kasper
59039cfc22
Fix default meta tag being added in AMP mode ( #7248 )
2019-05-04 11:46:50 -05:00
Cory Sherman
e2535575d2
update webpack to 4.30.0 ( #7238 )
...
* update webpack to 4.30.0
* update yarn.lock for webpack 4.30.0
2019-05-04 14:11:41 +02:00
JJ Kasper
0c639d94e7
v8.1.1-canary.24
2019-05-03 13:55:33 -05:00
Luis Fernando Alvarez D
74771bc5e4
Add support for /public ( #7213 )
2019-05-03 11:57:47 -05:00
JJ Kasper
9d936f3ab8
v8.1.1-canary.23
2019-05-03 09:51:40 -05:00
JJ Kasper
adbc1a8857
Remove unnecessary type from LinkProps ( #7233 )
2019-05-03 09:50:34 -05:00
JJ Kasper
a3ec7ca914
v8.1.1-canary.22
2019-05-02 17:21:49 -05:00
JJ Kasper
75203eb8d2
Fix missing injectCaller ( #7223 )
2019-05-02 17:20:27 -05:00
Joe Haddad
13c55a19cb
v8.1.1-canary.21
2019-05-02 16:38:51 -04:00
JJ Kasper
8b92b8b7ce
Clear stale files from Next.js' babel-loader cache ( #7221 )
...
* Move babel-loader into next all the way converting
it to TypeScript and added tracking of babel-loader
cache so we can clear previous files
* Add license from babel-loader
* Apply suggestions from code review
Co-Authored-By: ijjk <jj@jjsweb.site>
* Make sure to catch errors in next-babel-loader
2019-05-02 16:30:41 -04:00
JJ Kasper
064be18039
v8.1.1-canary.20
2019-05-01 15:34:24 -05:00
JJ Kasper
2e8088e447
Add stats to build tree ( #7194 )
...
* Copy pretty-bytes instead of installing
2019-05-01 15:31:08 -05:00
JJ Kasper
445d3f0a33
Make sure next-head class isn't added to title ( #7214 )
...
* Prevent next-head class from being added to title
* Add test for title updating when navigating with next/link
2019-05-01 21:36:24 +02:00
Keanu Lee
d0ca9c9eb5
Clean up code/testing artifacts from #7014 ( #7211 )
2019-05-01 13:56:35 -05:00
Keanu Lee
d120f14d1c
Use modern syntax in Next client code (e.g. async await) ( #7014 )
...
* Use async/await in build output
* Run next client libraries through plugin-transform-modules-commonjs
* Fix missing includes
2019-05-01 19:16:52 +02:00
Steven
6d02a9b6fa
Create CODE_OF_CONDUCT.md ( #7207 )
2019-05-01 16:51:23 +02:00
JJ Kasper
2776dc731c
Use intersection observer to preload in viewport ( #7196 )
...
* Use intersection observer to preload
links that are in viewport
* Clean up names
* Check for window before returning observer
* update check for IntersectionObserver
* Remove duplicate IntersectionObserver checks
* Add test for prefetching links in viewport
2019-05-01 15:14:27 +02:00
JJ Kasper
a7d3be61ed
Fix wrong task name on watch for next/export files ( #7204 )
2019-05-01 14:27:50 +02:00
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