https://github.com/chrisdothtml/fix-monorepo-links
https://github.com/chrisdothtml/fix-monorepo-links
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chrisdothtml/fix-monorepo-links
- Owner: chrisdothtml
- Created: 2019-03-21T20:11:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T20:13:25.000Z (over 7 years ago)
- Last Synced: 2025-03-23T16:43:15.118Z (over 1 year ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# fix-monorepo-links
## Purpose
- Replaces package URLs with their new location in the monorepo
- Updates `package.json` -> `repository` & `homepage`
- Removes buildkite status badges
## Use
### 1. Install deps
```sh
yarn
```
### 2. Navigate to the directory with your packages
```sh
cd ../my-monorepo/packages
```
### 3. Run
```
Usage: ../../fix-monorepo-links/fix [args]
Required args
--monorepo: `owner/name` format
--org: github org name repos came from
Optional args
--subDir: subdirectory of the packages (used for package homepage url)
Examples
fix --org=fusionjs --monorepo=fusionjs/fusion --subDir=packages
```