mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
## 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
70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
{
|
|
"name": "@toeverything/infra",
|
|
"type": "module",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"exports": {
|
|
"./blocksuite": "./src/blocksuite/index.ts",
|
|
"./storage": "./src/storage/index.ts",
|
|
"./utils": "./src/utils/index.ts",
|
|
"./app-config-storage": "./src/app-config-storage.ts",
|
|
"./op": "./src/op/index.ts",
|
|
".": "./src/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@affine/debug": "workspace:*",
|
|
"@affine/env": "workspace:*",
|
|
"@affine/templates": "workspace:*",
|
|
"@blocksuite/affine": "0.18.5",
|
|
"@datastructures-js/binary-search-tree": "^5.3.2",
|
|
"eventemitter2": "^6.4.9",
|
|
"foxact": "^0.2.33",
|
|
"fractional-indexing": "^3.2.0",
|
|
"fuse.js": "^7.0.0",
|
|
"graphemer": "^1.4.0",
|
|
"idb": "^8.0.0",
|
|
"jotai": "^2.8.0",
|
|
"jotai-effect": "^1.0.0",
|
|
"lodash-es": "^4.17.21",
|
|
"nanoid": "^5.0.7",
|
|
"react": "19.0.0",
|
|
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@affine-test/fixtures": "workspace:*",
|
|
"@affine/templates": "workspace:*",
|
|
"@swc/core": "^1.0.0",
|
|
"@testing-library/dom": "^9.3.4",
|
|
"@testing-library/react": "^16.1.0",
|
|
"fake-indexeddb": "^6.0.0",
|
|
"react": "^19.0.0",
|
|
"rxjs": "^7.8.1",
|
|
"vitest": "2.1.8"
|
|
},
|
|
"peerDependencies": {
|
|
"@affine/templates": "*",
|
|
"@swc/core": "^1.0.0",
|
|
"@testing-library/dom": ">=7.0.0",
|
|
"electron": "*",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"yjs": "^13"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@affine/templates": {
|
|
"optional": true
|
|
},
|
|
"electron": {
|
|
"optional": true
|
|
},
|
|
"react": {
|
|
"optional": true
|
|
},
|
|
"yjs": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"version": "0.18.0"
|
|
}
|