Skip to content

Commit

Permalink
build: adjust some tsconfig options and add more recommend extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
tjx666 committed Aug 28, 2024
1 parent b5aff41 commit e886b1a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 46 deletions.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"esbenp.prettier-vscode",
"connor4312.esbuild-problem-matchers",
"github.vscode-github-actions",
"YuTengjing.vscode-archive"
"YuTengjing.vscode-archive",
"YuTengjing.package-manager-enhancer"
]
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
"@yutengjing/eslint-config-typescript": "^1.2.2",
"@yutengjing/prettier-config": "^1.3.0",
"@yutengjing/release": "^0.3.1",
"@yutengjing/tsconfig-node": "^0.0.5",
"esbuild": "~0.23.1",
"esbuild-visualizer": "^0.6.0",
"eslint": "^8.57.0",
Expand Down
43 changes: 2 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"sourceMap": true,

/* Basic Options */
"target": "ES2022",
"module": "commonjs",
"target": "ES2023",
"module": "ESNext",

/* Strict Type-Checking Options */
"strict": true,
Expand All @@ -15,7 +15,7 @@
"noFallthroughCasesInSwitch": true,

/* Module Resolution Options */
"moduleResolution": "node",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"resolveJsonModule": true,

Expand Down

0 comments on commit e886b1a

Please sign in to comment.