Skip to content

Commit

Permalink
feat: simplified tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kaivanwong committed Dec 3, 2023
1 parent 6de1def commit 06c1b91
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 54 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dist/
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
dist
node_modules
*.log
.DS_Store
.output
.eslintcache
12 changes: 0 additions & 12 deletions tsconfig.app.json

This file was deleted.

32 changes: 21 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
{
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
"extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": {
"composite": true,
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
"@/*": ["./src/*"]
},
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.vitest.json"
}
]
"types": ["node", "jsdom"]
},
"include": [
"env.d.ts",
"src/**/*",
"src/**/*.vue",
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"nightwatch.conf.*",
"playwright.config.*"
],
"exclude": ["src/**/__tests__/*"]
}
16 changes: 0 additions & 16 deletions tsconfig.node.json

This file was deleted.

9 changes: 0 additions & 9 deletions tsconfig.vitest.json

This file was deleted.

0 comments on commit 06c1b91

Please sign in to comment.