Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Dec 22, 2024
1 parent c8dc967 commit 7d3fa2b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions cpp/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ void install(jsi::Runtime &rt,
module.setProperty(rt, "open", std::move(open));
module.setProperty(rt, "isSQLCipher", std::move(is_sqlcipher));
module.setProperty(rt, "isLibsql", std::move(is_libsql));
module.setProperty(rt, "isIOSEmbedded", std::move(is_ios_embedded));
#ifdef OP_SQLITE_USE_LIBSQL
module.setProperty(rt, "openRemote", std::move(open_remote));
module.setProperty(rt, "openSync", std::move(open_sync));
Expand Down
6 changes: 1 addition & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ PODS:
- DoubleConversion
- glog
- hermes-engine
- OpenSSL-Universal
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
Expand All @@ -34,7 +33,6 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- OpenSSL-Universal (3.3.2000)
- RCT-Folly (2024.01.01.00):
- boost
- DoubleConversion
Expand Down Expand Up @@ -1640,7 +1638,6 @@ DEPENDENCIES:
SPEC REPOS:
trunk:
- GCDWebServer
- OpenSSL-Universal
- SocketRocket

EXTERNAL SOURCES:
Expand Down Expand Up @@ -1788,8 +1785,7 @@ SPEC CHECKSUMS:
GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4
glog: 08b301085f15bcbb6ff8632a8ebaf239aae04e6a
hermes-engine: 06a9c6900587420b90accc394199527c64259db4
op-sqlite: c176293edd92dfe9f337e2a7b52b0b2cce1cc2c6
OpenSSL-Universal: b60a3702c9fea8b3145549d421fdb018e53ab7b4
op-sqlite: 44cfb0a8e1f57e95319a1d168271da059b4d7e98
RCT-Folly: bf5c0376ffe4dd2cf438dcf86db385df9fdce648
RCTDeprecation: fb7d408617e25d7f537940000d766d60149c5fea
RCTRequired: 9aaf0ffcc1f41f0c671af863970ef25c422a9920
Expand Down
14 changes: 7 additions & 7 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@
"node": ">=18"
},
"op-sqlite": {
"sqlcipher": true,
"crsqlite": false,
"performanceMode": true,
"sqliteFlags": "-DSQLITE_TEMP_STORE=2",
"iosSqlite": false,
"fts5": true,
"rtree": true,
"sqliteVec": true,
"sqlcipher": false,
"libsql": false,
"performanceMode": true,
"iosSqlite": true,
"crsqlite": false,
"fts5": false,
"rtree": false,
"sqliteVec": false,
"tokenizers": [
"wordtokenizer",
"porter"
Expand Down
5 changes: 5 additions & 0 deletions scripts/turnOffEverything.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ const packageJson = JSON.parse(fs.readFileSync('./example/package.json'));
packageJson['op-sqlite']['libsql'] = false;
packageJson['op-sqlite']['sqlcipher'] = false;
packageJson['op-sqlite']['crsqlite'] = false;
packageJson['op-sqlite']['iosSqlite'] = false;
packageJson['op-sqlite']['fts5'] = true;
packageJson['op-sqlite']['rtree'] = true;
packageJson['op-sqlite']['crsqlite'] = true;
packageJson['op-sqlite']['sqliteVec'] = true;

// Save the updated package.json file
fs.writeFileSync(
Expand Down

0 comments on commit 7d3fa2b

Please sign in to comment.