sb-mig / Sb Mig
Programming Languages
Labels
Projects that are alternatives of or similar to Sb Mig
Contents
- sb-mig core
- @sb-mig/plugin-add-components
- @sb-mig/plugin-generate-project
- @sb-mig/plugin-create-component
Development
This is Lerna monorepo of CLI build with Oclif Framework.
It consists of sb-mig
package which is a core of sb-mig
CLI. And couple of internal plugins, build with Oclif plugins system.
To successfully run and develop core and plugins you have to first run
yarn - install dependencies
yarn start - build all packages
in root of the repository.
and
yarn link
inside @sb-mig/sb-mig
folder to us local sb-mig
package.
Then, if u want to install any local plugin, you have to run
sb-mig plugins:link ./path/to/plugin
for example if u want to link plugin-add-components
plugin to your local sb-mig
you have to run
sb-mig plugins:link .
inside
@sb-mig/plugin-add-components
Now, if u run sb-mig --help
anywhere, it will show also command from plugin-add-components
plugin.
!! Important to mention !!
Currently if u modify any of the source code, you have to rebuild that code. So run
yarn start
to rebuild everything, or go to desired package, and rebuild only that package. Keep in mind though, that some packages depends on another (like plugin-generate-project
on plugin-add-components
)