Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
npm init nm
to create a npm module.
Never manually do the linting, versioning, tagging, editing changelog and pushing commit, unleash the power of hooks.
npm
# choose one of the following methods
$ npm init nm [name]
$ npx create-nm [name]
$ npm i -g create-nm && create-nm [name]
yarn
$ yarn create nm [name]
Commit and publish, everything will be done automatically.
$ git commit
$ npm publish
+-------------------+
version : 1.1.0 | |
tag : v1.1.0 | $ git commit |
| |
+--+----------------+
|
+-> lint-staged
+-------------------+
| |
| $ git commit |
| |
+--+----------------+
|
+-> lint-staged
+
|
|
|
v
+-------------------+
| |
version : 1.1.1 | $ npm publish |
tag : v1.1.1 | |
+--+----------------+
|
| update npm version
| update CHANGELOG.md
| commit version with changelog
+-> add git tag
git push commit
npm publish
Use git cz
instead of git commit
, this will generate better changelog.
You need to install commitizen
and create ~/.czrc
.
$ npm install commitizen -g
$ echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
Workflow:
$ git cz
$ npm publish
npm publish
.FAQs
`npm init nm` to create a npm module.
The npm package create-nm receives a total of 25 weekly downloads. As such, create-nm popularity was classified as not popular.
We found that create-nm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.