Files
meteor/packages/jquery/package.js
Ben Newman 99ddadca22 Bump jquery Meteor package version to match jquery version.
It's nice to match versions, but we couldn't bump the minor version of the
Meteor jquery package without breaking compatibility with the current Meteor
release (1.6.1), since jquery is a core package.

The next Meteor release (either 1.6.1.1 or 1.6.2) will either use the new
1.12.1 version or (ideally) jquery will no longer be a core package, and
thus will not be constrained by the release.

Related: #9605
2018-01-30 12:39:01 -05:00

18 lines
515 B
JavaScript

Package.describe({
summary: "Manipulate the DOM using CSS selectors",
// This package currently uses jQuery 1.12.1 (due to #9605).
version: '1.12.1'
});
Package.onUse(function (api) {
api.use('modules');
// Note that you can `meteor npm install jquery` (any version) into your
// application's node_modules directory, and the meteor/jquery package
// will use that version instead of 1.12.1.
api.mainModule('main.js', 'client');
api.export('$', 'client');
api.export('jQuery', 'client');
});