mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
fix #13529 #### PR Dependency Tree * **PR #14481** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Mobile blob caching with file-backed storage for faster loads and reduced network usage * Blob decoding with lazy refresh on token-read failures for improved reliability * Full-text search/indexing exposed to mobile apps * Document sync APIs and peer clock management for robust cross-device sync * **Tests** * Added unit tests covering payload decoding, cache safety, and concurrency * **Dependencies** * Added an LRU cache dependency and a new mobile-shared package for shared mobile logic <!-- end of auto-generated comment: release notes by coderabbit.ai -->
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"name": "@affine/native",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"napi": {
|
|
"binaryName": "affine",
|
|
"targets": [
|
|
"x86_64-apple-darwin",
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-pc-windows-msvc",
|
|
"aarch64-apple-darwin",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-pc-windows-msvc"
|
|
],
|
|
"constEnum": false
|
|
},
|
|
"license": "MIT",
|
|
"ava": {
|
|
"extensions": {
|
|
"mts": "module"
|
|
},
|
|
"files": [
|
|
"__tests__/*.spec.mts"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "3.5.0",
|
|
"@napi-rs/whisper": "^0.0.4",
|
|
"@types/node": "^22.0.0",
|
|
"ava": "^6.4.1",
|
|
"rxjs": "^7.8.2",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts",
|
|
"build": "napi build -p affine_native --platform --release",
|
|
"build:debug": "napi build -p affine_native --platform",
|
|
"universal": "napi universal",
|
|
"test": "ava --no-worker-threads --concurrency=2",
|
|
"version": "napi version"
|
|
},
|
|
"version": "0.26.1"
|
|
}
|