{"id":16970571,"url":"https://github.com/vinniciusgomes/react-library-architecture","last_synced_at":"2025-10-17T09:38:03.969Z","repository":{"id":42653066,"uuid":"475587629","full_name":"vinniciusgomes/react-library-architecture","owner":"vinniciusgomes","description":"🛠 Archref for React Library with TypeScript","archived":false,"fork":false,"pushed_at":"2022-03-29T21:07:10.000Z","size":4505,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T22:13:13.258Z","etag":null,"topics":["jest","react","react-library","rollup","stitches","storybook"],"latest_commit_sha":null,"homepage":"https://vinniciusgomes.dev","language":"JavaScript","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/vinniciusgomes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-03-29T19:18:49.000Z","updated_at":"2024-01-03T18:04:14.000Z","dependencies_parsed_at":"2022-09-14T17:03:05.664Z","dependency_job_id":null,"html_url":"https://github.com/vinniciusgomes/react-library-architecture","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vinniciusgomes/react-library-architecture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinniciusgomes%2Freact-library-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinniciusgomes%2Freact-library-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinniciusgomes%2Freact-library-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinniciusgomes%2Freact-library-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinniciusgomes","download_url":"https://codeload.github.com/vinniciusgomes/react-library-architecture/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinniciusgomes%2Freact-library-architecture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279318362,"owners_count":26147232,"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-10-17T02:00:07.504Z","response_time":56,"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":["jest","react","react-library","rollup","stitches","storybook"],"created_at":"2024-10-14T00:28:41.332Z","updated_at":"2025-10-17T09:38:03.935Z","avatar_url":"https://github.com/vinniciusgomes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca\u003e\u003cimg src=\"https://raw.githubusercontent.com/vinniciusgomes/react-architecture/master/.github/architecture.png\" alt=\"logo\" width=\"100%\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/languages/count/vinniciusgomes/react-library-architecture\"\u003e\n\n  \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/vinniciusgomes/react-library-architecture\"\u003e\n\n  \u003ca href=\"https://github.com/vinniciusgomes/react-library-architecture/commits/master\"\u003e\n    \u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/vinniciusgomes/react-library-architecture\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/vinniciusgomes/react-library-architecture/issues\"\u003e\n    \u003cimg alt=\"Repository issues\" src=\"https://img.shields.io/github/issues/vinniciusgomes/react-library-architecture.svg\"\u003e\n  \u003c/a\u003e\n\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/badge/license-MIT-brightgreen\"\u003e\n\n   \u003ca href=\"https://github.com/vinniciusgomes/react-library-architecture/stargazers\"\u003e\n    \u003cimg alt=\"Stargazers\" src=\"https://img.shields.io/github/stars/vinniciusgomes/react-library-architecture?style=social\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Principles\n\n- Dependencies\n  - All build-time dependencies must be defined in `peerDependencies`\n    - It also necessaries add do `devDependencies`\n  - `dependencies` it just added if the library has an specific dependencies\n- Testing library\n  - Use demo application for validate your library\n  - Use `npm link` to validate integration resources [link](https://docs.npmjs.com/cli/link.html)\n\n---\n\n## Building with [Rollup](https://rollupjs.org/)\n\n- Apart from compile TS to JS, it is currently prepared to handle fonts, images _(svg,png,jpg,jpeg,gif)_ and json\n  - fonts are copied and referenced\n  - JSONs are embeded in the bundle\n  - Images are encoded to base64 and are bundled or chunked\n\n---\n\n### Before releasing new library\n\n- Do not forget to delete MyComponent\n  - It is only a sample\n- Edit Readme, filling template below with valid information\n- Edit Changelog to reflect new library\n- For new components, use the template below to describe it\n\n---\n\n# Components\n\n## MyComponent\n\n- Props\n\n```tsx\ninterface MyComponentProps {\n  children: ReactChild\n}\n```\n\n- Usage\n\n```tsx\nimport { MyComponent } from 'react-library-architecture';\n\n\u003cMyComponent\u003evalid-text\u003c/MyComponent\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinniciusgomes%2Freact-library-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinniciusgomes%2Freact-library-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinniciusgomes%2Freact-library-architecture/lists"}