Given the Node.js package manager, namely npm , was I curious if the publishing team runs the pack command before publishing, or if it does something different at all? Therefore, if I were to execute:
npm publish <folder>
Does this primarily do the following:
npm pack <folder>
I could not find anything mentioned in the documentation .
The main reason I'm curious is because our build process just does
npm publish without an explicit
npm pack earlier, but the package does not have the expected content. those..;
.tgz content is different when I run local
npm pack with
npm publish content.
David pine
source share