I have a local nexus server, I\'d like yarn to look through it before going online, basically prefer-offline
prefer-offline
yarn install --prefer-offline --cache-fol
Heads up!
If you define your publishConfig.registry in package.json:
publishConfig.registry
package.json
"publishConfig": { "registry": "https://registry.npmjs.org" },
It will still override registry, even if --registry param was given to yarn publish!
--registry
yarn publish