mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
0c16d7110d
#### PR Dependency Tree * **PR #15223** 👈 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 * **Improvements** * Updated Mermaid and Typst preview rendering in native/mobile apps to use a shared preview implementation. * Improved production Release builds with additional Rust release tuning and enhanced iOS Release stripping/symbol settings. * Enabled stronger release output optimization for the native package build. * **Bug Fixes** * Strengthened handling of unsupported self-hosted server versions during login preflight. * Refreshed unsupported-version messaging with localized text and a direct upgrade link. * **Tests** * Added coverage for login preflight behavior when the server version is unsupported. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
48 lines
1.1 KiB
JSON
48 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": "^7.0.0",
|
|
"rxjs": "^7.8.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts",
|
|
"build": "napi build -p affine_native --platform --release --strip",
|
|
"build:debug": "napi build -p affine_native --platform",
|
|
"universal": "napi universal",
|
|
"test": "ava --no-worker-threads --concurrency=2",
|
|
"version": "napi version"
|
|
},
|
|
"version": "0.27.0"
|
|
}
|