{"id":47820359,"url":"https://github.com/kubebb/component-store","last_synced_at":"2026-04-03T19:06:51.968Z","repository":{"id":182267089,"uuid":"668139337","full_name":"kubebb/component-store","owner":"kubebb","description":"Component store to list, view and deploy various components.","archived":false,"fork":false,"pushed_at":"2024-02-22T02:08:19.000Z","size":1250,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-03T23:41:14.174Z","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/kubebb.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-19T05:50:52.000Z","updated_at":"2024-01-12T07:24:01.000Z","dependencies_parsed_at":"2024-02-02T09:23:41.002Z","dependency_job_id":"2878dec2-2ec3-4724-9910-c0a360561887","html_url":"https://github.com/kubebb/component-store","commit_stats":null,"previous_names":["kubebb/component-store"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kubebb/component-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubebb%2Fcomponent-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubebb%2Fcomponent-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubebb%2Fcomponent-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubebb%2Fcomponent-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubebb","download_url":"https://codeload.github.com/kubebb/component-store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubebb%2Fcomponent-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31371978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-04-03T19:06:51.178Z","updated_at":"2026-04-03T19:06:51.952Z","avatar_url":"https://github.com/kubebb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 组件市场 component-store\n\nComponent store to list, view and deploy various components.\n\n---\n\n## 开发构建\n\n### 快速开始\n\n克隆项目:\n\n```bash\ngit clone git@github.com:kubebb/component-store.git --recurse-submodules\n# 如果忘记加这个 flag，也可以在 clone 代码后再执行以下命令来获取 submodule 的内容：\ngit submodule update --init --recursive\n```\n\n环境要求：\n\n- **Node.js v18.x**\n- **pnpm v8.x**\n\n进入目录安装依赖:\n\n```bash\nnpm i pnpm @antfu/ni -g\nni\n```\n\n开发：\n\n```bash\n# 开发 portal\nnr dev:portal\n\n# 开发 server\nnr dev:server\n```\n\n### 构建\n\n#### 仅构建静态文件\n\n```bash\nnr build\n```\n\n#### 构建镜像\n\n执行以下命令可在本地构建镜像：\n\n```bash\nchmod +x ./build.sh ./update_base_image.sh\n./build.sh\n```\n\n运行镜像：\n\n```bash\ndocker run -d -p 8066:8066 172.22.50.223/dev-branch/component-store:main\n```\n\n### 代码风格检查\n\n初始化 git hooks 工具 husky：\n\n```bash\nnpx husky add .husky/pre-commit 'npm run lint-staged'\nnpx husky add .husky/commit-msg 'npx --no -- commitlint --edit \"$1\"'\nchmod +x .husky/pre-commit .husky/commit-msg\n# 记得提交初始化好的 husky 脚本\ngit add .husky/\n```\n\n**注意：初始化项目后一定要再初始化下 git hooks 工具 husky，记得提交初始化好的 husky 脚本。**\n\n执行 lint 检查：\n\n```bash\nnr lint\n```\n\n\u003e 注意事项: lint 规则默认忽略了 js、jsx 及 index.css 文件，这些文件一般都是低代码平台自动生成的，如果要手动开发页面，请使用 ts、tsx 及 less。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubebb%2Fcomponent-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubebb%2Fcomponent-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubebb%2Fcomponent-store/lists"}