<commit_before>// Alerta Chrome Extension
// Copyright (c) 2014 Andy Botting
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// This code is based on the Google Mail Checker extension by Google.
//
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

function saveOptions() {

  var api_url = document.getElementById('api_url').value;
  var api_key = document.getElementById('api_key').value;
  var dashboard_url = document.getElementById('dashboard_url').value;

  var envs = {
    'Production': document.getElementById('env_prod').checked,
    'Infrastructure': document.getElementById('env_infra').checked,
    'Development': document.getElementById('env_dev').checked
  };

  var sevs = {
    'critical':  document.getElementById('sev_critical').checked,
    'major': document.getElementById('sev_major').checked,
    'minor':   document.getElementById('sev_minor').checked,
    'warning':   document.getElementById('sev_warning').checked,
    'normal':   document.getElementById('sev_normal').checked,
    'informational':   document.getElementById('sev_inform').checked
  };

  localStorage['api_url'] = api_url
  localStorage['api_key'] = api_key
  localStorage['environments'] = JSON.stringify(envs);
  localStorage['severities'] = JSON.stringify(sevs);
  console.log('localStorage=' + JSON.stringify(localStorage));

  // Update status to let user know options were saved.
  var status = document.getElementById('status');
  status.innerHTML = 'Options Saved.';
  setTimeout(function() {
    status.innerHTML = '';
  }, 2000);
}

// Restores select box state to saved value from localStorage.
function restoreOptions() {
  console.log('Restore options');

  var api_url = localStorage['api_url'];
  if (api_url == null) {
    api_url = 'http://api.alerta.io';
  }
  console.log("API URL: " + api_url);
  document.getElementById('api_url').value = api_url;

  var api_key = localStorage['api_key'];
  if (api_key == null) {
    api_key = 'demo-key';
  }
  console.log("API Key: " + api_key);
  document.getElementById('api_key').value = api_key;

  var dashboard_url = localStorage['dashboard_url'];
  if (dashboard_url == null) {
    dashboard_url = 'http://try.alerta.io';
  }
  console.log("Dashboard URL: " + dashboard_url);
  document.getElementById('dashboard_url').value = dashboard_url;

  var env_str = localStorage['environments'];
  if (env_str == null) {
    // Default options if not set
    envs = {
      'Production':  true,
      'Infrastructure': true,
      'Development':   false
    };
  } else {
    console.log(env_str);
    envs = JSON.parse(env_str);
  }

  document.getElementById('env_prod').checked = envs['Production'];
  document.getElementById('env_infra').checked = envs['Infrastructure'];
  document.getElementById('env_dev').checked = envs['Development'];

  var sev_str = localStorage['severities'];
  if (sev_str == null) {
    // Default options if not set
    sevs = {
      'critical':  true,
      'major': true,
      'minor':   false,
      'warning':   false,
      'normal':   false,
      'informational':   false
    };
  } else {
    console.log(sev_str);
    sevs = JSON.parse(sev_str);
  }

  console.log("Severity critical: " + sevs['critical']);
  console.log("Severity major: " + sevs['major']);
  console.log("Severity minor: " + sevs['minor']);
  console.log("Severity warning: " + sevs['warning']);
  console.log("Severity normal: " + sevs['normal']);
  console.log("Severity informational: " + sevs['informational']);
  document.getElementById('sev_critical').checked = sevs['critical'];
  document.getElementById('sev_major').checked = sevs['major'];
  document.getElementById('sev_minor').checked = sevs['minor'];
  document.getElementById('sev_warning').checked = sevs['warning'];
  document.getElementById('sev_normal').checked = sevs['normal'];
  document.getElementById('sev_inform').checked = sevs['informational'];
}

document.addEventListener('DOMContentLoaded', restoreOptions);
document.querySelector('#save').addEventListener('click', saveOptions);
<commit_msg>ensure dashboard url is saved when changed<commit_after>// Alerta Chrome Extension
// Copyright (c) 2014 Andy Botting
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// This code is based on the Google Mail Checker extension by Google.
//
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

function saveOptions() {

  var api_url = document.getElementById('api_url').value;
  var api_key = document.getElementById('api_key').value;
  var dashboard_url = document.getElementById('dashboard_url').value;

  var envs = {
    'Production': document.getElementById('env_prod').checked,
    'Infrastructure': document.getElementById('env_infra').checked,
    'Development': document.getElementById('env_dev').checked
  };

  var sevs = {
    'critical':  document.getElementById('sev_critical').checked,
    'major': document.getElementById('sev_major').checked,
    'minor':   document.getElementById('sev_minor').checked,
    'warning':   document.getElementById('sev_warning').checked,
    'normal':   document.getElementById('sev_normal').checked,
    'informational':   document.getElementById('sev_inform').checked
  };

  localStorage['api_url'] = api_url
  localStorage['api_key'] = api_key
  localStorage['dashboard_url'] = dashboard_url
  localStorage['environments'] = JSON.stringify(envs);
  localStorage['severities'] = JSON.stringify(sevs);
  console.log('localStorage=' + JSON.stringify(localStorage));

  // Update status to let user know options were saved.
  var status = document.getElementById('status');
  status.innerHTML = 'Options Saved.';
  setTimeout(function() {
    status.innerHTML = '';
  }, 2000);
}

// Restores select box state to saved value from localStorage.
function restoreOptions() {
  console.log('Restore options');

  var api_url = localStorage['api_url'];
  if (api_url == null) {
    api_url = 'http://api.alerta.io';
  }
  console.log("API URL: " + api_url);
  document.getElementById('api_url').value = api_url;

  var api_key = localStorage['api_key'];
  if (api_key == null) {
    api_key = 'demo-key';
  }
  console.log("API Key: " + api_key);
  document.getElementById('api_key').value = api_key;

  var dashboard_url = localStorage['dashboard_url'];
  if (dashboard_url == null) {
    dashboard_url = 'http://try.alerta.io';
  }
  console.log("Dashboard URL: " + dashboard_url);
  document.getElementById('dashboard_url').value = dashboard_url;

  var env_str = localStorage['environments'];
  if (env_str == null) {
    // Default options if not set
    envs = {
      'Production':  true,
      'Infrastructure': true,
      'Development':   false
    };
  } else {
    console.log(env_str);
    envs = JSON.parse(env_str);
  }

  document.getElementById('env_prod').checked = envs['Production'];
  document.getElementById('env_infra').checked = envs['Infrastructure'];
  document.getElementById('env_dev').checked = envs['Development'];

  var sev_str = localStorage['severities'];
  if (sev_str == null) {
    // Default options if not set
    sevs = {
      'critical':  true,
      'major': true,
      'minor':   false,
      'warning':   false,
      'normal':   false,
      'informational':   false
    };
  } else {
    console.log(sev_str);
    sevs = JSON.parse(sev_str);
  }

  console.log("Severity critical: " + sevs['critical']);
  console.log("Severity major: " + sevs['major']);
  console.log("Severity minor: " + sevs['minor']);
  console.log("Severity warning: " + sevs['warning']);
  console.log("Severity normal: " + sevs['normal']);
  console.log("Severity informational: " + sevs['informational']);
  document.getElementById('sev_critical').checked = sevs['critical'];
  document.getElementById('sev_major').checked = sevs['major'];
  document.getElementById('sev_minor').checked = sevs['minor'];
  document.getElementById('sev_warning').checked = sevs['warning'];
  document.getElementById('sev_normal').checked = sevs['normal'];
  document.getElementById('sev_inform').checked = sevs['informational'];
}

document.addEventListener('DOMContentLoaded', restoreOptions);
document.querySelector('#save').addEventListener('click', saveOptions);
<|endoftext|>


<commit_before>// Saves options to chrome.storage
function save_options() {
	var button_click_behaviour = document.getElementById('button-click-behaviour').value;
	var file_format = document.getElementById('file-format').value;
	var filename_prefix = document.getElementById('filename-prefix').value;
	chrome.storage.sync.set({
		button_click_behaviour: button_click_behaviour,
		file_format: file_format,
		filename_prefix: filename_prefix
	}, function() {
		// Update status to let user know options were saved.
		var status = document.getElementById('status');
		status.textContent = 'Options saved.';
		setTimeout(function() {
			status.textContent = '';
		}, 1000);
	});
}

// Restores select box and checkbox state using the preferences
// stored in chrome.storage.
function restore_options() {
	// Use default value color = 'red' and likesColor = true.
	chrome.storage.sync.get({
		button_click_behaviour: 'window',
		file_format: 'text',
		filename_prefix: 'chrome-tabs-'
	}, function(items) {
		document.getElementById('button-click-behaviour').value = items.button_click_behaviour;
		document.getElementById('file-format').value = items.file_format;
		document.getElementById('filename-prefix').value = items.filename_prefix;
	});
}

document.addEventListener('DOMContentLoaded', restore_options);
document.getElementById('save').addEventListener('click',
save_options);<commit_msg>options.js: Update old comment<commit_after>// Saves options to chrome.storage
function save_options() {
	var button_click_behaviour = document.getElementById('button-click-behaviour').value;
	var file_format = document.getElementById('file-format').value;
	var filename_prefix = document.getElementById('filename-prefix').value;
	chrome.storage.sync.set({
		button_click_behaviour: button_click_behaviour,
		file_format: file_format,
		filename_prefix: filename_prefix
	}, function() {
		// Update status to let user know options were saved.
		var status = document.getElementById('status');
		status.textContent = 'Options saved.';
		setTimeout(function() {
			status.textContent = '';
		}, 1000);
	});
}

// Restores select box and checkbox state using the preferences
// stored in chrome.storage.
function restore_options() {
	// Default option values
	chrome.storage.sync.get({
		button_click_behaviour: 'window',
		file_format: 'text',
		filename_prefix: 'chrome-tabs-'
	}, function(items) {
		document.getElementById('button-click-behaviour').value = items.button_click_behaviour;
		document.getElementById('file-format').value = items.file_format;
		document.getElementById('filename-prefix').value = items.filename_prefix;
	});
}

document.addEventListener('DOMContentLoaded', restore_options);
document.getElementById('save').addEventListener('click',
save_options);<|endoftext|>


<commit_before>Package.describe({
  name: 'heaven7:wsl-theme-base',
  version: '0.0.2',
  summary: 'Theme base package',
  git: 'https://github.com/heaven7/wsl-theme-base.git',
  documentation: 'README.md'
});

both = ['client','server'];

Package.onUse(function(api) {
    api.versionsFrom('1.2');

    var packages = [
        'heaven7:wsl-core@0.0.2',
        'heaven7:wsl-i18n@0.0.2',
        'zimme:iron-router-auth@3.2.0-rc.4',
        'iron:router@1.0.12'
    ];

    api.use(packages, both);

    api.imply(packages);

    api.addFiles([
        'lib/client/layouts/main.html',
        'lib/client/layouts/main.js',
        'lib/client/templates/dashboard.html',
        'lib/client/templates/items.html',
        'lib/client/templates/projects.html'

    ], 'client');

    api.addFiles([
        'lib/both/config.js',
        'lib/both/routes.js',
        'lib/both/theme-base.js'
    ], both);
});
<commit_msg>blaze layout package<commit_after>Package.describe({
  name: 'heaven7:wsl-theme-base',
  version: '0.0.2',
  summary: 'Theme base package',
  git: 'https://github.com/heaven7/wsl-theme-base.git',
  documentation: 'README.md'
});

