Check husky support.
mshima opened this issue · comments
Reference: #653 (comment)
Husky needs to be installed at root of a monorepository.
Not sure if this is a issue.
The reported problem happened because 2 projects were joined into 1 monorepository.
In that case, --skip-commit-hooks
should be used.
Or manually migrate husky to the root.
Yeah, I'm not sure we should fix it. It would be cool if you could do the following steps w/o an error:
git clone https://github.com/oktadev/okta-jhipster-ionic-example.git
cd okta-jhipster-ionic-example
rm -rf ionic-app
take ionic-app
jhipster-ionic
I tried changing the last line to:
jhipster-ionic --skip-commit-hooks
The result is:
INFO! No custom sharedOptions found within blueprint: generator-jhipster-ionic at /Users/mraible/dev/generator-jhipster-ionic
error: unknown option '--skip-commit-hooks'