-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Implement full Firebase CLI integration for Dart functions. This includes:
- Support for deployment of Dart functions
- Support for local emulation of Dart functions
- Utilizing the file-based discovery mechanism (detectFromYaml) to read the generated spec from .dart_tool directory
- Spawning two processes:
- build_runner process for spec file generation and watching
- User's Dart entrypoint file execution with HTTP server
Local Development:
To test locally, use npm link in the firebase-tools repository:
- Clone firebase-tools repository
- Run
npm installin firebase-tools - Run
npm linkto create global symlink - In your test project, run
npm link firebase-tools
Dependencies:
- [functions] Dart runtime delegate
- [functions] Emulator integration and reloading
Acceptance Criteria:
- Deployment of Dart functions working
- Local emulation working
- File-based discovery (detectFromYaml) implemented
- Dual process spawning working
- Local development instructions documented
Reactions are currently unavailable