Skip to content

Commit d871e6b

Browse files
committed
link to guide for github auth
1 parent f9830e8 commit d871e6b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var remotes = require('component-remotes')(['github'], {
3535
})
3636
```
3737

38-
Where `netrc` points to a `netrc` file. See [netrc](https://github.com/CamShaft/netrc).
38+
Where `netrc` points to a `netrc` file. See [camshaft/netrc](https://github.com/camshaft/netrc).
3939

4040
## Using Remotes
4141

@@ -53,7 +53,7 @@ The list of names can be found at `Remotes.remotes`.
5353

5454
Some options are:
5555

56-
- `netrc` - for [netrc](https://github.com/CamShaft/netrc)
56+
- `netrc` - for [camshaft/netrc](https://github.com/camshaft/netrc)
5757
- `dir` - local `components` path. Defaults to `process.cwd() + '/components'
5858
- `local` - use the `local` component.
5959

@@ -67,11 +67,9 @@ Returns the first remote with `<repo>@<ref>` from the list of remotes. You may o
6767

6868
### Authentication
6969

70-
Some remotes, such as GitHub, require authentication. We suggest you use [netrc](https://github.com/CamShaft/netrc).
70+
Some remotes, such as GitHub, require authentication. If you want to use authentication in your own remote implementation, we suggest you use [camshaft/netrc](https://github.com/camshaft/netrc).
7171

72-
For Github, you need to supply you username and password for the `api.github.com` host.
73-
You may also set the `GITHUB_USERNAME` and `GITHUB_PASSWORD` environmental variables.
74-
Similarly, for BitBucket, you set `BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`.
72+
You can see here how to [setup authentication](https://github.com/componentjs/guide/blob/master/changelogs/1.0.0.md#required-authentication).
7573

7674
## Using a Remote
7775

0 commit comments

Comments
 (0)