mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-30 14:34:22 +01:00
fix CI
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
},
|
||||
"scripts": {
|
||||
"napi-build": "napi build --features browser --release --platform --target wasm32-wasip1-threads --no-js --manifest-path ../../Cargo.toml --output-dir . && rm index.d.ts sync.wasi* wasi* browser.js",
|
||||
"tsc-build": "npm exec tsc && cp sync.wasm32-wasi.wasm ./dist/sync.wasm32-wasi.wasm && WASM_FILE=sync.wasm32-wasi.wasm JS_FILE=./dist/wasm-inline.js node ../../../scripts/inline-wasm-base64.js",
|
||||
"tsc-build": "npm exec tsc && cp sync.wasm32-wasi.wasm ./dist/sync.wasm32-wasi.wasm && WASM_FILE=sync.wasm32-wasi.wasm JS_FILE=./dist/wasm-inline.js node ../../../scripts/inline-wasm-base64.js && npm run bundle",
|
||||
"bundle": "vite build",
|
||||
"build": "npm run napi-build && npm run tsc-build && npm run bundle",
|
||||
"build": "npm run napi-build && npm run tsc-build",
|
||||
"test": "VITE_TURSO_DB_URL=http://b--a--a.localhost:10000 CI=1 vitest --browser=chromium --run && VITE_TURSO_DB_URL=http://b--a--a.localhost:10000 CI=1 vitest --browser=firefox --run"
|
||||
},
|
||||
"napi": {
|
||||
@@ -58,4 +58,4 @@
|
||||
"@tursodatabase/database-common": "^0.2.0-pre.1",
|
||||
"@tursodatabase/sync-common": "^0.2.0-pre.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user