mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated core dependencies, developer tooling and Rust toolchain to
newer stable versions across the repo
* Upgraded Storybook to v10 and improved ESM path resolution for
storybook tooling
* Broadened native binding platform/architecture support and
strengthened native module version validation, loading and WASI handling
* **New Features**
* Exposed an additional native text export for consumers (enhanced
JS/native surface)
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
39 lines
894 B
JSON
39 lines
894 B
JSON
{
|
|
"name": "@affine/server-native",
|
|
"version": "0.25.7",
|
|
"engines": {
|
|
"node": ">= 10.16.0 < 11 || >= 11.8.0"
|
|
},
|
|
"main": "./index.js",
|
|
"module": "./index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./server-native.node",
|
|
"import": "./index.js",
|
|
"types": "./index.d.ts"
|
|
}
|
|
},
|
|
"napi": {
|
|
"binaryName": "server-native",
|
|
"targets": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-pc-windows-msvc",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"test": "node --test ./__tests__/**/*.spec.js",
|
|
"bench": "node ./benchmark/index.js",
|
|
"build": "napi build --release --strip --no-const-enum",
|
|
"build:debug": "napi build"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "3.5.0",
|
|
"tiktoken": "^1.0.17"
|
|
}
|
|
}
|