Skip to content

Commit fa5e6fc

Browse files
committed
refactor: update Playwright configuration and improve TypeScript settings
1 parent 60f9d0d commit fa5e6fc

7 files changed

Lines changed: 11 additions & 231 deletions

‎.gitignore‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ release/
66
packages/sdk/dist/
77
*.tsbuildinfo
88

9-
# Compiled Vite config — the source of truth is vite.config.ts; a stale
10-
# compiled vite.config.js takes precedence over the .ts file and silently
11-
# masks any change to the real config.
9+
# Compiled root config files — the source of truth is the *.config.ts (and
10+
# tsconfig.node.json builds them with noEmit). A stale compiled *.config.js
11+
# takes precedence over the .ts file and silently masks any change to the
12+
# real config, so never commit these emitted artifacts.
1213
vite.config.js
1314
vite.config.d.ts
15+
playwright.config.js
16+
playwright.config.d.ts
17+
playwright.demo.config.js
18+
playwright.demo.config.d.ts
1419

1520
# Editor
1621
.vscode/*.log

‎playwright.config.d.ts‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎playwright.config.js‎

Lines changed: 0 additions & 174 deletions
This file was deleted.

‎playwright.demo.config.d.ts‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎playwright.demo.config.js‎

Lines changed: 0 additions & 50 deletions
This file was deleted.

‎tsconfig.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"resolveJsonModule": true,
1111
"isolatedModules": true,
1212
"noEmit": true,
13+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig-app/tsconfig.tsbuildinfo",
1314
"jsx": "react-jsx",
1415
"strict": true,
1516
"noUnusedLocals": true,

‎tsconfig.node.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4+
"outDir": "./node_modules/.tmp/tsconfig-node",
5+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig-node/tsconfig.node.tsbuildinfo",
46
"skipLibCheck": true,
57
"target": "ES2022",
68
"lib": ["ES2022"],

0 commit comments

Comments
 (0)