ShipEngine Firebase Extensions
Development
$ yarn install # install dependencies
$ yarn run firebase login # login to firebase
$ yarn run firebase --open-sesame extdev # to enable access to pre-release extension commands
Create a .env.development file in the extension directory that contains the Cloud Functions, and include values for any params the extension needs for installation (including the ShipEngine API key).
Publishing
Before publishing, you must update the CHANGELOG.md for the extension.
firebase ext:dev:publish shipengine/[extension-id] # extension id is located in each extension.yaml
Testing
$ yarn workspace validate-address-functions emulate # ...and then navigate to localhost:4000 to access the emulator dashboard