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

feature(turborepo): fancy package.json errors #8299

Merged
merged 11 commits into from
Jul 19, 2024

Conversation

NicholasLYang
Copy link
Contributor

@NicholasLYang NicholasLYang commented Jun 4, 2024

Description

More fancy errors! Since we now have span info for package.json files, we can produce errors pointing to locations in package.json.

Testing Instructions

Copy link

vercel bot commented Jun 4, 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 19, 2024 3:49pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2024 3:49pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2024 3:49pm

Copy link
Contributor Author

NicholasLYang commented Jun 4, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NicholasLYang and the rest of your teammates on Graphite Graphite

@NicholasLYang NicholasLYang changed the title Added package.json errors using biome span info feature(turborepo): fancy package.json errors Jun 4, 2024
Copy link
Contributor

github-actions bot commented Jun 4, 2024

🟢 CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Jun 4, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@NicholasLYang NicholasLYang force-pushed the nicholasyang/biome-package-json branch from 5e41591 to b0c8574 Compare June 17, 2024 19:30
@NicholasLYang NicholasLYang force-pushed the nicholasyang/package-json-errors branch from c0fd54d to 2b3d13f Compare June 17, 2024 19:41
@NicholasLYang NicholasLYang force-pushed the nicholasyang/biome-package-json branch 3 times, most recently from 5e25077 to 792c898 Compare June 20, 2024 17:03
Base automatically changed from nicholasyang/biome-package-json to main June 20, 2024 19:18
@NicholasLYang NicholasLYang force-pushed the nicholasyang/package-json-errors branch from 2b3d13f to 009574a Compare June 20, 2024 19:24
@NicholasLYang NicholasLYang marked this pull request as ready for review June 20, 2024 19:25
@NicholasLYang NicholasLYang requested a review from a team as a code owner June 20, 2024 19:25
Copy link
Contributor

@dimitropoulos dimitropoulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much improved! this raised the question of how we want to handle nested package.json errors (i.e. not from the root package.json) which don't take the path of getting these nice errors, but sounds like we'll follow up with that in the future.

@ijjk
Copy link
Member

ijjk commented Jul 19, 2024

Allow CI Workflow Run

  • approve CI run for commit: 653b34e

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@NicholasLYang NicholasLYang merged commit 5a68e3a into main Jul 19, 2024
64 of 65 checks passed
@NicholasLYang NicholasLYang deleted the nicholasyang/package-json-errors branch July 19, 2024 16:33
samcx added a commit to vercel/next.js that referenced this pull request Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants