NGX-NEARIT-API
Api access is implementend as an Angular library that resides in the same .git repository as the project.
The library will become a separated project, for now can be still developed locally with a extra effort.
###To develop new feature:
Enable local library by setting the paths object inside tsconfig.json of your main project
"paths": {
"ngx-nearit-api": [
"dist/ngx-nearit-api"
],
"ngx-nearit-api/*": [
"dist/ngx-nearit-api/*"
]
}
Restart the IDE.
###To publish a new library version:
- remove (or comment) local library paths
- update library version inside library package.json
- run yarn pack-api command
- move inside dist/ngx-nearit-api/ folder
- run npm login
- run npm publish [tarball name]