replace-lockfile-registry
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

replace-lockfile-registry

npm

English | 简体中文

Replace registry of package-lock.json, yarn.lock and pnpm-lock.yaml.

Usage

npx replace-lockfile-registry

By default, the registry in package-lock.json, yarn.lock and pnpm-lock.yaml will be replaced with the registry get by npm config get registry. If you need to specify the registry and replaced files, you can use the --registry and --lockfile options.

Options

--registry

Specify registry, example:

  • npx replace-lockfile-registry --registry https://registry.npmjs.org/
  • npx replace-lockfile-registry --registry https://registry.npmmirror.com/

--lockfile

Specify lockfiles, example:

  • npx replace-lockfile-registry --lockfile ./package-lock.json ./yarn.lock

Package Sidebar

Install

npm i replace-lockfile-registry

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

11 kB

Total Files

23

Last publish

Collaborators

  • zjffun