0.1.0-master.7ad87e7 • Published 6 years ago

botframework-webchat-adapter-ic3 v0.1.0-master.7ad87e7

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

IC3 adapter for Bot Framework Web Chat

Build Status

This chat adapter will enable developer using IC3 protocol on Bot Framework Web Chat.

Development

Etiquette

  • Do not delete package-lock.json
  • Keep things as simple, intuitive, and default, as possible

Build

  • npm ci
  • npm start, this will start type-checking, transpiling, and bundling
  • Then, on another window, npm test
    • Jest: run test in watch mode

Artifacts

You can find latest build drops on NPM and this Azure Pipeline.

Test

Jest is our test runner, it includes code coverage report. Run npm test to start Jest in watch mode.

  • /__tests__/ contains all end-to-end or integration tests, on a package perspective
  • /src/**/*.spec.js are unit tests, they are the "specification" of the SUT
  • /src/**/*.test.js verify non-specification part of the SUT

Continouous integration

Continuous integration is set up using Azure Pipeline at https://fuselabs.visualstudio.com/BotFramework-WebChat/_build?definitionId=746&_a=summary.

Continuous deployment

Continuous deployment is set up for NPM and Azure Storage using Azure Pipeline at https://fuselabs.visualstudio.com/BotFramework-WebChat/_release?definitionId=15. It will deploy to the following services.

Azure Storage

Various combinations:

Branch name//0.1.0-branchname.a1b2c3d/branchname/latest
master//0.1.0-master.a1b2c3d/master/latest
enhancer/0.1.0-enhancer.a1b2c3d/enhancer

NPM

Various combinations:

  • npm install botframework-webchat-adapter-ic3@0.1.0-master.a1b2c3d
  • npm install botframework-webchat-adapter-ic3@master
  • npm install botframework-webchat-adapter-ic3
    • This is equivalent to @latest
Version@0.1.0-branchname.a1b2c3d@branchname@latest
master@0.1.0-master.a1b2c3d@master@latest
enhancer@0.1.0-enhancer.a1b2c3d@enhancer