feat: upgrade electron and playwright (#5632)

This commit is contained in:
LongYinan
2024-01-19 03:16:06 +00:00
parent cf2ad141ea
commit 9d28eb530a
14 changed files with 48 additions and 48 deletions

View File

@@ -61,7 +61,7 @@
"@istanbuljs/schema": "^0.1.3", "@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.5.0", "@magic-works/i18n-codegen": "^0.5.0",
"@nx/vite": "17.2.8", "@nx/vite": "17.2.8",
"@playwright/test": "^1.40.0", "@playwright/test": "^1.41.0",
"@taplo/cli": "^0.5.2", "@taplo/cli": "^0.5.2",
"@testing-library/react": "^14.1.2", "@testing-library/react": "^14.1.2",
"@toeverything/infra": "workspace:*", "@toeverything/infra": "workspace:*",
@@ -75,7 +75,7 @@
"@vitejs/plugin-react-swc": "^3.5.0", "@vitejs/plugin-react-swc": "^3.5.0",
"@vitest/coverage-istanbul": "1.1.3", "@vitest/coverage-istanbul": "1.1.3",
"@vitest/ui": "1.1.3", "@vitest/ui": "1.1.3",
"electron": "^27.1.0", "electron": "^28.1.4",
"eslint": "^8.54.0", "eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-i": "^2.29.0", "eslint-plugin-i": "^2.29.0",

View File

@@ -9,6 +9,6 @@
}, },
"devDependencies": { "devDependencies": {
"@toeverything/infra": "workspace:*", "@toeverything/infra": "workspace:*",
"electron": "^27.1.0" "electron": "^28.1.4"
} }
} }

View File

@@ -44,7 +44,7 @@
"@types/uuid": "^9.0.7", "@types/uuid": "^9.0.7",
"builder-util-runtime": "^9.2.3", "builder-util-runtime": "^9.2.3",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"electron": "^27.1.0", "electron": "^28.1.4",
"electron-log": "^5.0.1", "electron-log": "^5.0.1",
"electron-squirrel-startup": "1.0.0", "electron-squirrel-startup": "1.0.0",
"electron-window-state": "^5.0.3", "electron-window-state": "^5.0.3",

View File

@@ -7,7 +7,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.39.0" "@playwright/test": "^1.41.0"
}, },
"version": "0.11.0" "version": "0.11.0"
} }

View File

@@ -7,7 +7,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.41.0",
"@types/fs-extra": "^11.0.2", "@types/fs-extra": "^11.0.2",
"fs-extra": "^11.1.1" "fs-extra": "^11.1.1"
}, },

View File

@@ -8,10 +8,10 @@
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@affine/electron-api": "workspace:*", "@affine/electron-api": "workspace:*",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.41.0",
"@types/fs-extra": "^11.0.2", "@types/fs-extra": "^11.0.2",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"playwright": "^1.39.0" "playwright": "^1.41.0"
}, },
"version": "0.11.0" "version": "0.11.0"
} }

View File

@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "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", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1" "serve": "^14.2.1"

View File

@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "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", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1" "serve": "^14.2.1"

View File

@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "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", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1" "serve": "^14.2.1"

View File

@@ -13,7 +13,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "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", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1" "serve": "^14.2.1"

View File

@@ -7,7 +7,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.39.0" "@playwright/test": "^1.41.0"
}, },
"version": "0.11.0" "version": "0.11.0"
} }

View File

@@ -11,7 +11,7 @@
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "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" "version": "0.11.0"
} }

View File

@@ -12,7 +12,7 @@
"devDependencies": { "devDependencies": {
"@affine/electron-api": "workspace:*", "@affine/electron-api": "workspace:*",
"@node-rs/argon2": "^1.5.2", "@node-rs/argon2": "^1.5.2",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.41.0",
"express": "^4.18.2", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1" "http-proxy-middleware": "^3.0.0-beta.1"
}, },

View File

