Skip to content

Commit 0eaa0ab

Browse files
committed
chore: use nestjs cli to build the project
1 parent c77b4ac commit 0eaa0ab

File tree

3 files changed

+509
-49
lines changed

3 files changed

+509
-49
lines changed

nest-cli.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://json.schemastore.org/nest-cli",
3+
"collection": "@nestjs/schematics",
4+
"sourceRoot": "lib",
5+
"compilerOptions": {
6+
"assets": ["**/*.proto"]
7+
}
8+
}

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"author": "Livio Brunner",
1111
"main": "dist/index.js",
1212
"scripts": {
13-
"dev": "tsc -p tsconfig.build.json --watch",
14-
"build": "tsc -p tsconfig.build.json && pnpm copy:proto",
13+
"dev": "nest build --watch",
14+
"build": "nest build",
1515
"copy:proto": "copyfiles lib/health-indicator/microservice/protos/health.proto dist/health-indicator/microservice/protos/health.proto",
1616
"build:all": "pnpm run build && pnpm run -r build",
1717
"test:all": "pnpm run test && pnpm run -if-present -r test --passWithNoTests",
@@ -48,6 +48,7 @@
4848
"@mikro-orm/mysql": "6.4.4",
4949
"@mikro-orm/nestjs": "6.0.2",
5050
"@nestjs/axios": "4.0.0",
51+
"@nestjs/cli": "^11.0.2",
5152
"@nestjs/common": "11.0.5",
5253
"@nestjs/core": "11.0.5",
5354
"@nestjs/microservices": "11.0.5",

0 commit comments

Comments
 (0)