Using npx to run release-it has several trade-offs:
release-it needs to be downloaded and installed first.
It uses the latest version of release-it instead of the version installed in the project.
I think we should recommend using the version of release-it already installed in the project. The documentation already assumes that yarn is used as package manager. Following that assumption it would be yarn run release-it.
Additionally I fix the indentation of the code blocks to make them shown as being part of the item in the list.
Using
npx
to runrelease-it
has several trade-offs:release-it
needs to be downloaded and installed first.release-it
instead of the version installed in the project.I think we should recommend using the version of
release-it
already installed in the project. The documentation already assumes that yarn is used as package manager. Following that assumption it would beyarn run release-it
.Additionally I fix the indentation of the code blocks to make them shown as being part of the item in the list.