{"id":22870820,"url":"https://github.com/devsroutes/vite-plugin-modulespress","last_synced_at":"2026-01-30T01:35:31.335Z","repository":{"id":265272696,"uuid":"895681023","full_name":"devsroutes/vite-plugin-modulespress","owner":"devsroutes","description":"The Official Vite Plugin for ModulesPress⚡️","archived":false,"fork":false,"pushed_at":"2024-11-29T13:17:28.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T04:35:09.661Z","etag":null,"topics":["react","typescript","vite","vite-plugin","wordpress","wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://modulespress.devsroutes.co","language":"TypeScript","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/devsroutes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-28T17:06:53.000Z","updated_at":"2024-11-30T12:29:03.000Z","dependencies_parsed_at":"2024-11-30T02:16:23.779Z","dependency_job_id":null,"html_url":"https://github.com/devsroutes/vite-plugin-modulespress","commit_stats":null,"previous_names":["devsroutes/vite-plugin-modulespress"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsroutes%2Fvite-plugin-modulespress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsroutes%2Fvite-plugin-modulespress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsroutes%2Fvite-plugin-modulespress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsroutes%2Fvite-plugin-modulespress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsroutes","download_url":"https://codeload.github.com/devsroutes/vite-plugin-modulespress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248270138,"owners_count":21075790,"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":["react","typescript","vite","vite-plugin","wordpress","wordpress-development","wordpress-plugin"],"created_at":"2024-12-13T13:16:20.071Z","updated_at":"2026-01-30T01:35:31.297Z","avatar_url":"https://github.com/devsroutes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @modulespress/vite-plugin\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://modulespress.devsroutes.co/logo.png\" alt=\"ModulesPress Logo\" width=\"200\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A Vite plugin for ModulesPress framework that enables modern frontend development in WordPress plugins.\n\u003c/p\u003e\n\n## Features\n\n- TypeScript and React support out of the box\n- SCSS processing with modern API\n- Hot Module Replacement (HMR) for PHP files\n- Asset manifest generation\n- Optimized build output structure\n\n## Installation\n\n```bash\nnpm install @modulespress/vite-plugin --save-dev\n```\n\n## Usage\n\n```typescript\n// vite.config.ts\nimport { defineConfig } from 'vite'\nimport { ModulesPressVitePlugin } from '@modulespress/vite-plugin'\n\nexport default defineConfig({\n  plugins: [\n    ModulesPressVitePlugin({\n      // options\n    })\n  ]\n})\n```\n\n## Options\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `inputPatterns` | `string[]` | `['./**/*.(script.ts\\|script.tsx)', './**/*.style.scss']` | Glob patterns for entry files |\n| `pluginRootDir` | `string` | `'./'` | Root directory of your plugin |\n| `scssOptions` | `Record\u003cstring, any\u003e` | `{ api: 'modern-compiler' }` | SCSS compiler options |\n| `refreshExtensions` | `string[] \\| false` | `['.php']` | File extensions that trigger full page reload |\n\n## Requirements\n\n- Node.js 14.x or higher\n- Vite 5.x\n- TypeScript (for TypeScript usage)\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details\n\n## Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n### Development Setup\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Make your changes\n4. Build the plugin: `npm run build`\n5. Test your changes\n\n### Guidelines\n\n- Follow the existing code style\n- Write clear commit messages\n- Add tests if applicable\n- Update documentation as needed\n\nFor major changes, please open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsroutes%2Fvite-plugin-modulespress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsroutes%2Fvite-plugin-modulespress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsroutes%2Fvite-plugin-modulespress/lists"}