Skip to content

Commit

Permalink
Fix target compilerOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfriend1721994 committed Apr 5, 2024
1 parent 78e4de3 commit c3420f4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ yarn-error.log
/example_dist
/example
sample/**/node_modules
sample/**/dist

# tests
/benchmarks/memory
Expand Down
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.1",
"version": "0.3.2",
"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.build.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.1",
"@nnmt/platform-hyper-express": "^0.3.2",
"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.1",
"@nnmt/platform-hyper-express": "^0.3.2",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1"
},
Expand Down
1 change: 1 addition & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"skipLibCheck": true,
"outDir": "./dist",
"rootDir": ".",
"target": "ES2021",
"paths": {}
},
"exclude": ["node_modules", "dist", "test/**/*", "*.spec.ts", "sample", "tests"],
Expand Down

0 comments on commit c3420f4

Please sign in to comment.