simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
175 stars 31 forks source link

fix: Sync generator should rename paths in firebase.json #150

Closed simondotm closed 9 months ago

simondotm commented 9 months ago

sync now updates paths for rules & indexes in firebase configs when Nx firebase apps are renamed. This is necessary since those rules are all located in Nx Firebase apps.

In an effort to be helpful, it also tries to validate that any firebase hosting.public paths can be traced to an Nx project and warns if not. The idea here is to provide some indication if say an Nx web app project is renamed, but the firebase config is not updated. Lets see how this goes though since it might become annoying if folks have some wild hosting setups.