tag: Node.js

Install private packages with Yarn

Once you have signed up for a Gemfury account and uploaded some npm packages, you can install them with Yarn. Setting up your global configuration To start using your private registry with Yarn, you will need to update your npm config and authenticate using your personal Gemfury credentials: npm config set registry https://npm.fury.io/USERNAME/ npm config set always-auth true npm login It is important to include a trailing slash in the registry URL, otherwise yarn may incorrectly connect to our registry. 

Install private npm modules on Heroku

Once you have signed up for a Gemfury account and uploaded a few packages, you can install packages from your account by switching the registry via your app’s .npmrc configuration. Find out more about Gemfury npm registry. Your npm registry URL This registry URL is the npm endpoint for your Gemfury account and modules: https://npm.fury.io/APPID/ You can also access your account via our blending proxy that, in addition to serving your private packages, will fall back to the public npm index if a named package is not available in your account: 

Installing private npm modules

Once you have signed up for a Gemfury account and uploaded a few npm packages, you can install them via command-line or as package.json dependencies. Setting up your npm registry To start using your npm registry, you will need to update your npm config: npm config set registry https://npm.fury.io/USERNAME/ It is important to include a trailing slash in the registry URL, otherwise npm may incorrectly connect to our registry.