{"id":49478510,"url":"https://github.com/node-ecosystem/vite-patcher","last_synced_at":"2026-04-30T21:00:46.311Z","repository":{"id":354655585,"uuid":"1224466802","full_name":"node-ecosystem/vite-patcher","owner":"node-ecosystem","description":"Patches for Vite Plugins","archived":false,"fork":false,"pushed_at":"2026-04-29T12:40:33.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-29T14:41:22.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/node-ecosystem.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":"2026-04-29T10:03:37.000Z","updated_at":"2026-04-29T12:40:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/node-ecosystem/vite-patcher","commit_stats":null,"previous_names":["node-ecosystem/vite-patcher"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/node-ecosystem/vite-patcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ecosystem%2Fvite-patcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ecosystem%2Fvite-patcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ecosystem%2Fvite-patcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ecosystem%2Fvite-patcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-ecosystem","download_url":"https://codeload.github.com/node-ecosystem/vite-patcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ecosystem%2Fvite-patcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-30T21:00:32.106Z","updated_at":"2026-04-30T21:00:46.286Z","avatar_url":"https://github.com/node-ecosystem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-patcher\n\nInject Vite Plugins and related configurations into your [vite.config](https://vite.dev/config).\n\n## Supported Plugins\n\n- **[vite-plugin-pwa](https://www.npmjs.com/package/vite-plugin-pwa)** ~ Add [Progressive Web App (PWA)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)\n  - Support [vike](https://www.npmjs.com/package/vike) too\n\n## Installation\n\nUsing npm:\n```bash\nnpm install -D vite-patcher\n```\n\nUsing yarn:\n```bash\nyarn add -D vite-patcher\n```\n\nUsing pnpm:\n```bash\npnpm add -D vite-patcher\n```\n\n## Usage\n\nRun the CLI tool directly to apply patches to your Vite configuration.\n\n### pwa\n\nApply the PWA patch\n\nUsing npm:\n```bash\nnpm run vite-patcher pwa\n```\n\nUsing yarn:\n```bash\nyarn vite-patcher pwa\n```\n\nUsing pnpm:\n```bash\npnpm vite-patcher pwa\n```\n\nOr execute\n\nUsing npm:\n```bash\nnpx vite-patcher pwa\n```\n\nUsing yarn:\n```bash\nyarn dlx vite-patcher pwa\n```\n\nUsing pnpm:\n```bash\npnpm dlx vite-patcher pwa\n```\n\n## Contributing\n\n1. Clone the repository.\n2. Install dependencies with `yarn install`.\n3. Build the project using `yarn build` (uses `tsdown`).\n4. Run tests with `yarn test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-ecosystem%2Fvite-patcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-ecosystem%2Fvite-patcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-ecosystem%2Fvite-patcher/lists"}