Merge pull request #2936 from node-red/npm-install-hooks

Add pre/postInstall hooks to npm install handling
This commit is contained in:
Nick O'Leary
2021-04-27 10:57:14 +01:00
committed by GitHub
13 changed files with 410 additions and 85 deletions

View File

@@ -34,6 +34,7 @@
"install-failed-not-found": "$t(server.install.install-failed-long) module not found",
"install-failed-name": "$t(server.install.install-failed-long) invalid module name: __name__",
"install-failed-url": "$t(server.install.install-failed-long) invalid url: __url__",
"post-install-error": "Error running 'postInstall' hook:",
"upgrading": "Upgrading module: __name__ to version: __version__",
"upgraded": "Upgraded module: __name__. Restart Node-RED to use the new version",
"upgrade-failed-not-found": "$t(server.install.install-failed-long) version not found",