Skip to content

Commit

Permalink
Fix vercel deployment mismatch (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Mar 10, 2024
1 parent 03a2dfa commit 70e48aa
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ node_modules
.eslintcache
.vscode/**
.DS_Store
.vercel
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@
"next:lint": "yarn workspace @se-2/nextjs lint",
"next:format": "yarn workspace @se-2/nextjs format",
"next:check-types": "yarn workspace @se-2/nextjs check-types",
"next:build": "yarn workspace @se-2/nextjs build",
"postinstall": "husky install",
"precommit": "lint-staged",
"vercel": "yarn workspace @se-2/nextjs vercel",
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo"
"vercel": "vercel",
"vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true"
},
"packageManager": "yarn@3.2.3",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
"lint-staged": "^13.0.3",
"next": "^14.0.4",
"vercel": "^32.4.1"
}
}
3 changes: 1 addition & 2 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"prettier": "^2.8.4",
"tailwindcss": "^3.3.3",
"type-fest": "^4.6.0",
"typescript": "^5.1.6",
"vercel": "^32.4.1"
"typescript": "^5.1.6"
}
}
6 changes: 6 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"installCommand": "yarn install --frozen-lockfile",
"buildCommand": "yarn next:build",
"outputDirectory": "packages/nextjs/.next",
"framework": "nextjs"
}
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,6 @@ __metadata:
typescript: ^5.1.6
use-debounce: ^8.0.4
usehooks-ts: ^2.13.0
vercel: ^32.4.1
viem: 1.19.9
wagmi: 1.4.12
zustand: ^4.1.2
Expand Down Expand Up @@ -12274,6 +12273,8 @@ __metadata:
dependencies:
husky: ^8.0.1
lint-staged: ^13.0.3
next: ^14.0.4
vercel: ^32.4.1
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 70e48aa

Please sign in to comment.