both = ['client','server'];

Package.onUse(function(api) {
    api.versionsFrom('1.2');

    var packages = [
        'heaven7:wsl-core@0.0.2',
        'heaven7:wsl-i18n@0.0.2',
        'zimme:iron-router-auth@3.2.0-rc.4',
        'iron:router@1.0.12',
        'kadira:blaze-layout@2.0.1'
    ];

    api.use(packages, both);

    api.imply(packages);

    api.addFiles([
        'lib/client/layouts/main.html',
        'lib/client/layouts/main.js',
        'lib/client/templates/dashboard.html',
        'lib/client/templates/items.html',
        'lib/client/templates/projects.html'

    ], 'client');

    api.addFiles([
        'lib/both/config.js',
        'lib/both/routes.js',
        'lib/both/theme-base.js'
    ], both);
});
<|endoftext|>


<commit_before>'use strict';

Package.describe({
  summary: 'Meteor sign up and sign in templates core package.',
  version: '1.14.1',
  name: 'useraccounts:core',
  git: 'https://github.com/meteor-useraccounts/core.git',
});

Package.onUse(function(api) {
  api.versionsFrom('METEOR@1.0.3');

  api.use([
    'accounts-base',
    'check',
    'underscore',
    'reactive-var',
  ], ['client', 'server']);

  api.use([
    'blaze',
    'reactive-dict',
    'templating',
    'jquery'
  ], 'client');

  api.use([
    'http'
  ], 'server');

  api.imply([
    'accounts-base',
    'softwarerero:accounts-t9n@1.3.3',
  ], ['client', 'server']);

  api.imply([
    'templating',
  ], ['client']);

  api.addFiles([
    'lib/field.js',
    'lib/core.js',
    'lib/server.js',
    'lib/methods.js',
    'lib/server_methods.js',
  ], ['server']);

  api.addFiles([
    'lib/utils.js',
    'lib/field.js',
    'lib/core.js',
    'lib/client.js',
    'lib/templates_helpers/at_error.js',
    'lib/templates_helpers/at_form.js',
    'lib/templates_helpers/at_input.js',
    'lib/templates_helpers/at_nav_button.js',
    'lib/templates_helpers/at_oauth.js',
    'lib/templates_helpers/at_pwd_form.js',
    'lib/templates_helpers/at_pwd_form_btn.js',
    'lib/templates_helpers/at_pwd_link.js',
    'lib/templates_helpers/at_reCaptcha.js',
    'lib/templates_helpers/at_resend_verification_email_link.js',
    'lib/templates_helpers/at_result.js',
    'lib/templates_helpers/at_sep.js',
    'lib/templates_helpers/at_signin_link.js',
    'lib/templates_helpers/at_signup_link.js',
    'lib/templates_helpers/at_social.js',
    'lib/templates_helpers/at_terms_link.js',
    'lib/templates_helpers/at_title.js',
    'lib/templates_helpers/at_message.js',
    'lib/templates_helpers/ensure_signed_in.html',
    'lib/templates_helpers/ensure_signed_in.js',
    'lib/methods.js',
  ], ['client']);

  api.export([
    'AccountsTemplates',
  ], ['client', 'server']);
});

Package.onTest(function(api) {
  api.use('useraccounts:core@1.14.1');

  api.use([
    'accounts-password',
    'tinytest',
    'test-helpers',
    'underscore',
  ], ['client', 'server']);

  api.addFiles([
    'tests/tests.js',
  ], ['client', 'server']);
});
<commit_msg>patch release - Bump to version 1.14.2<commit_after>'use strict';

Package.describe({
  summary: 'Meteor sign up and sign in templates core package.',
  version: '1.14.2',
  name: 'useraccounts:core',
  git: 'https://github.com/meteor-useraccounts/core.git',
});

Package.onUse(function(api) {
  api.versionsFrom('METEOR@1.0.3');

  api.use([
    'accounts-base',
    'check',
    'underscore',
    'reactive-var',
  ], ['client', 'server']);

  api.use([
    'blaze',
    'reactive-dict',
    'templating',
    'jquery'
  ], 'client');

  api.use([
    'http'
  ], 'server');

  api.imply([
    'accounts-base',
    'softwarerero:accounts-t9n@1.3.3',
  ], ['client', 'server']);

  api.imply([
    'templating',
  ], ['client']);

  api.addFiles([
    'lib/field.js',
    'lib/core.js',
    'lib/server.js',
    'lib/methods.js',
    'lib/server_methods.js',
  ], ['server']);

  api.addFiles([
    'lib/utils.js',
    'lib/field.js',
    'lib/core.js',
    'lib/client.js',
    'lib/templates_helpers/at_error.js',
    'lib/templates_helpers/at_form.js',
    'lib/templates_helpers/at_input.js',
    'lib/templates_helpers/at_nav_button.js',
    'lib/templates_helpers/at_oauth.js',
    'lib/templates_helpers/at_pwd_form.js',
    'lib/templates_helpers/at_pwd_form_btn.js',
    'lib/templates_helpers/at_pwd_link.js',
    'lib/templates_helpers/at_reCaptcha.js',
    'lib/templates_helpers/at_resend_verification_email_link.js',
    'lib/templates_helpers/at_result.js',
    'lib/templates_helpers/at_sep.js',
    'lib/templates_helpers/at_signin_link.js',
    'lib/templates_helpers/at_signup_link.js',
    'lib/templates_helpers/at_social.js',
    'lib/templates_helpers/at_terms_link.js',
    'lib/templates_helpers/at_title.js',
    'lib/templates_helpers/at_message.js',
    'lib/templates_helpers/ensure_signed_in.html',
    'lib/templates_helpers/ensure_signed_in.js',
    'lib/methods.js',
  ], ['client']);

  api.export([
    'AccountsTemplates',
  ], ['client', 'server']);
});

Package.onTest(function(api) {
  api.use('useraccounts:core@1.14.2');

  api.use([
    'accounts-password',
    'tinytest',
    'test-helpers',
    'underscore',
  ], ['client', 'server']);

  api.addFiles([
    'tests/tests.js',
  ], ['client', 'server']);
});
<|endoftext|>


<commit_before>Package.describe({
    name: 'stfnbrgh:collection-helpers-entities',
    version: '0.0.1',
    // Brief, one-line summary of the package.
    summary: 'Define helpers as entities and place them on your documents',
    // URL to the Git repository containing the source code for this package.
    git: 'https://github.com/stfnbrgh/meteor-collection-helpers-entities.git',
    // By default, Meteor will default to using README.md for documentation.
    // To avoid submitting documentation, set this field to null.
    documentation: 'README.md'
});

Package.onUse(function (api) {
    api.versionsFrom('1.1.0.2');
    api.use("stfnbrgh:nested-collection-helpers@0.0.2");
    api.addFiles('collection-helpers-entities.js');
    api.export("CollectionHelpersEntities");
});
<commit_msg>update description<commit_after>Package.describe({
    name: 'stfnbrgh:collection-helpers-entities',
    version: '0.0.1',
    // Brief, one-line summary of the package.
    summary: 'Define collection helpers as entities and place them on your documents',
    // URL to the Git repository containing the source code for this package.
    git: 'https://github.com/stfnbrgh/meteor-collection-helpers-entities.git',
    // By default, Meteor will default to using README.md for documentation.
    // To avoid submitting documentation, set this field to null.
    documentation: 'README.md'
});

Package.onUse(function (api) {
    api.versionsFrom('1.1.0.2');
    api.use("stfnbrgh:nested-collection-helpers@0.0.2");
    api.addFiles('collection-helpers-entities.js');
    api.export("CollectionHelpersEntities");
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'wkwebview',
  version: '0.1.0',
  // Brief, one-line summary of the package.
  summary: '',
  // URL to the Git repository containing the source code for this package.
  git: '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Cordova.depends({
  // 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/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036',
  'com.telerik.plugins.wkwebview': 'https://github.com/practicalmeteor/WKWebView/tarball/4a1d577dc790cd8e2156c389a73506d22deff98c'
});

//meteor add cordova:com.meteor.cordova-update@https://github.com/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036

Package.onUse(function(api) {
  api.versionsFrom('1.1.0.2');

  api.use(['coffeescript', 'practicalmeteor:loglevel']);

  api.addFiles('wkwebview.coffee');
});

Package.onTest(function(api) {
  api.use(['coffeescript', 'practicalmeteor:loglevel', 'tinytest', 'wkwebview']);

  api.addFiles('wkwebview-tests.coffee', 'client');
});
<commit_msg>Reproduce cordova plugin tarball bug<commit_after>Package.describe({
  name: 'wkwebview',
  version: '0.1.0',
  // Brief, one-line summary of the package.
  summary: '',
  // URL to the Git repository containing the source code for this package.
  git: '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Cordova.depends({
  // 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/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036',
  'com.telerik.plugins.wkwebview': 'https://github.com/practicalmeteor/WKWebView/tarball/4a1d577dc790cd8e2156c389a73506d22deff98c'
});

//meteor add cordova:com.meteor.cordova-update@https://github.com/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036

Package.onUse(function(api) {
  api.versionsFrom('1.1.0.2');

  api.use(['coffeescript', 'practicalmeteor:loglevel']);

  api.addFiles('wkwebview.coffee');
});

Package.onTest(function(api) {
  api.use(['coffeescript', 'practicalmeteor:loglevel', 'tinytest', 'wkwebview']);

  api.addFiles('wkwebview-tests.coffee', 'client');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'pauli:linkedin-oauth',
  version: '1.0.0',
  // Brief, one-line summary of the package.
  summary: '',
  // URL to the Git repository containing the source code for this package.
  git: '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('1.4.3.1');
  api.use('ecmascript');
  api.use('oauth2', ['client', 'server']);
  api.use('oauth', ['client', 'server']);
  api.use('http', ['server']);
  api.use('underscore', 'server');
  api.use('random', 'client');
  api.use('service-configuration', ['client', 'server']);

  api.addFiles('linkedin-client.js', 'client');
  api.addFiles('linkedin-server.js', 'server');

  api.export('LinkedIn');
});

<commit_msg>added github url<commit_after>Package.describe({
  name: 'pauli:linkedin-oauth',
  version: '1.0.0',
  // Brief, one-line summary of the package.
  summary: 'LinkedIn OAuth flow',
  // URL to the Git repository containing the source code for this package.
  git: 'https://github.com/PoBuchi/pauli-linkedin-oauth',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('1.4.3.1');
  api.use('ecmascript');
  api.use('oauth2', ['client', 'server']);
  api.use('oauth', ['client', 'server']);
  api.use('http', ['server']);
  api.use('underscore', 'server');
  api.use('random', 'client');
  api.use('service-configuration', ['client', 'server']);

  api.addFiles('linkedin-client.js', 'client');
  api.addFiles('linkedin-server.js', 'server');

  api.export('LinkedIn');
});

