Skip to content

Commit

Permalink
Teste deploy na vercel - 9 - Back-end.
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSS187 committed Feb 15, 2023
1 parent 6a02188 commit b207dc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion back-end/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ typings/

# Nuxt.js build / generate output
.nuxt
# dist
dist

# Gatsby files
.cache/
Expand Down
4 changes: 2 additions & 2 deletions back-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "npx tsup src && node dist/index.js",
"start": "node dist/index.js",
"dev": "tsx watch src/index.ts",
"build": "tsup",
"build": "tsup src",
"test": "echo \"Error: no test specified\" && exit 1",
"migrate:latest": "ts-node -r dotenv/config ./node_modules/knex/bin/cli.js --knexfile ./src/config/knexfile.ts migrate:latest --migrations-directory ../data/migrations",
"migrate:make": "ts-node -r dotenv/config ./node_modules/knex/bin/cli.js --knexfile ./src/config/knexfile.ts migrate:make --migrations-directory ../data/migrations",
Expand Down
4 changes: 2 additions & 2 deletions back-end/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"public": true,
"builds": [
{
"src": "src/index.ts",
"src": "dist/index.js",
"use": "@vercel/node"
}
],
Expand All @@ -19,7 +19,7 @@
},
{
"src": "/(.*)",
"dest": "/src/index.ts"
"dest": "/dist/index.js"
}
]
}

2 comments on commit b207dc1

@vercel
Copy link

@vercel vercel bot commented on b207dc1 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

modern-to-do-list – ./front-end

modern-to-do-list-git-main-gabrielss187.vercel.app
modern-to-do-list.vercel.app
modern-to-do-list-gabrielss187.vercel.app

@vercel
Copy link

@vercel vercel bot commented on b207dc1 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.