mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-19 15:05:47 +01:00
bindings/javascript: Fix npm run build
Fixes the following error:
```
This is not the tsc command you are looking for
To get access to the TypeScript compiler, tsc, from the command line either:
- Use npm install typescript to first add TypeScript to your project before using npx
- Use yarn to avoid accidentally running code from un-installed packages
```
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
"@napi-rs/wasm-runtime": "^1.0.1",
|
||||
"ava": "^6.0.1",
|
||||
"better-sqlite3": "^11.9.1",
|
||||
"tsc": "^2.0.4",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"ava": {
|
||||
@@ -45,7 +44,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"artifacts": "napi artifacts",
|
||||
"build": "napi build --platform --release --esm && tsc",
|
||||
"build": "napi build --platform --release --esm && npm exec tsc",
|
||||
"build:debug": "napi build --platform",
|
||||
"prepublishOnly": "napi prepublish -t npm",
|
||||
"test": "true",
|
||||
|
||||
Reference in New Issue
Block a user