Skip to content

Commit

Permalink
chore: restore config for base tsconfig and chenge each pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
mato533 committed Dec 21, 2024
1 parent a13f8e2 commit ba9cdd1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/@wdio_electron-pkg-builder/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"include": ["src/**/*.ts", "rollup.config.ts"],
"exclude": ["src/cjs", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "bundler",
"outDir": "dist",
"types": ["node", "vitest/globals"],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"]
Expand Down
4 changes: 2 additions & 2 deletions packages/@wdio_electron-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"include": ["src/**/*.ts", "rollup.config.ts"],
"exclude": ["src/cjs", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"module": "ESNext",
"moduleResolution": "bundler",
"outDir": "dist",
"types": [],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"]
Expand Down
2 changes: 2 additions & 0 deletions packages/@wdio_electron-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"include": ["rollup.config.ts", "src/*.ts"],
"exclude": ["src/cjs", "node_modules", "coverage", "dist", "test"],
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "bundler",
"outDir": "dist",
"types": ["node", "vitest/jsdom"],
"typeRoots": ["./node_modules", "./node_modules/@types", "../../@types"]
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "bundler",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ESNext",
"esModuleInterop": true,
"strict": true,
Expand Down

0 comments on commit ba9cdd1

Please sign in to comment.