Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@nordnet/cz-conventional-changelog
Advanced tools
conventional-changelog config for commitizen
As far as its commitizen config, you should have one in the first place.
npm install --save-dev commitizen
# or
yarn add --dev commitizen
npm install --save-dev @nordnet/cz-conventional-changelog
# or
yarn add --dev @nordnet/cz-conventional-changelog
Add this field into your package.json
"config": {
"commitizen": {
"path": "@nordnet/cz-conventional-changelog"
}
},
Add commit script to your npm scripts in package.json
:
"scripts": {
"commit": "git-cz",
// …
},
npm run commit
# or
yarn commit
commitizen with this config enabled will ask 6 questions.
Note:
BREAKING CHANGE
will trigger major releasefeat
type will trigger minor releasefix
type will trigger patch release{npm,yarn} run commit
will generate messages like these:
fix: fix broken button
fix(Button): fix broken onClick handler
feat(CtaButton): add new component
new Call-to-Action Button component to be used in Marketing campaigns
fix: remove deprecated endpoints
BREAKING CHANGE: remove previously exported endpoints (endpoint1, endpoint2)
docs: document gravity
Closed issues: UNIVERSE-1
feat(standardModel): proof Higgs boson
validate the Standard Model
BREAKING CHANGE: Symmetry of the electroweak interaction
Closed issues: UNIVERSE-21
Template is:
${type}{${ scope ? `(${scope})` : '' }}: ${shortDescription}
${longerDescription}
${breaking ? : `BREAKING CHANGE: ${breaking}` : ''}
${closes ? : `Closes issues: ${closes}` : ''}
true
feat
, fix
, etc
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
- docs: Documentation only changes
- feat: A new feature
- fix: A bug fix
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- test: Adding missing tests or correcting existing tests
Note:
feat
will trigger minor releasefix
will trigger patch releasefalse
Button
, historyDuck
, l10n
, etcThe scope should be the name of code entity affected. Say react component, redux duck, l10n
true
The short description contains succinct description of the change
false
Just as in the short description, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior.
false
remove previously exported endpoints (endpoint1, endpoint2)
Free text input. Will be prepended with BREAKING CHANGE:
automatically.
false
UNIVERSE-1
, CERN-13, CERN-29
, etcFree text input. Will be prepended with Closes issues:
automatically.
MIT © Nordnet Bank AB
FAQs
conventional-changelog config for commitizen
We found that @nordnet/cz-conventional-changelog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.