Skip to content

ShipEngine/firebase-extensions

Repository files navigation

ShipEngine Firebase Extensions

Development

Requires Node version 14.7.0

$ yarn install # install dependencies

Requires an older version of firebase-tools

$ npm install -g [email protected]
$ yarn run firebase login # login to firebase
$ yarn run firebase --open-sesame extdev # to enable access to pre-release extension commands

Copy contents of .env.example into 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 - can be retrieved from 1Password).

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published