{"id":33376330,"url":"https://github.com/ohcnetwork/create-care-mfe-plug","last_synced_at":"2026-01-20T16:49:39.985Z","repository":{"id":325412983,"uuid":"1101054345","full_name":"ohcnetwork/create-care-mfe-plug","owner":"ohcnetwork","description":"CLI tool to scaffold Care MFE plugins quickly and easily.","archived":false,"fork":false,"pushed_at":"2025-11-21T07:58:23.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-21T08:35:45.500Z","etag":null,"topics":["care","mfe","npm","shadcn","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/create-care-mfe-plug","language":"JavaScript","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/ohcnetwork.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-21T06:03:48.000Z","updated_at":"2025-11-21T07:57:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ohcnetwork/create-care-mfe-plug","commit_stats":null,"previous_names":["ohcnetwork/create-care-fe-plug"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ohcnetwork/create-care-mfe-plug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcreate-care-mfe-plug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcreate-care-mfe-plug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcreate-care-mfe-plug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcreate-care-mfe-plug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohcnetwork","download_url":"https://codeload.github.com/ohcnetwork/create-care-mfe-plug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcreate-care-mfe-plug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285879574,"owners_count":27247109,"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-11-22T02:00:05.934Z","response_time":64,"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":["care","mfe","npm","shadcn","tailwindcss","vite"],"created_at":"2025-11-23T00:00:54.592Z","updated_at":"2025-11-23T00:02:35.252Z","avatar_url":"https://github.com/ohcnetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-care-mfe-plug\n\nCLI tool to scaffold Care FE plugins quickly and easily.\n\n## Usage\n\n### Using npx (Recommended)\n\n```bash\nnpx create-care-mfe-plug my-plugin-name\n```\n\n### Using npm\n\n```bash\nnpm install -g create-care-mfe-plug\ncreate-care-mfe-plug my-plugin-name\n```\n\n### Interactive Mode\n\nIf you don't provide a project name, the CLI will prompt you for one:\n\n```bash\nnpx create-care-mfe-plug\n```\n\n## What it does\n\nThe CLI will:\n\n1. **Prompt for project name** - If not provided as an argument\n2. **Prompt for port number** - Default is 10120\n3. **Create a new directory** with your project name\n4. **Copy the template** files\n5. **Configure the project** with proper name transformations:\n   - **Package name**: Uses your input as-is (e.g., \"MyPlugin\")\n   - **Vite federation name**: Converts to snake_case (e.g., \"my_plugin\")\n   - **Plugin manifest**: Converts to kebab-case (e.g., \"my-plugin\")\n6. **Set the port number** in the Vite config\n\n## Example\n\n```bash\n$ npx create-care-mfe-plug care-patient-vitals\n\n🏥 Create Care FE Plugin\n\n✔ What port should the dev server run on? … 10120\n\n🚀 Creating new Care FE plugin...\n\n📁 Copying template files...\n🔧 Configuring project...\n\n✅ Project created successfully!\n\nNext steps:\n\n  cd care-patient-vitals\n  npm install\n  npm start\n\n  Your plugin will be available at http://localhost:10120\n```\n\n## Project Structure\n\nThe generated project includes:\n\n- **React 19** with TypeScript\n- **Vite** for build tooling\n- **Module Federation** for plugin architecture\n- **TailwindCSS** for styling\n- **Radix UI** components\n- **React Query** for data fetching\n- **i18next** for internationalization\n- **ESLint \u0026 Prettier** for code quality\n- **Husky** for git hooks\n\n## Requirements\n\n- Node.js \u003e= 18.0.0\n- npm or yarn\n\n## Development\n\nAfter creating your plugin:\n\n```bash\ncd your-plugin-name\nnpm install\nnpm start\n```\n\nYour plugin will be available at the port you specified during setup.\n\n## Building for Production\n\n```bash\nnpm run build\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fcreate-care-mfe-plug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohcnetwork%2Fcreate-care-mfe-plug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fcreate-care-mfe-plug/lists"}