Using forked ngx-bootstrap library
so i have forked ngx-bootstrap coz i need some adjustment in the library,
but when i trying to install it on my angular app, it just does not work.
here some issue i encountered:
1. the import become invalid
i install the library by set the path on my package.json
"ngx-bootstrap": "https://github.com/my-repo/ngx-bootstrap.git#development"
the import path become invalid
import { AlertModule } from 'ngx-bootstrap/alert';
i noticed that when using yarn add ngx-bootstrap
it's only set the content of src folder of the ngx-bootstrap library (ngx-bootstrap/alert
) but when i'm install it using github path it install all the repo into node_modules so the path become like this node_modules/ngx-bootstrap/src/alert
2. Error: .git can't be found
this issue resolved by following this thread https://github.com/typicode/husky/issues/851
i'm following this tutorial for installing forked repository in angular that lead into this error
is there any other way to use forked library in angular ?