<|endoftext|>


<commit_before>Package.describe({
  summary: "A package that provides easy, editable, static pages",
  version: "0.1.3",
  name: "hellogerard:voltage",
  git: "https://github.com/Differential/meteor-voltage.git"
});

Package.onUse(function(api) {
  api.versionsFrom("METEOR@0.9.0");

  var both = ['client', 'server'];

  /**
   * Packages for client
   */

  api.use([
    'templating',
    'ui',
    'less',
    'deps',
    'session',
    'mrt:ace-embed'
  ], 'client');

  /**
   * Files for client
   */

  api.addFiles([
    'client/boot.coffee',
    'client/compatibility/voltage.editor.js',
    'client/views/voltagePage.less',
    'client/views/voltagePage.html',
    'client/views/voltagePage.coffee'
  ], 'client');

  /**
   * Files for server
   */

  api.addFiles([
    'server/boot.coffee',
    'server/publications.coffee'
  ], 'server');

  /**
   * Packages for server and client
   */

  api.use([
    'coffeescript',
    'accounts-base',
    'mrt:minimongoid',
    'alanning:roles',
    'chuangbo:marked'
  ], both);

  /**
   * Files for server and client
   */

  api.addFiles([
    'collections/page.coffee'
  ], both);
});

<commit_msg>Bump version<commit_after>Package.describe({
  summary: "A package that provides easy, editable, static pages",
  version: "0.2.0",
  name: "hellogerard:voltage",
  git: "https://github.com/Differential/meteor-voltage.git"
});

Package.onUse(function(api) {
  api.versionsFrom("METEOR@0.9.0");

  var both = ['client', 'server'];

  /**
   * Packages for client
   */

  api.use([
    'templating',
    'ui',
    'less',
    'deps',
    'session',
    'mrt:ace-embed'
  ], 'client');

  /**
   * Files for client
   */

  api.addFiles([
    'client/boot.coffee',
    'client/compatibility/voltage.editor.js',
    'client/views/voltagePage.less',
    'client/views/voltagePage.html',
    'client/views/voltagePage.coffee'
  ], 'client');

  /**
   * Files for server
   */

  api.addFiles([
    'server/boot.coffee',
    'server/publications.coffee'
  ], 'server');

  /**
   * Packages for server and client
   */

  api.use([
    'coffeescript',
    'accounts-base',
    'mrt:minimongoid',
    'alanning:roles',
    'chuangbo:marked'
  ], both);

  /**
   * Files for server and client
   */

  api.addFiles([
    'collections/page.coffee'
  ], both);
});

<|endoftext|>


<commit_before>Package.describe({
	name: 'nathantreid:css-modules',
	version: '1.1.2',
	summary: 'CSS modules implementation. CSS for components!',
	git: 'https://github.com/nathantreid/meteor-css-modules.git',
	documentation: 'README.md'
});

Package.registerBuildPlugin({
	name: 'mss',
	use: [
		'babel-compiler@6.5.2-rc.7',
		'ecmascript@0.4.1-rc.7',
		'caching-compiler@1.0.0',
		'nathantreid:css-modules-import-path-helpers@0.1.2',
		'ramda:ramda@0.19.0',
		'underscore@1.0.7',
	],
	npmDependencies: {
		"app-module-path": "1.0.4",
		"cjson": "0.3.3",
		"css-modules-loader-core": "1.0.0",
		"lru-cache": "2.6.4",
		"node-sass": "3.4.2",
		"postcss": "5.0.14",
		"postcss-modules-local-by-default": "1.0.1",
		"postcss-modules-extract-imports": "1.0.0",
		"postcss-modules-scope": "1.0.0",
		"postcss-modules-values": "1.1.1",
		"recursive-readdir": "1.3.0",
		"string-template": "1.0.0",
		"stylus": "0.54.2",
	},
	sources: [
		'sha1.js',
		'included-file.js',
		'get-output-path.js',
		'options.js',
		'postcss-plugins.js',
		'scss-processor.js',
		'stylus-processor.js',
		'css-modules-processor.js',
		'css-modules-build-plugin.js',
		'plugin.js'
	]
});

Package.onUse(function (api) {
	api.versionsFrom('1.3');
	api.use('isobuild:compiler-plugin@1.0.0');
});
<commit_msg>handle relative filenames that don't start with ./ (update to nathantreid:css-modules-import-path-helpers@0.1.3) (addresses #32, #33)<commit_after>Package.describe({
	name: 'nathantreid:css-modules',
	version: '1.1.2',
	summary: 'CSS modules implementation. CSS for components!',
	git: 'https://github.com/nathantreid/meteor-css-modules.git',
	documentation: 'README.md'
});

Package.registerBuildPlugin({
	name: 'mss',
	use: [
		'babel-compiler@6.5.2-rc.7',
		'ecmascript@0.4.1-rc.7',
		'caching-compiler@1.0.0',
		'nathantreid:css-modules-import-path-helpers@0.1.3',
		'ramda:ramda@0.19.0',
		'underscore@1.0.7',
	],
	npmDependencies: {
		"app-module-path": "1.0.4",
		"cjson": "0.3.3",
		"css-modules-loader-core": "1.0.0",
		"lru-cache": "2.6.4",
		"node-sass": "3.4.2",
		"postcss": "5.0.14",
		"postcss-modules-local-by-default": "1.0.1",
		"postcss-modules-extract-imports": "1.0.0",
		"postcss-modules-scope": "1.0.0",
		"postcss-modules-values": "1.1.1",
		"recursive-readdir": "1.3.0",
		"string-template": "1.0.0",
		"stylus": "0.54.2",
	},
	sources: [
		'sha1.js',
		'included-file.js',
		'get-output-path.js',
		'options.js',
		'postcss-plugins.js',
		'scss-processor.js',
		'stylus-processor.js',
		'css-modules-processor.js',
		'css-modules-build-plugin.js',
		'plugin.js'
	]
});

Package.onUse(function (api) {
	api.versionsFrom('1.3');
	api.use('isobuild:compiler-plugin@1.0.0');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'hb5:drupal-ddp',
  summary: 'Drupal and Meteor integration over DDP',
  git: 'https://github.com/hb5co/drupal-ddp',
  version: '0.1.3'
});

Package.onUse(function(api) {
  api.versionsFrom('1.0.3.1');
  api.use('npm-bcrypt@=0.7.8_2');

  var both = ['client', 'server'];

  // Packages for Client & Server.
  api.use([
    'mongo',
    'accounts-password',
    'http'
    ], both);

  // Packages for Server.
  api.use('matteodem:server-session@0.4.2', 'server');

  // Files for Client.
  api.addFiles([
    'client/methods.js',
    ], both);

  // Files for Client & Server.
  api.addFiles([
    'collections/taxonomies.js',
    ], both);

  // Files for Server.
  api.addFiles([
    'server/methods.js',
    'server/config.js'
    ], 'server');

  // Publish Collections to Client.
  api.export('drupalDdpTaxonomies');
  api.export('DrupalDdp');
});

Package.onTest(function(api) {
  api.use('tinytest');
  api.addFiles('server/config.js');
  api.addFiles('server/methods.js');
  api.addFiles('tests.js');
});
<commit_msg>Revved version to reflect recent changes.<commit_after>Package.describe({
  name: 'hb5:drupal-ddp',
  summary: 'Drupal and Meteor integration over DDP',
  git: 'https://github.com/hb5co/drupal-ddp',
  version: '0.1.4'
});

Package.onUse(function(api) {
  api.versionsFrom('1.0.3.1');
  api.use('npm-bcrypt@=0.7.8_2');

  var both = ['client', 'server'];

  // Packages for Client & Server.
  api.use([
    'mongo',
    'accounts-password',
    'http'
    ], both);

  // Packages for Server.
  api.use('matteodem:server-session@0.4.2', 'server');

  // Files for Client.
  api.addFiles([
    'client/methods.js',
    ], both);

  // Files for Client & Server.
  api.addFiles([
    'collections/taxonomies.js',
    ], both);

  // Files for Server.
  api.addFiles([
    'server/methods.js',
    'server/config.js'
    ], 'server');

  // Publish Collections to Client.
  api.export('drupalDdpTaxonomies');
  api.export('DrupalDdp');
});

Package.onTest(function(api) {
  api.use('tinytest');
  api.addFiles('server/config.js');
  api.addFiles('server/methods.js');
  api.addFiles('tests.js');
});
<|endoftext|>


<commit_before>Package.describe({
	name: "mologie:typescript",
	summary: "TypeScript 1.4.1 with incremental compilation and Windows support",
	git: "https://github.com/mologie/meteor-typescript.git",
	version: "0.0.8"
});

var meteorPackageList = [
    "underscore@1.0.0"
];

var npmPackageList = {
    "typescript": "1.4.1"
};

Package.registerBuildPlugin({
	name: "compile-typescript",
	use: meteorPackageList,
	sources: ["plugin/compile-typescript.js"],
	npmDependencies: npmPackageList
});
<commit_msg>Bump version to 0.0.9<commit_after>Package.describe({
	name: "mologie:typescript",
	summary: "TypeScript 1.4.1 with incremental compilation and Windows support",
	git: "https://github.com/mologie/meteor-typescript.git",
	version: "0.0.9"
});

var meteorPackageList = [
    "underscore@1.0.0"
];

var npmPackageList = {
    "typescript": "1.4.1"
};

Package.registerBuildPlugin({
	name: "compile-typescript",
	use: meteorPackageList,
	sources: ["plugin/compile-typescript.js"],
	npmDependencies: npmPackageList
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'constellation:dump-restore',
  version: '0.4.6',
  summary: 'Database dump/restore plugin for Constellation',
  git: 'https://github.com/JackAdams/constellation-dump-restore.git',
  documentation: 'README.md',
  debugOnly: true
});

Package.onUse(function(api) {
  api.versionsFrom('1.0');

  api.use(['templating','blaze','underscore','reactive-dict'], 'client');
  api.use('constellation:console@1.4.6', 'client');
  api.use('juliancwirko:s-alert@3.2.0', 'client');

  api.addFiles('dump-restore.css', 'client');
  api.addFiles('dump-restore.html', 'client');
  api.addFiles('dump-restore.js', 'client');

  api.addFiles('dump-restore-server.js', 'server');

  api.imply('constellation:console');
});

Package.onTest(function(api) {
  api.use('tinytest');
});
<commit_msg>Updated dependencies<commit_after>Package.describe({
  name: 'constellation:dump-restore',
  version: '0.4.7',
  summary: 'Database dump/restore plugin for Constellation',
  git: 'https://github.com/JackAdams/constellation-dump-restore.git',
  documentation: 'README.md',
  debugOnly: true
});

