https://github.com/wingkwong/sync-dependency-version
Synchronise dependency versions between repositories
https://github.com/wingkwong/sync-dependency-version
Last synced: 6 months ago
JSON representation
Synchronise dependency versions between repositories
- Host: GitHub
- URL: https://github.com/wingkwong/sync-dependency-version
- Owner: wingkwong
- License: mit
- Created: 2024-02-03T04:52:29.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-04-05T02:57:27.000Z (6 months ago)
- Last Synced: 2025-04-05T03:25:41.426Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 277 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sync-dependency-version
[](https://www.npmjs.com/package/sync-dependency-version) [](https://github.com/wingkwong/sync-dependency-version/blob/master/LICENSE) [](https://www.npmjs.com/package/sync-dependency-version)
Synchronise dependency versions between repositories
## Usage
The dependency versions from the source will be synced to target one if the dependency is found in the target.
## Basic
```
npx sync-dependency-version \
--source foo/package.json \
--target bar/package.json
```## Exclude
```
npx sync-dependency-version \
--source foo/package.json \
--target bar/package.json \
--exclude dependencyA,dependencyB,dependencyC
```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details