mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 07:51:45 +03:00
e100d252b2
## Description - Add null checks before clearTimeout calls in colorful-fallback.tsx, edgeless.dialog.tsx, and local.dialog.tsx - Fix event listener cleanup in unfolding.tsx - Update tsconfig.jsx to use react-jsx transform ## Testing - [x] Verified type safety improvements for React 19 compatibility - [x] Ensured proper cleanup of event listeners and timeouts - [x] Confirmed no unintended side effects from the changes Link to Devin run: https://app.devin.ai/sessions/2e790f3ea0d84402837ec6c3c6f83e4c
29 lines
790 B
JSON
29 lines
790 B
JSON
{
|
|
"name": "@affine/web",
|
|
"version": "0.18.0",
|
|
"description": "AFFiNE Desktop Web application",
|
|
"private": true,
|
|
"browser": "src/index.tsx",
|
|
"scripts": {
|
|
"build": "cross-env DISTRIBUTION=web yarn workspace @affine/cli bundle",
|
|
"dev": "yarn workspace @affine/cli dev",
|
|
"static-server": "yarn workspace @affine/cli dev --static"
|
|
},
|
|
"dependencies": {
|
|
"@affine/component": "workspace:*",
|
|
"@affine/core": "workspace:*",
|
|
"@affine/i18n": "workspace:*",
|
|
"@emotion/react": "^11.11.4",
|
|
"@sentry/react": "^8.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-router-dom": "^6.22.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|