Skip to content

Commit

Permalink
specifying node version and ignoring build
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusSanchez committed Jan 26, 2024
1 parent a3d9e78 commit 896e2e6
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 150 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
node_modules
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
.env
coverage

prisma/vitest-environment-prisma/pnpm-lock.yaml
prisma/vitest-environment-prisma/pnpm-lock.yaml
build
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsup src --out-dir build",
"dev": "tsx watch src/server.ts",
"test": "vitest run --dir src/use-cases",
"test:create-prisma-environment": "pnpm link ./prisma/vitest-environment-prisma",
Expand All @@ -26,7 +30,6 @@
"npm-run-all": "^4.1.5",
"prisma": "5.8.1",
"supertest": "^6.3.4",
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
Expand All @@ -42,6 +45,7 @@
"pg": "^8.11.3",
"pg-hstore": "^2.3.4",
"vite-tsconfig-paths": "^4.3.1",
"zod": "^3.22.4"
"zod": "^3.22.4",
"tsup": "^8.0.1"
}
}
Loading

0 comments on commit 896e2e6

Please sign in to comment.