Skip to content

Commit

Permalink
feat: release next react-chat library (DSN-2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
effervescentia committed Nov 15, 2024
1 parent 0d148e1 commit 753b263
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 84 deletions.
2 changes: 1 addition & 1 deletion apps/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"start": "next start"
},
"dependencies": {
"@voiceflow/chat": "workspace:*",
"@voiceflow/react-chat": "workspace:*",
"next": "14.2.13",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/documentation/src/components/StoryEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react';
import type { DecoratorFunction } from '@storybook/types';
import { useEffect, useMemo, useState } from 'react';

const Stories = typeof window !== 'undefined' ? require('@voiceflow/chat/stories') : {};
const Stories = typeof window !== 'undefined' ? require('@voiceflow/react-chat/stories') : {};

const ComponentNotFound: React.FC = () => <h2>🚨 Component not found! 🚨</h2>;

Expand Down
2 changes: 1 addition & 1 deletion apps/documentation/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'regenerator-runtime/runtime';
import '@/styles/globals.css';
import '@voiceflow/chat/dist/style.css';
import '@voiceflow/react-chat/dist/style.css';

import type { AppProps } from 'next/app';

Expand Down
8 changes: 5 additions & 3 deletions packages/chat/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@voiceflow/chat",
"version": "0.42.1",
"private": true,
"name": "@voiceflow/react-chat",
"version": "2.0.0",
"description": "voiceflow chat ui",
"keywords": [
"chat",
Expand Down Expand Up @@ -150,5 +149,8 @@
},
"volta": {
"extends": "../../package.json"
},
"publishConfig": {
"tag": "next"
}
}
3 changes: 2 additions & 1 deletion packages/react-chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@voiceflow/react-chat",
"name": "@voiceflow/react-chat-legacy",
"version": "1.65.2",
"private": true,
"description": "voiceflow chat ui kit",
"keywords": [
"chat widget",
Expand Down
154 changes: 77 additions & 77 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7434,80 +7434,6 @@ __metadata:
languageName: node
linkType: hard

"@voiceflow/chat@workspace:*, @voiceflow/chat@workspace:packages/chat":
version: 0.0.0-use.local
resolution: "@voiceflow/chat@workspace:packages/chat"
dependencies:
"@babel/core": 7.18.10
"@babel/preset-env": 7.24.1
"@babel/preset-react": 7.24.1
"@babel/preset-typescript": 7.24.1
"@emotion/core": 10.1.1
"@playwright/test": 1.43.1
"@storybook/addon-actions": 8.0.2
"@storybook/addon-essentials": 8.0.2
"@storybook/addon-interactions": 8.0.2
"@storybook/addon-links": 8.0.2
"@storybook/builder-vite": 8.0.2
"@storybook/eslint-config-storybook": 3.1.2
"@storybook/react": 8.0.2
"@storybook/react-vite": 8.0.2
"@storybook/testing-library": 0.0.13
"@testing-library/jest-dom": 6.4.2
"@testing-library/react": 15.0.2
"@types/chroma-js": 2.1.4
"@types/node": 20.12.7
"@types/react": 18.2.8
"@types/react-dom": 18.2.4
"@types/react-speech-recognition": ^3.9.5
"@types/react-syntax-highlighter": 15.5.13
"@vanilla-extract/css": 1.15.5
"@vanilla-extract/dynamic": 2.1.2
"@vanilla-extract/recipes": 0.5.5
"@vanilla-extract/vite-plugin": 4.0.15
"@vitejs/plugin-react": 4.2.1
"@voiceflow/base-types": 2.113.1
"@voiceflow/dtos-interact": 1.1.0
"@voiceflow/sdk-runtime": "workspace:*"
"@voiceflow/slate-serializer": 1.5.5
"@voiceflow/test-common": 1.10.3
"@voiceflow/voiceflow-types": 3.32.1
bowser: 2.11.0
chroma-js: 2.4.2
chromatic: 11.2.0
clsx: 1.2.1
cuid: 2.1.8
eslint-plugin-mdx: 3.1.5
eslint-plugin-storybook: 0.8.0
happy-dom: 14.7.1
http-server: 14.1.1
react: 18.2.0
react-dom: 18.2.0
react-markdown: 9.0.0
react-speech-recognition: 3.10.0
react-syntax-highlighter: 15.5.0
react-textarea-autosize: 8.5.3
regenerator-runtime: 0.13.11
remark-gfm: 4.0.0
slate: 0.94.1
storybook: 8.0.2
storybook-dark-mode: 1.1.0
ts-pattern: 4.3.0
tsc-alias: 1.8.8
type-fest: 2.18.1
vite: 5.2.9
vite-plugin-dts: 3.8.3
vite-plugin-fonts: 0.7.0
vite-plugin-html: 3.2.2
vite-plugin-svgr: 4.2.0
vite-tsconfig-paths: 4.3.2
zod: 3.22.4
peerDependencies:
react: ^18
react-dom: ^18
languageName: unknown
linkType: soft

"@voiceflow/commitlint-config@npm:2.3.1":
version: 2.3.1
resolution: "@voiceflow/commitlint-config@npm:2.3.1"
Expand Down Expand Up @@ -7618,9 +7544,9 @@ __metadata:
languageName: node
linkType: hard

"@voiceflow/react-chat@workspace:*, @voiceflow/react-chat@workspace:packages/react-chat":
"@voiceflow/react-chat-legacy@workspace:packages/react-chat":
version: 0.0.0-use.local
resolution: "@voiceflow/react-chat@workspace:packages/react-chat"
resolution: "@voiceflow/react-chat-legacy@workspace:packages/react-chat"
dependencies:
"@babel/core": 7.18.10
"@babel/preset-env": 7.24.1
Expand Down Expand Up @@ -7692,6 +7618,80 @@ __metadata:
languageName: unknown
linkType: soft

"@voiceflow/react-chat@workspace:*, @voiceflow/react-chat@workspace:packages/chat":
version: 0.0.0-use.local
resolution: "@voiceflow/react-chat@workspace:packages/chat"
dependencies:
"@babel/core": 7.18.10
"@babel/preset-env": 7.24.1
"@babel/preset-react": 7.24.1
"@babel/preset-typescript": 7.24.1
"@emotion/core": 10.1.1
"@playwright/test": 1.43.1
"@storybook/addon-actions": 8.0.2
"@storybook/addon-essentials": 8.0.2
"@storybook/addon-interactions": 8.0.2
"@storybook/addon-links": 8.0.2
"@storybook/builder-vite": 8.0.2
"@storybook/eslint-config-storybook": 3.1.2
"@storybook/react": 8.0.2
"@storybook/react-vite": 8.0.2
"@storybook/testing-library": 0.0.13
"@testing-library/jest-dom": 6.4.2
"@testing-library/react": 15.0.2
"@types/chroma-js": 2.1.4
"@types/node": 20.12.7
"@types/react": 18.2.8
"@types/react-dom": 18.2.4
"@types/react-speech-recognition": ^3.9.5
"@types/react-syntax-highlighter": 15.5.13
"@vanilla-extract/css": 1.15.5
"@vanilla-extract/dynamic": 2.1.2
"@vanilla-extract/recipes": 0.5.5
"@vanilla-extract/vite-plugin": 4.0.15
"@vitejs/plugin-react": 4.2.1
"@voiceflow/base-types": 2.113.1
"@voiceflow/dtos-interact": 1.1.0
"@voiceflow/sdk-runtime": "workspace:*"
"@voiceflow/slate-serializer": 1.5.5
"@voiceflow/test-common": 1.10.3
"@voiceflow/voiceflow-types": 3.32.1
bowser: 2.11.0
chroma-js: 2.4.2
chromatic: 11.2.0
clsx: 1.2.1
cuid: 2.1.8
eslint-plugin-mdx: 3.1.5
eslint-plugin-storybook: 0.8.0
happy-dom: 14.7.1
http-server: 14.1.1
react: 18.2.0
react-dom: 18.2.0
react-markdown: 9.0.0
react-speech-recognition: 3.10.0
react-syntax-highlighter: 15.5.0
react-textarea-autosize: 8.5.3
regenerator-runtime: 0.13.11
remark-gfm: 4.0.0
slate: 0.94.1
storybook: 8.0.2
storybook-dark-mode: 1.1.0
ts-pattern: 4.3.0
tsc-alias: 1.8.8
type-fest: 2.18.1
vite: 5.2.9
vite-plugin-dts: 3.8.3
vite-plugin-fonts: 0.7.0
vite-plugin-html: 3.2.2
vite-plugin-svgr: 4.2.0
vite-tsconfig-paths: 4.3.2
zod: 3.22.4
peerDependencies:
react: ^18
react-dom: ^18
languageName: unknown
linkType: soft

"@voiceflow/sdk-runtime@workspace:*, @voiceflow/sdk-runtime@workspace:packages/sdk-runtime":
version: 0.0.0-use.local
resolution: "@voiceflow/sdk-runtime@workspace:packages/sdk-runtime"
Expand Down Expand Up @@ -10932,7 +10932,7 @@ __metadata:
"@types/react": 18.2.8
"@types/react-dom": 18.2.4
"@vanilla-extract/next-plugin": ^2.4.6
"@voiceflow/chat": "workspace:*"
"@voiceflow/react-chat": "workspace:*"
next: 14.2.13
nextra: ^3.0.2
nextra-theme-docs: ^3.0.2
Expand Down

0 comments on commit 753b263

Please sign in to comment.