https://github.com/anthonyshort/stash-component-server
Use Stash as a remote for Component
https://github.com/anthonyshort/stash-component-server
Last synced: about 2 months ago
JSON representation
Use Stash as a remote for Component
- Host: GitHub
- URL: https://github.com/anthonyshort/stash-component-server
- Owner: anthonyshort
- Created: 2013-08-23T01:24:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-24T22:27:51.000Z (over 11 years ago)
- Last Synced: 2024-04-15T03:16:22.297Z (about 1 year ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
stash-component-server
======================Use Stash as a remote for Component
## Usage
First change the URL variable to point to your internal Stash site:
var url = "http://stash-server:7990";
Install the depenedencies:npm install
Then run the server
npm start
This will spin up a server that will redirect URLs in Github-style
to Stash-style, allowing the use of Stash as a remote for private
Component packages.Now in your `component.json` you can use this server as a remote:
```
{
"name": "dialog",
"remotes: ["http://0.0.0.0:3000"],
"dependencies": {
"COMPONENT/overlay": "0.0.1",
"COMPONENT/after": "0.0.1"
}
}
```The Stash project codes are used as the user name. In this case, the components are within
a project with "COMPONENT" as the code.