You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though the project is organized in mono repo way via yarn workspace, we don't recommend user install the package to their global using yarn global add. It was detailed in #355.
The problem is we only have yarn.lock in the code base without package-lock.json. npm -g install doesn't recognize yarn.lock so when user tries to install our app, there are actually no lockfile used. It caused a lot dependency issues.
I can think of one solution, that we still use yarn and yarn.lock in the code base, but convert yarn.lock to package-lock.json via tools like synp when publishing packages to npmjs.com.
The text was updated successfully, but these errors were encountered:
ianhe8x
changed the title
publish package-lock.json to npmjs.com
Publish package-lock.json to npmjs.com
Sep 18, 2021
Even though the project is organized in mono repo way via yarn workspace, we don't recommend user install the package to their global using
yarn global add
. It was detailed in #355.The problem is we only have yarn.lock in the code base without package-lock.json.
npm -g install
doesn't recognize yarn.lock so when user tries to install our app, there are actually no lockfile used. It caused a lot dependency issues.I can think of one solution, that we still use yarn and yarn.lock in the code base, but convert yarn.lock to package-lock.json via tools like
synp
when publishing packages to npmjs.com.The text was updated successfully, but these errors were encountered: