
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
catalog-publish
Advanced tools
A command line tool template.
$ pnpm create un
# or
$ pnpm create un [my-cli] -t cli-starter
Link your cli tool to global
$ pnpm stub
$ pnpm link --global
Init git hook(optional)
$ pnpm git-hook-init
This command will help you understand how cli tool works:
$ my-cli -h # show help
$ my-cli -v # show version
$ my-cli lint one two --name peterroe # demo usage
And then you can rewrite src/index.ts to what you want
Here are some projects that use cli-starter: renames、tind
More usage about cac please see cac
Build it:
$ pnpm build
Publish to npm:
$ git remote add origin xxx # make sure you have bound a repo
$ git push origin main
$ pnpm release # or npm publish directly
$ npm publish
Install your own command line tool:
$ npm install -g xxx
$ xxx -h
$ xxx -v
Then use it...
FAQs
A command line tool template
We found that catalog-publish demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.