create-adapter icon indicating copy to clipboard operation
create-adapter copied to clipboard

Suppress npm suggestions to update npom package

Open ioBroker-Bot opened this issue 1 year ago • 0 comments

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.

ioBroker-Bot avatar Sep 14 '24 09:09 ioBroker-Bot