Skip to content

Commit

Permalink
feat: use different package for vite react integration
Browse files Browse the repository at this point in the history
  • Loading branch information
john-d-pelingo committed Nov 6, 2021
1 parent 6744b66 commit e72a1eb
Show file tree
Hide file tree
Showing 3 changed files with 1,092 additions and 745 deletions.
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,39 +57,39 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@commitlint/cli": "^13.2.0",
"@commitlint/config-conventional": "^13.2.0",
"@jdp-dev/commitlint-config": "^0.0.19",
"@jdp-dev/eslint-config-typescript-react": "^0.0.19",
"@jdp-dev/prettier-config": "^0.0.19",
"@jdp-dev/tsconfig": "^0.0.19",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@jdp-dev/commitlint-config": "^1.0.1",
"@jdp-dev/eslint-config-typescript-react": "^1.0.1",
"@jdp-dev/prettier-config": "^1.0.1",
"@jdp-dev/tsconfig": "^1.0.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@types/react": "^17.0.26",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"@vitejs/plugin-react-refresh": "^1.3.6",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.5.0",
"@types/node": "^16.11.6",
"@types/react": "^17.0.34",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"@vitejs/plugin-react": "^1.0.7",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.2.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.2",
"husky": "^7.0.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.2.4",
"lint-staged": "^11.1.2",
"jest": "^27.3.1",
"lint-staged": "^11.2.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3",
"vite": "^2.6.2"
"standard-version": "^9.3.2",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4",
"vite": "^2.6.13"
}
}
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import reactRefresh from '@vitejs/plugin-react-refresh'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'

// https://vitejs.dev/config/
// eslint-disable-next-line import/no-default-export
export default defineConfig({
plugins: [reactRefresh()],
plugins: [react()],
})

0 comments on commit e72a1eb

Please sign in to comment.