Skip to content

Commit

Permalink
Merge pull request #348 from powersync-ja/fix/op-sqlite-dependencies-…
Browse files Browse the repository at this point in the history
…and-bundling

Fix: @powersync/op-sqlite bundling and dependencies
  • Loading branch information
mugikhan authored Oct 14, 2024
2 parents ffe8fd5 + 2859eac commit 9a7cee3
Show file tree
Hide file tree
Showing 4 changed files with 18,897 additions and 25,076 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-timers-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@powersync/op-sqlite': patch
---

Fixes bundled dependencies and code generation.
16 changes: 9 additions & 7 deletions packages/powersync-op-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@powersync/op-sqlite",
"version": "0.0.2",
"description": "Powersync",
"description": "PowerSync - sync Postgres or MongoDB with SQLite in your React Native app for offline-first and real-time data",
"source": "./src/index.ts",
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
Expand Down Expand Up @@ -44,9 +44,11 @@
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib"
},
"keywords": [
"react-native",
"ios",
"android"
"data sync",
"offline-first",
"sqlite",
"real-time data stream",
"live data"
],
"repository": {
"type": "git",
Expand All @@ -70,20 +72,20 @@
},
"dependencies": {
"@powersync/common": "workspace:*",
"react": "18.3.1",
"react-native": "0.75.3"
"async-lock": "^1.4.0"
},
"devDependencies": {
"@op-engineering/op-sqlite": "^9.1.3",
"@react-native/eslint-config": "^0.73.1",
"@types/async-lock": "^1.4.0",
"@types/react": "^18.2.44",
"async-lock": "^1.4.0",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.0.3",
"react": "18.3.1",
"react-native": "0.75.3",
"react-native-builder-bob": "^0.30.2",
"turbo": "^1.10.7",
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/powersync-op-sqlite/powersync-op-sqlite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.authors = package["author"]

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

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

Expand Down
Loading

0 comments on commit 9a7cee3

Please sign in to comment.