-
Notifications
You must be signed in to change notification settings - Fork 845
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
Minimallib NPM release fixes - wrong node bin command in Dockerfile and prepublish npm script command replacement #5349
Minimallib NPM release fixes - wrong node bin command in Dockerfile and prepublish npm script command replacement #5349
Conversation
replace prepublish script with prepublishOnly script ref: https://docs.npmjs.com/cli/v8/using-npm/scripts\#prepare-and-prepublish
Stacktrace regarding nodejs (using the
and successful example with the
|
A bit out of scope: I took the time to build an Azure pipeline for semi-automated npm release of new rdkit versions Available here: https://github.com/MichelML/rdkit-js/blob/master/azure-pipelines.yml I could port this to the main rdkit repo, or when I'm finally done with rdkit-js v1 (only writing the readme's is left), we'll trigger the npm releases from there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Very cool. Thanks for doing that! |
replace prepublish script with prepublishOnly script ref: https://docs.npmjs.com/cli/v8/using-npm/scripts\#prepare-and-prepublish
Reference Issue
ref #5346 (comment)
What does this implement/fix? Explain your changes.
replace prepublish script with prepublishOnly script ref: https://docs.npmjs.com/cli/v8/using-npm/scripts\#prepare-and-prepublish
fix bin command for node in minimallib Dockerfile
Any other comments?
check context in issue ref #5346 (comment)
cc @greglandrum @ptosco
TLDR;
prepublish
script which runs automatically when you runnpm publish
has been renamed toprepublishOnly
in recent npm versionsnode
and notnodejs