Use the collector
path to indicate which directory your npm files are located.
Works with either npm or yarn depending on whether there is a
Runs npm@5 so it also supports
npm shrinkwrap is not
If you don't use
yarn.lock, then it is recommended that you
--save-exact versions of your dependencies. Otherwise every time this runs,
it will simply install the new available versions in your range instead of
reporting them back as newer versions than what you have installed currently
(which could then be given to actors).
collectors: - type: js-npm # directory where package.json / yarn.lock / package-lock.json are located path: / settings: # if you only care about production dependencies node_env: production # by default we'll collect the versions under the "latest" dist-tag (default npm behavior) # if you want to follow a specific dist-tag (like "next" or "unstable"), then you # can specify that here by the package name dist_tags: semantic-release: next actors: - ...