Skip to content

Commit

Permalink
chore: use node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Jun 11, 2023
1 parent 407943b commit 9ea0769
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@
]
},
"engines": {
"node": ">=18.0.0",
"pnpm": "^8"
"node": ">=18.0.0"
},
"lint-staged": {
"*.js": "eslint",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "build/"
"outDir": "build/",
"sourceMap": true,
},
"include": [
"src/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "Node16",
"moduleResolution": "Node",
"declaration": true,
"inlineSourceMap": true,
"sourceMap": false,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"allowSyntheticDefaultImports": true, // https://zhuanlan.zhihu.com/p/29022311
"resolveJsonModule": true,
Expand Down

0 comments on commit 9ea0769

Please sign in to comment.