Uh oh!
There was an error while loading. Please reload this page.
Use npm v7 with workspaces for local development and testing - #11304
Conversation
facebook-github-bot
commented
Aug 11, 2021
Hi @lukekarrys! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
facebook-github-bot
commented
Aug 11, 2021
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
lukekarrys
commented
Aug 18, 2021
merceyz
commented
Aug 23, 2021
Could you elaborate on why this change is necessary? What is gained from this migration compared to what's already in place? |
mrmckeb
commented
Aug 25, 2021
That doesn't answer my questions but alright |
Hey all! I believe there may be an issue with how For example in this e2e build in a recent babel PR we can see the following error (Copied below for ease of reading) cc @lukekarrys edit: apologies just found this fix here babel/babel#13724. Please ignore |
lukekarrys
commented
Sep 2, 2021
@dan-kez Are you using |
lukekarrys
commented
Sep 2, 2021
Also if you're using node 14 in a CI environment, you'll need to manually install npm 7 like I did here: https://github.com/facebook/create-react-app/pull/11304/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721R14-R15 |
dan-kez
commented
Sep 2, 2021
It looks like this was the issue. nicolo-ribaudo fixed this in babel/babel#13724 Thanks for the prompt response and apologies for posting before digging into it further! |
This PR uses npm v7 (with its support of workspaces) for local development and testing. This should only affect local development, and not the generated output from
create-react-app. So if I made changes that do affect the output, it is likely a mistake. 😄Lerna
lernais still being used for changelog generation and publishing. These two tasks could be replaced with individual tools/scripts, now thatnpmis responsible for installing and linking dependencies.