Skip to content

Commit

Permalink
chore: use nestjs cli to build the project
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunnerLivio committed Jan 25, 2025
1 parent c77b4ac commit 0eaa0ab
Show file tree
Hide file tree
Showing 3 changed files with 509 additions and 49 deletions.
8 changes: 8 additions & 0 deletions nest-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "lib",
"compilerOptions": {
"assets": ["**/*.proto"]
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"author": "Livio Brunner",
"main": "dist/index.js",
"scripts": {
"dev": "tsc -p tsconfig.build.json --watch",
"build": "tsc -p tsconfig.build.json && pnpm copy:proto",
"dev": "nest build --watch",
"build": "nest build",
"copy:proto": "copyfiles lib/health-indicator/microservice/protos/health.proto dist/health-indicator/microservice/protos/health.proto",
"build:all": "pnpm run build && pnpm run -r build",
"test:all": "pnpm run test && pnpm run -if-present -r test --passWithNoTests",
Expand Down Expand Up @@ -48,6 +48,7 @@
"@mikro-orm/mysql": "6.4.4",
"@mikro-orm/nestjs": "6.0.2",
"@nestjs/axios": "4.0.0",
"@nestjs/cli": "^11.0.2",
"@nestjs/common": "11.0.5",
"@nestjs/core": "11.0.5",
"@nestjs/microservices": "11.0.5",
Expand Down
Loading

0 comments on commit 0eaa0ab

Please sign in to comment.