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 install in firebase-tools
- Run
npm link to create global symlink
- In your test project, run
npm link firebase-tools
Dependencies:
- [functions] Repository setup
- [functions] SDK scaffolding
Acceptance Criteria:
Implement build_runner integration for the Dart Firebase Functions SDK within firebase-tools. This includes:
This allows use of emulator building through the Firebase CLI.
Local Development:
To test locally, use npm link in the firebase-tools repository:
npm installin firebase-toolsnpm linkto create global symlinknpm link firebase-toolsDependencies:
Acceptance Criteria: