influxdb/docs/UpdatingAPICLient.md

15 lines
542 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## Updating the API Client
* Clone influxdata/influxdb2-js repo, if you havent
* cd influxdata/influxdb2-js
* git pull on master
* git checkout -b “branch name”
* open the repo in vs code
* update the wrapper class with correct api call and return value
* run npm run build && npm run lint in the influxdb2-js dir
* git add the changed files
* send a pr for the update to brandon?
* git pull master on influxdb repo
* update the package.json with correct version number
* restart npm