How to depend on a meteor core package?


#1

I’m trying to do this:

Package.onUse(function(api) {
  api.versionsFrom('1.0');
  both = ['client', 'server']
  api.use([
    'diff-sequence',
  ], both);
});

Just like they do it here:

But it can’t find the package. I cloned it locally and it works though if I put it in the /packages folder. But I coudlnt publish a package this way…


#2

It’s possible that this package didn’t exist in Meteor 1.0.


#3

ha! you’re right!

Next release, lets go @sashko! :wink: