🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

create-artifactory-access-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-artifactory-access-config

Adds proper access configuration to your global .yarnrc.yml config file for usage of Artifactory.

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
5.4K
-9.06%
Maintainers
1
Weekly downloads
 
Created
Source

Artifactory Access Configuration Utility

This utility automates a correct and secure NPM/Yarn package manager configuration for third-party registries – specifically Artifactory. It does this through a set of questions that eventually result in updated ~/.npmrc and ~/.yarnrc.yml files.

Important Compatibility Note

This CLI creates configuration files for NPM (~/.npmrc) and Yarn 2/Berry (~/.yarnrc.yml).

Usage

yarn create artifactory-access-config
npx create-artifactory-access-config

Pro Tip: You can configure default values for the registry and repository key questions via the REGISTRY and REPOSITORY_KEY environment variables. This comes in handy within onboarding guides!

REGISTRY="https://artifactory.example.com" REPOSITORY_KEY="npm-virtual" yarn create artifactory-access-config

Security

This CLI tries to apply common best practices for a secure authentication to a third-party registry. Please note that usage of this CLI results in a change to global configuration files residing within your $HOME directory. Be especially careful in case you are sharing your dotfiles!

Keywords

artifactory

FAQs

Package last updated on 17 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts