When working with different firebase projects it would be great to
I can see two way of doing this:
- Provide a new optional parameter to set a projectId and save in the
.differspec.json a different hash & lastDiff per project like so:
{
"functions": {
"fnA": "path/to/a"
},
"projects": {
"project-1": {
"hashes": { ... },
"lastDiff": { ... }
}
}
}
^ This solution would force each environment to have the same set of functions.
- Provide a new optional parameter to change the spec filename to something like
.differspec.<env>.json
This would allow to only specify a subset of functions for each project
What are your thought on the subject?
When working with different firebase projects it would be great to
I can see two way of doing this:
.differspec.jsona different hash & lastDiff per project like so:{ "functions": { "fnA": "path/to/a" }, "projects": { "project-1": { "hashes": { ... }, "lastDiff": { ... } } } }^ This solution would force each environment to have the same set of functions.
.differspec.<env>.jsonThis would allow to only specify a subset of functions for each project
What are your thought on the subject?