-
Notifications
You must be signed in to change notification settings - Fork 772
Description
Problem
One of the features of the npx command is to use the executable of a package without having to pre-install it in your repository.
In our case we use the npx command in our ci/cd pipeline, so we don't have to install all node modules of the root package.json to save some seconds in our github actions ci/cd pipeline.
The first issue I noticed is in the documentation, which mentions FIXEDnpx changeset, this only works if the package is already installed, else NPX fetches https://registry.npmjs.org/changeset, which is related to the https://github.com/eugeneware/changeset codebase. npx @changesets/cli works instead.
The second issue is using npx @changesets/cli version, which results in Error: Cannot find module '@changesets/cli/changelog' as it's not installed as a regular node module.