🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

swap-lock-registry

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swap-lock-registry

A CLI tool to swap the registry URL in the lock file without having to remove it

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
9
-65.38%
Maintainers
1
Weekly downloads
 
Created
Source

swap-lock-registry

npm version

A CLI tool to swap the registry URL in the lock file without having to remove it.

Ex: swap-lock-registry --yarn --parallel --url https://registry.npmjs.com server/yarn.lock client/yarn.lock

Install

You can run

npm install -g swap-lock-registry

or

yarn add global swap-lock-registry

Usage

swap-lock-registry -u https://registry.npmjs.com [lock-files...]

Options:
      --help      Show help                                                                      [boolean]
      --version   Show version number                                                            [boolean]
  -u, --url       The registry url                                                     [string] [required]
  -i, --ignore    List of package name patterns to ignore, ex: @types/*,lodash*     [string] [default: ""]
  -y, --yarn      Whether the files are Yarn lock files                         [boolean] [default: false]
  -p, --parallel  Whether the trait the files in parallel.                      [boolean] [default: false]

Keywords

cli

FAQs

Package last updated on 15 Apr 2022

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