Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
conventional-release-setup
Advanced tools
Sets up package for committing/releasing with conventional commits.
Sets up an npm project for committing and releasing with Conventional Commits:
npx conventional-release-setup
Install the CLI globally:
# with npm
npm install --global conventional-release-setup
# with yarn
yarn global add conventional-release-setup
If the CLI is installed globally, you can execute it in the command-line:
conventional-release-setup
Otherwise, you can install and execute the CLI like so:
npx conventional-release-setup
The script:
package.json
:
version
-alpha
scripts
release
with husky install
commit-msg
If the package is not private
, the script also:
package.json
scripts:
pinst --enable
to postpublish
pinst --disable
to prepublishOnly
postinstall
hook that runs only in devIf -alpha
is appended to your package.json
version:
{
"version": "1.0.0-alpha"
}
You can run a release like so:
npm run release # npx standard-version --no-verify
Otherwise, you can release as a target type imperatively:
npx standard-version --release-as 1.0.0
Or if you want to use the current version as your first release:
npx standard-version --first-release
Lint files:
npm run lint
Fix lint errors:
npm run lint:fix
Release and publish are automated by Release Please.
FAQs
Sets up package for committing/releasing with conventional commits.
The npm package conventional-release-setup receives a total of 2 weekly downloads. As such, conventional-release-setup popularity was classified as not popular.
We found that conventional-release-setup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.