{"id":17438282,"url":"https://github.com/nu-system/react","last_synced_at":"2026-05-03T04:39:36.533Z","repository":{"id":57093874,"uuid":"275805176","full_name":"nu-system/react","owner":"nu-system","description":"💪 一个无 UI 依赖的 react 母版组件库系统","archived":false,"fork":false,"pushed_at":"2021-05-31T07:05:36.000Z","size":1154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T21:46:51.279Z","etag":null,"topics":["acss","lerna","react"],"latest_commit_sha":null,"homepage":null,"language":"Less","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/nu-system.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}},"created_at":"2020-06-29T12:15:26.000Z","updated_at":"2021-05-31T07:05:38.000Z","dependencies_parsed_at":"2022-08-22T21:40:37.280Z","dependency_job_id":null,"html_url":"https://github.com/nu-system/react","commit_stats":null,"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu-system%2Freact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu-system%2Freact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu-system%2Freact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu-system%2Freact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nu-system","download_url":"https://codeload.github.com/nu-system/react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245689494,"owners_count":20656416,"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":["acss","lerna","react"],"created_at":"2024-10-17T12:05:24.597Z","updated_at":"2026-05-03T04:39:31.489Z","avatar_url":"https://github.com/nu-system.png","language":"Less","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @\\_nu/react\n\n💪 一个无 UI 依赖的 react 母版组件库系统\n\n## Feature\n\n- lerna: 用 lerna 来处理发布问题\n- yarn workspace: 用 yarn 来处理依赖问题\n- nwb: 用 nwb 处理 react demo 问题\n- father: 做 React 组件构建\n- gulp: 做 CSS 组件构建\n\n## 开发 npm-scripts\n\n```bash\n$ lerna list  // 查看组件列表\n$ yarn workspace @_nu/react-button nwb serve-react-demo  // 跑 demo\n$ yarn workspace @_nu/react-button add package           // 为组件添加依赖\n$ yarn workspace @_nu/react-button jest // 跑测试\n$ yarn add package -W        // 为根目录安装依赖\n$ yarn build:css   // 逐个 运行 CSS packages 中的 build 命名\n$ yarn build:react // 逐个 运行 react packages 中的 build 命名\n$ yarn cz  // 代码提交\n$ yarn br:*  // build-react:Componentname \n$ yarn bc:*  // build-css:Componentname \n$ yarn sr:*  // start-react:Componentname \n$ yarn sc:*  // start-css:Componentname \n$ lerna run --stream --sort build   #按照拓扑顺序运行所有包 build 命名\n$ lerna publish // 发布代码\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnu-system%2Freact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnu-system%2Freact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnu-system%2Freact/lists"}