node-gradle / node-gradle/gradle-node-plugin
How to set _authToken via pnpmCommand?
Open
Nobody has claimed this yet.
- Dominant language
- Groovy
- Stars
- 677
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
I'm looking for a way to do something like this. Does anyone know how I could set the token? I do not want to set it via project's .npmrc. Thank you!
pnpmCommand.set(listOf("config set https://npm.pkg.github.com/:_authToken $authToken"))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the pnpmCommand configuration shown in the issue and inspect how this plugin passes arguments to pnpm. Check existing configuration tests or documentation for authentication; done should be a documented, supported way to provide _authToken without changing the project's .npmrc.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, nodejs
- Domain
- build-system, tooling
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100