Skip to content

Commit

Permalink
Fix tsc build for new TypeScript from 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfriend1721994 committed Apr 5, 2024
1 parent c3420f4 commit e4ce1d4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nnmt/platform-hyper-express",
"version": "0.3.2",
"version": "0.3.3",
"description": "Hyper-express Adapter for NestJS (@nnmt/platform-hyper-express)",
"author": "Nguyen Nhat Minh Tu",
"license": "MIT",
Expand Down Expand Up @@ -47,7 +47,7 @@
],
"scripts": {
"test": "jest",
"build": "rm -rf dist && tsc --build tsconfig.json"
"build": "rm -rf dist/* && tsc --build tsconfig.json"
},
"keywords": [
"nestjs",
Expand Down
2 changes: 1 addition & 1 deletion sample/nest-sample-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@nnmt/platform-hyper-express": "^0.3.2",
"@nnmt/platform-hyper-express": "^0.3.3",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1"
},
Expand Down
2 changes: 1 addition & 1 deletion sample/nest-sample-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@nnmt/platform-hyper-express": "^0.3.2",
"@nnmt/platform-hyper-express": "^0.3.3",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1"
},
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"composite": true,
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down

0 comments on commit e4ce1d4

Please sign in to comment.