Skip to content

Commit

Permalink
chore: slim down tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed Sep 11, 2024
1 parent c99d3cf commit 700b2ba
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 34 deletions.
3 changes: 1 addition & 2 deletions apps/builder-cjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "../../tsconfig.base.cjs.json",
"compilerOptions": {
"target": "ESNext",
"types": ["node"],
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"],
"outDir": "dist"
},
Expand Down
3 changes: 1 addition & 2 deletions apps/builder-esm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"types": ["node"],
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"],
"outDir": "dist"
},
Expand Down
2 changes: 0 additions & 2 deletions apps/forge-cjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": "../../tsconfig.base.cjs.json",
"compilerOptions": {
"target": "ES2023",
"baseUrl": ".",
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../node_modules/@types", "../../@types"],
"outDir": "dist"
Expand Down
3 changes: 1 addition & 2 deletions apps/forge-esm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"types": ["node"],
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../node_modules/@types", "../../@types"],
"outDir": "dist"
},
Expand Down
2 changes: 0 additions & 2 deletions apps/no-binary-cjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": "../../tsconfig.base.cjs.json",
"compilerOptions": {
"target": "ES2023",
"baseUrl": ".",
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../node_modules/@types", "../../@types"],
"outDir": "dist"
Expand Down
3 changes: 1 addition & 2 deletions apps/no-binary-esm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"types": ["node"],
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../node_modules/@types", "../../@types"],
"outDir": "dist"
},
Expand Down
1 change: 0 additions & 1 deletion e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"noEmit": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"baseUrl": ".",
"types": ["node", "@wdio/globals/types", "mocha"],
"typeRoots": ["./node_modules", "./node_modules/@types"]
},
Expand Down
3 changes: 0 additions & 3 deletions packages/@wdio_electron-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"include": ["src/**/*.ts"],
"exclude": ["src/cjs", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"baseUrl": ".",
"outDir": "dist",
"target": "ES2023",
"noEmit": false,
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"]
}
Expand Down
3 changes: 1 addition & 2 deletions packages/@wdio_electron-utils/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.cjs.json",
"include": ["./src/cjs/*.ts", "./src/cjs/package.json"],
"compilerOptions": {
"outDir": "./dist/cjs",
"target": "ES2023"
"outDir": "./dist/cjs"
}
}
3 changes: 0 additions & 3 deletions packages/@wdio_electron-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"include": ["src/*.ts"],
"exclude": ["src/cjs", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"baseUrl": ".",
"target": "ES2023",
"noEmit": false,
"types": ["node", "vitest/jsdom"],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"]
}
Expand Down
3 changes: 1 addition & 2 deletions packages/wdio-electron-service/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"include": ["src/cjs/**/*", "src/cjs/package.json"],
"exclude": ["src/*.ts", "src/commands/*.ts", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"rootDir": "src/cjs",
"target": "ES2023"
"rootDir": "src/cjs"
}
}
12 changes: 1 addition & 11 deletions packages/wdio-electron-service/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"include": [
"src/**/*.ts",
"src/cjs/preload.ts",
"src/cjs/main.ts",
"src/cjs/classes.ts",
"src/cjs/session.ts",
"src/cjs/index.ts"
],
"include": ["src/**/*.ts"],
"exclude": ["src/cjs", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"baseUrl": ".",
"target": "ES2023",
"noEmit": false,
"types": ["node", "electron-to-chromium", "vitest/jsdom"],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"]
}
Expand Down

0 comments on commit 700b2ba

Please sign in to comment.