{"id":13607959,"url":"https://github.com/bhbs/viject","last_synced_at":"2026-03-13T06:02:53.418Z","repository":{"id":65601354,"uuid":"539038687","full_name":"bhbs/viject","owner":"bhbs","description":"A tool for migrating your React app from react-scripts (Create React App) to Vite","archived":false,"fork":false,"pushed_at":"2025-02-15T10:20:33.000Z","size":2072,"stargazers_count":167,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T10:28:55.405Z","etag":null,"topics":["create-react-app","react","vite"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/viject","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/bhbs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-09-20T14:41:41.000Z","updated_at":"2025-02-15T10:20:37.000Z","dependencies_parsed_at":"2024-01-07T18:06:41.219Z","dependency_job_id":"80894bd1-6efd-45a3-af19-072d9590e03e","html_url":"https://github.com/bhbs/viject","commit_stats":{"total_commits":74,"total_committers":3,"mean_commits":"24.666666666666668","dds":0.04054054054054057,"last_synced_commit":"a02be93211c62e83f1baca017e463a384d195d4d"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhbs%2Fviject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhbs%2Fviject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhbs%2Fviject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhbs%2Fviject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhbs","download_url":"https://codeload.github.com/bhbs/viject/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581187,"owners_count":21128118,"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":["create-react-app","react","vite"],"created_at":"2024-08-01T19:01:23.126Z","updated_at":"2026-03-13T06:02:48.400Z","avatar_url":"https://github.com/bhbs.png","language":"TypeScript","funding_links":[],"categories":["Migrations"],"sub_categories":["React"],"readme":"# Viject ⚡\n\n\u003e A tool for migrating your React app from react-scripts (Create React App) to Vite\n\n## Usage\n\n\u003ca href=\"https://nodejs.org/en/about/releases/\"\u003e\n  \u003cimg src=\"https://img.shields.io/node/v/viject\" alt=\"node compatibility\"\u003e\n\u003c/a\u003e\n\n```sh\ncd \u003cYOUR_APP\u003e\nnpx viject\n```\n\n## Concept\n\nEnables one-shot migration from CRA to Vite. Differences are absorbed in vite.config, allowing for a gradual migration with minimal changes.\n\nSee more details in [doc](/docs/release.md)\n\n## How it works\n\n1. Rewrite npm scripts\n2. Add dependencies\n3. Rewrite `react-app-env.d.ts`\n4. Move `index.html`\n5. Transform `.js` files including JSX into `.jsx`\n6. Add `vite.config.(js|ts)` includes plugins for CRA compatibility\n\n## Supported features\n\n- 🟢 Using HTTPS in Development\n\n### Styles and Assets\n\n- 🟢 Adding a Stylesheet\n- 🟢 Adding a CSS Modules Stylesheet\n- 🟢 Adding a Sass Stylesheet\n- 🟡 Adding a CSS Reset (https://create-react-app.dev/docs/adding-css-reset)\n- 🟢 Post-Processing CSS\n- 🟢 Adding Images, Fonts, and Files\n- 🟡 Loading .graphql Files (https://create-react-app.dev/docs/loading-graphql-files)\n- 🟢 Using the Public Folder\n- 🟢 Code Splitting\n\n### Build\n\n- 🟢 Adding Bootstrap\n- 🟡 Adding Flow (https://create-react-app.dev/docs/adding-flow)\n- 🟢 Adding TypeScript\n- 🟡 Adding Relay (https://create-react-app.dev/docs/adding-relay)\n- 🟢 Adding a Router\n- 🟢 Adding Custom Environment Variables\n- 🟡 Making a Progressive Web App\n- 🟢 Measuring Performance\n- 🟢 Creating a Production Build (https://create-react-app.dev/docs/production-build)\n\n### Testing\n\nhttps://vitest.dev/guide/migration.html\n\n### Back-End Integration\n\n- 🟢 Proxying API Requests in Development (https://create-react-app.dev/docs/proxying-api-requests-in-development)\n- 🟢 Fetching Data with AJAX Requests\n\n### Advanced Configuration\n\nhttps://create-react-app.dev/docs/advanced-configuration\n\n- 🟢 BROWSER\n- 🟡 BROWSER_ARGS\n- 🟢 HOST\n- 🟢 PORT\n- 🟢 HTTPS\n- 🚫 WDS_SOCKET_HOST\n- 🚫 WDS_SOCKET_PATH\n- 🚫 WDS_SOCKET_PORT\n- 🟢 PUBLIC_URL\n- 🟢 BUILD_PATH\n- 🚫 CI\n- 🚫 REACT_EDITOR\n- 🚫 CHOKIDAR_USEPOLLING\n- 🟢 GENERATE_SOURCEMAP\n- 🟡 INLINE_RUNTIME_CHUNK\n- 🟡 IMAGE_INLINE_SIZE_LIMIT\n- 🟢 FAST_REFRESH\n- 🟡 TSC_COMPILE_ON_ERROR\n- 🟡 ESLINT_NO_DEV_ERRORS\n- 🟡 DISABLE_ESLINT_PLUGIN\n- 🚫 DISABLE_NEW_JSX_TRANSFORM\n\n\n## Contribution\n\nSee [Contributing Guide](https://github.com/bhbs/viject/blob/main/CONTRIBUTING.md)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhbs%2Fviject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhbs%2Fviject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhbs%2Fviject/lists"}