Package.onUse(function(api) {
  api.versionsFrom('1.0');

  api.use(['templating','blaze','underscore','reactive-dict'], 'client');
  api.use('constellation:console@1.4.7', 'client');
  api.use('juliancwirko:s-alert@3.2.0', 'client');

  api.addFiles('dump-restore.css', 'client');
  api.addFiles('dump-restore.html', 'client');
  api.addFiles('dump-restore.js', 'client');

  api.addFiles('dump-restore-server.js', 'server');

  api.imply('constellation:console');
});

Package.onTest(function(api) {
  api.use('tinytest');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'q42:mind-meld',
  version: '0.0.1',
  summary: 'Easily transfer collection data between Meteor instances.',
  git: '',
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('1.2.1');
  api.use('ecmascript');
  api.use('dburles:mongo-collection-instances@0.3.4');
  api.addFiles('mind-meld.js', 'server');
  api.export('MindMeld');
});
<commit_msg>add check<commit_after>Package.describe({
  name: 'q42:mind-meld',
  version: '0.0.1',
  summary: 'Easily transfer collection data between Meteor instances.',
  git: '',
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('1.2.1');
  api.use('ecmascript');
  api.use('check');
  api.use('dburles:mongo-collection-instances@0.3.4');
  api.addFiles('mind-meld.js', 'server');
  api.export('MindMeld');
});
<|endoftext|>


<commit_before>Package.describe({
  summary: 'Accounts Templates styled for Materialize Css.',
  version: '1.12.4',
  name: 'useraccounts:materialize',
  git: 'https://github.com/meteor-useraccounts/materialize.git',
});

Package.on_use(function(api, where) {
  api.versionsFrom('METEOR@1.0');

  api.use([
    'templating',
    'underscore',
  ], 'client');

  api.use([
    'useraccounts:core',
  ], ['client', 'server']);

  // Requires all routing packages loads before this asking for weak dependencies.
  api.use('useraccounts:flow-routing@1.12.1', ['client', 'server'], {weak: true});
  api.use('useraccounts:iron-routing@1.12.1', ['client', 'server'], {weak: true});

  api.imply([
    'useraccounts:core@1.12.4',
  ], ['client', 'server']);

  api.add_files([
    'lib/at_error.html',
    'lib/at_error.js',
    'lib/at_form.html',
    'lib/at_form.js',
    'lib/at_input.html',
    'lib/at_input.js',
    'lib/at_message.html',
    'lib/at_message.js',
    'lib/at_nav_button.html',
    'lib/at_nav_button.js',
    'lib/at_oauth.html',
    'lib/at_oauth.js',
    'lib/at_pwd_form.html',
    'lib/at_pwd_form.js',
    'lib/at_pwd_form_btn.html',
    'lib/at_pwd_form_btn.js',
    'lib/at_pwd_link.html',
    'lib/at_pwd_link.js',
    'lib/at_reCaptcha.html',
    'lib/at_reCaptcha.js',
    'lib/at_result.html',
    'lib/at_result.js',
    'lib/at_sep.html',
    'lib/at_sep.js',
    'lib/at_signin_link.html',
    'lib/at_signin_link.js',
    'lib/at_signup_link.html',
    'lib/at_signup_link.js',
    'lib/at_social.html',
    'lib/at_social.js',
    'lib/at_terms_link.html',
    'lib/at_terms_link.js',
    'lib/at_resend_verification_email_link.html',
    'lib/at_resend_verification_email_link.js',
    'lib/at_title.html',
    'lib/at_title.js',
    'lib/full_page_at_form.html',
    'lib/at_materialize.css',
  ], ['client']);
});

Package.on_test(function(api) {
  api.use([
    'useraccounts:materialize',
    'useraccounts:core@1.12.4',
  ]);

  api.use([
    'accounts-password',
    'tinytest',
    'test-helpers'
  ], ['client', 'server']);

  api.add_files([
    'tests/tests.js'
  ], ['client', 'server']);
});
<commit_msg>minor release - Bump to version 1.13.0<commit_after>Package.describe({
  summary: 'Accounts Templates styled for Materialize Css.',
  version: '1.13.0',
  name: 'useraccounts:materialize',
  git: 'https://github.com/meteor-useraccounts/materialize.git',
});

Package.on_use(function(api, where) {
  api.versionsFrom('METEOR@1.0');

  api.use([
    'templating',
    'underscore',
  ], 'client');

  api.use([
    'useraccounts:core',
  ], ['client', 'server']);

  // Requires all routing packages loads before this asking for weak dependencies.
  api.use('useraccounts:flow-routing@1.12.1', ['client', 'server'], {weak: true});
  api.use('useraccounts:iron-routing@1.12.1', ['client', 'server'], {weak: true});

  api.imply([
    'useraccounts:core@1.13.0',
  ], ['client', 'server']);

  api.add_files([
    'lib/at_error.html',
    'lib/at_error.js',
    'lib/at_form.html',
    'lib/at_form.js',
    'lib/at_input.html',
    'lib/at_input.js',
    'lib/at_message.html',
    'lib/at_message.js',
    'lib/at_nav_button.html',
    'lib/at_nav_button.js',
    'lib/at_oauth.html',
    'lib/at_oauth.js',
    'lib/at_pwd_form.html',
    'lib/at_pwd_form.js',
    'lib/at_pwd_form_btn.html',
    'lib/at_pwd_form_btn.js',
    'lib/at_pwd_link.html',
    'lib/at_pwd_link.js',
    'lib/at_reCaptcha.html',
    'lib/at_reCaptcha.js',
    'lib/at_result.html',
    'lib/at_result.js',
    'lib/at_sep.html',
    'lib/at_sep.js',
    'lib/at_signin_link.html',
    'lib/at_signin_link.js',
    'lib/at_signup_link.html',
    'lib/at_signup_link.js',
    'lib/at_social.html',
    'lib/at_social.js',
    'lib/at_terms_link.html',
    'lib/at_terms_link.js',
    'lib/at_resend_verification_email_link.html',
    'lib/at_resend_verification_email_link.js',
    'lib/at_title.html',
    'lib/at_title.js',
    'lib/full_page_at_form.html',
    'lib/at_materialize.css',
  ], ['client']);
});

Package.on_test(function(api) {
  api.use([
    'useraccounts:materialize',
    'useraccounts:core@1.13.0',
  ]);

  api.use([
    'accounts-password',
    'tinytest',
    'test-helpers'
  ], ['client', 'server']);

  api.add_files([
    'tests/tests.js'
  ], ['client', 'server']);
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'babrahams:constellation-distro',
  version: '0.1.0',
  summary: 'A set of packages to get you started with Constellation',
  git: 'https://github.com/JackAdams/constellation-distro.git',
  documentation: 'README.md',
  debugOnly: true
});

Package.onUse(function(api) {

  api.versionsFrom('1.1');

  api.use('constellation:console@1.0.1');
  api.use('babrahams:temple@0.1.1');
  api.use('constellation:subscriptions@0.1.1');
  api.use('constellation:session@0.1.1');
  api.use('constellation:autopublish@0.1.1');

});

Package.onTest(function(api) {
  api.use('tinytest');
});
<commit_msg>Updated dependencies<commit_after>Package.describe({
  name: 'babrahams:constellation-distro',
  version: '0.1.0',
  summary: 'A set of packages to get you started with Constellation',
  git: 'https://github.com/JackAdams/constellation-distro.git',
  documentation: 'README.md',
  debugOnly: true
});

Package.onUse(function(api) {

  api.versionsFrom('1.1');

  api.use('constellation:console@1.0.3');
  api.use('babrahams:temple@0.1.3');
  api.use('constellation:subscriptions@0.1.3');
  api.use('constellation:session@0.1.3');
  api.use('constellation:autopublish@0.1.3');

});

Package.onTest(function(api) {
  api.use('tinytest');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'thebarty:denormalized-views',
  version: '0.0.1',
  summary: 'Easily create "readonly" denormalized mongo-"views" (collections), p.e. for searchable tables',
  git: 'https://github.com/thebarty/meteor-denormalized-views',
  documentation: 'README.md'
});

Npm.depends({
  'underscore': '1.8.3',
  'underscore.string': '3.3.4',
})

Package.onUse(function(api) {
  api.versionsFrom('1.3.5.1');
  api.use([
    'check',
    'ecmascript',
    'aldeed:simple-schema',
    'matb33:collection-hooks',
  ])
  api.mainModule('denormalized-views.js');
});

Package.onTest(function(api) {
  api.use([
    'check',
    'ecmascript',
    'tinytest',
    'test-helpers',
    'ejson',
    'ordered-dict',
    'random',
    'deps',
    'minimongo',
    'aldeed:simple-schema',
    'aldeed:collection2@2.9.1',
    'matb33:collection-hooks',
    'practicalmeteor:mocha',
    'thebarty:denormalized-views',
  ])

  api.mainModule('denormalized-views.tests.js');
});
<commit_msg>added version contrains for meteor publish<commit_after>Package.describe({
  name: 'thebarty:denormalized-views',
  version: '0.0.1',
  summary: 'Easily create "readonly" denormalized mongo-"views" (collections), p.e. for searchable tables',
  git: 'https://github.com/thebarty/meteor-denormalized-views',
  documentation: 'README.md'
});

Npm.depends({
  'underscore': '1.8.3',
  'underscore.string': '3.3.4',
})

Package.onUse(function(api) {
  api.versionsFrom('1.3.5.1');  // todo: test if we can set versions down
  api.use([
    'check',
    'ecmascript',
    'aldeed:simple-schema@1.5.3',  // todo: test if we can set versions down
    'matb33:collection-hooks@0.8.3',  // todo: test if we can set versions down
  ])
  api.mainModule('denormalized-views.js');
});

Package.onTest(function(api) {
  api.use([
    'check',
    'ecmascript',
    'tinytest',
    'test-helpers',
    'ejson',
    'ordered-dict',
    'random',
    'deps',
    'minimongo',
    'aldeed:simple-schema',
    'aldeed:collection2@2.9.1',
    'matb33:collection-hooks',
    'practicalmeteor:mocha',
    'thebarty:denormalized-views',
  ])

  api.mainModule('denormalized-views.tests.js');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'ox2:temp-cordova',
  version: '4.0.4',
  // Brief, one-line summary of the package.
  summary: 'DO NOT USE',
  // URL to the Git repository containing the source code for this package.
  git: '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: ''
});

var C = 'client';
var S = 'server';
var CS = [C, S];

Package.onUse(function(api) {
    api.versionsFrom('1.4.1');
    // Core
    api.use([
      'ecmascript'
    ]);
    // 3rd party
    api.use([

    ]);
    api.addFiles('lib/oo-temp-cordova.js', C);
});

