https://github.com/jsimck/sync-packages
A utility for watching and copying packages (monorepo workspaces) to target directory, without symlinks.
https://github.com/jsimck/sync-packages
Last synced: over 1 year ago
JSON representation
A utility for watching and copying packages (monorepo workspaces) to target directory, without symlinks.
- Host: GitHub
- URL: https://github.com/jsimck/sync-packages
- Owner: jsimck
- License: mit
- Created: 2023-09-20T10:28:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T23:53:29.000Z (over 2 years ago)
- Last Synced: 2025-03-13T08:35:47.098Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 321 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sync-packages
Utility script for watching a package (monorepo workspaces) files and syncing (copying) them to another directory. This is usefull in situations when npm link locally fails (due to dependencies) or when you want to test a package in a different project.
## Usage
This simple CLI accepts a single argument, the path to the target package. It will watch current directory workspace and copy changed packages into destination folder.
```sh
npx sync-packages ../../target-package
```
## Contribution guide
Every PR implementing new feature should include [changeset](https://github.com/changesets/changesets). Use `npm run changeset` from the root of the repository to generate new changeset and include it with your PR.