Skip to content

Commit 7cf8985

Browse files
committed
update README.md
1 parent 3497824 commit 7cf8985

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1 @@
1-
# Vite+
2-
3-
## Install internal global cli
4-
5-
Add the following lines to your `~/.npmrc` file:
6-
7-
```
8-
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
9-
@voidzero-dev:registry=https://npm.pkg.github.com/
10-
```
11-
12-
Create a classic personal access token, following this guide: https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries
13-
14-
Use this token to install the global cli:
15-
16-
```
17-
GITHUB_TOKEN=<your-token> npm install -g @voidzero-dev/global
18-
```
19-
20-
Use 1Password cli:
21-
22-
```
23-
GITHUB_TOKEN=$(op read "op://YOUR_GITHUB_TOKEN_PATH") npm install -g @voidzero-dev/global
24-
```
1+
# Vite Task

0 commit comments

Comments
 (0)