Cordova.depends({
  "cordova-plugin-crosswalk-webview": "2.1.0",
  "phonegap-plugin-push": "1.5.3",
  "cordova-plugin-device": "1.1.3",
  "cordova-plugin-safariviewcontroller": "1.4.6",
  "cordova-plugin-inappbrowser": "1.5.0",
  "cordova-plugin-statusbar": "2.2.0",
  "cordova-plugin-splashscreen": "4.0.0",
  "cordova-plugin-camera": "2.3.0",
  "cordova-plugin-customurlscheme": "4.2.0",
});

Package.onTest(function(api) {
  api.use('ecmascript');
  api.use('tinytest');
  api.use('ox2:temp-cordova');
  api.addFiles('tests/package-tests.js');
});
<commit_msg>updated dependences<commit_after>Package.describe({
  name: 'ox2:temp-cordova',
  version: '4.1.0',
  // Brief, one-line summary of the package.
  summary: 'DO NOT USE',
  // URL to the Git repository containing the source code for this package.
  git: '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: ''
});

var C = 'client';
var S = 'server';
var CS = [C, S];

Package.onUse(function(api) {
    api.versionsFrom('1.4.1');
    // Core
    api.use([
      'ecmascript'
    ]);
    // 3rd party
    api.use([

    ]);
    api.addFiles('lib/oo-temp-cordova.js', C);
});

Cordova.depends({
  "cordova-plugin-crosswalk-webview": "2.3.0",
  "phonegap-plugin-push": "1.5.3",
  "cordova-plugin-device": "1.1.4",
  "cordova-plugin-safariviewcontroller": "1.4.6",
  "cordova-plugin-inappbrowser": "1.6.1",
  "cordova-plugin-statusbar": "2.2.1",
  "cordova-plugin-splashscreen": "4.0.1",
  "cordova-plugin-camera": "2.3.1",
  "cordova-plugin-customurlscheme": "4.2.0",
});

Package.onTest(function(api) {
  api.use('ecmascript');
  api.use('tinytest');
  api.use('ox2:temp-cordova');
  api.addFiles('tests/package-tests.js');
});
<|endoftext|>


<commit_before>Package.describe({
	name: "gadicohen:sitemaps",
  summary: "functions to easily output valid sitemaps",
  version: "0.0.20",
  git: 'https://github.com/gadicc/meteor-sitemaps.git'
});

Package.on_use(function (api) {
  if(api.versionsFrom)
  	api.versionsFrom("METEOR@0.9.0");

  api.use('webapp', 'server');
  api.use('gadicohen:robots-txt@0.0.8', 'server');

  api.add_files('sitemaps.js', 'server');
  api.export('sitemaps', 'server');
});
<commit_msg>Add dependency on check package<commit_after>Package.describe({
	name: "gadicohen:sitemaps",
  summary: "functions to easily output valid sitemaps",
  version: "0.0.21",
  git: 'https://github.com/gadicc/meteor-sitemaps.git'
});

Package.on_use(function (api) {
  if(api.versionsFrom)
  	api.versionsFrom("METEOR@0.9.0");

  api.use('webapp', 'server', 'check');
  api.use('gadicohen:robots-txt@0.0.8', 'server');

  api.add_files('sitemaps.js', 'server');
  api.export('sitemaps', 'server');
});
<|endoftext|>


<commit_before>Package.describe({
  version: '0.0.0',
  summary: "Add dropped event to Meteor UI Templates"
});

Package.on_use(function (api) {
  api.use(['ui', 'templating'], 'client');
  api.add_files(['dropped.event.js'], 'client');
});
<commit_msg>update the version<commit_after>Package.describe({
  version: '0.0.6',
  summary: "Add dropped event to Meteor UI Templates"
});

Package.on_use(function (api) {
  api.use(['ui', 'templating'], 'client');
  api.add_files(['dropped.event.js'], 'client');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'jagi:astronomy',
  version: '2.3.9',
  summary: 'Model layer for Meteor',
  git: 'https://github.com/jagi/meteor-astronomy.git'
});

Npm.depends({
  lodash: '4.17.2'
});

Package.onUse(function(api) {
  api.versionsFrom('1.3');

  api.use([
    'ecmascript',
    'es5-shim',
    'ddp',
    'mongo',
    'check',
    'minimongo',
    'ejson',
    'mdg:validation-error@0.5.1'
  ], ['client', 'server']);

  api.mainModule('lib/main.js', ['client', 'server']);

  // For backward compatibility.
  api.export('Astro', ['client', 'server']);
});

////////////////////////////////////////////////////////////////////////////////

Package.onTest(function(api) {
  api.use([
    'practicalmeteor:mocha',
    'tinytest',
    'ecmascript',
    'es5-shim',
    'insecure',
    'mongo',
    'ejson',
    'jagi:astronomy@2.3.9'
  ], ['client', 'server']);

  api.addFiles('test/utils.js', ['client', 'server']);
  // Core.
  api.addFiles([
    'test/core/inherit.js',
    'test/core/extend.js',
    'test/core/state.js',
    'test/core/ejson.js'
  ], ['client', 'server']);
  // Modules.
  // Modules - Behaviors.
  api.addFiles([
    'test/modules/behaviors/create.js',
    'test/modules/behaviors/apply.js'
  ], ['client', 'server']);
  // Modules - Validators.
  api.addFiles([
    'test/modules/validators/create.js',
    'test/modules/validators/apply.js',
    'test/modules/validators/validate.js',
    'test/modules/validators/validate_callback.js'
  ], ['client', 'server']);
  // Modules - Storage.
  api.addFiles([
    'test/modules/storage/init.js',
    'test/modules/storage/type_field.js',
    'test/modules/storage/transform.js',
    'test/modules/storage/document_insert.js',
    'test/modules/storage/document_update.js',
    'test/modules/storage/document_remove.js',
    'test/modules/storage/class_insert.js',
    'test/modules/storage/class_update.js',
    'test/modules/storage/class_remove.js',
    'test/modules/storage/reload.js',
    'test/modules/storage/copy.js',
  ], ['client', 'server']);
  // Modules - Events.
  api.addFiles([
    'test/modules/events/order.js',
    'test/modules/events/propagation.js',
    'test/modules/events/cancelable.js'
  ], ['client', 'server']);
  // Modules - Fields.
  api.addFiles([
    'test/modules/fields/definition.js',
    'test/modules/fields/default.js',
    'test/modules/fields/set.js',
    'test/modules/fields/get.js',
    'test/modules/fields/raw.js',
    'test/modules/fields/optional.js',
    'test/modules/fields/cast.js',
    'test/modules/fields/merge.js'
  ], ['client', 'server']);
  // Modules - Indexes.
  api.addFiles([
    // 'test/indexes/indexes_definition.js'
  ], 'server');
  // Modules - Methods.
  api.addFiles([
    'test/modules/helpers/definition.js'
  ], ['client', 'server']);
});<commit_msg>Bump version to 2.3.10<commit_after>Package.describe({
  name: 'jagi:astronomy',
  version: '2.3.10',
  summary: 'Model layer for Meteor',
  git: 'https://github.com/jagi/meteor-astronomy.git'
});

Npm.depends({
  lodash: '4.17.2'
});

Package.onUse(function(api) {
  api.versionsFrom('1.3');

  api.use([
    'ecmascript',
    'es5-shim',
    'ddp',
    'mongo',
    'check',
    'minimongo',
    'ejson',
    'mdg:validation-error@0.5.1'
  ], ['client', 'server']);

  api.mainModule('lib/main.js', ['client', 'server']);

  // For backward compatibility.
  api.export('Astro', ['client', 'server']);
});

////////////////////////////////////////////////////////////////////////////////

Package.onTest(function(api) {
  api.use([
    'practicalmeteor:mocha',
    'tinytest',
    'ecmascript',
    'es5-shim',
    'insecure',
    'mongo',
    'ejson',
    'jagi:astronomy@2.3.10'
  ], ['client', 'server']);

  api.addFiles('test/utils.js', ['client', 'server']);
  // Core.
  api.addFiles([
    'test/core/inherit.js',
    'test/core/extend.js',
    'test/core/state.js',
    'test/core/ejson.js'
  ], ['client', 'server']);
  // Modules.
  // Modules - Behaviors.
  api.addFiles([
    'test/modules/behaviors/create.js',
    'test/modules/behaviors/apply.js'
  ], ['client', 'server']);
  // Modules - Validators.
  api.addFiles([
    'test/modules/validators/create.js',
    'test/modules/validators/apply.js',
    'test/modules/validators/validate.js',
    'test/modules/validators/validate_callback.js'
  ], ['client', 'server']);
  // Modules - Storage.
  api.addFiles([
    'test/modules/storage/init.js',
    'test/modules/storage/type_field.js',
    'test/modules/storage/transform.js',
    'test/modules/storage/document_insert.js',
    'test/modules/storage/document_update.js',
    'test/modules/storage/document_remove.js',
    'test/modules/storage/class_insert.js',
    'test/modules/storage/class_update.js',
    'test/modules/storage/class_remove.js',
    'test/modules/storage/reload.js',
    'test/modules/storage/copy.js',
  ], ['client', 'server']);
  // Modules - Events.
  api.addFiles([
    'test/modules/events/order.js',
    'test/modules/events/propagation.js',
    'test/modules/events/cancelable.js'
  ], ['client', 'server']);
  // Modules - Fields.
  api.addFiles([
    'test/modules/fields/definition.js',
    'test/modules/fields/default.js',
    'test/modules/fields/set.js',
    'test/modules/fields/get.js',
    'test/modules/fields/raw.js',
    'test/modules/fields/optional.js',
    'test/modules/fields/cast.js',
    'test/modules/fields/merge.js'
  ], ['client', 'server']);
  // Modules - Indexes.
  api.addFiles([
    // 'test/indexes/indexes_definition.js'
  ], 'server');
  // Modules - Methods.
  api.addFiles([
    'test/modules/helpers/definition.js'
  ], ['client', 'server']);
});<|endoftext|>


<commit_before>'use strict';

Package.describe({
    name: 'vazco:universe-any-join',
    summary: 'Add functionality of join to any universe document for users, by invitation, request, open to join',
    version: '1.0.3',
    git: 'https://github.com/vazco/meteor-universe-any-join'
});

var apiUseCommon = [
    'underscore',
    'check',
    'vazco:universe-utilities@1.0.6',
    'vazco:universe-collection@1.1.5',
    'vazco:universe-access@1.1.3',
    'aldeed:simple-schema@1.3.2',
    'aldeed:collection2@2.3.3',
    'anti:i18n@0.4.3'
];

Package.onUse(function (api) {
    api.versionsFrom('METEOR@1.0.4');

    api.use(apiUseCommon);

    api.use([
        'templating',
        'less',
        'check'
    ], 'client');

    api.use('vazco:universe-ui@0.5.0', 'client', {weak: true});

    api.add_files([
        'UniAnyJoin.js',
        'UniCollectionExtension.js',
        'localization/en.js'
    ]);

    api.add_files([
        'server/publication.js',
        'server/actions.js'
    ], 'server');

    api.add_files([
        'client/actions.js',
        'client/views/styles.less',
        'client/views/uniAnyJoinButton.html',
        'client/views/uniAnyJoinButton.js',
        'client/views/uniAnyJoinPossessorsList.html',
        'client/views/uniAnyJoinPossessorsList.js',
        'client/views/uniAnyJoinSearchUsers.html',
        'client/views/uniAnyJoinSearchUsers.js',
        'client/views/uniAnyJoinInvitations.html',
        'client/views/uniAnyJoinInvitations.js'
    ], 'client');

    api.export('UniAnyJoin');
});

