Skip to content
New issue

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

Suppress npm suggestions to update npom package #1117

Open
ioBroker-Bot opened this issue Sep 14, 2024 · 0 comments
Open

Suppress npm suggestions to update npom package #1117

ioBroker-Bot opened this issue Sep 14, 2024 · 0 comments

Comments

@ioBroker-Bot
Copy link

ioBroker-Bot commented Sep 14, 2024

During creation of an adapter npom sometimes recommends to update npm. As npm should never be updated individually but updated by upgrade of node package this Message / suggestion should be avoided.

According to npm documentation a flag update-notifier exists which seems to mange this:

https://docs.npmjs.com/cli/v10/using-npm/config#update-notifier
https://stackoverflow.com/questions/46800717/eliminate-npm-update-available-message

Please consider setiing this flag for all npm operations done by adapter-creator.

EDIT:
Ev. reicht auch das (Quelle npm docu)

Any environment variables that start with npm_config_ will be interpreted as a configuration parameter.

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

No branches or pull requests

1 participant