https://github.com/pirxpilot/component-repo
Back up installed components to a repo directory conforming to component registry spec.
https://github.com/pirxpilot/component-repo
Last synced: over 1 year ago
JSON representation
Back up installed components to a repo directory conforming to component registry spec.
- Host: GitHub
- URL: https://github.com/pirxpilot/component-repo
- Owner: pirxpilot
- License: mit
- Created: 2014-05-13T20:58:52.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T09:57:49.000Z (over 9 years ago)
- Last Synced: 2025-01-29T06:53:04.173Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
- License: License.txt
Awesome Lists containing this project
README
[](https://gemnasium.com/pirxpilot/component-repo)
[](https://www.npmjs.org/package/component-repo)
# component-repo
Copies installed components to a repo directory conforming to component [registry] spec.
Useful when trying to roll out you own component registry.
## Install
npm install -g component component-repo
## Usage
To save component-repo.json file
component install # install all the components that you need
component repo --dir /path/to/my/registry
Files are copied to create the following structure
/path-to-repo/:user/:project/:version
You can use /path-to-repo as a root directory of a web server to host your own registry.
## License
MIT
[registry]: https://github.com/component/component/wiki/Spec#registry