Skip to content

Commit

Permalink
fix frontend build
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Oct 23, 2023
1 parent 9262321 commit 367b72b
Show file tree
Hide file tree
Showing 15 changed files with 200 additions and 1,969 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/node": "^18.14.2",
"copyfiles": "^2.4.1",
"del-cli": "^5.0.0",
"dotenv-cli": "^7.2.1",
"dotenv-cli": "^7.3.0",
"np": "^7.7.0",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
Expand Down
4 changes: 2 additions & 2 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@celluloid/prisma": "*",
"@celluloid/trpc": "*",
"@godaddy/terminus": "^4.12.1",
"@trpc/server": "^10.40.0",
"@trpc/server": "^10.41.0",
"change-case": "^5.0.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
Expand All @@ -41,7 +41,7 @@
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.4",
"dotenv-cli": "^7.3.0",
"start-server-and-test": "^2.0.0",
"start-server-and-test": "^2.0.1",
"tslib": "^2.6.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
Expand Down
12 changes: 0 additions & 12 deletions apps/frontend/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~actions/*": [
"src/actions/*"
],
"~components/*": [
"src/components/*"
],
Expand All @@ -20,21 +17,12 @@
"~pages/*": [
"src/pages/*"
],
"~reducers/*": [
"src/reducers/*"
],
"~services/*": [
"src/services/*"
],
"~store/*": [
"src/store/*"
],
"~theme/*": [
"src/theme/*"
],
"~types/*": [
"src/types/*"
],
"~utils/*": [
"src/utils/*"
],
Expand Down
30 changes: 8 additions & 22 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,25 @@
"@celluloid/react-player": "2.13.0",
"@celluloid/trpc": "*",
"@celluloid/types": "^0.1.0",
"@celluloid/validators": "^0.1.0",
"@cutting/use-get-parent-size": "^2.1.4",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.13",
"@mui/lab": "^5.0.0-alpha.148",
"@mui/material": "^5.14.13",
"@mui/styles": "^5.14.13",
"@mui/icons-material": "^5.14.14",
"@mui/lab": "^5.0.0-alpha.149",
"@mui/material": "^5.14.14",
"@mui/styles": "^5.14.14",
"@tanstack/react-query": "^4.36.1",
"@trpc/client": "^10.40.0",
"@trpc/react-query": "^10.40.0",
"@trpc/server": "^10.40.0",
"@trpc/client": "^10.41.0",
"@trpc/react-query": "^10.41.0",
"@trpc/server": "^10.41.0",
"@types/linkify-urls": "^3.1.1",
"autosuggest-highlight": "^3.3.4",
"axios": "^1.3.4",
"change-case": "^4.1.2",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.10",
"enzyme": "^3.3.0",
"file-saver": "^2.0.5",
"formik": "^2.2.9",
"get-urls": "^11.0.0",
"history": "^4.7.2",
"i18next": "^23.5.1",
"i18next-browser-languagedetector": "^7.1.0",
"linkify-urls": "^4.0.0",
Expand All @@ -62,13 +58,10 @@
"query-string": "^6.1.0",
"ramda": "^0.28.0",
"randomcolor": "^0.5.3",
"rc-slider": "^8.5.0",
"react": "18",
"react-autosuggest": "^9.3.2",
"react-dom": "18",
"react-draggable": "^4.4.6",
"react-error-boundary": "^4.0.11",
"react-full-screen": "^0.2.2",
"react-i18next": "^13.2.2",
"react-router": "^6.17.0",
"react-router-dom": "^6.17.0",
Expand Down Expand Up @@ -99,26 +92,19 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/autosuggest-highlight": "^3.2.0",
"@types/classnames": "^2.2.4",
"@types/file-saver": "^2.0.5",
"@types/get-urls": "^9.1.3",
"@types/history": "^4.7.2",
"@types/i18next": "^13.0.0",
"@types/i18next-browser-languagedetector": "^3.0.0",
"@types/jest": "^27.5.2",
"@types/jss": "^9.3.0",
"@types/lodash": "^4.14.187",
"@types/moment-duration-format": "^2.2.0",
"@types/mui-image": "^1.0.1",
"@types/node": "^16.18.3",
"@types/query-string": "^6.0.0",
"@types/randomcolor": "^0.5.0",
"@types/rc-slider": "^8.2.1",
"@types/react": "18",
"@types/react-autosuggest": "^9.3.2",
"@types/react-dom": "18",
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^4.3.1",
"@types/react-transition-group": "^2.0.9",
"@types/webpack-env": "^1.13.6",
Expand All @@ -129,7 +115,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.5",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite": "^4.5.0",
"vite-aliases": "^0.11.3"
}
}
2 changes: 0 additions & 2 deletions apps/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { SharedLayout } from "~components/SharedLayout";
import { trpc } from "~utils/trpc";

import ResetScroll from "./components/ResetScroll";
import { UpdateIndicator } from "./components/UpdateIndicator";
import commonEN from "./locales/en/common.json";
import commonFR from "./locales/fr/common.json";
import { About } from "./pages/about";
Expand Down Expand Up @@ -133,7 +132,6 @@ const App = () => {
<ConfirmProvider>
<React.Fragment>
<React.Fragment>
<UpdateIndicator />
<BrowserRouter>
<ResetScroll />
<AppRouters />
Expand Down
Binary file not shown.
Binary file not shown.
54 changes: 0 additions & 54 deletions apps/frontend/src/components/slider/range.tsx

This file was deleted.

1 change: 0 additions & 1 deletion apps/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default defineConfig({
port: 3000,
host: "localhost",
proxy: {
"/api": "http://localhost:3001",
"/trpc": "http://localhost:2021",
},
},
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,17 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint_d": "^12.2.1",
"husky": "^8.0.3",
"jest": "^27.0.1",
"lint-staged": "^14.0.1",
"mock-req": "^0.2.0",
"mock-res": "^0.5.0",
"prettier": "^3.0.3",
"rimraf": "^3.0.2",
"start-server-and-test": "^2.0.0",
"start-server-and-test": "^2.0.1",
"ts-jest": "^27.0.1",
"tsup": "^5.11.13",
"turbo": "^1.10.15",
"tsup": "^7.2.0",
"turbo": "^1.10.16",
"typescript": "^5.2.2",
"wait-port": "^1.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lodash": "^4.17.21",
"map-stream": "0.0.7",
"mkdirp": "1.0.4",
"tsx": "^3.13.0",
"tsx": "^3.14.0",
"vinyl-fs": "3.0.3"
}
}
6 changes: 3 additions & 3 deletions packages/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@
"@celluloid/config": "*",
"@types/dotenv": "^6.0.0",
"@types/randomcolor": "^0.5.7",
"dotenv-cli": "^7.2.1",
"dotenv-cli": "^7.3.0",
"eslint": "^8.50.0",
"prisma": "^5.4.2",
"rimraf": "^5.0.1",
"tsup": "^5.11.13",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@prisma/client": "^5.4.2",
"randomcolor": "^0.6.2",
"tsx": "^3.13.0"
"tsx": "^3.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/trpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@celluloid/passport": "*",
"@celluloid/prisma": "*",
"@trpc/server": "^10.40.0",
"@trpc/server": "^10.41.0",
"bcryptjs": "^2.4.3",
"change-case": "^4.1.2",
"dotenv": "^16.3.1",
Expand Down
Loading

0 comments on commit 367b72b

Please sign in to comment.