Skip to content

fix: scope package resolve logic in monorepo#20

Merged
fengmk2 merged 1 commit intoeggjs:masterfrom
anson09:master
Jan 12, 2024
Merged

fix: scope package resolve logic in monorepo#20
fengmk2 merged 1 commit intoeggjs:masterfrom
anson09:master

Conversation

@anson09
Copy link
Copy Markdown
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

@vercel
Copy link
Copy Markdown

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
Copy Markdown
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
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))
@github-actions
Copy link
Copy Markdown

🎉 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