diff --git a/nest-cli.json b/nest-cli.json index 2566481..f9aa683 100644 --- a/nest-cli.json +++ b/nest-cli.json @@ -1,5 +1,8 @@ { "$schema": "https://json.schemastore.org/nest-cli", "collection": "@nestjs/schematics", - "sourceRoot": "src" + "sourceRoot": "src", + "compilerOptions": { + "deleteOutDir": true + } } diff --git a/package-lock.json b/package-lock.json index 57e32c1..7867c66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,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", @@ -18094,22 +18093,6 @@ "dev": true, "license": "MIT" }, - "node_modules/rimraf": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^10.3.7" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", diff --git a/package.json b/package.json index 574180c..9e9da9c 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",