forked from meteorhacks/meteor-aggregate
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
After command:
meteor update --release 3.0-beta.0
in the existing Meteor 2 project I see an error:
error: Conflict: Constraint [email protected] is not satisfied by mongo 2.0.0-beta300.0.
[email protected] <- sakulstra:aggregate 1.4.4
in package.js of this package, I see
function configurePackage(api) {
api.versionsFrom('METEOR@1');
api.use(['mongo'], ['server']);
// common before
api.addFiles(['index.js'], ['server']);
}
but the proposed package should contain
Package.onUse((api) => {
api.versionsFrom(['1.10', '2.3', '3.0-beta.0']);
// ^^^^^^^ for testing your package with meteor 3.0
api.versionsFrom(['1.10', '2.3', '3.0']);
// ^^^^^^^ for meteor 3.0
according to
https://guide.meteor.com/3.0-migration#How-do-I-migrate-my-package-to-be-compatible-with-Meteor-3-0
Metadata
Metadata
Assignees
Labels
No labels