Skip to main contentNedix.io

Package manager

Update mismatched packages

npm update --force --all

Generate package-lock.json from yarn.lock

echo "nodeLinker: node-modules" >> .yarnrc.yml \
&& rm -rf node_modules \
&& npm exec yarn \
&& npm exec synp -- --source-file yarn.lock \
&& rm yarn.lock .yarnrc.yml \
&& npm clean-install \
&& npm dedupe --legacy-peer-deps \
&& npm prune --legacy-peer-deps