♻️ Export bot-engine code into its own package
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
"@udecode/plate-common": "^21.1.5",
|
||||
"eventsource-parser": "^1.0.0",
|
||||
"solid-element": "1.7.1",
|
||||
"solid-js": "1.7.8"
|
||||
"solid-js": "1.7.8",
|
||||
"@typebot.io/bot-engine": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-typescript": "7.22.5",
|
||||
|
||||
@@ -5,7 +5,7 @@ import { PlateBlock } from './plate/PlateBlock'
|
||||
import { computePlainText } from '../helpers/convertRichTextToPlainText'
|
||||
import { clsx } from 'clsx'
|
||||
import { isMobile } from '@/utils/isMobileSignal'
|
||||
import { computeTypingDuration } from '@typebot.io/lib/computeTypingDuration'
|
||||
import { computeTypingDuration } from '@typebot.io/bot-engine/computeTypingDuration'
|
||||
|
||||
type Props = {
|
||||
content: TextBubbleContent
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"outDir": "dist",
|
||||
"noEmit": false,
|
||||
"emitDeclarationOnly": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user