Skip to content

Commit 9a7cee3

Browse files
authored
Merge pull request #348 from powersync-ja/fix/op-sqlite-dependencies-and-bundling
Fix: @powersync/op-sqlite bundling and dependencies
2 parents ffe8fd5 + 2859eac commit 9a7cee3

File tree

4 files changed

+18897
-25076
lines changed

4 files changed

+18897
-25076
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/op-sqlite': patch
3+
---
4+
5+
Fixes bundled dependencies and code generation.

packages/powersync-op-sqlite/package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@powersync/op-sqlite",
33
"version": "0.0.2",
4-
"description": "Powersync",
4+
"description": "PowerSync - sync Postgres or MongoDB with SQLite in your React Native app for offline-first and real-time data",
55
"source": "./src/index.ts",
66
"main": "./lib/commonjs/index.js",
77
"module": "./lib/module/index.js",
@@ -44,9 +44,11 @@
4444
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib"
4545
},
4646
"keywords": [
47-
"react-native",
48-
"ios",
49-
"android"
47+
"data sync",
48+
"offline-first",
49+
"sqlite",
50+
"real-time data stream",
51+
"live data"
5052
],
5153
"repository": {
5254
"type": "git",
@@ -70,20 +72,20 @@
7072
},
7173
"dependencies": {
7274
"@powersync/common": "workspace:*",
73-
"react": "18.3.1",
74-
"react-native": "0.75.3"
75+
"async-lock": "^1.4.0"
7576
},
7677
"devDependencies": {
7778
"@op-engineering/op-sqlite": "^9.1.3",
7879
"@react-native/eslint-config": "^0.73.1",
7980
"@types/async-lock": "^1.4.0",
8081
"@types/react": "^18.2.44",
81-
"async-lock": "^1.4.0",
8282
"del-cli": "^5.1.0",
8383
"eslint": "^8.51.0",
8484
"eslint-config-prettier": "^9.0.0",
8585
"eslint-plugin-prettier": "^5.0.1",
8686
"prettier": "^3.0.3",
87+
"react": "18.3.1",
88+
"react-native": "0.75.3",
8789
"react-native-builder-bob": "^0.30.2",
8890
"turbo": "^1.10.7",
8991
"typescript": "^5.2.2"

packages/powersync-op-sqlite/powersync-op-sqlite.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
1111
s.authors = package["author"]
1212

1313
s.platforms = { :ios => min_ios_version_supported }
14-
s.source = { :git => "https://github.com/mugikhan/powersync-op-sqlite.git", :tag => "#{s.version}" }
14+
s.source = { :git => "https://github.com/powersync-ja/powersync-js.git", :tag => "#{s.version}" }
1515

1616
s.source_files = "ios/**/*.{h,m,mm,cpp}"
1717

0 commit comments

Comments
 (0)