Skip to content

Commit 510982e

Browse files
evansmjShahanaFarooqui
authored andcommitted
Redux and Recharts Dependency updates
1 parent 594de4b commit 510982e

File tree

5 files changed

+761
-272
lines changed

5 files changed

+761
-272
lines changed

apps/backend/tsconfig.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"baseUrl": "./",
4-
"target":"ES2022",
4+
"target": "ES2022",
55
"module": "ES2022",
66
"moduleResolution": "node",
77
"outDir": "./dist",
@@ -11,14 +11,9 @@
1111
"forceConsistentCasingInFileNames": true,
1212
"rootDir": "./source",
1313
"skipLibCheck": true,
14-
"lib": [
15-
"ES2022"
16-
]
14+
"sourceMap": false,
15+
"lib": ["ES2022"]
1716
},
18-
"files": [
19-
"./source/server.ts"
20-
],
21-
"include": [
22-
"./source/**/*.d.ts"
23-
]
24-
}
17+
"files": ["./source/server.ts"],
18+
"include": ["./source/**/*.d.ts"]
19+
}

apps/frontend/package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,32 @@
55
"private": true,
66
"license": "MIT",
77
"scripts": {
8-
"start": "PORT=4300 react-scripts start",
9-
"build": "react-scripts build",
8+
"start": "GENERATE_SOURCEMAP=false PORT=4300 react-scripts start",
9+
"build": "GENERATE_SOURCEMAP=false react-scripts build",
1010
"test": "react-scripts test"
1111
},
1212
"dependencies": {
1313
"@fortawesome/fontawesome-svg-core": "^6.4.2",
1414
"@fortawesome/free-solid-svg-icons": "^6.4.2",
1515
"@fortawesome/react-fontawesome": "^0.2.0",
16+
"@reduxjs/toolkit": "^2.7.0",
1617
"axios": "^1.6.7",
1718
"bootstrap": "^5.3.2",
1819
"copy-to-clipboard": "^3.3.3",
1920
"crypto-js": "^4.2.0",
2021
"framer-motion": "^10.16.5",
22+
"moment": "^2.30.1",
2123
"node-sass": "^9.0.0",
2224
"qrcode.react": "^3.1.0",
2325
"react": "^18.2.0",
2426
"react-bootstrap": "^2.10.1",
27+
"react-datepicker": "^8.1.0",
2528
"react-dom": "^18.2.0",
2629
"react-perfect-scrollbar": "^1.5.8",
27-
"react-router-dom": "^6.22.1"
30+
"react-redux": "^9.2.0",
31+
"react-router-dom": "^6.30.0",
32+
"recharts": "^2.15.1",
33+
"redux-thunk": "^3.1.0"
2834
},
2935
"devDependencies": {
3036
"@testing-library/jest-dom": "^6.4.2",
@@ -34,9 +40,11 @@
3440
"@types/node": "^20.9.4",
3541
"@types/react": "^18.2.61",
3642
"@types/react-dom": "^18.2.19",
43+
"@types/redux-mock-store": "^1.5.0",
3744
"axios-mock-adapter": "^1.22.0",
3845
"canvas": "^2.11.2",
3946
"react-scripts": "^5.0.1",
47+
"redux-mock-store": "^1.5.5",
4048
"ts-jest": "^29.1.2",
4149
"typescript": "^5.8.2"
4250
},
@@ -60,7 +68,7 @@
6068
"^.+\\.[t|j]sx?$": "ts-jest"
6169
},
6270
"transformIgnorePatterns": [
63-
"<rootDir>/node_modules/(?!axios)/"
71+
"<rootDir>/node_modules/(?!axios|react-router-dom)/"
6472
]
6573
}
6674
}

apps/frontend/tsconfig.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "ES2022",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
4+
"lib": ["dom", "dom.iterable", "esnext"],
95
"allowJs": true,
106
"skipLibCheck": true,
117
"esModuleInterop": true,
@@ -19,9 +15,8 @@
1915
"isolatedModules": true,
2016
"noEmit": true,
2117
"noImplicitAny": false,
18+
"sourceMap": false,
2219
"jsx": "react-jsx"
2320
},
24-
"include": [
25-
"src"
26-
]
21+
"include": ["src"]
2722
}

0 commit comments

Comments
 (0)