How to replace an Atmosphere package with own local copy?

Hi, I am using (deprecated) CollectionFS and need to change something to avoid a crashing exception. My Meteor packages file contains cfs:standard-packages. This package depends on the cfs:worker package, in which I need to change some code.

How can I “localize” that “sub-package” so I can make changes and it is replacing the package from atmosphere? Where do I put that package locally (directory/filename) and how do I make sure it is preferred over a remote package (cfs:base-package uses my local modified copy of cfs:worker instead of loading it from Atmosphere)?

https://guide.meteor.com/writing-atmosphere-packages.html#overriding-atmosphere-packages

(Basically, clone the package source into your local project’s packages/ directory and edit as necessary.)

2 Likes

Thanks, that worked!