Closed simondotm closed 1 year ago
This neatly solves a number of other issues:
However, a major caveat is:
codebase
Possibly we can add function projects as implicit dependencies of the main firebase application. Then nx watch will work.
Implemented in #116
Syntax will be
nx g @simondotm/nx-firebase:function <name> --project=<projectname> [--alias=<projectname>] [--directory=<dir>]
It will generate an application which is:@nrwl/node:webpack
, so that the code is fully<projectname>
firebase.json
config file functions array for that projectcodebase
with the<projectname>
function applications will only work with Firebase CLI v10.7.1 and above.