-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Implement build_runner integration for the Dart Firebase Functions SDK within firebase-tools. This includes:
- Code generation setup using Dart's build_runner
- Generation of functions.yaml specification file in .dart_tool/firebase/ directory
- Automatic watching for code changes to rebuild the specification file
- Removing the need for a discovery-phase HTTP server
This allows use of emulator building through the Firebase CLI.
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] Repository setup
- [functions] SDK scaffolding
Acceptance Criteria:
- build_runner package configured
- Code generation for functions.yaml implemented
- File output to .dart_tool/firebase/ directory working
- Watch mode for automatic rebuilds functional
- Local development instructions documented
Reactions are currently unavailable