Scaffolds out a new package, giving it to you as
Step into the Package Kitchen to whip up your next Meteor package!
[TOC]
Go to http://package-kitchen.meteor.com, and input the specifics of the package you want to build. You can then download a ZIP of your package, and follow the installation instructions on the site.
Add Package Kitchen to your application:
meteor add deanius:package-kitchen
Then navigate to /kitchen
within your application. Next, scaffold out your package, then click "Save Package to App".
You will receive an error upon Save if:
.meteor/packages
(e.g. iron:router
)You can spin up the app (as it deployed on http://package-kitchen.meteor.com), by running npm start
.
or, if you're old school, cd example; meteor
.
The example folder contains copies of all the templates, rather than referencing the atmosphere version.
The Full Meteor Docs on Packages
The last Packages Tutorial you'll ever need, by @TheMeteorChef
You must specify dependencies if:
api.use
)api.imply
)Add the packages to the first api.use([])
call, or add additional calls
Use Npm.depend({"package": "1.0.0"})
TODO link to notes on how to do this.