ddubrava / angular-yandex-maps

🗺️ Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API
https://ddubrava.github.io/angular8-yandex-maps/#/
MIT License
57 stars 7 forks source link

Create Nx common library to share code #240

Open ddubrava opened 1 month ago

ddubrava commented 1 month ago

generateRandomId and zone.ts should be shared between the libraries. A library created by @nx/angular:library doesn't work between libraries. It throws an error that the source code is not in the rootDir, which makes sense but is weird because the official documentation is exactly the same. The only issue is that I try to share code between lib-a and lib-b, while Nx provides an example for lib-a and app-b.