Package.onTest(function (api) {
    api.versionsFrom('1.0.4');
    api.use('tinytest');
    api.use('test-helpers');
    api.use('accounts-base');
    api.use(apiUseCommon);

    api.use([
        'templating'
    ], 'client');

    api.add_files([
        'UniAnyJoin.js',
        'UniCollectionExtension.js',
        'localization/en.js'
    ]);

    api.add_files([
        'server/publication.js',
        'server/actions.js'
    ], 'server');

    api.add_files([
        'client/actions.js',
        'client/views/uniAnyJoinButton.html',
        'client/views/uniAnyJoinButton.js'
    ], 'client');
    api.export('UniAnyJoin');

    api.imply([
        'vazco:universe-collection',
        'vazco:universe-utilities',
        'accounts-base'
    ]);
    api.addFiles('tests/both.js');
});<commit_msg>valid<commit_after>'use strict';

Package.describe({
    name: 'vazco:universe-any-join',
    summary: 'Add functionality of join to any universe document for users, by invitation, request, open to join',
    version: '1.0.4',
    git: 'https://github.com/vazco/meteor-universe-any-join'
});

var apiUseCommon = [
    'underscore',
    'check',
    'vazco:universe-utilities@1.0.6',
    'vazco:universe-collection@1.1.5',
    'vazco:universe-access@1.1.3',
    'aldeed:simple-schema@1.3.2',
    'aldeed:collection2@2.3.3',
    'anti:i18n@0.4.3'
];

Package.onUse(function (api) {
    api.versionsFrom('METEOR@1.0.4');

    api.use(apiUseCommon);

    api.use([
        'templating',
        'less',
        'check'
    ], 'client');

    api.use('vazco:universe-ui@0.5.0', 'client', {weak: true});

    api.add_files([
        'UniAnyJoin.js',
        'UniCollectionExtension.js',
        'localization/en.js'
    ]);

    api.add_files([
        'server/publication.js',
        'server/actions.js'
    ], 'server');

    api.add_files([
        'client/actions.js',
        'client/views/styles.less',
        'client/views/uniAnyJoinButton.html',
        'client/views/uniAnyJoinButton.js',
        'client/views/uniAnyJoinPossessorsList.html',
        'client/views/uniAnyJoinPossessorsList.js',
        'client/views/uniAnyJoinSearchUsers.html',
        'client/views/uniAnyJoinSearchUsers.js',
        'client/views/uniAnyJoinInvitations.html',
        'client/views/uniAnyJoinInvitations.js'
    ], 'client');

    api.export('UniAnyJoin');
});

Package.onTest(function (api) {
    api.versionsFrom('1.0.4');
    api.use('tinytest');
    api.use('test-helpers');
    api.use('accounts-base');
    api.use(apiUseCommon);

    api.use([
        'templating'
    ], 'client');

    api.add_files([
        'UniAnyJoin.js',
        'UniCollectionExtension.js',
        'localization/en.js'
    ]);

    api.add_files([
        'server/publication.js',
        'server/actions.js'
    ], 'server');

    api.add_files([
        'client/actions.js',
        'client/views/uniAnyJoinButton.html',
        'client/views/uniAnyJoinButton.js'
    ], 'client');
    api.export('UniAnyJoin');

    api.imply([
        'vazco:universe-collection',
        'vazco:universe-utilities',
        'accounts-base'
    ]);
    api.addFiles('tests/both.js');
});<|endoftext|>


<commit_before>// Meteor package definition.
Package.describe({
  name: 'aramk:tree',
  version: '0.1.0',
  summary: 'A tree widget for displaying a collection of items in Meteor.',
  git: 'https://github.com/aramk/meteor-tree.git'
});

Package.onUse(function (api) {
  api.versionsFrom('METEOR@1.0');
  api.use([
    'coffeescript',
    'underscore',
    'jquery',
    'less',
    'templating',
    'reactive-var@1.0.4',
    'aramk:utility@0.5.2',
    'aramk:jqtree@1.0.0'
  ], 'client');
  // This is weak to allow using other UI frameworks if necessary.
  api.use(['nooitaf:semantic-ui@1.7.3'], 'client', {weak: true});
  api.addFiles([
    'src/tree.html',
    'src/tree.coffee',
    'src/tree.less',
    'src/crudTree.html',
    'src/crudTree.coffee'
  ], 'client');
});
<commit_msg>Added iron router as a weak dependency.<commit_after>// Meteor package definition.
Package.describe({
  name: 'aramk:tree',
  version: '0.1.0',
  summary: 'A tree widget for displaying a collection of items in Meteor.',
  git: 'https://github.com/aramk/meteor-tree.git'
});

