npm ls selfsignednpm cache clean --forceyarn cache clean~ means accept newer patch versions^ means accept newer minor versionshttps://yarnpkg.com/lang/en/docs/cli/init/
$ yarn init package-name
https://yarnpkg.com/lang/en/docs/cli/add/
{
"dependencies": {
"foo": "file:../path/to/foo"
}
}
$ yarn add user/repo#branch
https://docs.npmjs.com/cli/publish
$ npm publish
yarn link - https://yarnpkg.com/lang/en/docs/cli/link/ - does not work in Metro Bundleryalc for React Native CLI and Expo - https://github.com/whitecolor/yalcLook in node_modules
When you have a transitive dependency that you want to force to update without updating anything else in the lockfile, use the resolutions field in package.json:
"resolutions": {
"fsevents": "1.2.13"
}
(NOTE: this may only be valid with yarn, not npm)