DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Add a Local Meteor Package from a Existing Repo


newfairs-v3 is the container project. newfairs-core is a package.

meteor create newfairs-v3
cd newfairs-v3
meteor create --package newfairscommerce:core
cp -r ../newfairs-core packages
mv packages/core/{package.js,README.md} packages/newfairs-core/
rm -rf package/core
meteor add newfairscommerce:core

Then you have to define dependencies for this package with adding some api.use() and loading order by adding some api.addFiles(...) in packages/newfairs-core/package.js.



Published

Sep 24, 2015

Last Updated

Sep 24, 2015

Category

Tech

Tags

  • meteor 47
  • package 28

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor