{"id":22472380,"url":"https://github.com/hojas/frontend-project-starter","last_synced_at":"2025-03-27T16:22:17.077Z","repository":{"id":173535627,"uuid":"649973771","full_name":"hojas/frontend-project-starter","owner":"hojas","description":"A starter template for frontend project with commit lint.","archived":false,"fork":false,"pushed_at":"2024-01-20T10:05:49.000Z","size":638,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T20:11:24.551Z","etag":null,"topics":["project","starter","template"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/hojas.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}},"created_at":"2023-06-06T03:52:53.000Z","updated_at":"2024-02-01T08:05:41.000Z","dependencies_parsed_at":"2023-07-10T22:01:52.210Z","dependency_job_id":"8e698de8-b863-4df2-966f-88e9cd5aa388","html_url":"https://github.com/hojas/frontend-project-starter","commit_stats":null,"previous_names":["hojas/vue-typescript-starter","hojas/front-end-project-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hojas%2Ffrontend-project-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hojas%2Ffrontend-project-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hojas%2Ffrontend-project-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hojas%2Ffrontend-project-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hojas","download_url":"https://codeload.github.com/hojas/frontend-project-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245879155,"owners_count":20687331,"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":["project","starter","template"],"created_at":"2024-12-06T12:14:42.611Z","updated_at":"2025-03-27T16:22:17.053Z","avatar_url":"https://github.com/hojas.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# frontend-project-starter\n\nA starter template for frontend project with commit lint.\n\n## Features\n\n- [x] ESLint\n- [x] StyleLint\n- [x] commitlint\n- [x] husky\n- [x] lint-staged\n- [x] commitizen\n- [x] conventional-changelog\n\n## Init commitlint\n\nhttps://commitlint.js.org/#/guides-local-setup\n\n```shell\n$ pnpm add -D @commitlint/{config-conventional,cli}\n$ echo \"module.exports = { extends: ['@commitlint/config-conventional'] }\" \u003e commitlint.config.js\n```\n\n## Init husky\n\nhttps://typicode.github.io/husky/getting-started.html\n\n```shell\n$ pnpm dlx husky-init \u0026\u0026 pnpm install\n$ pnpm husky add .husky/commit-msg 'pnpm commitlint --edit \"$1\"'\n```\n\nEdit `.husky/pre-commit`:\n\n```shell\n#!/usr/bin/env sh\n. \"$(dirname -- \"$0\")/_/husky.sh\"\n\npnpm lint-staged --allow-empty \"$1\"\n```\n\n## Init cz\n\nhttp://commitizen.github.io/cz-cli/\n\n```shell\n$ pnpm add -D commitizen cz-conventional-changelog\n```\n\nTouch `.czrc`:\n\n```json\n{\n  \"path\": \"cz-conventional-changelog\"\n}\n```\n\nTouch file `.husky/prepare-commit-msg`:\n\n```shell\n#!/usr/bin/env sh\n. \"$(dirname -- \"$0\")/_/husky.sh\"\n\nexec \u003c /dev/tty \u0026\u0026 pnpm cz --hook || true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhojas%2Ffrontend-project-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhojas%2Ffrontend-project-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhojas%2Ffrontend-project-starter/lists"}