Skip to content

Commit

Permalink
feat(build): Support ES2015 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Sep 21, 2016
1 parent 3903fee commit 4014972
Show file tree
Hide file tree
Showing 30 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ionic-native",
"version": "1.3.21",
"version": "1.3.22",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
"main": "dist/es5/index.js",
"typings": "dist/es5/index.d.ts",
Expand All @@ -9,7 +9,7 @@
"dist"
],
"dependencies": {
"@reactivex/rxjs": "^5.0.0-beta.11"
"rxjs": "^5.0.0-beta.12"
},
"devDependencies": {
"browserify": "^13.0.1",
Expand Down
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ AppVersion,
Badge,
BarcodeScanner,
Base64ToGallery,
BatteryStatus,
// BatteryStatus,
Brightness,
BLE,
BluetoothSerial,
CallNumber,
CameraPreview,
Clipboard,
CodePush,
// CodePush,
Crop,
DBMeter,
Deeplinks,
Expand All @@ -172,7 +172,7 @@ Dialogs,
Diagnostic,
EmailComposer,
EstimoteBeacons,
File,
// File,
FileChooser,
FileOpener,
Flashlight,
Expand Down Expand Up @@ -204,7 +204,7 @@ Splashscreen,
SQLite,
StatusBar,
TouchID,
Transfer,
// Transfer,
TextToSpeech,
Vibration,
WebIntent,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/3dtouch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


declare var window: any;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/admob.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

/**
* @name AdMob
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/batterystatus.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

/**
* @name Battery Status
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ble.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

/**
* @name BLE
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/bluetoothserial.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

/**
* @name Bluetooth Serial
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/camera-preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


export interface CameraPreviewRect {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/code-push.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

// below are taken from
// https://raw.githubusercontent.com/Microsoft/cordova-plugin-code-push/master/typings/codePush.d.ts
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/dbmeter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


/**
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/deeplinks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


export interface DeeplinkMatch {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/devicemotion.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


export interface AccelerationData {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/deviceorientation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


export interface CompassHeading {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/estimote-beacons.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

/**
* @name EstimoteBeacons
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/geofence.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name Geofence
* @description Monitors circular geofences around latitude/longitude coordinates, and sends a notification to the user when the boundary of a geofence is crossed. Notifications can be sent when the user enters and/or exits a geofence.
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/geolocation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


declare var navigator: any;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/googlemaps.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, CordovaInstance, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


/**
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/httpd.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


/**
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ibeacon.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


declare var cordova: any;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/inappbrowser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin, CordovaInstance } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

declare var cordova: any;

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/keyboard.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


/**
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/media-capture.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, CordovaProperty, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


declare var navigator: any;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/media.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CordovaInstance, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


declare var Media: any;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/music-controls.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin, Cordova } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name MusicControls
* @description
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/network.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, CordovaProperty, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


declare var navigator: any;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/nfc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin, Cordova } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name NFC
* @description
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/onesignal.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


/**
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { get } from '../util';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';

declare var window;
declare var Promise;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/shake.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin, Cordova } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name Shake
* @description Handles shake gesture
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/toast.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';


export interface ToastOptions {
Expand Down

0 comments on commit 4014972

Please sign in to comment.