bind/js: Switch to napi v3

This commit is contained in:
Diego Reis
2025-07-24 18:18:54 -03:00
parent cb42102a6e
commit 0f95cf7751
14 changed files with 3812 additions and 2160 deletions

View File

@@ -9,20 +9,16 @@
"main": "wrapper.js",
"types": "index.d.ts",
"napi": {
"name": "turso",
"release": false,
"triples": {
"defaults": false,
"additional": [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"universal-apple-darwin"
]
}
"binaryName": "turso",
"targets": [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"universal-apple-darwin"
]
},
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^2.18.4",
"@napi-rs/cli": "^3.0.4",
"ava": "^6.0.1",
"better-sqlite3": "^11.9.1"
},
@@ -38,8 +34,8 @@
"build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
"universal": "napi universal",
"universal": "napi universalize",
"version": "napi version"
},
"packageManager": "yarn@4.6.0"
}
"packageManager": "yarn@4.9.2"
}