Skip to content

Compatibility with meteor 3Β #36

Open
@gustawdaniel

Description

After command:

meteor update --release 3.0-beta.0

in the existing meteor 2 project I see error:

* meteor@1.1.14 <- livedata 1.0.18 <- communitypackages:fast-render 4.0.7-alpha.1 <-
communitypackages:react-router-ssr 3.0.4

in package.js of this package I see

Package.onUse(function _ (api) {
  api.versionsFrom('2.3');
  api.use(['ecmascript', 'communitypackages:fast-render@4.0.0', 'tmeasday:check-npm-versions@1.0.2']);

  api.mainModule('client.jsx', 'client');
  api.mainModule('server.jsx', 'server');
});

but 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

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions