{"id":22933811,"url":"https://github.com/woshiajuana/codelet","last_synced_at":"2025-08-12T17:32:04.889Z","repository":{"id":57399455,"uuid":"125792844","full_name":"Woshiajuana/codelet","owner":"Woshiajuana","description":"轻量级微信小程序框架","archived":false,"fork":false,"pushed_at":"2024-11-22T09:36:00.000Z","size":509,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-08T15:35:30.519Z","etag":null,"topics":["mini","miniprogram","wechat"],"latest_commit_sha":null,"homepage":"","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/Woshiajuana.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-19T02:51:11.000Z","updated_at":"2024-11-22T09:36:04.000Z","dependencies_parsed_at":"2024-01-21T14:26:51.474Z","dependency_job_id":"6b960199-a349-47b7-ad40-f77554b6a067","html_url":"https://github.com/Woshiajuana/codelet","commit_stats":null,"previous_names":["woshiajuana/bee","woshiajuana/wow-react","woshiajuana/codelet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Woshiajuana%2Fcodelet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Woshiajuana%2Fcodelet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Woshiajuana%2Fcodelet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Woshiajuana%2Fcodelet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Woshiajuana","download_url":"https://codeload.github.com/Woshiajuana/codelet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229699951,"owners_count":18109851,"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":["mini","miniprogram","wechat"],"created_at":"2024-12-14T11:35:08.660Z","updated_at":"2025-08-12T17:32:04.873Z","avatar_url":"https://github.com/Woshiajuana.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codelet\n\n## 搭建\n\n```sh\n\n```\n\n## 初步版本目标\n\n- 支持 `ts`\n- 支持 `sass`\n- 支持 `app.json` 自动生成\n- 支持分包策略\n- 支持事件传递参数\n\n## 问题\n\n- 修复PC端没法捕获错误，wx.onUnhandledRejection\n\n```js\nclass CustomPromise extends Promise {\n  constructor(executor) {\n    super((resolve, reject) =\u003e {\n      executor(resolve, (reason) =\u003e {\n        onError(reason)\n        console.log('executor =\u003e ', reason)\n        reject(reason)\n      })\n    })\n  }\n}\nglobal.Promise = CustomPromise // 替换全局Promise\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoshiajuana%2Fcodelet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoshiajuana%2Fcodelet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoshiajuana%2Fcodelet/lists"}