{"id":16375132,"url":"https://github.com/bluzzi/react-components-lib-test","last_synced_at":"2025-04-18T15:14:49.797Z","repository":{"id":110791476,"uuid":"579735451","full_name":"Bluzzi/React-Components-Lib-Test","owner":"Bluzzi","description":"An example of a React component library structure with TypeScript, Vite, Tailwind, Vitest, Testing Library and Storybook.","archived":false,"fork":false,"pushed_at":"2023-01-09T15:04:42.000Z","size":47,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:22:48.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Bluzzi.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,"publiccode":null,"codemeta":null}},"created_at":"2022-12-18T18:34:16.000Z","updated_at":"2024-04-14T15:39:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"54ebf522-38c9-471a-bf56-d0d56de37e61","html_url":"https://github.com/Bluzzi/React-Components-Lib-Test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bluzzi%2FReact-Components-Lib-Test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bluzzi%2FReact-Components-Lib-Test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bluzzi%2FReact-Components-Lib-Test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bluzzi%2FReact-Components-Lib-Test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bluzzi","download_url":"https://codeload.github.com/Bluzzi/React-Components-Lib-Test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249184603,"owners_count":21226419,"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":[],"created_at":"2024-10-11T03:19:44.931Z","updated_at":"2025-04-16T02:32:56.745Z","avatar_url":"https://github.com/Bluzzi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Components Library Example\nAn example of a React component library structure with TypeScript, Vite, Tailwind, Vitest, Testing Library and Storybook.\n\n## Installation (/!\\ example /!\\\\)\nInstall the package:\n```\nnpm install react-components-lib-example\n```\n\nIn your Tailwind configuration, import the design system configuration as a preset and into the content source:\n```ts\n/** @type {import(\"tailwindcss\"_).Config} */\nmodule.exports = {\n  presets: [\n    require(\"react-components-lib-example/tailwind.config.cjs\")\n  ],\n  content: [\n    \"./node_modules/react-components-lib-example/dist/**/*.{js,ts}\",\n    // ...\n  ]\n  // ...\n};\n```\n\n## Component structure\n- `element.tsx`: component (React, Tailwind)\n- `element.test.tsx`: tests (Vitest, Testing Library)\n- `element.story.tsx`: story definitions (Storybook)\n- `element.type.ts`: types (TypeScript)\n- `index.ts`: barrel export","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzzi%2Freact-components-lib-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluzzi%2Freact-components-lib-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzzi%2Freact-components-lib-test/lists"}