You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever commits are pushed to the `main` branch, a _developer package_ is published to the npm registry managed by GitHub Packages.
25
+
A _developer package_ bears the next release version but followed by a dash (`-`) plus the short commit hash; e.g., `0.3.0-abc1234` where `abc1234` is the short commit hash of the commit used to build the package (_snapshot_).
26
+
You can find _developer packages_[here](https://github.com/codemonger-io/mapbox-collision-boxes/pkgs/npm/mapbox-collision-boxes).
27
+
28
+
##### Configuring a GitHub personal access token
29
+
30
+
To install a _developer package_, you need to configure a **classic** GitHub personal access token (PAT) with at least the `read:packages` scope.
31
+
Below briefly explains how to configure a PAT.
32
+
Please refer to the [GitHub documentation](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry) for more details.
33
+
34
+
Once you have a PAT, please create a `.npmrc` file in your home directory with the following contents:
35
+
36
+
```
37
+
//npm.pkg.github.com/:_authToken=$YOUR_GITHUB_PAT
38
+
```
39
+
40
+
Please replace `$YOUR_GITHUB_PAT` with your PAT.
41
+
42
+
In the root directory of your project, create another `.npmrc` file with the following contents:
0 commit comments