mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
This included removing some internal version constraints. It would be nice if package A could say "use B@2.0.0" (when both have changed), but when they're both in the release, we need to make a release that has a B@2.0.0-rc in it, which doesn't match that constraint. Fortunately, constraints aren't necessary within a release anyway.
22 lines
585 B
JavaScript
22 lines
585 B
JavaScript
Package.describe({
|
|
summary: "Publish internal app statistics",
|
|
version: '1.0.5-plugins.0'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use(['underscore'], ['client', 'server']);
|
|
api.use(['templating', 'mongo', 'ddp'], ['client']);
|
|
|
|
// Detect whether autopublish is used.
|
|
api.use('autopublish', 'server', {weak: true});
|
|
|
|
// Unordered dependency on livedata, since livedata has a (weak) dependency on
|
|
// us.
|
|
api.use('ddp', 'server', {unordered: true});
|
|
|
|
api.addFiles('facts.html', ['client']);
|
|
api.addFiles('facts.js', ['client', 'server']);
|
|
|
|
api.export('Facts');
|
|
});
|