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: scope package resolve logic in monorepo #20

Merged
merged 1 commit into from
Jan 12, 2024
Merged

fix: scope package resolve logic in monorepo #20

merged 1 commit into from
Jan 12, 2024

Conversation

anson09
Copy link
Contributor

@anson09 anson09 commented Jan 12, 2024

When frameworkName is like @ali/egg, globalModuleDir will resolve a result like xxx/@ali/. After that do path.join with frameworkName, we get xxx/@ali/@ali/egg, it's an error path.
So, we need to fix the resolving logic for the scoped package situation

Copy link

vercel bot commented Jan 12, 2024

Someone is attempting to deploy a commit to the no-veronica Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

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

+1

@fengmk2 fengmk2 merged commit f4a47b9 into eggjs:master Jan 12, 2024
2 of 3 checks passed
fengmk2 pushed a commit that referenced this pull request Jan 12, 2024
[skip ci]

## [3.0.1](v3.0.0...v3.0.1) (2024-01-12)

### Bug Fixes

* scope package resolve logic in monorepo ([#20](#20)) ([f4a47b9](f4a47b9))
Copy link

🎉 This PR is included in version 3.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants