From 0543b0664e18b57710eee60cecec38bec6f7c4bb Mon Sep 17 00:00:00 2001 From: Ranuga <79456372+Programmer-RD-AI@users.noreply.github.com> Date: Sat, 8 Jun 2024 21:42:10 +0530 Subject: [PATCH] Update project files for transition from Vite to Create React App This commit includes changes to several project files in order to transition from Vite to Create React App: 1. **reportWebVitals.js**: Removed file as it is not needed in Create React App setup. 2. **vite.config.js**: Removed Vite configuration file. 3. **public/robots.txt**: Removed robots.txt file. 4. **public/manifest.json**: Removed manifest.json file. 5. **public/index.html**: Updated index.html file for compatibility with Create React App setup. 6. **index.html**: Removed duplicate index.html file. 7. **.eslintrc.cjs**: Removed ESLint configuration file specific to Vite setup. These changes were made to ensure compatibility and better support for the project's development environment. --- .eslintrc.cjs | 21 --------------------- index.html | 14 -------------- public/index.html | 31 +++++++++++++++++++++++++++++++ public/manifest.json | 15 +++++++++++++++ public/robots.txt | 3 +++ src/reportWebVitals.js | 13 +++++++++++++ vite.config.js | 7 ------- 7 files changed, 62 insertions(+), 42 deletions(-) delete mode 100644 .eslintrc.cjs delete mode 100644 index.html create mode 100644 public/index.html create mode 100644 public/manifest.json create mode 100644 public/robots.txt create mode 100644 src/reportWebVitals.js delete mode 100644 vite.config.js diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 6466c32..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - root: true, - env: { browser: true, es2020: true }, - extends: [ - "eslint:recommended", - "plugin:react/recommended", - "plugin:react/jsx-runtime", - "plugin:react-hooks/recommended", - ], - ignorePatterns: ["dist", ".eslintrc.cjs"], - parserOptions: { ecmaVersion: "latest", sourceType: "module" }, - settings: { react: { version: "18.2" } }, - plugins: ["react-refresh"], - rules: { - "react/jsx-no-target-blank": "off", - "react-refresh/only-export-components": [ - "warn", - { allowConstantExport: true }, - ], - }, -}; diff --git a/index.html b/index.html deleted file mode 100644 index b19ac1b..0000000 --- a/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - -
- - - -