{"id":15067476,"url":"https://github.com/lq782655835/yi-ui","last_synced_at":"2025-08-25T21:06:26.278Z","repository":{"id":57403714,"uuid":"158398272","full_name":"lq782655835/yi-ui","owner":"lq782655835","description":"Vue轻量级基础组件库","archived":false,"fork":false,"pushed_at":"2024-10-24T21:16:15.000Z","size":6543,"stargazers_count":14,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T11:43:07.826Z","etag":null,"topics":["library","ui","vuejs2"],"latest_commit_sha":null,"homepage":"https://lq782655835.github.io/yi-ui","language":"Vue","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/lq782655835.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-11-20T14:00:22.000Z","updated_at":"2024-12-03T06:46:09.000Z","dependencies_parsed_at":"2025-02-17T12:41:59.138Z","dependency_job_id":null,"html_url":"https://github.com/lq782655835/yi-ui","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lq782655835/yi-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fyi-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fyi-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fyi-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fyi-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lq782655835","download_url":"https://codeload.github.com/lq782655835/yi-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fyi-ui/sbom","scorecard":{"id":600624,"data":{"date":"2025-08-11","repo":{"name":"github.com/lq782655835/yi-ui","commit":"967edb981ae491f1bfc2ff6311694a39abc96d4e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T00:19:42.260Z","repository_id":57403714,"created_at":"2025-08-21T00:19:42.260Z","updated_at":"2025-08-21T00:19:42.260Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272131796,"owners_count":24878986,"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":["library","ui","vuejs2"],"created_at":"2024-09-25T01:24:20.247Z","updated_at":"2025-08-25T21:06:26.255Z","avatar_url":"https://github.com/lq782655835.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yi-ui\n\na lightweight ui component for vue2.x\n\n[![NPM Version][npm-img]][npm-url]\n[![Dependencies][david-img]][david-url]\n[![NPM Download][download-img]][download-url]\n\n[npm-img]: http://img.shields.io/npm/v/yi-ui.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/yi-ui\n[david-img]: https://img.shields.io/github/repo-size/lq782655835/yi-ui.svg\n[david-url]: https://npmjs.org/package/yi-ui\n[download-img]: https://img.shields.io/npm/dm/yi-ui.svg?style=flat-square\n[download-url]: https://npmjs.org/package/yi-ui\n\n## Setup\n```\nnpm install yi-ui\n```\n\n## Usage\n\n``` js\nimport YIUI from 'yi-ui'\nimport 'yi-ui/dist/YIUI.css'\nVue.use(YIUI)\n```\n\n``` html\n\u003cu-link\u003eclick me\u003c/u-link\u003e\n\u003cu-button type=\"primary\"\u003eclick me\u003c/u-button\u003e\n```\n\n## Components\n\n* 基础组件\n    * [u-link](./packages/u-link.vue)\n    * [u-button](./packages/u-button.vue)\n    * [u-icon](./packages/u-icon.vue)\n    * [u-layout](./packages/u-layout.vue)\n* 表单组件\n    * [u-input/textarea](./packages/u-input.vue)\n    * [u-select](./packages/u-select.vue)\n    * [u-switch](./packages/u-switch.vue)\n    * [u-radios/radio](./packages/u-radio/u-radios.vue)\n    * [u-checkboxs/checkbox](./packages/u-checkbox/u-checkboxs.vue)\n    * [u-form/u-form-item](./packages/u-form/u-form.vue)\n* 实用组件\n    * [u-table/u-table-column](./packages/u-table/u-table.vue)\n    * [u-pagination](./packages/u-pagination.vue)\n    * [u-tabs/u-tab](./packages/u-tab/u-tabs.vue)\n    * [u-crumb/u-crumb-item](./packages/u-crumb/u-crumb.vue)\n* 弹出框组件\n    * [u-modal](./packages/u-modal.vue)\n    * [u-toast](./packages/u-toast.vue)\n    * [u-tooltip/u-popper](./packages/u-tooltip.vue)\n\n## 本地开发组件库\n\n``` sh\nnpm install\nnpm run dev\n```\n\n### 1. git commit msg 规范\n\n``` sh\ngit commit -m 'feat: add feature'\n```\n* feat: 表示新增了一个功能\n* fix: 表示修复了一个 bug\n* docs: 表示只修改了文档\n* style: 表示修改格式、书写错误、空格等不影响代码逻辑的操作\n* refactor: 表示修改的代码不是新增功能也不是修改 bug，比如代码重构\n* perf: 表示修改了提升性能的代码\n* test: 表示修改了测试代码\n* build: 表示修改了编译配置文件\n* chore: 无 src 或 test 的操作\n* revert: 回滚操作\n\n### 2. 使用npm run commit提交\n\n``` sh\nnpm run commit\n```\n\n### 3. 书写docs文档\n\n在docs下直接书写markdown文档即可，并在docs/.vuepress/config.js下配置目录。详见[vuepress配置](https://vuepress.vuejs.org/zh/config/)。\n\n发布到github可执行命令：\n``` sh\nnpm run release:docs\n```\n\n## 组件库打包及发布\n\n``` sh\nnpm publish\n```\n\n## Preview\n\n![image](https://user-images.githubusercontent.com/6310131/56558066-fbe16880-65cf-11e9-9940-07c7be20834c.png)\n\n## License\n\nThe code is distributed under the [MIT](http://opensource.org/licenses/MIT) license","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flq782655835%2Fyi-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flq782655835%2Fyi-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flq782655835%2Fyi-ui/lists"}