Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
通过编程式api完成npm包的发布、git release、git tag的自动生成
yarn add cli-pkg
属性名 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
runAt | 日志打印的前缀 | string | -- | cli-pkg |
pkgName | 设置仅当package.json中的name与此匹配时执行脚本 | string | -- | -- |
registry | npm包发布的地址 | string | -- | https://registry.npmjs.org/ |
firstCall | 调度顺序 | string | 见下 | "createTag" |
packageManage | 执行命令的包管理器 | string | "pnpm" | "yarn" |
allowedBranch | 限制执行脚本的分支 | array | -- | ["main"] |
ignoreGitChangeFiles | 设置跳过git clean检查的文件 | array | -- | ["yarn.lock","package-lock.json","pnpm-lock.yaml","yarn-error.log",] |
createRelease
createTag
publishNpm
config
success
before:publish
after:publish
before:tag
after:tag
before:release
after:release
在unplugin-router中,实现的流程为:先发布npm,再创建git tag,最后生成git release
FAQs
npm包辅助工具
We found that cli-pkg 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.