
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@vyron/mini-ci
Advanced tools
[](https://github.com/VFiee/mini-ci) [](https://github.com/VFiee/mini-ci)
mini-ci 基于miniprogram-ci开发,用于以配置管理多个小程序项目.
yarn global add @vyron/mini-ci
npm install @vyron/mini-ci -g
| key | 默认值 | env | 类型 | 必填 | 说明 |
|---|---|---|---|---|---|
appid | 当前项目 project.config.json 的 appid 字段 | appid / id | string | 否 | 小程序或小游戏的 appid |
projectPath | 无 | projectPath / proPath | string | 是 | 项目源码路径 |
privateKeyPath | 无 | privateKeyPath / priPath | string | 是 | 小程序或小游戏代码上传密钥 |
type | miniProgram | type / t | string | 否 | 当前项目类型,有效值 miniProgram/miniProgramPlugin/miniGame/miniGamePlugin |
ignores | 无 | ignores / ig | string[] | 否 | 指定忽略的规则 |
version | 项目及其上级三层目录的package.json里的version | ver | string | 是 | 自定义版本号 |
desc | 当前本地时间 | desc / d | string | 否 | 自定义备注信息 |
robot | 1 | robot / b | number | 否 | 指定 CI 机器人,可选值1~30 上传成功后将显示:ci 机器人 1 |
qrcodeFormat | terminal | qrcodeFormat / qrFormat/qrf | string | 否 | 预览返回二维码文件格式,可选值: image/base64/terminal |
qrcodeOutputDest | 当前项目 | qrcodeOutputDest/qrDest / qrd | string | 否 | 当qrcodeFormat为image或base64时,文件默认保存到当前项目 |
pagePath | 无 | pagePath / pp / p | string | 否 | 预览页面路径 |
searchQuery | 无 | searchQuery / sq / q | string | 否 | 预览页面启动参数 |
sourceMapSavePath | 当前项目下soucemap.zip | sourceMapSavePath / sp | string | 否 | 保存 sourcemap 的绝对路径 |
| key | 默认值 | env | 类型 | 必填 | 说明 |
|---|---|---|---|---|---|
es6 | 无 | es6 | boolean | 否 | 启用 es6 |
es7 | 无 | es7 | boolean | 否 | 启用 es7 |
minify | 无 | minify | boolean | 否 | 启用压缩代码 |
codeProtect | 无 | codeProtect | boolean | 否 | 启用代码混淆 |
minifyJS | 无 | minifyJS | boolean | 否 | 启用压缩 JS |
minifyWXML | 无 | minifyWXML | boolean | 否 | 启用压缩 XWML |
minifyWXSS | 无 | minifyWXSS | boolean | 否 | 启用压缩 WXSS |
autoPrefixWXSS | 无 | autoPrefixWXSS | boolean | 否 | 启用自动补全 WXSS |
// project
"type":"miniProgram",
"appid":"93457450667",
"privateKeyPath":"dist/weapp",
"privateKeyPath":"private.key",
// settings
"setting":{
"es6":true,
"es7":true,
"minify":true,
"codeProtect":true,
"minifyJS":true,
"minifyWXML":true,
"minifyWXSS":true,
"autoPrefixWXSS":true,
}
// others
"robot":10,
"qrcodeFormat":"image",
"qrcodeOutputDest":"preview.jpg",
"pagePath":"pages/users/index",
"searchQuery":"user_id=87504653",
"sourceMapSavePath":"sourcemap.zip"
mini-ci upload -h
mini-ci upload --ver "1.0.0"
mini-ci preview -h
mini-ci preview
mini-ci build -h
mini-ci build
mini-ci sourcemap -h
mini-ci sourcemap
# 查看config帮助信息
mini-ci config -h
# 设置项目配置
mini-ci config set --name test_set_project --path /Users/vyron/mini/mini-ci.json --default
mini-ci config ls
mini-ci config get --name test_set_project
mini-ci config delete --name test_set_project
# 获取默认配置
mini-ci config default
# 设置为默认配置 项目名(test_set_project)必须已存在
mini-ci config default --name test_set_project
# 如果不指定导出项目名,导出默认项目配置,默认导出路径为当前项目 export-mini-ci.json
mini-ci config export --name test
# 清空所有配置
mini-ci config clear
# 展示当前配置列表
mini-ci config ls
非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request。
MIT © VFiee
FAQs
[](https://github.com/VFiee/mini-ci) [](https://github.com/VFiee/mini-ci)
The npm package @vyron/mini-ci receives a total of 0 weekly downloads. As such, @vyron/mini-ci popularity was classified as not popular.
We found that @vyron/mini-ci 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.