Shared config for prettier
npm i @caspeco/prettier-config
// package.json
{
"name": "my-project",
"version": "1.0.0",
+ "prettier": "@caspeco/prettier-config"
}
Set a local environment variable named GPR_PRIVATE_READ_TOKEN
which contains the token created above.
Add the package using the version you want at the Github Package.
- Create a PAT (Classic) on Github with the scope "Packages: Read".
- Set an environment variable locally named
GPR_PRIVATE_READ_TOKEN
to the PAT created - Run
npm install