simondotm / nx-firebase

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

Support for env and secret files #137

Closed simondotm closed 10 months ago

simondotm commented 10 months ago

Add support for function environment vars. Solution:

Outcome is that functions get the common environment vars copied from the parent firebase app to their dist folder, which allows:

  1. .env* files to be deployed with function code
  2. *.local and .runtimeconfig.json files to be accessible to firebase emulator when serving locally

Documentation updates also in this PR.

Gurey commented 9 months ago

Great stuff and great work!

We really like this project at our company and just started to use it.

Do you have any idea when this will be released?

simondotm commented 9 months ago

@Gurey thanks for the kind feedback. Hopefully in next week or so, I'm just finishing up some migration tooling.