Skip to content

Commit

Permalink
⚡Refactor Models, Hooks and added detailed documentation (#406)
Browse files Browse the repository at this point in the history
- Adding additional unit test cases
- Refactoring existing typescript models and added detailed comments
- Refactored custom react hooks
  • Loading branch information
prabhuignoto authored Aug 13, 2023
1 parent 96e3a14 commit 46c8028
Show file tree
Hide file tree
Showing 17 changed files with 1,366 additions and 852 deletions.
12 changes: 6 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ module.exports = {
'sort-keys-fix',
],
rules: {
'import/no-unused-modules': [
1,
{
unusedExports: true,
},
],
// 'import/no-unused-modules': [
// 1,
// {
// unusedExports: true,
// },
// ],
'sort-keys-fix/sort-keys-fix': 'error',
'typescript-sort-keys/interface': 'error',
'typescript-sort-keys/string-enum': 'error',
Expand Down
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/core": "^7.22.10",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/plugin-transform-typescript": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/plugin-transform-runtime": "^7.22.10",
"@babel/plugin-transform-typescript": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@emotion/babel-plugin": "^11.11.0",
"@jest/types": "^29.6.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-buble": "^1.0.2",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-terser": "^0.4.3",
Expand All @@ -73,16 +73,17 @@
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.7",
"@types/react": "^18.2.18",
"@types/node": "^20.4.10",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.1",
"autoprefixer": "^10.4.14",
Expand All @@ -91,8 +92,8 @@
"c8": "^8.0.1",
"cssnano": "^6.0.1",
"cypress": "12.17.3",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.1",
Expand All @@ -102,24 +103,24 @@
"jsdom": "^22.1.0",
"lint-staged": "^13.2.3",
"postcss": "^8.4.27",
"postcss-preset-env": "^9.1.0",
"postcss-preset-env": "^9.1.1",
"postcss-syntax": "^0.36.2",
"prettier": "^3.0.1",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-router-dom": "^6.14.2",
"react-router-dom": "^6.15.0",
"rimraf": "^5.0.1",
"rollup": "^3.27.2",
"rollup": "^3.28.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"sass": "^1.64.2",
"sass": "^1.65.1",
"semver": "^7.5.4",
"size-limit": "^8.2.6",
"snyk": "^1.1200.0",
Expand All @@ -130,7 +131,7 @@
"stylelint-order": "^6.0.3",
"stylelint-processor-styled-components": "^1.10.0",
"typescript": "^5.1.6",
"vite": "^4.4.8",
"vite": "^4.4.9",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.34.1"
},
Expand Down
Loading

1 comment on commit 46c8028

@vercel
Copy link

@vercel vercel bot commented on 46c8028 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.