Skip to content

Commit

Permalink
chore: upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
barthy-koeln committed Jun 1, 2024
1 parent 6dc1931 commit 608ef13
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 47 deletions.
14 changes: 14 additions & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",

"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
}
}
20 changes: 0 additions & 20 deletions tsconfig.config.json

This file was deleted.

42 changes: 15 additions & 27 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,23 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": [
"src/env.d.ts",
"src/**/*.ts",
"src/**/*.vue",
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.vitest.json"
}
],
"compilerOptions": {
"module": "NodeNext",
"lib": [
"ES2021",
"es2022",

"DOM",
"DOM.Iterable"
],
"paths": {
"@/*": [
"./src/*"
]
},
"types": [
"vite/client",
"node",
],
},
"references": [
{
"path": "./tsconfig.config.json"
}
],
"ts-node": {
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node"
}
]
}
}
19 changes: 19 additions & 0 deletions tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"nightwatch.conf.*",
"playwright.config.*"
],
"compilerOptions": {
"composite": true,
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",

"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]
}
}
11 changes: 11 additions & 0 deletions tsconfig.vitest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.app.json",
"exclude": [],
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo",

"lib": [],
"types": ["node", "jsdom"]
}
}

0 comments on commit 608ef13

Please sign in to comment.