Package.onUse(function (api) {
  api.versionsFrom('METEOR@1.0');
  api.use([
    'coffeescript',
    'underscore',
    'jquery',
    'less',
    'templating',
    'reactive-var@1.0.4',
    'aramk:utility@0.5.2',
    'aramk:jqtree@1.0.0'
  ], 'client');
  api.use([
    // Used for calling CRUD routes.
    'iron:router@1.0.7',
    // This is weak to allow using other UI frameworks if necessary.
    'nooitaf:semantic-ui@1.7.3'
  ], 'client', {weak: true});
  api.addFiles([
    'src/tree.html',
    'src/tree.coffee',
    'src/tree.less',
    'src/crudTree.html',
    'src/crudTree.coffee'
  ], 'client');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'c0r3y8:octopus-redux',
  version: '0.1.0',
  // Brief, one-line summary of the package.
  summary: 'Redux module for Octopus',
  // URL to the Git repository containing the source code for this package.
  git: 'https://github.com/C0r3y8/octopus-redux.git',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

const basePackages = {
  all: [ 'c0r3y8:octopus', 'ecmascript', 'meteor' ]
};

const testPackages = [
  'http',
  'practicalmeteor:mocha',
  'practicalmeteor:mocha-console-runner',
  'practicalmeteor:chai',
  'practicalmeteor:sinon',
  'react-meteor-data'
];

/* eslint-disable func-names, prefer-arrow-callback */
Package.onUse(function (api) {
  api.versionsFrom('1.4.2.3');

  Npm.depends({
    assert: '1.4.1',
    warning: '3.0.0'
  });

  api.use('tmeasday:check-npm-versions@0.3.1');
  api.use(basePackages.all);

  api.mainModule('client/index.js', 'client');
  api.mainModule('server/index.js', 'server');
});
/* eslint-enable */

/* eslint-disable func-names, prefer-arrow-callback */
Package.onTest(function (api) {
  Npm.depends({
    assert: '1.4.1',
    'chai-webdriver-promised': '4.0.3',
    faker: '4.1.0',
    'selenium-webdriver': '2.53.3',
    warning: '3.0.0'
  });

  api.use(basePackages.all);
  api.use(testPackages);

  api.use('c0r3y8:octopus');
  api.use('c0r3y8:octopus-redux');

  api.addFiles('server/redux-tests.jsx', 'server');
});
/* eslint-enable */
<commit_msg>update package.js<commit_after>Package.describe({
  name: 'c0r3y8:octopus-redux',
  version: '0.1.0',
  // Brief, one-line summary of the package.
  summary: 'Redux module for Octopus',
  // URL to the Git repository containing the source code for this package.
  git: 'https://github.com/C0r3y8/octopus-redux.git',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

const basePackages = {
  all: [ 'c0r3y8:octopus@0.1.0', 'ecmascript', 'meteor' ]
};

const testPackages = [
  'http',
  'practicalmeteor:mocha',
  'practicalmeteor:mocha-console-runner',
  'practicalmeteor:chai',
  'practicalmeteor:sinon',
  'react-meteor-data'
];

/* eslint-disable func-names, prefer-arrow-callback */
Package.onUse(function (api) {
  api.versionsFrom('1.4.2.3');

  Npm.depends({
    assert: '1.4.1',
    warning: '3.0.0'
  });

  api.use('tmeasday:check-npm-versions@0.3.1');
  api.use(basePackages.all);

  api.mainModule('client/index.js', 'client');
  api.mainModule('server/index.js', 'server');
});
/* eslint-enable */

/* eslint-disable func-names, prefer-arrow-callback */
Package.onTest(function (api) {
  Npm.depends({
    assert: '1.4.1',
    'chai-webdriver-promised': '4.0.3',
    faker: '4.1.0',
    'selenium-webdriver': '2.53.3',
    warning: '3.0.0'
  });

  api.use(basePackages.all);
  api.use(testPackages);

  api.use('c0r3y8:octopus-redux');

  api.addFiles('server/redux-tests.jsx', 'server');
});
/* eslint-enable */
<|endoftext|>


<commit_before>Package.describe({
  summary: "Use npm modules with your Meteor App",
  version: "1.3.0",
  git: "https://github.com/meteorhacks/npm.git",
  name: "meteorhacks:npm"
});

Package.registerBuildPlugin({
  name: "initializing-npm-support",
  use: [
    'underscore@1.0.2'
  ],
  sources: [
    'plugin/init_npm.js'
  ],
  npmDependencies: {
    'mkdirp': '0.5.0',
    'node-echo': '0.1.1',
    'js-beautify': '1.5.5'
  }
});

Package.onUse(function (api, where) {
  api.imply('meteorhacks:async@1.0.0');
});
<commit_msg>v1.4.0<commit_after>Package.describe({
  summary: "Use npm modules with your Meteor App",
  version: "1.4.0",
  git: "https://github.com/meteorhacks/npm.git",
  name: "meteorhacks:npm"
});

Package.registerBuildPlugin({
  name: "initializing-npm-support",
  use: [
    'underscore@1.0.2'
  ],
  sources: [
    'plugin/init_npm.js'
  ],
  npmDependencies: {
    'mkdirp': '0.5.0',
    'node-echo': '0.1.1',
    'js-beautify': '1.5.5'
  }
});

Package.onUse(function (api, where) {
  api.imply('meteorhacks:async@1.0.0');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'iron-dynamic-template',
  summary: 'Dynamic templates and data contexts.',
  version: "0.1.0",
  githubUrl: "https://github.com/eventedmind/iron-dynamic-template"
});

Package.on_use(function (api) {
  api.use('blaze');
  api.use('underscore');
  api.use('ui');
  api.use('spacebars');
  api.use('jquery')
  api.use('deps');
  api.use('templating');

  api.use('iron:core');
  api.imply('iron:core');

  api.addFiles('dynamic_template.js', 'client');
});

Package.on_test(function (api) {
  api.use('iron:dynamic-template');
  api.use('templating');
  api.use('tinytest');
  api.use('test-helpers');
  api.use('ui');

  api.addFiles('dynamic_template_test.html', 'client');
  api.addFiles('dynamic_template_test.js', 'client');
});
<commit_msg>add deps dependency for test slice<commit_after>Package.describe({
  name: 'iron-dynamic-template',
  summary: 'Dynamic templates and data contexts.',
  version: "0.1.0",
  githubUrl: "https://github.com/eventedmind/iron-dynamic-template"
});

Package.on_use(function (api) {
  api.use('blaze');
  api.use('underscore');
  api.use('ui');
  api.use('spacebars');
  api.use('jquery')
  api.use('deps');
  api.use('templating');

  api.use('iron:core');
  api.imply('iron:core');

  api.addFiles('dynamic_template.js', 'client');
});

Package.on_test(function (api) {
  api.use('iron:dynamic-template');
  api.use('templating');
  api.use('tinytest');
  api.use('test-helpers');
  api.use('ui');
  api.use('deps');

  api.addFiles('dynamic_template_test.html', 'client');
  api.addFiles('dynamic_template_test.js', 'client');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'jagi:astronomy-validators',
  version: '0.10.2',
  summary: 'Validators for Meteor Astronomy',
  git: 'https://github.com/jagi/meteor-astronomy-validators.git'
});

Package.onUse(function(api) {
  api.versionsFrom('1.1.0.2');

  api.use('jagi:astronomy@0.10.0');
  api.use('jagi:reactive-map@0.2.1');
  api.use('underscore');
  api.use('ui');

  api.imply('jagi:astronomy');

  // Module.
  api.addFiles('lib/module/global.js', ['client', 'server']);
  api.addFiles('lib/module/utils.js', ['client', 'server']);
  api.addFiles('lib/module/validator_definition.js', ['client', 'server']);
  api.addFiles('lib/module/validator.js', ['client', 'server']);
  api.addFiles('lib/module/init_module.js', ['client', 'server']);
  api.addFiles('lib/module/init_class.js', ['client', 'server']);
  api.addFiles('lib/module/init_instance.js', ['client', 'server']);
  api.addFiles('lib/module/module.js', ['client', 'server']);

  // Type validators.
  api.addFiles('lib/validators/type/string.js', ['client', 'server']);
  api.addFiles('lib/validators/type/number.js', ['client', 'server']);
  api.addFiles('lib/validators/type/boolean.js', ['client', 'server']);
  api.addFiles('lib/validators/type/array.js', ['client', 'server']);
  api.addFiles('lib/validators/type/object.js', ['client', 'server']);
  api.addFiles('lib/validators/type/date.js', ['client', 'server']);
  api.addFiles('lib/validators/type/email.js', ['client', 'server']);

  // Existence validators.
  api.addFiles('lib/validators/existence/required.js', ['client', 'server']);
  api.addFiles('lib/validators/existence/null.js', ['client', 'server']);
  api.addFiles('lib/validators/existence/not_null.js', ['client', 'server']);
  api.addFiles('lib/validators/existence/has.js', ['client', 'server']);

  // Size validators.
  api.addFiles('lib/validators/size/length.js', ['client', 'server']);
  api.addFiles('lib/validators/size/min_length.js', ['client', 'server']);
  api.addFiles('lib/validators/size/max_length.js', ['client', 'server']);
  api.addFiles('lib/validators/size/gt.js', ['client', 'server']);
  api.addFiles('lib/validators/size/gte.js', ['client', 'server']);
  api.addFiles('lib/validators/size/lt.js', ['client', 'server']);
  api.addFiles('lib/validators/size/lte.js', ['client', 'server']);

  // Comparison validators.
  api.addFiles('lib/validators/comparison/choice.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/unique.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/equal.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/equal_to.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/regexp.js', ['client', 'server']);

  // Logical operators.
  api.addFiles('lib/validators/logical/and.js', ['client', 'server']);
  api.addFiles('lib/validators/logical/or.js', ['client', 'server']);

  api.export(['Validators'], ['client', 'server']);
});

Package.onTest(function(api) {
  api.use('tinytest');
  api.use('insecure');
  api.use('jagi:astronomy-validators@0.10.2');

  api.addFiles('test/validators.js', ['client', 'server']);
});
<commit_msg>Bump version to 0.10.3<commit_after>Package.describe({
  name: 'jagi:astronomy-validators',
  version: '0.10.3',
  summary: 'Validators for Meteor Astronomy',
  git: 'https://github.com/jagi/meteor-astronomy-validators.git'
});

Package.onUse(function(api) {
  api.versionsFrom('1.1.0.2');

  api.use('jagi:astronomy@0.10.0');
  api.use('jagi:reactive-map@0.2.1');
  api.use('underscore');
  api.use('ui');

  api.imply('jagi:astronomy');

  // Module.
  api.addFiles('lib/module/global.js', ['client', 'server']);
  api.addFiles('lib/module/utils.js', ['client', 'server']);
  api.addFiles('lib/module/validator_definition.js', ['client', 'server']);
  api.addFiles('lib/module/validator.js', ['client', 'server']);
  api.addFiles('lib/module/init_module.js', ['client', 'server']);
  api.addFiles('lib/module/init_class.js', ['client', 'server']);
  api.addFiles('lib/module/init_instance.js', ['client', 'server']);
  api.addFiles('lib/module/module.js', ['client', 'server']);

  // Type validators.
  api.addFiles('lib/validators/type/string.js', ['client', 'server']);
  api.addFiles('lib/validators/type/number.js', ['client', 'server']);
  api.addFiles('lib/validators/type/boolean.js', ['client', 'server']);
  api.addFiles('lib/validators/type/array.js', ['client', 'server']);
  api.addFiles('lib/validators/type/object.js', ['client', 'server']);
  api.addFiles('lib/validators/type/date.js', ['client', 'server']);
  api.addFiles('lib/validators/type/email.js', ['client', 'server']);

  // Existence validators.
  api.addFiles('lib/validators/existence/required.js', ['client', 'server']);
  api.addFiles('lib/validators/existence/null.js', ['client', 'server']);
  api.addFiles('lib/validators/existence/not_null.js', ['client', 'server']);
  api.addFiles('lib/validators/existence/has.js', ['client', 'server']);

  // Size validators.
  api.addFiles('lib/validators/size/length.js', ['client', 'server']);
  api.addFiles('lib/validators/size/min_length.js', ['client', 'server']);
  api.addFiles('lib/validators/size/max_length.js', ['client', 'server']);
  api.addFiles('lib/validators/size/gt.js', ['client', 'server']);
  api.addFiles('lib/validators/size/gte.js', ['client', 'server']);
  api.addFiles('lib/validators/size/lt.js', ['client', 'server']);
  api.addFiles('lib/validators/size/lte.js', ['client', 'server']);

  // Comparison validators.
  api.addFiles('lib/validators/comparison/choice.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/unique.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/equal.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/equal_to.js', ['client', 'server']);
  api.addFiles('lib/validators/comparison/regexp.js', ['client', 'server']);

  // Logical operators.
  api.addFiles('lib/validators/logical/and.js', ['client', 'server']);
  api.addFiles('lib/validators/logical/or.js', ['client', 'server']);

  api.export(['Validators'], ['client', 'server']);
});

Package.onTest(function(api) {
  api.use('tinytest');
  api.use('insecure');
  api.use('jagi:astronomy-validators@0.10.2');

  api.addFiles('test/validators.js', ['client', 'server']);
});
<|endoftext|>


<commit_before>const packageVersion = '0.0.1';
Package.describe({
  name:          'akasha:meteor-ipfs',
  version:       packageVersion,
  // Brief, one-line summary of the package.
  summary:       '',
  // URL to the Git repository containing the source code for this package.
  git:           '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Npm.depends({
  'ipfs-api': '2.5.1'
});

Package.onUse(function (api) {
  api.versionsFrom('1.2.1');
  api.use('ecmascript');
  api.use('check', 'server');
  api.use('underscore', 'server');
  api.use('sanjo:long-running-child-process@1.1.3', 'server');
  api.use('akasha:fs-extra@0.26.2', 'server');
  api.use('akasha:request@2.67.0', 'server');
  api.use('akasha:shelljs@0.5.3', 'server');
  api.use('akasha:adm-zip@0.4.7', 'server');
  api.use('practicalmeteor:loglevel@1.1.0_2', 'server');
  api.addFiles(['lib/ipfsConnector.js'], 'server');
  api.export('IpfsConnector', 'server');
});

Package.onTest(function (api) {
  api.use('ecmascript');
  api.use('akasha:meteor-ipfs');
  api.use('sanjo:jasmine@0.20.3');
  api.addFiles(['tests/ipfsConnector-spec.js'], 'server');
});
<commit_msg>update package info<commit_after>const packageVersion = '0.0.1';
Package.describe({
  name:          'akasha:meteor-ipfs',
  version:       packageVersion,
  // Brief, one-line summary of the package.
  summary:       'run IPFS from meteor',
  // URL to the Git repository containing the source code for this package.
  git:           'https://github.com/AkashaProject/meteor-ipfs',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Npm.depends({
  'ipfs-api': '2.5.1'
});

Package.onUse(function (api) {
  api.versionsFrom('1.2.1');
  api.use('ecmascript');
  api.use('check', 'server');
  api.use('underscore', 'server');
  api.use('sanjo:long-running-child-process@1.1.3', 'server');
  api.use('akasha:fs-extra@0.26.2', 'server');
  api.use('akasha:request@2.67.0', 'server');
  api.use('akasha:shelljs@0.5.3', 'server');
  api.use('akasha:adm-zip@0.4.7', 'server');
  api.use('practicalmeteor:loglevel@1.1.0_2', 'server');
  api.addFiles(['lib/ipfsConnector.js'], 'server');
  api.export('IpfsConnector', 'server');
});

Package.onTest(function (api) {
  api.use('ecmascript');
  api.use('akasha:meteor-ipfs');
  api.use('sanjo:jasmine@0.20.3');
  api.addFiles(['tests/ipfsConnector-spec.js'], 'server');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'lai:simple-schema-omit',
  version: '1.0.0',
  // Brief, one-line summary of the package.
  summary: 'Adds omit support for Simple Schema',
  // URL to the Git repository containing the source code for this package.
  git: 'https://github.com/rclai/meteor-simple-schema-omit.git',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.use('aldeed:simple-schema');
  api.addFiles('simple-schema-omit.js');
});

Package.onTest(function(api) {
  api.use('tinytest');
  api.use('lai:simple-schema-omit');
  api.addFiles('simple-schema-omit-tests.js');
});
<commit_msg>Supplied simple-schema version constraint<commit_after>Package.describe({
  name: 'lai:simple-schema-omit',
  version: '1.0.0',
  // Brief, one-line summary of the package.
  summary: 'Adds omit support for Simple Schema',
  // URL to the Git repository containing the source code for this package.
  git: 'https://github.com/rclai/meteor-simple-schema-omit.git',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.use('aldeed:simple-schema@1.3.3');
  api.addFiles('simple-schema-omit.js');
});

Package.onTest(function(api) {
  api.use('tinytest');
  api.use('lai:simple-schema-omit');
  api.addFiles('simple-schema-omit-tests.js');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'cosmos:browserify',
  version: '0.1.4',
  summary: 'Bundle NPM modules for client side with Browserify',
  git: 'https://github.com/elidoran/cosmos-browserify.git',
  documentation: 'README.md'
});

Package.registerBuildPlugin({
  name: "CosmosBrowserify",
  // need 'meteor' for Npm and Meteor.wrapAsync
  use: ['coffeescript@1.0.6','meteor'],
  sources: ['plugin/browserify.coffee'],
  npmDependencies: {"browserify": "9.0.8"}
});

Package.onTest(function(api) {
  api.use('tinytest');
  // not testing by adding package in 'use'
  api.use('coffeescript@1.0.6');
  api.addFiles([
    // export stuff for use in Testing, and to Mock things like Npm
    //'test/export.js',
    // fill in the exported mocks (separate so I can write in CoffeScript)
    'test/mocks.coffee',
    // the tests
    'test/browserify-tests.coffee',
    // add our plugin file directly instead of adding package in api.use
    'plugin/browserify.coffee'
  ], 'client');

});
<commit_msg>+0.2.0<commit_after>Package.describe({
  name: 'cosmos:browserify',
  version: '0.2.0',
  summary: 'Bundle NPM modules for client side with Browserify',
  git: 'https://github.com/elidoran/cosmos-browserify.git',
  documentation: 'README.md'
});

Package.registerBuildPlugin({
  name: "CosmosBrowserify",
  // need 'meteor' for Npm and Meteor.wrapAsync
  use: ['coffeescript@1.0.6','meteor'],
  sources: ['plugin/browserify.coffee'],
  npmDependencies: {"browserify": "9.0.8"}
});

Package.onTest(function(api) {
  api.use('tinytest');
  // not testing by adding package in 'use'
  api.use('coffeescript@1.0.6');
  api.addFiles([
    // export stuff for use in Testing, and to Mock things like Npm
    //'test/export.js',
    // fill in the exported mocks (separate so I can write in CoffeScript)
    'test/mocks.coffee',
    // the tests
    'test/browserify-tests.coffee',
    // add our plugin file directly instead of adding package in api.use
    'plugin/browserify.coffee'
  ], 'client');

});
<|endoftext|>


<commit_before>Package.describe({
  name: 'babrahams:constellation-distro',
  version: '0.1.0',
  summary: 'A set of packages to get you started with Constellation',
  git: 'https://github.com/JackAdams/constellation-distro.git',
  documentation: 'README.md',
  debugOnly: true
});

Package.onUse(function(api) {

  api.versionsFrom('1.1');

  api.use('constellation:console@1.0.0');
  api.use('babrahams:temple@0.1.0');
  api.use('constellation:subscriptions@0.1.0');
  api.use('constellation:session@0.1.0');
  api.use('constellation:autopublish@0.1.0');

});

Package.onTest(function(api) {
  api.use('tinytest');
});
<commit_msg>Updated dependencies<commit_after>Package.describe({
  name: 'babrahams:constellation-distro',
  version: '0.1.0',
  summary: 'A set of packages to get you started with Constellation',
  git: 'https://github.com/JackAdams/constellation-distro.git',
  documentation: 'README.md',
  debugOnly: true
});

Package.onUse(function(api) {

  api.versionsFrom('1.1');

  api.use('constellation:console@1.0.1');
  api.use('babrahams:temple@0.1.1');
  api.use('constellation:subscriptions@0.1.1');
  api.use('constellation:session@0.1.1');
  api.use('constellation:autopublish@0.1.1');

});

Package.onTest(function(api) {
  api.use('tinytest');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'peterclark:tinymodel',
  version: '0.0.5',
  summary: 'Tiny models for Meteor',
  git: 'https://github.com/peterclark/tinymodel',
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('1.1.0.2');
  api.use(
    [
      'underscore',
      'coffeescript',
      'taskputty:underscore.string'],
      ['client', 'server']);
  api.addFiles(
    [
      'tinymodel.coffee',
      'presence_validator.coffee',
      'length_validator.coffee',
      'exclusion_validator.coffee',
      'format_validator.coffee',
      'inclusion_validator.coffee',
      'numericality_validator.coffee'
    ], ['client', 'server']);
});

Package.onTest(function(api) {
  api.use(
    [
      'tinytest',
      'peterclark:tinymodel',
      'coffeescript',
      'underscore'
    ], ['server']);
  api.addFiles(
    [
      'tests/_setup.coffee',
      'tests/tests.coffee',
      'presence_validator.coffee',
      'length_validator.coffee',
      'exclusion_validator.coffee',
      'format_validator.coffee'
    ], ['server']);
});
<commit_msg>bump version<commit_after>Package.describe({
  name: 'peterclark:tinymodel',
  version: '0.1.0',
  summary: 'Tiny models for Meteor',
  git: 'https://github.com/peterclark/tinymodel',
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('1.1.0.2');
  api.use(
    [
      'underscore',
      'coffeescript',
      'taskputty:underscore.string'],
      ['client', 'server']);
  api.addFiles(
    [
      'tinymodel.coffee',
      'presence_validator.coffee',
      'length_validator.coffee',
      'exclusion_validator.coffee',
      'format_validator.coffee',
      'inclusion_validator.coffee',
      'numericality_validator.coffee'
    ], ['client', 'server']);
});

Package.onTest(function(api) {
  api.use(
    [
      'tinytest',
      'peterclark:tinymodel',
      'coffeescript',
      'underscore'
    ], ['server']);
  api.addFiles(
    [
      'tests/_setup.coffee',
      'tests/tests.coffee',
      'presence_validator.coffee',
      'length_validator.coffee',
      'exclusion_validator.coffee',
      'format_validator.coffee'
    ], ['server']);
});
<|endoftext|>


<commit_before>/* Information about this package */
Package.describe({
  // Short two-sentence summary.
  summary: "Draw polygons and rectangles on a HTML5 canvas reactively",
  // Version number.
  version: "0.0.19",
  // Optional.  Default is package directory name.
  name: "philippspo:reactive-canvas",
  // Optional github URL to your source repository.
  git: "https://github.com/PhilippSpo/reactive-canvas",
});

/* This defines your actual package */
Package.onUse(function (api) {
  // If no version is specified for an 'api.use' dependency, use the
  // one defined in Meteor 0.9.0.
  api.versionsFrom('0.9.0');
  // Use Underscore package, but only on the server.
  // Version not specified, so it will be as of Meteor 0.9.0.
  api.use('underscore', 'server');
  // Use application-configuration package, version 1.0.0 or newer.
  api.use('application-configuration@1.0.0');
  api.use(['session', 'reactive-var@1.0.3']);
  // Specify the source code for the package.
  api.addFiles('lib/CanvasFunctions.js', 'client');
  api.addFiles('lib/Shape.js', 'client');
  api.addFiles('lib/Poly.js', 'client');
  api.addFiles('lib/Rect.js', 'client');
  api.addFiles('lib/TextField.js', 'client');
  api.addFiles('lib/ReactiveCanvas.js', 'client');

  api.export('ReactiveCanvas');
  api.export('Polygon');
  api.export('Rectangle');
  api.export('CanvasFunctions');
});<commit_msg>version bump<commit_after>/* Information about this package */
Package.describe({
  // Short two-sentence summary.
  summary: "Draw polygons and rectangles on a HTML5 canvas reactively",
  // Version number.
  version: "0.0.20",
  // Optional.  Default is package directory name.
  name: "philippspo:reactive-canvas",
  // Optional github URL to your source repository.
  git: "https://github.com/PhilippSpo/reactive-canvas",
});

/* This defines your actual package */
Package.onUse(function (api) {
  // If no version is specified for an 'api.use' dependency, use the
  // one defined in Meteor 0.9.0.
  api.versionsFrom('0.9.0');
  // Use Underscore package, but only on the server.
  // Version not specified, so it will be as of Meteor 0.9.0.
  api.use('underscore', 'server');
  // Use application-configuration package, version 1.0.0 or newer.
  api.use('application-configuration@1.0.0');
  api.use(['session', 'reactive-var@1.0.3']);
  // Specify the source code for the package.
  api.addFiles('lib/CanvasFunctions.js', 'client');
  api.addFiles('lib/Shape.js', 'client');
  api.addFiles('lib/Poly.js', 'client');
  api.addFiles('lib/Rect.js', 'client');
  api.addFiles('lib/TextField.js', 'client');
  api.addFiles('lib/ReactiveCanvas.js', 'client');

  api.export('ReactiveCanvas');
  api.export('Polygon');
  api.export('Rectangle');
  api.export('CanvasFunctions');
});<|endoftext|>


<commit_before>Package.describe({
  name: 'jimmiebtlr:slingshot-cloudinary',
  version: '0.0.6',
  summary: 'Cloudinary storage implementation for edgee:slingshot.',
  git: 'https://github.com/jimmiebtlr/meteor-slingshot-cloudinary',
  documentation: 'README.md'
});

Npm.depends({
  cloudinary: '1.3.0',
});

Package.onUse(function(api) {
  api.versionsFrom('1.2.1');

  var packages = [
    'ecmascript',
    'check',
    'edgee:slingshot@0.7.1'
  ];

  api.use(packages,'server');

  api.addFiles('server.js','server');
});
<commit_msg>Version bumped<commit_after>Package.describe({
  name: 'jimmiebtlr:slingshot-cloudinary',
  version: '0.0.6_1',
  summary: 'Cloudinary storage implementation for edgee:slingshot.',
  git: 'https://github.com/jimmiebtlr/meteor-slingshot-cloudinary',
  documentation: 'README.md'
});

Npm.depends({
  cloudinary: '1.3.0',
});

Package.onUse(function(api) {
  api.versionsFrom('1.2.1');

  var packages = [
    'ecmascript',
    'check',
    'edgee:slingshot@0.7.1'
  ];

  api.use(packages,'server');

  api.addFiles('server.js','server');
});
<|endoftext|>


<commit_before>Package.describe({
  name: 'aramk:q',
  summary: "A tool for making and composing asynchronous promises in JavaScript",
  version: "1.0.1_1",
  git: "https://github.com/aramk/meteor-q.git"
});

Package.on_use(function (api) {
  api.versionsFrom('METEOR@0.9.0');
  api.export('Q');
  api.add_files('q.js', ['client', 'server']);
});
<commit_msg>Fix URL<commit_after>Package.describe({
  name: 'aramk:q',
  summary: "A tool for making and composing asynchronous promises in JavaScript",
  version: "1.0.1_1",
  git: "https://github.com/aramk/q.git"
});

Package.on_use(function (api) {
  api.versionsFrom('METEOR@0.9.0');
  api.export('Q');
  api.add_files('q.js', ['client', 'server']);
});
<|endoftext|>