Skip to content

Commit

Permalink
delete dist folder before generating types
Browse files Browse the repository at this point in the history
  • Loading branch information
hissalht committed May 31, 2024
1 parent b7bbd35 commit 0f544c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion confiture-rest-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"migrate:dev": "prisma migrate dev",
"migrate:prod": "prisma migrate deploy",
"postinstall": "prisma generate && yarn generate-api-types",
"generate-api-types": "nest start --entryFile generate-api-typings.js"
"generate-api-types": "rimraf dist && nest start --entryFile generate-api-typings.js"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.218.0",
Expand Down
2 changes: 1 addition & 1 deletion confiture-rest-api/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"dist",
"**/*spec.ts",
"scripts",
"date-poll-api.ts"
"confiture-api.ts"
]
}

0 comments on commit 0f544c9

Please sign in to comment.