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(developer): adds utility script to facilitate Developer-build Lerna compatibility #3098

Conversation

jahorton
Copy link
Contributor

@jahorton jahorton commented May 7, 2020

NOTE: This is intended as a patch-PR for an issue noted in #3071. Feel free to automatically approve + merge it at any point if the patch seems acceptable.

Now that we're transitioning toward use of lerna for NPM dependency installs, our build scripts no longer manually create npm links. This affects the build script for Developer, npm install would attempt to install now-listed dependencies that aren't actually npm published and/or are not yet published (eg: test builds).

Since npm install ignores any packages that would install over npm link sites, simply preserving the npm links across a node_modules folder wipe keeps the Developer script happy. It just takes a bit of work to actually auto-detect and preserve them.

@jahorton jahorton added this to the P10S6 milestone May 7, 2020
@jahorton jahorton changed the title fix(developer): adds utility script to faciliate Developer-build Lerna compatibility fix(developer): adds utility script to facilitate Developer-build Lerna compatibility May 8, 2020
@mcdurdin mcdurdin modified the milestones: P10S6, P10S7 May 18, 2020
@jahorton
Copy link
Contributor Author

While not yet merged, we've decided to move ahead with the approach of #3119. Closing this PR now in favor of that one.

@jahorton jahorton closed this May 18, 2020
@jahorton jahorton deleted the feat/common/package-clean-script branch May 18, 2020 06:53
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.

2 participants