Skip to content

Engineering improve: Use Yarn workspace#1987

Merged
JiuqingSong merged 2 commits intomasterfrom
u/jisong/yarnworkspace
Jul 28, 2023
Merged

Engineering improve: Use Yarn workspace#1987
JiuqingSong merged 2 commits intomasterfrom
u/jisong/yarnworkspace

Conversation

@JiuqingSong
Copy link
Collaborator

Yarn workspaces: https://classic.yarnpkg.com/lang/en/docs/workspaces/

With this change, we can now easily navigate code between files, and imported types from other package won't show error in code editor:

Before change
image

After change
image

When navigate code across packages:
Before change, cannot navigate if build is not performed. And after a build, it will navigate to .d.ts file;
After change, navigate works before and after build, and navigate to correct .ts file

@JiuqingSong JiuqingSong merged commit f39324e into master Jul 28, 2023
@JiuqingSong JiuqingSong deleted the u/jisong/yarnworkspace branch July 28, 2023 15:57
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.

2 participants