isolate-package
isolate-package copied to clipboard
Deploy multiple functions codebases from root
Hello. First, I'd like to show my appreciation for building this project. This topic has been a pain in the butt for years. I used to use firelink which works too. But the solution you've provided is much more solid. I hope it will be merged upstream one day.
In my project, there are several packages with cloud functions separated by what are called codebases. They are deployed separately. I have .firebase.json and .firebaserc in the root of the project in which the codebases are defined.
├─ functions1
└── packaje.json
├─ functions2
└── packaje.json
│ .firebaserc
│ firebase.json
│ isolate.config.json
https://github.com/0x80/isolate-package/blob/main/docs/firebase.md#firebase
From this documentation, it seems like it is impossible to set up a deployment from the root of multiple function codebases.
targetPackagePath
in isolate.config.json can only point to one codebase that can use isolation.
Can you confirm that?
The workaround would be to set up .firebaserc and firebase.json for each package. right?