Skip to content

Commit

Permalink
Remove ununsed code and packages (#61)
Browse files Browse the repository at this point in the history
* refactor: remove ununsed packages and move types from dependcies to dev-dependencies

* refactor: remove unused code and components
  • Loading branch information
Prajwalism authored Jul 8, 2024
1 parent d0fddb4 commit 23cbc04
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 1,260 deletions.
20 changes: 7 additions & 13 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,20 @@
"dependencies": {
"@mapbox/mapbox-gl-draw": "^1.4.2",
"@mapbox/mapbox-gl-draw-static-mode": "^1.0.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.6",
"@reduxjs/toolkit": "^1.9.3",
"@tailwindcss/container-queries": "^0.1.1",
"@tanstack/react-query": "^4.32.6",
"@tanstack/react-query-devtools": "^4.32.6",
"@tanstack/react-table": "^8.9.3",
"@terraformer/wkt": "^2.2.0",
"@turf/area": "^7.0.0",
"@turf/bbox": "^7.0.0",
"@turf/centroid": "^7.0.0",
"@turf/flatten": "^7.0.0",
"@turf/length": "^7.0.0",
"@types/file-saver": "^2.0.5",
"@types/geojson": "^7946.0.10",
"@types/mapbox__mapbox-gl-draw": "^1.4.0",
"@types/papaparse": "^5.3.8",
"@types/react-transition-group": "^4.4.6",
"@types/terraformer__wkt": "^2.0.0",
"@types/turf": "^3.5.32",
"autoprefixer": "^10.4.14",
"axios": "^1.3.4",
"class-variance-authority": "^0.6.1",
Expand All @@ -37,7 +27,6 @@
"geojson": "^0.5.0",
"geojson-validation": "^1.0.2",
"html2canvas": "^1.4.1",
"lucide-react": "^0.260.0",
"maplibre-gl": "^3.2.0",
"papaparse": "^5.4.1",
"react": "^18.2.0",
Expand All @@ -49,10 +38,8 @@
"react-router-dom": "^6.10.0",
"react-toastify": "^9.1.3",
"react-transition-group": "^4.4.5",
"recharts": "^2.7.2",
"redux-persist": "^6.0.0",
"redux-saga": "^1.2.3",
"reselect": "^4.1.8",
"shpjs": "^5.0.1",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.6",
Expand All @@ -61,11 +48,18 @@
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^4.29.4",
"@types/file-saver": "^2.0.5",
"@types/geojson": "^7946.0.10",
"@types/geojson-validation": "^1.0.3",
"@types/mapbox__mapbox-gl-draw": "^1.4.0",
"@types/node": "^18.15.11",
"@types/papaparse": "^5.3.8",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-transition-group": "^4.4.6",
"@types/shpjs": "^3.4.7",
"@types/terraformer__wkt": "^2.0.0",
"@types/turf": "^3.5.32",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"@vitejs/plugin-react": "^3.1.0",
Expand Down
137 changes: 0 additions & 137 deletions src/frontend/src/components/common/Charts/BarChart/index.tsx

This file was deleted.

This file was deleted.

110 changes: 0 additions & 110 deletions src/frontend/src/components/common/Charts/ChartContainer/index.tsx

This file was deleted.

Loading

0 comments on commit 23cbc04

Please sign in to comment.