Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert MDX errors into issues #8879

Merged
merged 3 commits into from
Jul 31, 2024
Merged

Convert MDX errors into issues #8879

merged 3 commits into from
Jul 31, 2024

Conversation

mischnic
Copy link
Contributor

@mischnic mischnic commented Jul 30, 2024

Trying #8031 again

Depends on #8766

Bildschirmfoto 2024-07-30 um 15 35 48

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2024 10:58am
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2024 10:58am
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Jul 31, 2024 10:58am

@mischnic mischnic changed the title Add MdxIssue Convert MDX errors into issues Jul 30, 2024
Copy link
Contributor

github-actions bot commented Jul 30, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented Jul 30, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

Base automatically changed from mischnic/mdx-sourcetransform to main July 30, 2024 14:49
An error occurred while trying to automatically change base from mischnic/mdx-sourcetransform to main July 30, 2024 14:49
@mischnic mischnic force-pushed the mischnic/pack-2589-mdx-error branch from 5f77174 to 07e46fa Compare July 30, 2024 14:51
@mischnic mischnic force-pushed the mischnic/pack-2589-mdx-error branch from 07e46fa to 15e813f Compare July 31, 2024 07:38
@mischnic mischnic marked this pull request as ready for review July 31, 2024 07:38
@mischnic mischnic requested review from a team as code owners July 31, 2024 07:38
@mischnic mischnic requested review from Zertsov and codybrouwers July 31, 2024 07:38
@sokra sokra merged commit 49c6759 into main Jul 31, 2024
57 of 58 checks passed
@sokra sokra deleted the mischnic/pack-2589-mdx-error branch July 31, 2024 11:27
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 31, 2024
Trying vercel/turborepo#8031 again

~~Depends on vercel/turborepo#8766

<img width="979" alt="Bildschirmfoto 2024-07-30 um 15 35 48"
src="https://github.com/user-attachments/assets/32d88ffc-c816-41fb-928b-79d27e89b56d">

---------

Co-authored-by: 강동윤 (Donny) <[email protected]>
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
* vercel/turborepo#8879 <!-- Niklas Mischkulnig -
Convert MDX errors into issues -->
* vercel/turborepo#8873 <!-- Tobias Koppers -
smarter logical combination that keeps truthy/falsy/nullish property -->
* vercel/turborepo#8890 <!-- Tobias Koppers - Skip
unreachable code when early return can be statically analysed -->
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
Trying vercel/turborepo#8031 again

~~Depends on vercel/turborepo#8766

<img width="979" alt="Bildschirmfoto 2024-07-30 um 15 35 48"
src="https://github.com/user-attachments/assets/32d88ffc-c816-41fb-928b-79d27e89b56d">

---------

Co-authored-by: 강동윤 (Donny) <[email protected]>
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 16, 2024
* vercel/turborepo#8879 <!-- Niklas Mischkulnig -
Convert MDX errors into issues -->
* vercel/turborepo#8873 <!-- Tobias Koppers -
smarter logical combination that keeps truthy/falsy/nullish property -->
* vercel/turborepo#8890 <!-- Tobias Koppers - Skip
unreachable code when early return can be statically analysed -->
mischnic added a commit to vercel/next.js that referenced this pull request Sep 24, 2024
This is of course still not great. Is there a way/will to have
codeframes similar to vercel/turborepo#8879 when
using Webpack?

Before:
```
Error: page.mdx:Error: Message { place: Some(Point(7:1 (87))), reason: "Unexpected end of file in expression, expected a corresponding closing brace for `{`", rule_id: "unexpected-eof", source: "markdown-rs" }

Import trace for requested module:
./app/blog/hello-world/page.mdx
 ⨯ ./app/blog/hello-world/page.mdx
```

After:
```
Error: page.mdx:Error: 7:1: Unexpected end of file in expression, expected a corresponding closing brace for `{` (markdown-rs:unexpected-eof)

Import trace for requested module:
./app/blog/hello-world/page.mdx
 ⨯ ./app/blog/hello-world/page.mdx
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants