2
0

💚 Revert rollup upgrade to make it work with turbo dev

This commit is contained in:
Baptiste Arnaud
2023-05-03 08:29:13 -04:00
parent 5f0a99ee66
commit f2d31745ca
7 changed files with 38 additions and 30 deletions

View File

@ -33,7 +33,7 @@
"eslint-plugin-solid": "0.12.1",
"postcss": "8.4.23",
"react": "18.2.0",
"rollup": "3.21.3",
"rollup": "3.20.2",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript-paths": "1.4.0",
"tailwindcss": "3.3.2",

View File

@ -26,6 +26,8 @@ export const Avatar = (props: { initialAvatarSrc?: string }) => {
src={avatarSrc()}
alt="Bot avatar"
class="rounded-full object-cover w-full h-full"
elementtiming={'Bot avatar'}
fetchpriority={'high'}
/>
</figure>
</Show>

View File

@ -50,6 +50,8 @@ export const ImageBubble = (props: Props) => {
'max-height': '512px',
height: isTyping() ? '32px' : 'auto',
}}
elementtiming={'Bubble image'}
fetchpriority={'high'}
/>
)

View File

@ -49,6 +49,8 @@ export const BubbleButton = (props: Props) => {
(props.size === 'large' ? ' w-9 h-9' : ' w-7 h-7')
}
alt="Bubble button icon"
elementtiming={'Bubble button icon'}
fetchpriority={'high'}
/>
</Show>

View File

@ -50,6 +50,8 @@ export const PreviewMessage = (props: PreviewMessageProps) => {
src={avatarUrl}
class="rounded-full w-8 h-8 object-cover"
alt="Bot avatar"
elementtiming={'Bot avatar'}
fetchpriority={'high'}
/>
)}
</Show>

View File

@ -33,7 +33,7 @@
"eslint-config-custom": "workspace:*",
"@typebot.io/schemas": "workspace:*",
"react": "18.2.0",
"rollup": "3.21.3",
"rollup": "3.20.2",
"rollup-plugin-typescript-paths": "1.4.0",
"@typebot.io/tsconfig": "workspace:*",
"tslib": "2.5.0",

56
pnpm-lock.yaml generated
View File

