Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanpenner/yarnlock-origin-changer
A simple executable to migrate a yarn.lock file from 1 registry to another
https://github.com/stefanpenner/yarnlock-origin-changer
Last synced: 17 days ago
JSON representation
A simple executable to migrate a yarn.lock file from 1 registry to another
- Host: GitHub
- URL: https://github.com/stefanpenner/yarnlock-origin-changer
- Owner: stefanpenner
- Created: 2019-05-02T21:08:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T00:43:03.000Z (over 2 years ago)
- Last Synced: 2024-10-17T18:02:17.824Z (19 days ago)
- Language: JavaScript
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## yarnlock origin changer [![CI](https://github.com/stefanpenner/yarnlock-origin-changer/workflows/CI/badge.svg)](https://github.com/stefanpenner/yarnlock-origin-changer/actions?query=workflow%3ACI)
A simple CLI which allows updating of an origin's within a yarn.lock file
### Installation
```sh
yarn global add yarnlock-origin-changer
```### Usage
The following command will rewrite the contents of `./yarn.lock` resolved href origins from `https://registry.yarnpkg.com` to `http://registry.iamstef.net`
```sh
yarnlock-origin-changer ./yarn.lock https://registry.yarnpkg.com http://registry.iamstef.net
```