Move com.meteor.cordova-update plugin to the webapp

It makes more sense and makes it easier for people to remove meteor-platform and
just pick the webapp.
This commit is contained in:
Slava Kim
2015-02-11 12:31:38 -08:00
parent eed629b503
commit 2966337ea7
2 changed files with 7 additions and 4 deletions

View File

@@ -73,7 +73,3 @@ Package.onUse(function(api) {
], 'web');
});
Cordova.depends({
'org.apache.cordova.device': '0.2.13',
'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2'
});

View File

@@ -12,6 +12,13 @@ Npm.strip({
useragent: ["test/"]
});
Cordova.depends({
'org.apache.cordova.device': '0.2.13',
// the cordova plugin built by Meteor Core team that "emulates a server" on
// the mobile device. Serving the files and checking for the HCP updates.
'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2'
});
Package.onUse(function (api) {
api.use(['logging', 'underscore', 'routepolicy', 'boilerplate-generator',
'spacebars', 'htmljs', 'blaze', 'webapp-hashing'], 'server');