{"id":23054940,"url":"https://github.com/ssdmtank/yato-mini-cli","last_synced_at":"2026-03-27T03:40:47.279Z","repository":{"id":43074651,"uuid":"462643809","full_name":"ssdmtank/yato-mini-cli","owner":"ssdmtank","description":"auto-deploy微信自动化部署脚手架","archived":false,"fork":false,"pushed_at":"2022-06-16T01:38:49.000Z","size":722,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T15:16:11.817Z","etag":null,"topics":["cli","miniprogram-ci","nodejs","taro","wx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssdmtank.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-23T08:22:55.000Z","updated_at":"2023-03-30T00:06:38.000Z","dependencies_parsed_at":"2022-08-31T17:21:56.032Z","dependency_job_id":null,"html_url":"https://github.com/ssdmtank/yato-mini-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ssdmtank/yato-mini-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssdmtank%2Fyato-mini-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssdmtank%2Fyato-mini-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssdmtank%2Fyato-mini-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssdmtank%2Fyato-mini-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssdmtank","download_url":"https://codeload.github.com/ssdmtank/yato-mini-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssdmtank%2Fyato-mini-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263287863,"owners_count":23443085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","miniprogram-ci","nodejs","taro","wx"],"created_at":"2024-12-16T01:09:19.298Z","updated_at":"2026-03-27T03:40:42.208Z","avatar_url":"https://github.com/ssdmtank.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eyato-mini-cli\u003c/h1\u003e\n  \u003cp\u003e微信小程序自动构建部署脚手架\u003c/p\u003e\n  \u003ca href=\"https://github.com/ssdmtank/yato-mini-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/node-%3E%3D12-brightgreen\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/ssdmtank/yato-mini-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/npm-v0.0.1-blue\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/ssdmtank/yato-mini-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/lincense-MIT-green\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n\u003e YATO, 夜斗，八百万众神最末端的无名神\n\n* yato-mini-cli是基于minprogram-ci集成的微信小程序一键部署脚手架\n* 项目模板来自[commitlint-template](https://github.com/ssdmtank/commitlint-template)\n\n- [X] rollup打包\n- [X] eslint + prettier + lint-staged 项目规范化\n- [X] commitlint + commitizen 提交校验\n- [X] 打包上传微信，支持体验版/预览版\n- [X] 支持发布钉钉提醒\n- [X] 支持打包前自定义命令\n- [X] 支持版本号自定义/同步分支版本号\n- [X] 支持初始化模板\n- [ ] 脚手架命令配置\n- [ ] 区分环境\n- [ ] 支持esm\n\n\n## cli工具安装\n```bash\n# 使用 npm 安装 CLI\n$ npm install -g yato-mini-cli\n\n# OR 使用 yarn 安装 CLI\n$ yarn global add yato-mini-cli\n\n```\n\n## 项目初始化 TODO\n## 环境配置 TODO\n\n## 配置文件\nyatoci.config.js\n```js\nmodule.exports = {\n  // 是否是体验版\n  isExperience: true,\n  appid: '',\n  // 私钥路径\n  privateKeyPath: '',\n  // 上传二维码图片的url\n  uploadImagUrl: '',\n  // 微信体验版图片地址\n  qrcodeImageUrl: '',\n  // 钉钉机器人 webhook url\n  dingTalkUrl: '',\n  // 预执行命令 [{ command, args, desc}, ...]\n  preCommand: [],\n}\n\n\n```\n\n## 使用\n```bash\n# 发布小程序项目\nyato-mini-cli deploy\n```\n\n\n```bash\n# 调试\nyarn dev\n\n```\n\n其他参考[小程序实现ci - Taro微信小程序自动化部署](!https://juejin.cn/post/7069070842499432479)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssdmtank%2Fyato-mini-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssdmtank%2Fyato-mini-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssdmtank%2Fyato-mini-cli/lists"}