Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: upgrade electron and playwright (#5632)

LongYinan9d28eb530a06
diff --git a/package.json b/package.json
index 125502e7c5..070c3c5434 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,7 @@
"@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.5.0",
"@nx/vite": "17.2.8",
- "@playwright/test": "^1.40.0",
+ "@playwright/test": "^1.41.0",
"@taplo/cli": "^0.5.2",
"@testing-library/react": "^14.1.2",
"@toeverything/infra": "workspace:*",
@@ -75,7 +75,7 @@
"@vitejs/plugin-react-swc": "^3.5.0",
"@vitest/coverage-istanbul": "1.1.3",
"@vitest/ui": "1.1.3",
- "electron": "^27.1.0",
+ "electron": "^28.1.4",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-i": "^2.29.0",
diff --git a/packages/frontend/electron-api/package.json b/packages/frontend/electron-api/package.json
index 678d84f280..d3d0cab9f6 100644
--- a/packages/frontend/electron-api/package.json
+++ b/packages/frontend/electron-api/package.json
@@ -9,6 +9,6 @@
},
"devDependencies": {
"@toeverything/infra": "workspace:*",
- "electron": "^27.1.0"
+ "electron": "^28.1.4"
}
}
diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json
index 83856d3f65..b2cd94fc19 100644
--- a/packages/frontend/electron/package.json
+++ b/packages/frontend/electron/package.json
@@ -44,7 +44,7 @@
"@types/uuid": "^9.0.7",
"builder-util-runtime": "^9.2.3",
"cross-env": "^7.0.3",
- "electron": "^27.1.0",
+ "electron": "^28.1.4",
"electron-log": "^5.0.1",
"electron-squirrel-startup": "1.0.0",
"electron-window-state": "^5.0.3",
diff --git a/tests/affine-cloud/package.json b/tests/affine-cloud/package.json
index d976ac47a2..df2ff93f11 100644
--- a/tests/affine-cloud/package.json
+++ b/tests/affine-cloud/package.json
@@ -7,7 +7,7 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@playwright/test": "^1.39.0"
+ "@playwright/test": "^1.41.0"
},
"version": "0.11.0"
}
diff --git a/tests/affine-desktop-cloud/package.json b/tests/affine-desktop-cloud/package.json
index bc584bf664..20ee21477f 100644
--- a/tests/affine-desktop-cloud/package.json
+++ b/tests/affine-desktop-cloud/package.json
@@ -7,7 +7,7 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"@types/fs-extra": "^11.0.2",
"fs-extra": "^11.1.1"
},
diff --git a/tests/affine-desktop/package.json b/tests/affine-desktop/package.json
index 8b8cd1f7b3..9b098d3ed2 100644
--- a/tests/affine-desktop/package.json
+++ b/tests/affine-desktop/package.json
@@ -8,10 +8,10 @@
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@affine/electron-api": "workspace:*",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"@types/fs-extra": "^11.0.2",
"fs-extra": "^11.1.1",
- "playwright": "^1.39.0"
+ "playwright": "^1.41.0"
},
"version": "0.11.0"
}
diff --git a/tests/affine-legacy/0.6.1-beta.1/package.json b/tests/affine-legacy/0.6.1-beta.1/package.json
index d8f8c55da5..2866643e4b 100644
--- a/tests/affine-legacy/0.6.1-beta.1/package.json
+++ b/tests/affine-legacy/0.6.1-beta.1/package.json
@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
diff --git a/tests/affine-legacy/0.7.0-canary.18/package.json b/tests/affine-legacy/0.7.0-canary.18/package.json
index 4f405ac040..6c2b6991a5 100644
--- a/tests/affine-legacy/0.7.0-canary.18/package.json
+++ b/tests/affine-legacy/0.7.0-canary.18/package.json
@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
diff --git a/tests/affine-legacy/0.8.0-canary.7/package.json b/tests/affine-legacy/0.8.0-canary.7/package.json
index 5e0e25d6ad..b3dae0218f 100644
--- a/tests/affine-legacy/0.8.0-canary.7/package.json
+++ b/tests/affine-legacy/0.8.0-canary.7/package.json
@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
diff --git a/tests/affine-legacy/0.8.4/package.json b/tests/affine-legacy/0.8.4/package.json
index b9caa58951..0c8cdc8760 100644
--- a/tests/affine-legacy/0.8.4/package.json
+++ b/tests/affine-legacy/0.8.4/package.json
@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
diff --git a/tests/affine-local/package.json b/tests/affine-local/package.json
index 6c11eaa512..3eaeff4bb6 100644
--- a/tests/affine-local/package.json
+++ b/tests/affine-local/package.json
@@ -7,7 +7,7 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@playwright/test": "^1.39.0"
+ "@playwright/test": "^1.41.0"
},
"version": "0.11.0"
}
diff --git a/tests/affine-migration/package.json b/tests/affine-migration/package.json
index f93d8cd2f3..b6e7b7b71b 100644
--- a/tests/affine-migration/package.json
+++ b/tests/affine-migration/package.json
@@ -11,7 +11,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
- "@playwright/test": "^1.39.0"
+ "@playwright/test": "^1.41.0"
},
"version": "0.11.0"
}
diff --git a/tests/kit/package.json b/tests/kit/package.json
index fd570c5053..e9f0739785 100644
--- a/tests/kit/package.json
+++ b/tests/kit/package.json
@@ -12,7 +12,7 @@
"devDependencies": {
"@affine/electron-api": "workspace:*",
"@node-rs/argon2": "^1.5.2",
- "@playwright/test": "^1.39.0",
+ "@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1"
},
diff --git a/yarn.lock b/yarn.lock
index a052a52a50..19ea6400af 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -29,7 +29,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1"
@@ -46,7 +46,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1"
@@ -63,7 +63,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1"
@@ -80,7 +80,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1"
@@ -93,7 +93,7 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
languageName: unknown
linkType: soft
@@ -103,7 +103,7 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
"@types/fs-extra": "npm:^11.0.2"
fs-extra: "npm:^11.1.1"
languageName: unknown
@@ -116,10 +116,10 @@ __metadata:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
"@affine/electron-api": "workspace:*"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
"@types/fs-extra": "npm:^11.0.2"
fs-extra: "npm:^11.1.1"
- playwright: "npm:^1.39.0"
+ playwright: "npm:^1.41.0"
languageName: unknown
linkType: soft
@@ -129,7 +129,7 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
languageName: unknown
linkType: soft
@@ -143,7 +143,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
languageName: unknown
linkType: soft
@@ -159,7 +159,7 @@ __metadata:
dependencies:
"@affine/electron-api": "workspace:*"
"@node-rs/argon2": "npm:^1.5.2"
- "@playwright/test": "npm:^1.39.0"
+ "@playwright/test": "npm:^1.41.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
peerDependencies:
@@ -432,7 +432,7 @@ __metadata:
resolution: "@affine/electron-api@workspace:packages/frontend/electron-api"
dependencies:
"@toeverything/infra": "workspace:*"
- electron: "npm:^27.1.0"
+ electron: "npm:^28.1.4"
languageName: unknown
linkType: soft
@@ -463,7 +463,7 @@ __metadata:
async-call-rpc: "npm:^6.3.1"
builder-util-runtime: "npm:^9.2.3"
cross-env: "npm:^7.0.3"
- electron: "npm:^27.1.0"
+ electron: "npm:^28.1.4"
electron-log: "npm:^5.0.1"
electron-squirrel-startup: "npm:1.0.0"
electron-updater: "npm:^6.1.5"
@@ -552,7 +552,7 @@ __metadata:
"@istanbuljs/schema": "npm:^0.1.3"
"@magic-works/i18n-codegen": "npm:^0.5.0"
"@nx/vite": "npm:17.2.8"
- "@playwright/test": "npm:^1.40.0"
+ "@playwright/test": "npm:^1.41.0"
"@taplo/cli": "npm:^0.5.2"
"@testing-library/react": "npm:^14.1.2"
"@toeverything/infra": "workspace:*"
@@ -566,7 +566,7 @@ __metadata:
"@vitejs/plugin-react-swc": "npm:^3.5.0"
"@vitest/coverage-istanbul": "npm:1.1.3"
"@vitest/ui": "npm:1.1.3"
- electron: "npm:^27.1.0"
+ electron: "npm:^28.1.4"
eslint: "npm:^8.54.0"
eslint-config-prettier: "npm:^9.0.0"
eslint-plugin-i: "npm:^2.29.0"
@@ -9047,14 +9047,14 @@ __metadata:
languageName: node
linkType: hard
-"@playwright/test@npm:^1.39.0, @playwright/test@npm:^1.40.0":
- version: 1.40.0
- resolution: "@playwright/test@npm:1.40.0"
+"@playwright/test@npm:^1.41.0":
+ version: 1.41.0
+ resolution: "@playwright/test@npm:1.41.0"
dependencies:
- playwright: "npm:1.40.0"
+ playwright: "npm:1.41.0"
bin:
playwright: cli.js
- checksum: 46ebd396d37b3e438019229f5c84bf4a8614f455245a51fd2d77a05f6065aefc41af30f26882415607c9e4adc2bb1511bd1f1ba06d7870fae0b5525768240acb
+ checksum: 079e80335d56029b1b5d93589764b9b6f4b36233c4ed0c1ae84a20bd962f3f01da0ffaffa6f4e3e6b660eeff82f9369d5ddf2131120e3673bba2910e1df13db3
languageName: node
linkType: hard
@@ -19065,16 +19065,16 @@ __metadata:
languageName: node
linkType: hard
-"electron@npm:^27.1.0":
- version: 27.1.2
- resolution: "electron@npm:27.1.2"
+"electron@npm:^28.1.4":
+ version: 28.1.4
+ resolution: "electron@npm:28.1.4"
dependencies:
"@electron/get": "npm:^2.0.0"
"@types/node": "npm:^18.11.18"
extract-zip: "npm:^2.0.1"
bin:
electron: cli.js
- checksum: c24cbdee2ea7e219d2224e3b3f9760a248723490442dcdf28a5c5419c693127bc0ab169945bd6e7ff7db84c69b3ed4db65e2691dd2f7e15b2b0eea905a1e8863
+ checksum: 73d0e599c4ad6ba420c4b8224623a4fb4d1964d3d9b6963cbd42171a7f4b288b1d410364f9de75a2ea39feea46de061dd2cf508176db87950932daaa658b31e2
languageName: node
linkType: hard
@@ -28810,27 +28810,27 @@ __metadata:
languageName: node
linkType: hard
-"playwright-core@npm:1.40.0, playwright-core@npm:>=1.2.0":
- version: 1.40.0
- resolution: "playwright-core@npm:1.40.0"
+"playwright-core@npm:1.41.0, playwright-core@npm:>=1.2.0":
+ version: 1.41.0
+ resolution: "playwright-core@npm:1.41.0"
bin:
playwright-core: cli.js
- checksum: 2ce5245988b0e89ed3359476a83ad724484da349eae42e6c9dd4162a2180b1d37fe1750df45473a5a04a1590cb093d9f0df81e607b7f5c2c161f881436ee1a00
+ checksum: d87be32ed9a97bb6d379afaa1f0bc8ae1369cfc27468e89df58a723c51ea7e242ae91107a7aada7564da68f7b18fa2925c25d9f238be60410c7fd6c4923901ae
languageName: node
linkType: hard
-"playwright@npm:1.40.0, playwright@npm:^1.14.0, playwright@npm:^1.39.0":
- version: 1.40.0
- resolution: "playwright@npm:1.40.0"
+"playwright@npm:1.41.0, playwright@npm:^1.14.0, playwright@npm:^1.41.0":
+ version: 1.41.0
+ resolution: "playwright@npm:1.41.0"
dependencies:
fsevents: "npm:2.3.2"
- playwright-core: "npm:1.40.0"
+ playwright-core: "npm:1.41.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
- checksum: 56352a177e712598f30bbe6da69027a065cb9ee50df512e186dfc9e479a68bd60bab2fee9278e943ab75d4109ad062b88556f3e7efdabfd1f91f728ccceee631
+ checksum: 777760f8ceef66d09270420f9b57fd8fdadd15ee1b56893e2dc25d4fa8690dd51eebd187cea64d63150b4cb2f488fc6e1d213bb0976ac441b3a1ab3dfd72cb13
languageName: node
linkType: hard