
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
$ pnpm install
$ npm run dev
$ npm run build
TODO
通常仅需 4 步即可完成普通 NPM 包发布,monorepo 项目请参考各自 monorepo 方案的发包实践。
npm whoami 查看当前用户是否已经登录,如果未登录则执行 npm loginpackage.json 中的 NPM 包名及 publishConfig 是否符合预期使用 npm version 命令更新版本号,例如:
# 发布一个 patch 版本
$ npm version patch -m "build: release %s"
该命令将会自动生成 git tag 及 git commit,并将版本号更新到 package.json 中。更多用法可参考 NPM 文档:https://docs.npmjs.com/cli/v8/commands/npm-version
father 4 的脚手架默认已将 项目体检命令 及构建命令配置到 prepublishOnly 脚本中:
"scripts": {
...
+ "prepublishOnly": "father doctor && npm run build"
},
所以我们只需要执行发布即可:
# NPM 会自动执行 prepublishOnly 脚本然后完成发布
$ npm publish
CHANGELOG.md 文件(未来 father 会提供自动化的更新日志生成能力,敬请期待)FAQs
hefx-cloud-deck
We found that cloud-deck demonstrated a not healthy version release cadence and project activity because the last version was released 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.