mirror a repo, make a component, publish it
componentize, run, use with component.io
Maintaining 3rd party modules is a pain in the back and nobody has time for that.
This will prompt for data and then:
- create a new folder with named
- clone the repo into
- save the componentizr configuration in
- create a
componentize.jsfile you can run with
cronor whatever you want to update the component with the latest version of your favorite 3rd party lib.
Keep in mind that this is in a very early stage and thus some things like multiple scripts, dependencies, specific branches, and so on should be added manually in the config.json file that is generated for you until I can sort them out into the cli.
Take a look at
leostera/underscore.js. You can actually use it with
component install leostera/angular.js and then
require('leostera/angular.js') or setup your own aliases for it.
This is definitely a WIP. Help me out so we can stop maintaining 3rd party modules to use with component.io, file an issue, submit a pr, or just start componentizng more modules and let me know.