{"id":30506421,"url":"https://github.com/cerjs/suite-demo","last_synced_at":"2025-08-25T17:19:32.381Z","repository":{"id":83398598,"uuid":"441429638","full_name":"cerjs/suite-demo","owner":"cerjs","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-24T07:33:00.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T00:28:52.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cerjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-24T09:55:34.000Z","updated_at":"2021-12-24T10:00:04.000Z","dependencies_parsed_at":"2023-12-04T06:45:11.669Z","dependency_job_id":null,"html_url":"https://github.com/cerjs/suite-demo","commit_stats":null,"previous_names":["cretjs/suite-demo","cerjs/suite-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cerjs/suite-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerjs%2Fsuite-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerjs%2Fsuite-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerjs%2Fsuite-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerjs%2Fsuite-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cerjs","download_url":"https://codeload.github.com/cerjs/suite-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerjs%2Fsuite-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272100963,"owners_count":24873508,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-25T17:19:31.798Z","updated_at":"2025-08-25T17:19:32.356Z","avatar_url":"https://github.com/cerjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 套件3.0示例\n支付宝小程序，开发自定义组件\nhttps://opendocs.alipay.com/mini/framework/custom-component-overview\n\n## 目录结构 \n根目录指定 npm install   \nsrc/plugin 下执行 npm install   \n开发目录 src/plugin/components  \n| 文件      | 说明 |\n| ----------- | ----------- |\n| config.json      | 配置文件       |\n| runtime/pc/index.axml   | pc端入口        |\n| runtime/mobile/index.axml | mobile端入口 |\n| designer/setter/CustomSetter/index.axml | 自定义setter |\n\n参考自定义组件 leaveReason 开发流程\n\n## 配置后台申请创建插件(暂时忽略)\nhttps://open-dev.dingtalk.com/fe/old#/plugin\n\n## ding cli 安装\nsudo npm install -g dingtalk-design-cli@0.20.3-beta.2\n\n## ding init\n配置miniAppId、token  \nding.config.json-\u003e  { miniAppId , token }  \nplugin.json-\u003e { pluginId : miniAppId }  \n\n## ding dev 用来热更新\n然后运行 proxy 子命令，用来代理线上代码；  \n打开OA审批设计态和运行态即可在线调试\n\n## ding upload\n\n上传时移除根目录gulpfile.js中 223 行,移除setters、props校验\n改动点如下\n\n`setters: [],  \nprops: {}`\n\n配置后台查看上传结果\nhttps://open-dev.dingtalk.com/fe/old#/plugin\n\n## 已知问题：\nsetter暂时不测试，因为工作台校验问题；\nproxy，h5pro热更新有问题，每次改动都得重启cli，这个得再看下\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerjs%2Fsuite-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcerjs%2Fsuite-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerjs%2Fsuite-demo/lists"}