Skip to content

Commit

Permalink
Created binding.gyp (#6309)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen authored Dec 8, 2023
1 parent 81353d1 commit ca5f3db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* When mapTo is used on a property of type List, an error like `Property 'test_list' does not exist on 'Task' objects` occurs when trying to access the property. ([#6268](https://github.com/realm/realm-js/issues/6268), since v12.0.0)
* Fixed bug where apps running under JavaScriptCore on Android will terminate with the error message `No identifiers allowed directly after numeric literal`. ([#6194](https://github.com/realm/realm-js/issues/6194), since v12.2.0)
* When an object had an embedded object as one of its properties, updating that property to `null` or `undefined` did not update the property in the database. ([#6280](https://github.com/realm/realm-js/issues/6280), since v12.0.0)
* Fixed download of platform + arch specific prebuilt binaries when building an Electron app using `electron-builder`. ([#3828](https://github.com/realm/realm-js/issues/3828))

### Compatibility
* React Native >= v0.71.4
Expand Down
4 changes: 4 additions & 0 deletions packages/realm/binding.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# We're not actually using node-gyp,
# but this file is present to signal to `electron-builder` that we have a native module prebuilt that needs to be downloaded.
# See https://github.com/develar/app-builder/blob/0bc38fb5e76c38ab24e36acf7a17887370e31fb4/pkg/node-modules/rebuild.go#L338
{}
3 changes: 2 additions & 1 deletion packages/realm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"react-native/ios/RealmReact",
"scripts/submit-analytics.mjs",
"react-native.config.js",
"RealmJS.podspec"
"RealmJS.podspec",
"binding.gyp"
],
"scripts": {
"test": "wireit",
Expand Down

0 comments on commit ca5f3db

Please sign in to comment.