So I went over the instructions in question How to build a Meteor package and created one for the visualization library d3 using this code
Package.describe({
summary: "Make cool visualizations with d3"
});
Package.on_use(function (api) {
api.use('d3', 'client');
api.add_files('d3.v2.js', 'client');
});
I ran the meteor script from my github checkout (same place where I added this package). Then I created a new meteor app, but I still don’t see d3 is getting included… Did I miss a step?
Make sure you’re running your custom version of meteor and not the default install.
Then run
<your meteor> add <your package name>from the project’s root directory.