Refactor to external scraper and update dependencies (#113)

This commit is contained in:
David
2022-06-15 23:37:15 +02:00
committed by GitHub
parent ff1ad202ae
commit 274e7f1a4b
49 changed files with 6952 additions and 4414 deletions

View File

@@ -9,60 +9,55 @@
"start": "next start --port ${PORT-3000}",
"test": "jest",
"cy:open": "cypress open",
"cy:run": "cypress run"
"cy:run": "cypress run",
"renew-mock-data": "ts-node --skip-project mocks/renewData.ts"
},
"dependencies": {
"@chakra-ui/icons": "1.0.15",
"@chakra-ui/react": "1.6.6",
"@chakra-ui/icons": "2.0.2",
"@chakra-ui/react": "2.2.1",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"apollo-server-micro": "^2.25.2",
"cheerio": "^1.0.0-rc.10",
"framer-motion": "^4",
"framer-motion": "^6",
"graphql": "^15.8.0",
"next": "12.1.0",
"lingva-scraper": "1.0.0",
"next": "12.1.6",
"next-pwa": "^5.4.4",
"nextjs-cors": "^2.1.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-hotkeys-hook": "^3.4.4",
"react-icons": "^4.3.1",
"user-agents": "^1.0.937"
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hotkeys-hook": "^3.4.6",
"react-icons": "^4.4.0"
},
"devDependencies": {
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"@types/faker": "^5.5.6",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/react": "^17.0.39",
"@types/user-agents": "^1.0.2",
"apollo-server-testing": "^2.25.2",
"@testing-library/cypress": "^8.0.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.0",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.43",
"@types/react": "^18.0.12",
"babel-eslint": "^10.1.0",
"cypress": "^9.5.0",
"eslint": "^8.9.0",
"eslint-config-next": "^12.1.0",
"eslint-config-react-app": "^7.0.0",
"cypress": "^10.1.0",
"eslint": "^8.17.0",
"eslint-config-next": "^12.1.6",
"eslint-plugin-cypress": "^2.12.1",
"faker": "^5.5.3",
"jest": "^27.5.1",
"jest-fetch-mock": "^3.0.3",
"node-mocks-http": "^1.11.0",
"typescript": "^4.5.5",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"ts-node": "^10.8.1",
"typescript": "^4.7.3",
"wait-on": "^6.0.1"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:cypress/recommended",
"next"
"next",
"plugin:cypress/recommended"
],
"overrides": [
{
"files": ["cypress/integration/*.ts"],
"files": [
"cypress/integration/*.ts"
],
"rules": {
"testing-library/await-async-query": "off",
"testing-library/prefer-screen-queries": "off"