@cognigy/chat-components
v0.84.0
Published
[](https://github.com/Cognigy/chat-components/actions/workflows/lint.yml) [.
Choose an example or enter your own Markdown, then select Replay streaming.
It sends eight-character chunks every 250 ms with Markdown and progressive
rendering enabled; watch the message while it arrives and compare its finished
output with the editor. The existing message examples appear below the replay
controls. The former /#streaming-markdown-lab URL also opens this tab.
To test in local Webchat v3 build:
- In /chat-components run
npm ci && npm pack - In /Webchat folder run npm i with the correct relative path and file name, e.g.
npm i ../chat-components/cognigy-chat-components-0.36.1.tgz
Release
npm version patch
or
npm version minor
It will bump the version in package.json, commit it and create a git tag.
Push the changes to the GitHub and create a PR.
If the bump fails the dom-compat "FIX_VERSION" guard test, the skip block in
test/dom-compat.spec.tsx expects a different release number — see docs/accessibility.md.
After the PR is merged:
git push --tags
This will trigger the GitHub Action to create a release on GitHub and will publish the package to npm.
Both release.yml and publish.yml trigger on the tag push itself. Creating a
GitHub release by hand does not publish to npm — if a publish run fails, re-run
it against the existing tag instead:
gh workflow run publish.yml --ref <tag>
Dispatch against a tag ref (e.g. v1.2.3), never a branch. Publishing is guarded
to refs/tags/v* and will skip on anything else.
