migration to latest level and make broker ready
This migration includes:
- Add resolution for minimist (security vulnerabilities) MANUAL BEFORE MIGRATION SCRIPT
- Add things to .gitignore (e.g. DS_Store)
- Changes to the README (some typo fixes - Add how to extend the adapter)
- Add the adapter config in the database support (MANUAL moveEntitiesToDb in adapter.js and pronghorn.json)
- Add scripts for easier authentication, removing hooks, etc
- Script changes (install script as well as database changes in other scripts)
- Double # of path vars on generic call
- Update versions of foundation (e.g. adapter-utils)
- Update npm publish so it supports https
- Update dependencies
- Add preinstall for minimist (security vulnerabilities)
- Add auth properties for OAuth 2 (MANUAL in unit test, integration test and sampleProperties)
- Fix new lint issues that came from eslint dependency change
- Add more thorough Unit tests for standard files (Package, Pronghorn, Properties (Schema and Sample)
- Add standard broker calls and unit tests for them (MANUAL add to adapter.js and pronghorn.json, make sure to exclude hasEntities and hasDevices from getWorkflowFunctions)
- Add the adapter type in the package.json
There is a breaking change as well - getDevice had to be renamed getDevices as there is a broker call for getDevice!