{"id":15292507,"url":"https://github.com/hub-yang/todo-scripts","last_synced_at":"2026-02-11T08:48:18.355Z","repository":{"id":225455617,"uuid":"766034940","full_name":"Hub-yang/todo-scripts","owner":"Hub-yang","description":"一些帮助简化前端配置工程的通用脚本","archived":false,"fork":false,"pushed_at":"2025-03-18T06:58:04.000Z","size":194,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T02:21:42.511Z","etag":null,"topics":["bash","node","sh"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@huberyyang/todo-scripts","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hub-yang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-03-02T06:42:26.000Z","updated_at":"2025-03-18T06:50:54.000Z","dependencies_parsed_at":"2024-03-21T07:25:01.324Z","dependency_job_id":"97717cdc-6d32-4510-9d5d-5644da0d1cb3","html_url":"https://github.com/Hub-yang/todo-scripts","commit_stats":null,"previous_names":["hub-yang/private-scripts","hub-yang/todo-scripts"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hub-yang%2Ftodo-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hub-yang%2Ftodo-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hub-yang%2Ftodo-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hub-yang%2Ftodo-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hub-yang","download_url":"https://codeload.github.com/Hub-yang/todo-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703199,"owners_count":21148118,"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":["bash","node","sh"],"created_at":"2024-09-30T16:18:28.703Z","updated_at":"2026-02-11T08:48:18.351Z","avatar_url":"https://github.com/Hub-yang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🔥 todo-scripts\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Hub-yang/todo-scripts\"\u003e\u003cimg src=\"https://img.shields.io/github/package-json/v/Hub-yang/todo-scripts?style=flat-square\u0026label=%20\u0026color=%23000\" alt=\"github version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Hub-yang/todo-scripts\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=%F0%9F%8C%9F\u0026message=If%20Useful\u0026style=flat-square\u0026color=BC4E99\" alt=\"star badge\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/license/MIT\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/express?style=flat-square\" alt=\"license\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n### 💡 说明 (Features)\n\n一些帮助简化前端配置工程的通用脚本\n\n### 📦 安装 (Install)\n\n```shell\n# npm\nnpm install --save-dev @huberyyang/todo-scripts\n# pnpm\npnpm add --save-dev @huberyyang/todo-scripts\n# yarn\nyarn add --dev @huberyyang/todo-scripts\n# bun\nbun add --dev @huberyyang/todo-scripts\n```\n\n### 🔌 当前可用指令 (Current Script)\n\n- `commitlint-init`\n\n\u003cdetails\u003e\n\u003csummary\u003e\n🟢 commitlint-init\n\u003c/summary\u003e\n\n🚀 无需安装，一键生成 [commitlint](https://github.com/conventional-changelog/commitlint) + [husky](https://github.com/typicode/husky) + [lint-staged](https://github.com/lint-staged/lint-staged) 配置\n\n#### ⚡️ 执行\n\n```shell\n# npm\nnpx hubery commitlint-init\n# pnpm\npnpm exec hubery commitlint-init\n# yarn\nyarn hubery commitlint-init\n# bun\nbunx hubery commitlint-init\n```\n\n#### ⚙️ 参数说明\n\n- `-h, --help` 查看帮助\n- `--clear` 清洁执行 - 执行完脚本后卸载模块\n- `--czgit` 配置[cz-git](https://github.com/Zhengqbbb/cz-git)支持\n\n#### 🎉 测试\n\n\u003e [!NOTE]\n\u003e eslint 会在每次执行commit前自动执行，如需更改commit钩子执行前的命令，可自行修改**package.json**中**lint-staged**配置\n\n```shell\ngit add .\ngit commit -m \"test commitlint\"\n```\n\n### 📜 许可证 (License)\n\nMIT License © 2026 [Hubery Yang](https://github.com/Hub-yang)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhub-yang%2Ftodo-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhub-yang%2Ftodo-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhub-yang%2Ftodo-scripts/lists"}