I have a dependency in my package.json that's doing this
{
"my-lib": " "git+https://<token>:x-oauth-basic@github.com/myOrg/my-lib.git#v1.0.0"
}
How can I store token in .env and use it in package.json? exposing token in git is a bad practice.
I have a dependency in my package.json that's doing this
{
"my-lib": " "git+https://<token>:x-oauth-basic@github.com/myOrg/my-lib.git#v1.0.0"
}
How can I store token in .env and use it in package.json? exposing token in git is a bad practice.