botframework-webchat-adapter-ic3 v0.1.0-master.7ad87e7
IC3 adapter for Bot Framework Web Chat
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 cinpm start, this will start type-checking, transpiling, and bundling- Babel: transpile to ES5, with
forceAllTransformsset totrue - TypeScript: type-check and emit
/lib/*.d.tsdeclarations - Webpack: bundle to
/dist/*.js
- Babel: transpile to ES5, with
- 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.
- Bundles
botframework-webchat-adapter-ic3.development.jsbotframework-webchat-adapter-ic3.production.min.js- Both contains a
window.Microsoft.BotFramework.WebChat.Adapter.IC3class
- Tarball
botframework-webchat-adapter-ic3package- When imported, it will have an
IC3Adapterclass
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.jsare unit tests, they are the "specification" of the SUT/src/**/*.test.jsverify 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.
- NPM
- Unpkg (unofficial mirror)
- You should always use Subresource Integrity to protect from MITM attack
botframework-webchat-adapter-ic3.development.jsbotframework-webchat-adapter-ic3.production.min.js
- Azure Storage (temporary)
Azure Storage
Various combinations:
- https://.../webchat-ic3adapter/botframework-webchat-adapter-ic3.production.min.js
- This is special case and will be taken out in about a month
- https://.../webchat-ic3adapter/0.1.0-master.a1b2c3d/botframework-webchat-adapter-ic3.production.min.js
- https://.../webchat-ic3adapter/master/botframework-webchat-adapter-ic3.production.min.js
- https://.../webchat-ic3adapter/latest/botframework-webchat-adapter-ic3.production.min.js
| 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.a1b2c3dnpm install botframework-webchat-adapter-ic3@masternpm install botframework-webchat-adapter-ic3- This is equivalent to
@latest
- This is equivalent to
| Version | @0.1.0-branchname.a1b2c3d | @branchname | @latest |
|---|---|---|---|
master | ✅ @0.1.0-master.a1b2c3d | ✅ @master | ✅ @latest |
enhancer | ✅ @0.1.0-enhancer.a1b2c3d | ✅ @enhancer | ❌ |
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago