Skip to content

Commit

Permalink
chore: replace rimraf usage on pre-build with deleteOutDir nestjs c…
Browse files Browse the repository at this point in the history
…onfig option (#86)
  • Loading branch information
pmstss authored Sep 4, 2024
1 parent 3ac6c0a commit 86ec2c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
5 changes: 4 additions & 1 deletion nest-cli.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src"
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true
}
}
17 changes: 0 additions & 17 deletions package-lock.json

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

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"jest": "jest",
"mikro-orm": "mikro-orm",
"prepare": "is-ci || husky",
"prebuild": "rimraf dist",
"build": "nest build",
"migration:up": "mikro-orm migration:up",
"migration:down": "mikro-orm migration:down",
Expand Down Expand Up @@ -102,7 +101,6 @@
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"rimraf": "^5.0.8",
"semantic-release": "^22.0.12",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
Expand Down

0 comments on commit 86ec2c1

Please sign in to comment.