Skip to content

#4 Rely on user .npmrc instead of project .npmrc#5

Merged
normanlolx merged 1 commit intomainfrom
3-global-npmrc
Feb 4, 2026
Merged

#4 Rely on user .npmrc instead of project .npmrc#5
normanlolx merged 1 commit intomainfrom
3-global-npmrc

Conversation

@normanlolx
Copy link
Copy Markdown
Member

@normanlolx normanlolx commented Nov 24, 2025

Let's use the user's .npmrc

And let's also check if it contains a glpat- entry

Closes #4

@normanlolx normanlolx requested a review from frega November 24, 2025 11:22
@normanlolx normanlolx self-assigned this Nov 24, 2025
@normanlolx normanlolx changed the title #3 Rely on user .npmrc instead of project .npmrc #4 Rely on user .npmrc instead of project .npmrc Nov 24, 2025
@frega
Copy link
Copy Markdown
Collaborator

frega commented Nov 30, 2025

I like to keep as much "local to the project" as possible (so things don't bleed across projects) - but am very open to hear your arguments :)

Should we keep the "local ..npmrc" as an option?

@normanlolx normanlolx merged commit 096f493 into main Feb 4, 2026
@normanlolx normanlolx deleted the 3-global-npmrc branch February 4, 2026 08:26
@normanlolx
Copy link
Copy Markdown
Member Author

I like to keep as much "local to the project" as possible (so things don't bleed across projects) - but am very open to hear your arguments :)

Should we keep the "local ..npmrc" as an option?

You can still have a local .npmrc, but the token does definitely not need to be put there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rely on global .npmrc in host-install command

2 participants