Lock version of patched dependencies (#2151)

Fix eslint warning
 - Fix some subdependencies requiring an older @typescript-eslint/parser version that is incompatible with the current version of typescript
 - Add react-router and react-router-dom version lock to ensure pnpm doesn't download a version incompatible with our patched @remix/router
 - Add version lock to @remix-run/router to avoid incompatibilities with our patched version
This commit is contained in:
Vítor Vasconcellos 2024-02-29 22:57:27 -03:00 committed by GitHub
parent de8648e2a1
commit 8e271c007f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 727 additions and 832 deletions

View file

@ -25,14 +25,14 @@
"immer": "^10.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "6.20.1",
"react-router-dom": "^6.20.1",
"sonner": "^1.0.3"
},
"devDependencies": {
"@sd/config": "workspace:*",
"@sentry/vite-plugin": "^2.14.2",
"@tauri-apps/cli": "^1.5.10",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"sass": "^1.71.1",
"typescript": "^5.3.3",

View file

@ -19,6 +19,7 @@
"@sd/assets": "workspace:*",
"@sd/ui": "workspace:*",
"@t3-oss/env-nextjs": "^0.7.1",
"@tsparticles/react": "^3.0.0",
"clsx": "^2.0.0",
"contentlayer": "^0.3.4",
"dayjs": "^1.11.10",
@ -47,7 +48,6 @@
"tailwind-merge": "^1.14.0",
"three": "^0.161.0",
"tsparticles": "^3.3.0",
"@tsparticles/react": "^3.0.0",
"unist-util-visit": "^5.0.0",
"zod": "~3.22.4"
},
@ -57,10 +57,10 @@
"@sd/config": "workspace:*",
"@svgr/webpack": "^8.1.0",
"@types/node": "~18.17.19",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"@types/react-burger-menu": "^2.8.7",
"@types/react-dom": "^18.2.19",
"@types/three": "^0.161.2",
"@types/three": "^0.162.0",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",
"sharp": "^0.33.2",

View file

@ -76,7 +76,7 @@
"@babel/core": "^7.23.9",
"@rnx-kit/metro-config": "^1.3.14",
"@sd/config": "workspace:*",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"babel-plugin-module-resolver": "^5.0.0",
"eslint-plugin-react-native": "^4.1.0",
"react-native-svg-transformer": "^1.3.0",

View file

@ -20,7 +20,7 @@
"devDependencies": {
"@sd/config": "workspace:*",
"@sd/ui": "workspace:*",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",

View file

@ -19,13 +19,13 @@
"html2canvas": "^1.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "6.20.1"
"react-router-dom": "^6.20.1"
},
"devDependencies": {
"@playwright/test": "^1.42.0",
"@sd/config": "workspace:*",
"@sd/ui": "workspace:*",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",

View file

@ -51,8 +51,8 @@
"react-json-view": "^1.21.3",
"react-loading-skeleton": "^3.3.1",
"react-markdown": "^9.0.0",
"react-router": "6.20.1",
"react-router-dom": "6.20.1",
"react-router": "^6.20.1",
"react-router-dom": "^6.20.1",
"react-selecto": "^1.26.0",
"react-slidedown": "^2.4.7",
"react-sticky-el": "^2.1.0",
@ -71,7 +71,7 @@
"devDependencies": {
"@sd/config": "workspace:*",
"@types/node": "~18.17.19",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"@types/uuid": "^9.0.8",
"tailwindcss": "^3.4.1",

View file

@ -37,8 +37,12 @@
"@contentlayer/cli@0.3.4": "patches/@contentlayer__cli@0.3.4.patch"
},
"overrides": {
"@types/node": "~18.17.19",
"@remix-run/router": "=1.13.1"
"@types/node": "~18.19.21",
"react-router": "=6.20.1",
"react-router-dom": "=6.20.1",
"@remix-run/router": "=1.13.1",
"@contentlayer/cli": "=0.3.4",
"@typescript-eslint/parser": "^7.1.0"
}
},
"devDependencies": {

View file

@ -27,7 +27,7 @@
},
"devDependencies": {
"@sd/config": "workspace:*",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"typescript": "^5.3.3"
},
"peerDependencies": {

View file

@ -40,7 +40,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-loading-icons": "^1.1.0",
"react-router-dom": "6.20.1",
"react-router-dom": "^6.20.1",
"sonner": "^1.0.3",
"use-debounce": "^9.0.4",
"zod": "~3.22.4"
@ -53,7 +53,7 @@
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "~18.17.19",
"@types/react": "^18.2.60",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",

File diff suppressed because it is too large Load diff