Skip to content

Support multiple firebase projects #5

@Yabes

Description

@Yabes

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesticeboxFeature/bug not being actively worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions