File tree Expand file tree Collapse file tree
chainguard-libraries/javascript Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,16 +74,16 @@ export CGR_TOKEN=$(echo $CREDS_OUTPUT | jq -r ".token")
7474** npm/pnpm:**
7575``` bash
7676cat > .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
8080EOF
8181```
8282
8383** Yarn:**
8484``` bash
8585cat > .yarnrc.yml << EOF
86- npmRegistryServer: "https://libraries.cgr.dev/npm /"
86+ npmRegistryServer: "https://libraries.cgr.dev/javascript /"
8787npmAlwaysAuth: true
8888npmAuthIdent: "${CGR_USER} :${CGR_TOKEN} "
8989nodeLinker: node-modules
9494``` bash
9595cat > 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} " }
You can’t perform that action at this time.
0 commit comments