How to force a specific version in the `.meteor/.package` file?

I need a specific version of a package: semantic:ui@2.2.6_5 whenever I run meteor update it will switch to semantic:ui@2.3.1.

Is there a way to force a specific version?

There’s a special syntax for this (unfortunately not the same as Node/npm/semver):

semantic:ui@=2.2.6_5

Note the @=

3 Likes

Cool! Is it documented somewhere?

Hi, it is here https://docs.meteor.com/commandline.html#meteoradd

I’m posting here for future references :wink:

1 Like