Skip to content

Commit 8f6749c

Browse files
committed
update cg javascript url
1 parent 0e72e47 commit 8f6749c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

chainguard-libraries/javascript/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,16 @@ export CGR_TOKEN=$(echo $CREDS_OUTPUT | jq -r ".token")
7474
**npm/pnpm:**
7575
```bash
7676
cat > .npmrc <<EOF
77-
registry=https://libraries.cgr.dev/npm/
78-
//libraries.cgr.dev/npm/:_auth=$(echo -n "${CGR_USER}:${CGR_TOKEN}" | base64)
79-
//libraries.cgr.dev/npm/:always-auth=true
77+
registry=https://libraries.cgr.dev/javascript/
78+
//libraries.cgr.dev/javascript/:_auth=$(echo -n "${CGR_USER}:${CGR_TOKEN}" | base64)
79+
//libraries.cgr.dev/javascript/:always-auth=true
8080
EOF
8181
```
8282

8383
**Yarn:**
8484
```bash
8585
cat > .yarnrc.yml <<EOF
86-
npmRegistryServer: "https://libraries.cgr.dev/npm/"
86+
npmRegistryServer: "https://libraries.cgr.dev/javascript/"
8787
npmAlwaysAuth: true
8888
npmAuthIdent: "${CGR_USER}:${CGR_TOKEN}"
8989
nodeLinker: node-modules
@@ -94,7 +94,7 @@ EOF
9494
```bash
9595
cat > bunfig.toml <<EOF
9696
[install]
97-
registry = "https://libraries.cgr.dev/npm/"
97+
registry = "https://libraries.cgr.dev/javascript/"
9898
9999
[install.scopes]
100100
"libraries.cgr.dev" = { token = "${CGR_TOKEN}", username = "${CGR_USER}" }

0 commit comments

Comments
 (0)