Commit Graph

164 Commits

Author SHA1 Message Date
Kristian Dupont 63cd9013cc Add install script to conditionally launch node-pre-gyp (#689)
* Add user file

* Add install script to conditionally launch node-pre-gyp

* Let install script deal with plain npm install

* Make eslint happy

* Use require.resolve instead of brittle relative path

* Update install script to forward pre-gyp error

* Fix error in install.js

* Revert "Add user file"

This reverts commit 2948f4cfc2dfd2d5d75594307b1e89806b817eb7.
2016-12-20 17:10:37 +01:00
Radu Tutueanu d7c44fa7e9 Use mockery in tests to setup the realm module path(#727)
* Use mockery to set up the realm module path

* Use the right path

* Add mockery to devDependencies

* Remove unnecessary symbolic link
2016-12-09 09:05:15 +01:00
Adam Lebsack 9900d24181 Merge pull request #664 from realm/ajl/add-tests
Added tests directory to package.json
2016-11-28 13:44:44 +01:00
Ari Lazier f44f31e721 [0.15.1-rc] Bump version 2016-11-22 16:42:07 -08:00
Adam Lebsack e5293f9ef0 Added tests directory to package.json 2016-11-17 16:15:08 +01:00
Kristian Dupont bb837b4580 Add request dependency 2016-11-16 20:49:32 +01:00
Ari Lazier 038a025b81 [0.15.0] Bump version 2016-11-15 11:10:07 -08:00
Ari Lazier fabaf5e819 Merge pull request #653 from realm/nh/update_android
Nh/update android
2016-11-15 10:06:20 -08:00
Ari Lazier db524a56a2 [0.15.0-rc] Bump version 2016-11-15 05:42:25 -08:00
Ari Lazier ca3fb62c59 ci build fixes for android 2016-11-15 05:08:26 -08:00
Søren Vind 06d277aacd Bumped version of ESLint, added eslinting of specs, make all linting pass 2016-11-14 10:48:50 -08:00
Nabil Hachicha fdf88c2f78 Adding a build type to switch between Core & Core+Sync 2016-11-14 13:26:33 +00:00
Radu Tutueanu 63371d1e2b Fix package.json 2016-11-10 13:57:06 +01:00
Radu Tutueanu b38c428e82 Use dependencies.list
Fixes  #644
2016-11-10 13:53:28 +01:00
Søren Vind d5cd3d7266 Download and start ROS before running tests + Run all tests + Run using node4.4.7 2016-11-08 16:47:20 -08:00
Ari Lazier 5a49dbc325 make sync work with RealmJS tests 2016-10-27 13:49:41 -07:00
Yavor Georgiev 5623653477 prepare for the glorious future 2016-10-08 19:36:03 +02:00
Ari Lazier 9d0df0de3d Sync and fine grained notifications 2016-10-04 15:07:14 -07:00
Ari Lazier 860519c6b5 [0.14.3] Bump version 2016-08-15 11:12:36 -07:00
Ari Lazier 3e55944818 [0.14.3-rc] Bump version 2016-08-15 11:12:36 -07:00
Ari Lazier ad97836d19 [0.14.2] Bump version 2016-07-31 14:25:13 -07:00
Scott Kyle 717d6781a1 Add support for debugging in Visual Studio Code
Since Code runs in Node, rather than Chrome, we need to require the `sync-request` module. The global `__debug__` object was exposed by the vscode-react-native plugin v0.1.5 for us to be able to do that.

Resolves #374
2016-06-29 16:02:50 -07:00
Scott Kyle c026c198ea Merge tag 'v0.14.1'
* tag 'v0.14.1':
  [0.14.1] Bump version
  [0.14.0-rc] Bump version
  Disable "Strip Linked Product" on our static libs
  Fix for linker error when building for iOS 7
2016-06-28 17:32:48 -07:00
Scott Kyle 51ec21e37b [0.14.1] Bump version 2016-06-28 17:27:49 -07:00
Scott Kyle 63adf8732e [0.14.0-rc] Bump version 2016-06-28 12:15:36 -07:00
Scott Kyle e0ff68059b Remove rnpm post install script
This will mean we only support rnpm 1.9.0 and above.
2016-06-22 14:25:35 -04:00
Scott Kyle ebdf505194 Move mockery to dev dependency and upgrade to 1.7.0 2016-06-22 14:25:35 -04:00
Scott Kyle 4e714ac5c3 [0.14.0] Bump version 2016-06-22 11:42:27 -04:00
Scott Kyle dc3d88f053 [0.14.0-rc] Bump version 2016-06-16 17:55:45 -07:00
Scott Kyle 8f3c778b72 Add sharedLibraries to rnpm section of package.json
Now supported by rnpm 1.9.0!
2016-06-16 17:49:47 -07:00
Scott Kyle 846e3b976d Update ESLint dependencies 2016-05-26 15:47:30 -07:00
Scott Kyle 118567ca4e [0.13.2] Bump version 2016-05-26 13:35:29 -07:00
Scott Kyle 47776d9b0a [0.13.1] Bump version 2016-05-24 11:53:10 -07:00
Scott Kyle 64ae03512a [0.13.0] Bump version 2016-05-19 13:33:50 -07:00
Scott Kyle fb887d92f5 [0.13.0-rc] Bump version 2016-05-16 14:48:08 -07:00
Scott Kyle 323583ed67 Merge pull request #417 from realm/sk-node-6
Fix issues in Node 6
2016-05-12 12:39:31 -07:00
Scott Kyle 062b2dc9ed [0.12.0] Bump version 2016-05-04 13:48:19 -07:00
Scott Kyle 43e3f94ca6 Update to the latest nan for Node v6 support 2016-05-04 02:14:01 -07:00
Scott Kyle c8e7ddc3af [0.12.0-rc] Bump version 2016-05-03 12:06:15 -07:00
Scott Kyle 28150e27cb Bump rnpm dependency to 1.6.5 2016-05-02 01:41:37 -07:00
Scott Kyle 4731610a58 Merge branch 'master' into sk-node
* master:
  add keypath tests
  pr feedback, changelog
  typo
  bug fix
  tests
  support keypath comparisons for types that support it
  support for null queries
  don't require optional or link properties when creating objects
  [0.11.1] Bump version
  Update CHANGELOG with 0.11.1 fixes
  Update changelog script
  Remove changes_available implementation that asserts
  Get correct path to adb from Android Studio
  add some simple tests for Realm.write
  Update apps to use React Native 0.22
2016-04-18 14:19:06 -07:00
Scott Kyle 133289ad85 All tests now pass on Node 2016-04-15 16:06:44 -07:00
Scott Kyle 05c432deb1 WIP Node support
The JS engine details are mostly abstracted away. This breaks JSC support until the rest of the pieces are in place. The Node version builds and runs, but crashes when creating a Realm object.
2016-04-12 11:53:30 -07:00
Scott Kyle 2c0d8f8cef [0.11.1] Bump version 2016-03-29 15:30:39 -07:00
Scott Kyle d62f78050e [0.11.0] Bump version 2016-03-24 13:10:24 -07:00
Scott Kyle 4b929f4c02 [0.11.0-rc.1] Bump version 2016-03-23 16:08:02 -07:00
Scott Kyle daa2948028 Move RealmJS.xcodeproj to be under src/ios 2016-03-23 13:39:12 -07:00
Scott Kyle 42485045f3 Support linking project with rnpm
The postlink script takes care of linking in libc++ and libz. So now the only setup instructions will be: `rnpm link realm`.

Resolves #226
2016-03-23 10:51:57 -07:00
Ari Lazier b9475ad772 pr feedback 2016-03-21 11:46:34 -07:00
Scott Kyle 480a9b1327 Update eslint dependencies
The release of 2.4.0 broke babel-eslint 5.x, so updated to the 6.x beta.
2016-03-17 02:04:20 -07:00
Scott Kyle cf3b0c5f15 [0.11.0-rc] Bump version 2016-03-16 13:33:59 -07:00
Scott Kyle 4d6adb9835 Support publishing prerelease version tags 2016-03-16 13:12:55 -07:00
Scott Kyle 27073a9e66 Properly configure ESLint for syntax checking
Added a test case to run on CI as well.
2016-03-16 13:01:38 -07:00
Scott Kyle f26415cd02 Bump version to 0.10.0 2016-02-21 20:43:13 -08:00
Tim Anglade ceee56cb9b Fix ampersand in package.json 2016-02-21 19:19:55 -08:00
Tim Anglade 7a6bec9649 Tweaks 2016-02-21 19:07:47 -08:00
Scott Kyle 66572c139b Update package.json with stuff needed for npm
Resolves #220
2016-02-21 19:07:33 -08:00
Scott Kyle 5b2e7b37af Add script to update version in package.json and iOS
This uses agvtool to update the CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION project variables. The Info.plist files have been updated to propagate this value.
2016-02-18 13:58:12 -08:00
Scott Kyle b63dfd1c04 API documentation
This includes the initial draft of API docs that are generated by JSDoc using a template that was greatly improved to best handle this content.
2016-02-12 16:57:13 -08:00
Scott Kyle 69f0241adb Skip building Android module for iOS tests 2016-02-11 13:24:21 -08:00
Nabil Hachicha 7afdbba2ed adding a 'publishAndroid' task to generate the AAR with prebuilt .so files 2016-02-10 16:11:36 -08:00
Scott Kyle 0702fed747 Add `npm test` command 2016-02-08 14:19:16 -08:00
Scott Kyle 1c1b2ec4ab Add postinstall script to create symlinks
This includes a top-level "android" symlink that should allow `react-native link` command to work.
2016-02-08 03:26:27 -08:00
Scott Kyle 3da6b54df6 Add ability to publish NPM module to git
The top-level package.json explicitly includes the directories it needs (vendor/.npmignore cuts down the cruft). The publish-beta.sh script essentially uses `npm pack` to package up the NPM module and then push it into an orphaned `beta` branch.
2015-12-28 22:01:17 -08:00