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
While making any changes to the codebase yarn.lock in multiple sub-directories is changed while setting up the project. Which in turn will come up as a commit in a PR and pollute it.
Elaborate on the discussion topic.
Looking at the scenario I can suggest the following options:
Add all lock files to gitignore so they are not tracked by git in the future.
Enforce all future installations of the codebase to use the same lock file by suggesting devs to use yarn install --frozen-lockfile instead of yarn install for the future setups. [ reference ]
Stakeholders
I think all devs making their contribution for the first time will face this issue.
The text was updated successfully, but these errors were encountered:
What is the context for this discussion?
Elaborate on the discussion topic.
Looking at the scenario I can suggest the following options:
yarn install --frozen-lockfile
instead ofyarn install
for the future setups. [ reference ]Stakeholders
The text was updated successfully, but these errors were encountered: