Commit graph

6127 commits

Author SHA1 Message Date
Joe Haddad
1a8ad5a723
[Fast Refresh] Do not draw eye to collapsed frames (#12673) 2020-05-09 18:37:24 -04:00
Joe Haddad
1c555f6759
[Fast Refresh] Resize Arrows and Preserve Newlines (#12672) 2020-05-09 18:37:13 -04:00
Joe Haddad
f54e05f776
[Fast Refresh] Reorder Loaders (#12671) 2020-05-09 18:37:04 -04:00
JJ Kasper
92edfb953d
Cont. Update performance relayer and remove unstable prefix (#12665)
* updates relayer, uses web-vital lib, removes fid polyfill and removes unstable prefix from relayer

* simplify logic, fix null check

* update docs

* Update tests

* Rename relayWebVitals to reportWebVitals

Co-authored-by: housseindjirdeh <houssein@google.com>
2020-05-09 21:48:52 +02:00
JJ Kasper
ff486914e2
Disable experimental pageEnv stub by default (#12644) 2020-05-09 17:27:35 +02:00
Shu Uesugi
cc139b8d89
More renaming ZEIT → Vercel (#12649) 2020-05-09 17:21:53 +02:00
Simon Knott
be02fe183f
Allow @babel/preset-typescript to be configured (#11840)
* Allow `@babel/preset-typescript` to be configured

Some usages, e.g. [getting parameter decorators to work properly](https://github.com/WarnerHooh/babel-plugin-parameter-decorator/pull/19), require configuring `@babel/preset-typescript`.

This commit adds that functionality to `next/babel`.

* Add unit test for babel/preset allowing to pass options to @babel/preset-typescript

* Add integration test for onlyRemoveTypeImports

* Update babel dependencies

* Update to compatible typescript version and fix types

* Fix linting and run pre-nccing

* Update size-limit test

* Add additional tests

* Re-Apply delta to be calculated using -262

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-09 17:12:02 +02:00
Joe Haddad
56633ed6be
[Fast Refresh] Overlay hash must consider stack (#12639) 2020-05-08 12:09:45 -04:00
Luis Alvarez D
5d70b2a06f
[Examples] Update data-fetch example (#12617) 2020-05-08 11:53:47 -04:00
Joe Haddad
7a02581159
v9.3.7-canary.16 2020-05-08 10:29:37 -04:00
Joe Haddad
6627f57b59
[Fast Refresh] Upgrade react-refresh for SC (#12627) 2020-05-08 10:28:51 -04:00
Justin
547bf460f0
Context types for getStaticProps and getServerSideProps (#12606) 2020-05-08 10:27:46 -04:00
Joe Haddad
8d024554a7
v9.3.7-canary.15 2020-05-08 01:00:00 -04:00
Joe Haddad
9b35ca8adc
[Fast Refresh] Adjust Overlay Styling (#12623) 2020-05-08 00:58:58 -04:00
Joe Haddad
2fa3edccc9
Clarify dismissal message (#12624) 2020-05-08 00:29:41 -04:00
Joe Haddad
d5d3c60489
Fix error toast pluralization (#12622) 2020-05-08 00:29:25 -04:00
liwenzhi
4a8b896122
[Examples]: With react bootstrap (#12421)
* add new example with-react-bootstrap

* use vanilla react-bootstrap components to implement index page

* clear unnecessary comments

* remove private property in package.json

* Updates

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 17:13:59 -05:00
Ty Mick
a7b0e8a786
Fix DatePicker Day.js bug in Ant Design example (#12580)
* Fix DatePicker Day.js bug in Ant Design example

* Lint fix

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 16:29:42 -05:00
JJ Kasper
d37891a921
Update to latest version of stacktrace-parser (#12597) 2020-05-07 08:26:15 -05:00
Pablo Saez
dac715e8f7
Add flag to disable API warning (#11380)
* Add flag to disable API warning

This flag is useful when you are using an external API resolver like express when defining an API route, since the native functionality doesn't realize that the API actually sent a response.

A very simple use case example https://github.com/PabloSzx/next-external-api-resolver-example

fixes #10589

* Update api-middlewares.md

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-07 14:05:41 +02:00
Juan Silupu Maza
63bfbfff54
Add cross-env package (#12581)
* add notes

* add cross-env package, for stability in different SO

* fix: move cross-env package from Dependencies at devDependicies
2020-05-07 11:16:36 +02:00
Joe Haddad
9c1c551eeb
v9.3.7-canary.14 2020-05-07 01:36:27 -04:00
Janicklas Ralph
5ad512b138
Experimental: New ESLint Plugin (#11986) 2020-05-07 01:36:01 -04:00
Joe Haddad
a795e48be1
v9.3.7-canary.13 2020-05-07 00:51:18 -04:00
JJ Kasper
d77bd94486
Fix moduleId not resolving correctly on Windows (#12584) 2020-05-06 22:17:03 -04:00
JJ Kasper
13c9439973
Update to run tests in headless mode on Azure (#12574) 2020-05-06 19:21:31 -04:00
Max Schmitt
71a5b5803e
example: added Ant Design Pro Layout less (#12408) 2020-05-06 18:00:48 -05:00
Rafael Almeida
695b26ce57
Export NextApiRequest type as interface (#12186) 2020-05-06 17:04:24 -05:00
Joe Haddad
00c64d08f9
[Fast Refresh] Add more test cases (#12568) 2020-05-06 15:37:21 -04:00
AlexanderVishnevsky
960368eed5
Resolve bug with Prismic Locales (#12132)
* Resolve bug with Prismic Locales

add configuration for not default locale

* Resolve bug with Prismic Locales

Add configuration for Prismic locale.
More information about bug:

* Fixes and removed unrequired changes

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-05-06 13:30:23 -05:00
Joe Haddad
e954927323
[Fast Refresh] Separate LogBox Tests (#12564) 2020-05-06 13:40:21 -04:00
Joe Haddad
d6b61d3057
[Fast Refresh] Toggling of Collapsed Frames (#12560) 2020-05-06 12:39:48 -04:00
Sebastian Benz
5dfb2e40d1
Update AMP dependencies (#12536) 2020-05-06 10:18:18 -04:00
Lachlan Campbell
0ef60f11b2
Mention nesting in arrays alongside Fragments in next/head docs (#12420)
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-05-06 11:34:23 +02:00
Jiachi
1fdadbb18b
fix: hello world missing default exports (#12551) 2020-05-06 11:33:41 +02:00
Matthias Lorthiois
c81cabeae8
Update blog-starter to use Tailwind CSS v1.4's new built-in purge option (#12452) 2020-05-06 11:27:21 +02:00
Tim Neutkens
94651a85eb
Add documentation for TypeScript baseUrl and paths option (#12379)
* Add documentation for TypeScript baseUrl and paths option

* Update module-path-aliases.md

* Update manifest.json
2020-05-06 10:56:06 +02:00
Maël Nison
a7bf8c211d
Adds missing deps (#12519) 2020-05-06 10:33:06 +02:00
Joe Haddad
177b016e76
v9.3.7-canary.12 2020-05-06 01:05:24 -04:00
Joe Haddad
e173967b9f
[Fast Refresh] New Compile Error Overlay (#12543) 2020-05-05 23:46:07 -04:00
Austin Humes
ab78111781
Update dynamic-import.md (#12541) 2020-05-05 23:36:41 -04:00
Gerald Monaco
2d37887260
Don't add .amp to pathname (#12528) 2020-05-05 17:45:44 -04:00
JJ Kasper
b72d9fa41d
Update tests to poll for output instead of wait for it (#12534) 2020-05-05 15:19:07 -05:00
Joe Haddad
8fd7338f77
v9.3.7-canary.11 2020-05-05 12:01:06 -04:00
Joe Haddad
b82df02e63
[Fast Refresh] Fix overlay display on Safari (#12523) 2020-05-05 12:00:40 -04:00
Joe Haddad
48140d5bb7
Disable Comment Extraction (#12496) 2020-05-05 11:39:36 -04:00
Joe Haddad
f024814057
[Fast Refresh] Correctly Trap Focus in Overlay (#12502)
* [Fast Refresh] Correctly Trap Focus in Overlay

* Adjust escape behavior to be more correct

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-05 11:05:40 -04:00
Joe Haddad
a05b636b02
[Fast Refresh] Better Tabbing Order (#12503) 2020-05-05 11:05:25 -04:00
Joe Haddad
adb14c9556
Disable cache warning on supported platforms (#12495) 2020-05-05 11:04:57 -04:00
JJ Kasper
467b65a889
Add note about HoC possibly adding GIP to _app (#12491) 2020-05-05 00:11:25 -04:00