Skip to content

Commit

Permalink
Merge pull request #6 from Loupeznik/feat/redux-rewrite
Browse files Browse the repository at this point in the history
Add redux for state management, component state rewrite
  • Loading branch information
Loupeznik authored Feb 3, 2024
2 parents 5b1ef2f + d0059b8 commit 430b008
Show file tree
Hide file tree
Showing 27 changed files with 1,649 additions and 862 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
node_modules
src/api
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"trailingComma": "all",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"useTabs": true,
"printWidth": 120,
"bracketSameLine": false
}
68 changes: 36 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
{
"name": "better-wapi-webapp",
"private": true,
"version": "1.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"types:openapi": "openapi -i http://localhost:8000/docs/doc.json -o src/api"
},
"dependencies": {
"js-cookie": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.43.9",
"react-hot-toast": "^2.4.0",
"react-icons": "^4.8.0",
"react-router-dom": "^6.10.0"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.3",
"@types/js-cookie": "^3.0.3",
"@types/react": "^18.0.32",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react-swc": "^3.2.0",
"autoprefixer": "^10.4.14",
"openapi-typescript-codegen": "^0.23.0",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.1",
"typescript": "^4.9.5",
"vite": "^4.5.2"
}
"name": "better-wapi-webapp",
"private": true,
"version": "1.3.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"types:openapi": "openapi -i http://localhost:8000/docs/doc.json -o src/api"
},
"dependencies": {
"@reduxjs/toolkit": "^2.1.0",
"js-cookie": "^3.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.49.3",
"react-hot-toast": "^2.4.1",
"react-icons": "^4.12.0",
"react-loader-spinner": "^6.1.6",
"react-redux": "^9.1.0",
"react-router-dom": "^6.21.3"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.7",
"@types/js-cookie": "^3.0.6",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.17",
"openapi-typescript-codegen": "^0.23.0",
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"tailwindcss": "^3.4.1",
"typescript": "^4.9.5",
"vite": "^4.5.2"
}
}
Loading

0 comments on commit 430b008

Please sign in to comment.