We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NI_CONFIG_FILE is not enough as it requires a config file to be made, which involves writing a scripts and doing file operations.
Package.json would work fine aswell
{ "ni": "pnpm" // Global agent doesnt ever make sense in a package.json }
NI_CONFIG_FILE NI_DEFAULT NI_GLOBAL
Stackblitz supports both setting env vars in a config file... or even through package.json
https://stackblitz.com/edit/vitejs-vite-eya5pj?file=package.json
The text was updated successfully, but these errors were encountered:
There are only two config properties now: globalAgent and defaultAgent.
globalAgent
defaultAgent
Like what you said, globalAgent doesn't make sense in a package.json.
While in a project, there are two cases:
Both cases are well handled by today's codebase, so I couldn't see any benefit from your suggestion.
And, we already have packageManager field in package.json...
packageManager
Sorry, something went wrong.
I would also like this feature, so that I can configure the env var in my main dotfiles rather than having to add another file
No branches or pull requests
Clear and concise description of the problem
NI_CONFIG_FILE is not enough as it requires a config file to be made, which involves writing a scripts and doing file operations.
Suggested solution
Package.json would work fine aswell
Alternative
NI_CONFIG_FILE
NI_DEFAULT
NI_GLOBAL
Additional context
Stackblitz supports both setting env vars in a config file... or even through package.json
https://stackblitz.com/edit/vitejs-vite-eya5pj?file=package.json
Validations
The text was updated successfully, but these errors were encountered: