https://github.com/jamiepine/reposync
A handy non frustrating alternative to NPM Link that works with Metro Bundler in React Native
https://github.com/jamiepine/reposync
Last synced: 6 months ago
JSON representation
A handy non frustrating alternative to NPM Link that works with Metro Bundler in React Native
- Host: GitHub
- URL: https://github.com/jamiepine/reposync
- Owner: jamiepine
- Archived: true
- Created: 2019-04-04T21:23:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T04:47:50.000Z (over 3 years ago)
- Last Synced: 2025-02-03T13:31:33.278Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 75.2 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Edit first lines of sync.js to choose the directories to watch and which repositories to copy to. Paths are relative to this sync script.
```
// copy & watch repos
const watchRepos = ['../repoOne']
// to repos
let repos = ['../repoTwo'];
```
Above will move the files inside "repoOne" into "repoTwo/node_modules/repoOne"
The .git_ignore in "repoOne" is read and respected when copying files.