astro/packages
Nate Moore 4412fe61f4
Improve error handling (#3859)
* feat: tag JSX exports with correct renderer

* feat(error): enhance generic errors with frame

* feat(error): surface errors from streaming response

* feat(error): use vite overlay to display errors

* chore: fix build issues

* feat: use custom logger to hide vite errors for known packages

* chore: move error-react-spectrum to e2e test

* chore: add todo comment

* test: fix error overlay handling

* refactor: extract overlay message to util

* test(e2e): update shared component tests

* fix: give error overlay more time

* refactor: move errors tests to e2e

* fix: appease ts

* test: move sass error to e2e tests

* fix: scope optimizeDeps to `src/pages/**/*`

* chore: update lockfile

* chore: update test script

* chore: log error overlay

* chore: log error tests

* chore: update playwright config

* test(e2e): update errors tests

* test(e2e): fix overlay util

* test(e2e): fix test utils

* test(e2e): try timeout

* test(e2e): give up on overlay tests

* fix: typo

* fix: typo

* refactor: collapse definition

* fix: let errors throw

* chore: revert scanner change

* chore: refactor err.plugin handling

* chore: add clarifying comments

* fix: make astro:renderer non enumerable

* chore: update comments

* refactor: replace astro:renderer string with Symbol

* chore: add comment about tagged components

* feat: improve error overlay when hint exists

Co-authored-by: Nate Moore <nate@astro.build>
2022-07-19 16:47:31 -05:00
..
astro Improve error handling (#3859) 2022-07-19 16:47:31 -05:00
astro-prism [ci] release (#3939) 2022-07-18 21:54:25 -07:00
astro-rss [ci] release (#3939) 2022-07-18 21:54:25 -07:00
create-astro Adds back create-astro support for GitHub repos (#3971) 2022-07-19 14:24:19 +00:00
integrations [ci] format 2022-07-19 20:11:53 +00:00
markdown/remark [ci] format 2022-07-19 05:23:28 +00:00
telemetry [ci] release (#3939) 2022-07-18 21:54:25 -07:00
webapi [ci] format 2022-07-18 19:36:57 +00:00