@@ -29,7 +29,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "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" "@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" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1" serve: "npm:^14.2.1"
@@ -46,7 +46,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "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" "@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" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1" serve: "npm:^14.2.1"
@@ -63,7 +63,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "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" "@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" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1" serve: "npm:^14.2.1"
@@ -80,7 +80,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "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" "@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" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
serve: "npm:^14.2.1" serve: "npm:^14.2.1"
@@ -93,7 +93,7 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.41.0"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -103,7 +103,7 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.41.0"
"@types/fs-extra": "npm:^11.0.2" "@types/fs-extra": "npm:^11.0.2"
fs-extra: "npm:^11.1.1" fs-extra: "npm:^11.1.1"
languageName: unknown languageName: unknown
@@ -116,10 +116,10 @@ __metadata:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@affine/electron-api": "workspace:*" "@affine/electron-api": "workspace:*"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.41.0"
"@types/fs-extra": "npm:^11.0.2" "@types/fs-extra": "npm:^11.0.2"
fs-extra: "npm:^11.1.1" fs-extra: "npm:^11.1.1"
playwright: "npm:^1.39.0" playwright: "npm:^1.41.0"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -129,7 +129,7 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.41.0"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -143,7 +143,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "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" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.41.0"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -159,7 +159,7 @@ __metadata:
dependencies: dependencies:
"@affine/electron-api": "workspace:*" "@affine/electron-api": "workspace:*"
"@node-rs/argon2": "npm:^1.5.2" "@node-rs/argon2": "npm:^1.5.2"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.41.0"
express: "npm:^4.18.2" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
peerDependencies: peerDependencies:
@@ -432,7 +432,7 @@ __metadata:
resolution: "@affine/electron-api@workspace:packages/frontend/electron-api" resolution: "@affine/electron-api@workspace:packages/frontend/electron-api"
dependencies: dependencies:
"@toeverything/infra": "workspace:*" "@toeverything/infra": "workspace:*"
electron: "npm:^27.1.0" electron: "npm:^28.1.4"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -463,7 +463,7 @@ __metadata:
async-call-rpc: "npm:^6.3.1" async-call-rpc: "npm:^6.3.1"
builder-util-runtime: "npm:^9.2.3" builder-util-runtime: "npm:^9.2.3"
cross-env: "npm:^7.0.3" cross-env: "npm:^7.0.3"
electron: "npm:^27.1.0" electron: "npm:^28.1.4"
electron-log: "npm:^5.0.1" electron-log: "npm:^5.0.1"
electron-squirrel-startup: "npm:1.0.0" electron-squirrel-startup: "npm:1.0.0"
electron-updater: "npm:^6.1.5" electron-updater: "npm:^6.1.5"
@@ -552,7 +552,7 @@ __metadata:
"@istanbuljs/schema": "npm:^0.1.3" "@istanbuljs/schema": "npm:^0.1.3"
"@magic-works/i18n-codegen": "npm:^0.5.0" "@magic-works/i18n-codegen": "npm:^0.5.0"
"@nx/vite": "npm:17.2.8" "@nx/vite": "npm:17.2.8"
"@playwright/test": "npm:^1.40.0" "@playwright/test": "npm:^1.41.0"
"@taplo/cli": "npm:^0.5.2" "@taplo/cli": "npm:^0.5.2"
"@testing-library/react": "npm:^14.1.2" "@testing-library/react": "npm:^14.1.2"
"@toeverything/infra": "workspace:*" "@toeverything/infra": "workspace:*"
@@ -566,7 +566,7 @@ __metadata:
"@vitejs/plugin-react-swc": "npm:^3.5.0" "@vitejs/plugin-react-swc": "npm:^3.5.0"
"@vitest/coverage-istanbul": "npm:1.1.3" "@vitest/coverage-istanbul": "npm:1.1.3"
"@vitest/ui": "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: "npm:^8.54.0"
eslint-config-prettier: "npm:^9.0.0" eslint-config-prettier: "npm:^9.0.0"
eslint-plugin-i: "npm:^2.29.0" eslint-plugin-i: "npm:^2.29.0"
@@ -9047,14 +9047,14 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@playwright/test@npm:^1.39.0, @playwright/test@npm:^1.40.0": "@playwright/test@npm:^1.41.0":
version: 1.40.0 version: 1.41.0
resolution: "@playwright/test@npm:1.40.0" resolution: "@playwright/test@npm:1.41.0"
dependencies: dependencies:
playwright: "npm:1.40.0" playwright: "npm:1.41.0"
bin: bin:
playwright: cli.js playwright: cli.js
checksum: 46ebd396d37b3e438019229f5c84bf4a8614f455245a51fd2d77a05f6065aefc41af30f26882415607c9e4adc2bb1511bd1f1ba06d7870fae0b5525768240acb checksum: 079e80335d56029b1b5d93589764b9b6f4b36233c4ed0c1ae84a20bd962f3f01da0ffaffa6f4e3e6b660eeff82f9369d5ddf2131120e3673bba2910e1df13db3
languageName: node languageName: node
linkType: hard linkType: hard
@@ -19065,16 +19065,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"electron@npm:^27.1.0": "electron@npm:^28.1.4":
version: 27.1.2 version: 28.1.4
resolution: "electron@npm:27.1.2" resolution: "electron@npm:28.1.4"
dependencies: dependencies:
"@electron/get": "npm:^2.0.0" "@electron/get": "npm:^2.0.0"
"@types/node": "npm:^18.11.18" "@types/node": "npm:^18.11.18"
extract-zip: "npm:^2.0.1" extract-zip: "npm:^2.0.1"
bin: bin:
electron: cli.js electron: cli.js
checksum: c24cbdee2ea7e219d2224e3b3f9760a248723490442dcdf28a5c5419c693127bc0ab169945bd6e7ff7db84c69b3ed4db65e2691dd2f7e15b2b0eea905a1e8863 checksum: 73d0e599c4ad6ba420c4b8224623a4fb4d1964d3d9b6963cbd42171a7f4b288b1d410364f9de75a2ea39feea46de061dd2cf508176db87950932daaa658b31e2
languageName: node languageName: node
linkType: hard linkType: hard
@@ -28810,27 +28810,27 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"playwright-core@npm:1.40.0, playwright-core@npm:>=1.2.0": "playwright-core@npm:1.41.0, playwright-core@npm:>=1.2.0":
version: 1.40.0 version: 1.41.0
resolution: "playwright-core@npm:1.40.0" resolution: "playwright-core@npm:1.41.0"
bin: bin:
playwright-core: cli.js playwright-core: cli.js
checksum: 2ce5245988b0e89ed3359476a83ad724484da349eae42e6c9dd4162a2180b1d37fe1750df45473a5a04a1590cb093d9f0df81e607b7f5c2c161f881436ee1a00 checksum: d87be32ed9a97bb6d379afaa1f0bc8ae1369cfc27468e89df58a723c51ea7e242ae91107a7aada7564da68f7b18fa2925c25d9f238be60410c7fd6c4923901ae
languageName: node languageName: node
linkType: hard linkType: hard
"playwright@npm:1.40.0, playwright@npm:^1.14.0, playwright@npm:^1.39.0": "playwright@npm:1.41.0, playwright@npm:^1.14.0, playwright@npm:^1.41.0":
version: 1.40.0 version: 1.41.0
resolution: "playwright@npm:1.40.0" resolution: "playwright@npm:1.41.0"
dependencies: dependencies:
fsevents: "npm:2.3.2" fsevents: "npm:2.3.2"
playwright-core: "npm:1.40.0" playwright-core: "npm:1.41.0"
dependenciesMeta: dependenciesMeta:
fsevents: fsevents:
optional: true optional: true
bin: bin:
playwright: cli.js playwright: cli.js
checksum: 56352a177e712598f30bbe6da69027a065cb9ee50df512e186dfc9e479a68bd60bab2fee9278e943ab75d4109ad062b88556f3e7efdabfd1f91f728ccceee631 checksum: 777760f8ceef66d09270420f9b57fd8fdadd15ee1b56893e2dc25d4fa8690dd51eebd187cea64d63150b4cb2f488fc6e1d213bb0976ac441b3a1ab3dfd72cb13
languageName: node languageName: node
linkType: hard linkType: hard