Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: override vercel dev typescript version #1378

Merged
merged 6 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@
"react-router-dom": "v5",
"react-tooltip": "^5.18.0",
"superstruct": "^0.15.4",
"typescript": "^5.5.2"
"typescript": "^5.7.3"
},
"scripts": {
"start": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite",
"dev": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite --port $PORT --host",
"dev:api": "vercel dev --listen 127.0.0.1:3000",
"build": "yarn prebuild && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build",
"prebuild": "tsx scripts/pre-build.ts",
"analyze": "yarn build && rollup-plugin-visualizer --open ./bundle-size-analysis.json",
Expand Down Expand Up @@ -134,7 +135,7 @@
"@types/react": "v18",
"@types/react-dom": "v18",
"@types/react-router-dom": "5.3.3",
"@vercel/node": "^2.5.13",
"@vercel/node": "^5.0.2",
"@vitejs/plugin-react": "^4.0.1",
"axios-mock-adapter": "^1.21.2",
"babel-cli": "^6.26.0",
Expand Down Expand Up @@ -162,9 +163,11 @@
"serve": "^14.0.1",
"storybook": "^7.5.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"tsx": "^4.15.6",
"typescript-eslint": "^7.13.1",
"vercel": "^39.3.0",
"vite": "^4.3.9",
"vite-plugin-environment": "^1.1.3",
"vite-plugin-eslint": "^1.8.1",
Expand All @@ -181,18 +184,28 @@
}
},
"resolutions": {
"//": "See https://github.com/facebook/create-react-app/issues/11773 ",
"react-error-overlay": "6.0.9",
"babel-loader": "8.1.0",
"**/eccrypto/secp256k1": "3.8.1",
"**/eth-crypto/secp256k1": "5.0.1",
"**/libp2p-crypto/secp256k1": "4.0.4",
"**/ethereum-cryptography/secp256k1": "4.0.4"
"**/ethereum-cryptography/secp256k1": "4.0.4",
"**/@vercel/node/ts-node": "10.9.2",
"**/@vercel/node/typescript": "5.7.3",
"**/@vercel/node/path-to-regexp": "6.3.0",
"**/@vercel/routing-utils/path-to-regexp": "6.3.0"
},
"overrides": {
"[email protected]": "3.8.1",
"[email protected]": "4.0.4",
"[email protected]": "5.0.1"
"[email protected]": "5.0.1",
"@vercel/node": {
"ts-node": "10.9.2",
"typescript": "5.7.3",
"path-to-regexp": "6.3.0"
},
"@vercel/routing-utils": {
"path-to-regexp": "6.3.0"
}
},
"eslintConfig": {
"overrides": [
Expand Down
Loading
Loading