chore: standardize tsconfig (#9568)

This commit is contained in:
forehalo
2025-01-08 04:07:56 +00:00
parent 39f4b17315
commit c0ed74dfed
151 changed files with 1041 additions and 1566 deletions

View File

@@ -1,6 +1,7 @@
{
"name": "@affine-test/affine-desktop",
"private": true,
"type": "module",
"scripts": {
"e2e": "DEBUG=pw:browser yarn playwright test"
},

View File

@@ -41,7 +41,7 @@ if (process.env.DEV_SERVER_URL) {
);
config.webServer = [
{
command: 'yarn run -T affine bundle -p @affine/electron --dev',
command: 'yarn run -T affine bundle -p @affine/electron-renderer --dev',
port: 8080,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,

View File

@@ -1,16 +1,13 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.web.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
"rootDir": "./e2e",
"outDir": "./dist",
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
},
"include": ["e2e"],
"references": [
{
"path": "../../tests/kit"
},
{
"path": "../../packages/frontend/electron-api"
}
{ "path": "../kit" },
{ "path": "../../packages/frontend/electron-api" }
]
}