NPM publishes process guidance
Some NPM release processes recorded from the project practice are recorded for your reference, please correct any errors.
Landing NPM
npm adduser
Copy the code
Publish a package
npm publish
Copy the code
or
NPM publish < package path >Copy the code
Cancel the published package
NPM unpublish package @ Version numberCopy the code
For example,
NPM unpublish https://www.npmjs.com/package/distribute-weex-ui/v/[email protected]Copy the code
== Release the new version of the NPM package first to test the NPM package with the test package verification, no problem, and then release the official version ==
Summary:
Distribute-weex-ui fork address: [github.com/ioth5/weex-…]
Git fork: git fork: git fork: git fork: git fork: git fork: git fork: git fork: git fork
ENOENT: no such file or directory, xxxx/build-entry.js
Copy the code
Don’t worry: It’s time to adjust the deletion
"bin": {
"weex-ui": "build-entry.js"
},
Copy the code
Then upload a new version and you’re done