Skip to content

Commit

Permalink
bank webhook deploy changes + turbo update
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhanshugautam2911 committed Nov 8, 2024
1 parent 7eda286 commit 77e4b71
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 56 deletions.
4 changes: 2 additions & 2 deletions apps/bank-webhook/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ app.post("/hdfcWebhook", async (req, res) => {

})

// app.listen(3003);
export default app;


app.listen(3003);
22 changes: 12 additions & 10 deletions apps/bank-webhook/vercel.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"version": 2,
"builds": [
{
"src": "app.js",
"use": "@vercel/node",
"config": { "includeFiles": ["dist/**"] }
}
{
"src": "src/index.js",
"use": "@vercel/node",
"config": {
"includeFiles": ["dist/**"]
}
}
],
"routes": [
{
"src": "/(.*)",
"dest": "app.js"
}
{
"src": "/(.*)",
"dest": "src/index.js"
}
]
}
}
74 changes: 36 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"prettier": "^3.2.5",
"turbo": "latest"
"turbo": "^2.2.3"
},
"engines": {
"node": ">=18"
Expand Down
19 changes: 14 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"pipeline": {
"globalDependencies": [
"**/.env.*local"
],
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**"]
"dependsOn": [
"^build"
],
"outputs": [
".next/**",
"!.next/cache/**"
]
},
"lint": {
"dependsOn": ["^lint"]
"dependsOn": [
"^lint"
]
},
"dev": {
"cache": false,
Expand Down

0 comments on commit 77e4b71

Please sign in to comment.