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.
19 lines
458 B
JavaScript
19 lines
458 B
JavaScript
Package.describe({
|
|
summary: "Check whether a value matches a pattern",
|
|
version: '1.0.6-plugins.0'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use(['underscore', 'ejson'], ['client', 'server']);
|
|
|
|
api.export(['check', 'Match']);
|
|
|
|
api.addFiles('match.js', ['client', 'server']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use(['check', 'tinytest', 'underscore', 'ejson'], ['client', 'server']);
|
|
|
|
api.addFiles('match_test.js', ['client', 'server']);
|
|
});
|