How to edit a core Atmosphere/Meteor package?

Is there any way to do this? I have tried the following:

  • Remove package and then add its dependencies
  • Copy package folder from Meteor’s Github repository to <project root>/packages
  • Rename the package in package.js
  • Make required code changes and add the renamed package

Now meteor run produces the following error:

=> Started proxy.                             
                                              
/home/eicksl/.meteor/packages/coffeescript/.1.0.17.1ci7gsg.x6fe++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
      throw error;
      ^
[object Object]

I would definitely say to keep the package name the same. If you change the package name to something different, then other packages that depend on it’s functionality won’t be able to import they parts they depend on.

1 Like

Awesome, it works! Good to know that meteor add first checks the packages directory before looking up the package on Atmosphere. For some reason I thought it was the other way around, but that makes more sense.

Thanks

1 Like