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

fix(cli): fixes an issue where vendor deps were not found in monorepos #6868

Conversation

binoy14
Copy link
Contributor

@binoy14 binoy14 commented Jun 6, 2024

Description

FIXES SDX-1390

Fixes an issue where the path for vendor package.json did not resolve correctly in monorepos. It also changes the file path to use the package.json's dirname instead of trying to resolve again from the root.

What to review

Changes makes sense

Testing

TODO, probably need a more high level testing of the build command in the perspective of the flag

Notes for release

N/A

Copy link

vercel bot commented Jun 6, 2024

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

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 4:33pm
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 4:33pm
test-compiled-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 4:33pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 4:33pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 4:33pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Jun 10, 2024 4:33pm

Copy link
Contributor Author

binoy14 commented Jun 6, 2024

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

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

Copy link
Contributor

github-actions bot commented Jun 6, 2024

No changes to documentation

Copy link
Contributor

github-actions bot commented Jun 6, 2024

Component Testing Report Updated Jun 10, 2024 4:38 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 36s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 25s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 32s 11 7 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 14s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 9s 3 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 36s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 18s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 5s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 7s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 21s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 14s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 30s 12 0 0

Copy link
Contributor

@ricokahler ricokahler left a comment

Choose a reason for hiding this comment

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

oh this is perfect. i think this will work for all cases.

@binoy14
Copy link
Contributor Author

binoy14 commented Jun 10, 2024

Merged into parent branch

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