@ -825,16 +825,16 @@ importers:
version: 7.21.5(@babel/core@7.21.8)
'@rollup/plugin-babel':
specifier: 6.0.3
version: 6.0.3(@babel/core@7.21.8)(rollup@3.21.3)
version: 6.0.3(@babel/core@7.21.8)(rollup@3.20.2)
'@rollup/plugin-node-resolve':
specifier: 15.0.2
version: 15.0.2(rollup@3.21.3)
version: 15.0.2(rollup@3.20.2)
'@rollup/plugin-terser':
specifier: 0.4.1
version: 0.4.1(rollup@3.21.3)
version: 0.4.1(rollup@3.20.2)
'@rollup/plugin-typescript':
specifier: 11.1.0
version: 11.1.0(rollup@3.21.3)(tslib@2.5.0)(typescript@5.0.4)
version: 11.1.0(rollup@3.20.2)(tslib@2.5.0)(typescript@5.0.4)
'@typebot.io/lib':
specifier: workspace:*
version: link:../../lib
@ -866,8 +866,8 @@ importers:
specifier: 18.2.0
version: 18.2.0
rollup:
specifier: 3.21.3
version: 3.21.3
specifier: 3.20.2
version: 3.20.2
rollup-plugin-postcss:
specifier: 4.0.2
version: 4.0.2(postcss@8.4.23)
@ -895,16 +895,16 @@ importers:
version: 7.21.5(@babel/core@7.21.8)
'@rollup/plugin-babel':
specifier: 6.0.3
version: 6.0.3(@babel/core@7.21.8)(rollup@3.21.3)
version: 6.0.3(@babel/core@7.21.8)(rollup@3.20.2)
'@rollup/plugin-node-resolve':
specifier: 15.0.2
version: 15.0.2(rollup@3.21.3)
version: 15.0.2(rollup@3.20.2)
'@rollup/plugin-terser':
specifier: 0.4.1
version: 0.4.1(rollup@3.21.3)
version: 0.4.1(rollup@3.20.2)
'@rollup/plugin-typescript':
specifier: 11.1.0
version: 11.1.0(rollup@3.21.3)(tslib@2.5.0)(typescript@5.0.4)
version: 11.1.0(rollup@3.20.2)(tslib@2.5.0)(typescript@5.0.4)
'@typebot.io/js':
specifier: workspace:*
version: link:../js
@ -936,8 +936,8 @@ importers:
specifier: 18.2.0
version: 18.2.0
rollup:
specifier: 3.21.3
version: 3.21.3
specifier: 3.20.2
version: 3.20.2
rollup-plugin-typescript-paths:
specifier: 1.4.0
version: 1.4.0(typescript@5.0.4)
@ -7953,7 +7953,7 @@ packages:
reselect: 4.1.7
dev: false
/@rollup/plugin-babel@6.0.3(@babel/core@7.21.8)(rollup@3.21.3):
/@rollup/plugin-babel@6.0.3(@babel/core@7.21.8)(rollup@3.20.2):
resolution: {integrity: sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -7968,8 +7968,8 @@ packages:
dependencies:
'@babel/core': 7.21.8
'@babel/helper-module-imports': 7.18.6
'@rollup/pluginutils': 5.0.2(rollup@3.21.3)
rollup: 3.21.3
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
rollup: 3.20.2
dev: true
/@rollup/plugin-commonjs@24.0.0(rollup@2.78.0):
@ -7990,7 +7990,7 @@ packages:
rollup: 2.78.0
dev: false
/@rollup/plugin-node-resolve@15.0.2(rollup@3.21.3):
/@rollup/plugin-node-resolve@15.0.2(rollup@3.20.2):
resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -7999,16 +7999,16 @@ packages:
rollup:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.2(rollup@3.21.3)
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
'@types/resolve': 1.20.2
deepmerge: 4.3.1
is-builtin-module: 3.2.1
is-module: 1.0.0
resolve: 1.22.1
rollup: 3.21.3
rollup: 3.20.2
dev: true
/@rollup/plugin-terser@0.4.1(rollup@3.21.3):
/@rollup/plugin-terser@0.4.1(rollup@3.20.2):
resolution: {integrity: sha512-aKS32sw5a7hy+fEXVy+5T95aDIwjpGHCTv833HXVtyKMDoVS7pBr5K3L9hEQoNqbJFjfANPrNpIXlTQ7is00eA==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -8017,13 +8017,13 @@ packages:
rollup:
optional: true
dependencies:
rollup: 3.21.3
rollup: 3.20.2
serialize-javascript: 6.0.1
smob: 0.0.6
terser: 5.16.6
dev: true
/@rollup/plugin-typescript@11.1.0(rollup@3.21.3)(tslib@2.5.0)(typescript@5.0.4):
/@rollup/plugin-typescript@11.1.0(rollup@3.20.2)(tslib@2.5.0)(typescript@5.0.4):
resolution: {integrity: sha512-86flrfE+bSHB69znnTV6kVjkncs2LBMhcTCyxWgRxLyfXfQrxg4UwlAqENnjrrxnSNS/XKCDJCl8EkdFJVHOxw==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -8036,9 +8036,9 @@ packages:
tslib:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.2(rollup@3.21.3)
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
resolve: 1.22.1
rollup: 3.21.3
rollup: 3.20.2
tslib: 2.5.0
typescript: 5.0.4
dev: true
@ -8058,7 +8058,7 @@ packages:
rollup: 2.78.0
dev: false
/@rollup/pluginutils@5.0.2(rollup@3.21.3):
/@rollup/pluginutils@5.0.2(rollup@3.20.2):
resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -8070,7 +8070,7 @@ packages:
'@types/estree': 1.0.0
estree-walker: 2.0.2
picomatch: 2.3.1
rollup: 3.21.3
rollup: 3.20.2
dev: true
/@rushstack/eslint-patch@1.2.0:
@ -20295,8 +20295,8 @@ packages:
fsevents: 2.3.2
dev: true
/rollup@3.21.3:
resolution: {integrity: sha512-VnPfEG51nIv2xPLnZaekkuN06q9ZbnyDcLkaBdJa/W7UddyhOfMP2yOPziYQfeY7k++fZM8FdQIummFN5y14kA==}
/rollup@3.20.2:
resolution: {integrity: sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true
optionalDependencies:
@ -22483,7 +22483,7 @@ packages:
esbuild: 0.17.12
postcss: 8.4.23
resolve: 1.22.2
rollup: 3.21.3
rollup: 3.20.2
optionalDependencies:
fsevents: 2.3.2
dev: false