2
0

⬆️ Upgrade dependencies

This commit is contained in:
Baptiste Arnaud
2022-11-15 15:42:13 +01:00
parent 972094425a
commit 8ca9af4911
13 changed files with 2673 additions and 2254 deletions

View File

@ -11,14 +11,14 @@
"test:report": "pnpm playwright show-report" "test:report": "pnpm playwright show-report"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/css-reset": "2.0.8", "@chakra-ui/css-reset": "2.0.10",
"@chakra-ui/react": "2.3.6", "@chakra-ui/react": "2.4.1",
"@codemirror/lang-css": "6.0.1", "@codemirror/lang-css": "6.0.1",
"@codemirror/lang-html": "6.1.3", "@codemirror/lang-html": "6.1.4",
"@codemirror/lang-javascript": "6.1.1", "@codemirror/lang-javascript": "6.1.1",
"@codemirror/lang-json": "6.0.1", "@codemirror/lang-json": "6.0.1",
"@codemirror/lint": "6.0.0", "@codemirror/lint": "6.1.0",
"@codemirror/state": "6.1.2", "@codemirror/state": "6.1.3",
"@dnd-kit/core": "6.0.5", "@dnd-kit/core": "6.0.5",
"@dnd-kit/sortable": "7.0.1", "@dnd-kit/sortable": "7.0.1",
"@dnd-kit/utilities": "3.2.0", "@dnd-kit/utilities": "3.2.0",
@ -28,28 +28,28 @@
"@giphy/js-types": "4.2.1", "@giphy/js-types": "4.2.1",
"@giphy/react-components": "6.2.0", "@giphy/react-components": "6.2.0",
"@googleapis/drive": "4.0.0", "@googleapis/drive": "4.0.0",
"@sentry/nextjs": "7.17.3", "@sentry/nextjs": "7.19.0",
"@stripe/stripe-js": "1.42.1", "@stripe/stripe-js": "1.44.1",
"@tanstack/react-table": "8.5.22", "@tanstack/react-table": "8.5.28",
"@udecode/plate-basic-marks": "18.7.0", "@udecode/plate-basic-marks": "18.9.0",
"@udecode/plate-common": "^7.0.2", "@udecode/plate-common": "^7.0.2",
"@udecode/plate-core": "18.7.0", "@udecode/plate-core": "18.9.0",
"@udecode/plate-link": "18.7.0", "@udecode/plate-link": "18.9.1",
"@udecode/plate-serializer-html": "18.7.0", "@udecode/plate-serializer-html": "18.9.0",
"@udecode/plate-ui-link": "18.7.0", "@udecode/plate-ui-link": "18.9.1",
"@udecode/plate-ui-toolbar": "18.7.0", "@udecode/plate-ui-toolbar": "18.9.0",
"aws-sdk": "2.1245.0", "aws-sdk": "2.1254.0",
"bot-engine": "workspace:*", "bot-engine": "workspace:*",
"browser-image-compression": "2.0.0", "browser-image-compression": "2.0.0",
"canvas-confetti": "1.6.0", "canvas-confetti": "1.6.0",
"codemirror": "6.0.1", "codemirror": "6.0.1",
"cuid": "2.1.8", "cuid": "2.1.8",
"deep-object-diff": "1.1.7", "deep-object-diff": "1.1.9",
"dequal": "2.0.3", "dequal": "2.0.3",
"emojilib": "3.0.7", "emojilib": "3.0.7",
"focus-visible": "5.2.0", "focus-visible": "5.2.0",
"framer-motion": "7.6.4", "framer-motion": "7.6.6",
"google-auth-library": "8.6.0", "google-auth-library": "8.7.0",
"google-spreadsheet": "3.3.0", "google-spreadsheet": "3.3.0",
"got": "12.5.2", "got": "12.5.2",
"htmlparser2": "8.0.1", "htmlparser2": "8.0.1",
@ -59,7 +59,7 @@
"micro": "9.4.1", "micro": "9.4.1",
"micro-cors": "0.1.1", "micro-cors": "0.1.1",
"minio": "7.0.32", "minio": "7.0.32",
"next": "13.0.1", "next": "13.0.3",
"next-auth": "4.12.3", "next-auth": "4.12.3",
"nodemailer": "6.8.0", "nodemailer": "6.8.0",
"nprogress": "0.2.0", "nprogress": "0.2.0",
@ -69,11 +69,11 @@
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-draggable": "4.4.5", "react-draggable": "4.4.5",
"slate": "0.84.0", "slate": "0.85.0",
"slate-history": "0.66.0", "slate-history": "0.85.0",
"slate-hyperscript": "0.77.0", "slate-hyperscript": "0.77.0",
"slate-react": "0.83.2", "slate-react": "0.83.2",
"stripe": "10.15.0", "stripe": "10.17.0",
"styled-components": "5.3.6", "styled-components": "5.3.6",
"svg-round-corners": "0.4.1", "svg-round-corners": "0.4.1",
"swr": "1.3.0", "swr": "1.3.0",
@ -84,10 +84,10 @@
"@faire/mjml-react": "2.1.4" "@faire/mjml-react": "2.1.4"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.19.6", "@babel/core": "7.20.2",
"@chakra-ui/styled-system": "2.3.4", "@chakra-ui/styled-system": "2.3.5",
"@playwright/test": "1.27.1", "@playwright/test": "1.27.1",
"@types/canvas-confetti": "1.4.3", "@types/canvas-confetti": "1.6.0",
"@types/google-spreadsheet": "3.3.0", "@types/google-spreadsheet": "3.3.0",
"@types/jsonwebtoken": "8.5.9", "@types/jsonwebtoken": "8.5.9",
"@types/micro-cors": "0.1.2", "@types/micro-cors": "0.1.2",
@ -98,14 +98,14 @@
"@types/papaparse": "5.3.5", "@types/papaparse": "5.3.5",
"@types/prettier": "2.7.1", "@types/prettier": "2.7.1",
"@types/qs": "6.9.7", "@types/qs": "6.9.7",
"@types/react": "18.0.24", "@types/react": "18.0.25",
"@types/tinycolor2": "1.4.3", "@types/tinycolor2": "1.4.3",
"@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.42.0", "@typescript-eslint/parser": "5.43.0",
"db": "workspace:*", "db": "workspace:*",
"dotenv": "16.0.3", "dotenv": "16.0.3",
"eslint": "8.26.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.1", "eslint-config-next": "13.0.3",
"eslint-plugin-react": "7.31.10", "eslint-plugin-react": "7.31.10",
"models": "workspace:*", "models": "workspace:*",
"next-transpile-modules": "10.0.0", "next-transpile-modules": "10.0.0",

View File

@ -25,7 +25,7 @@ export const EditableEmojiOrImageIcon = ({
}: Props) => { }: Props) => {
return ( return (
<Popover isLazy> <Popover isLazy>
{({ onClose }) => ( {({ onClose }: { onClose: () => void }) => (
<> <>
<Tooltip label="Change icon"> <Tooltip label="Change icon">
<Flex <Flex

View File

@ -8,37 +8,37 @@
"analyze": "cross-env ANALYZE=true next build" "analyze": "cross-env ANALYZE=true next build"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/icon": "3.0.11", "@chakra-ui/icon": "3.0.12",
"@chakra-ui/react": "2.3.6", "@chakra-ui/react": "2.4.1",
"@emotion/react": "11.10.5", "@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5", "@emotion/styled": "11.10.5",
"aos": "2.3.4", "aos": "2.3.4",
"bot-engine": "workspace:*", "bot-engine": "workspace:*",
"focus-visible": "5.2.0", "focus-visible": "5.2.0",
"framer-motion": "7.6.4", "framer-motion": "7.6.6",
"models": "workspace:*", "models": "workspace:*",
"next": "13.0.1", "next": "13.0.3",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"utils": "workspace:*", "utils": "workspace:*",
"db": "workspace:*" "db": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.19.6", "@babel/core": "7.20.2",
"@chakra-ui/styled-system": "2.3.4", "@chakra-ui/styled-system": "2.3.5",
"@next/bundle-analyzer": "13.0.1", "@next/bundle-analyzer": "13.0.3",
"@types/aos": "3.0.4", "@types/aos": "3.0.4",
"@types/node": "18.11.9", "@types/node": "18.11.9",
"@types/react": "18.0.24", "@types/react": "18.0.25",
"@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.42.0", "@typescript-eslint/parser": "5.43.0",
"autoprefixer": "10.4.13", "autoprefixer": "10.4.13",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"eslint": "8.26.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.1", "eslint-config-next": "13.0.3",
"eslint-plugin-react": "7.31.10", "eslint-plugin-react": "7.31.10",
"next-transpile-modules": "10.0.0", "next-transpile-modules": "10.0.0",
"postcss": "8.4.18", "postcss": "8.4.19",
"prettier": "2.7.1", "prettier": "2.7.1",
"typescript": "4.8.4" "typescript": "4.8.4"
} }

View File

@ -11,24 +11,24 @@
"test:report": "pnpm playwright show-report" "test:report": "pnpm playwright show-report"
}, },
"dependencies": { "dependencies": {
"@sentry/nextjs": "7.17.3", "@sentry/nextjs": "7.19.0",
"aws-sdk": "2.1245.0", "aws-sdk": "2.1254.0",
"bot-engine": "*", "bot-engine": "*",
"cors": "2.8.5", "cors": "2.8.5",
"cuid": "2.1.8", "cuid": "2.1.8",
"db": "workspace:*", "db": "workspace:*",
"google-spreadsheet": "3.3.0", "google-spreadsheet": "3.3.0",
"got": "12.5.2", "got": "12.5.2",
"next": "13.0.1", "next": "13.0.3",
"nodemailer": "6.8.0", "nodemailer": "6.8.0",
"qs": "6.11.0", "qs": "6.11.0",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"sanitize-html": "2.7.3", "sanitize-html": "2.7.3",
"stripe": "10.15.0" "stripe": "10.17.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "7.19.4", "@babel/preset-env": "7.20.2",
"@faire/mjml-react": "2.1.4", "@faire/mjml-react": "2.1.4",
"@playwright/test": "1.27.1", "@playwright/test": "1.27.1",
"@types/cors": "2.8.12", "@types/cors": "2.8.12",
@ -37,20 +37,20 @@
"@types/nodemailer": "6.4.6", "@types/nodemailer": "6.4.6",
"@types/papaparse": "5.3.5", "@types/papaparse": "5.3.5",
"@types/qs": "6.9.7", "@types/qs": "6.9.7",
"@types/react": "18.0.24", "@types/react": "18.0.25",
"@types/sanitize-html": "2.6.2", "@types/sanitize-html": "2.6.2",
"@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.42.0", "@typescript-eslint/parser": "5.43.0",
"dotenv": "16.0.3", "dotenv": "16.0.3",
"emails": "workspace:*", "emails": "workspace:*",
"eslint": "8.26.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.1", "eslint-config-next": "13.0.3",
"eslint-plugin-react": "7.31.10", "eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"google-auth-library": "8.6.0", "google-auth-library": "8.7.0",
"models": "workspace:*", "models": "workspace:*",
"next-transpile-modules": "10.0.0", "next-transpile-modules": "10.0.0",
"node-fetch": "^3.2.10", "node-fetch": "^3.3.0",
"papaparse": "5.3.2", "papaparse": "5.3.2",
"typescript": "4.8.4", "typescript": "4.8.4",
"utils": "workspace:*", "utils": "workspace:*",

View File

@ -1,6 +1,6 @@
import test, { expect } from '@playwright/test' import test, { expect } from '@playwright/test'
import cuid from 'cuid' import cuid from 'cuid'
import { HttpMethod } from 'models' import { HttpMethod, Typebot } from 'models'
import { import {
createWebhook, createWebhook,
deleteTypebots, deleteTypebots,
@ -100,9 +100,9 @@ test.describe('API', () => {
const response = await request.get(`/api/typebots`, { const response = await request.get(`/api/typebots`, {
headers: { Authorization: `Bearer ${apiToken}` }, headers: { Authorization: `Bearer ${apiToken}` },
}) })
const { typebots } = (await response.json()) as { typebots: unknown[] } const { typebots } = (await response.json()) as { typebots: Typebot[] }
expect(typebots.length).toBeGreaterThanOrEqual(1) expect(typebots.length).toBeGreaterThanOrEqual(1)
expect(typebots[0]).toMatchObject({ expect(typebots.find((typebot) => typebot.id === typebotId)).toMatchObject({
id: typebotId, id: typebotId,
publishedTypebotId: null, publishedTypebotId: null,
name: 'My typebot', name: 'My typebot',

View File

@ -11,8 +11,8 @@
"lint": "eslint --fix -c ./.eslintrc.js \"./src/**/*.ts*\"" "lint": "eslint --fix -c ./.eslintrc.js \"./src/**/*.ts*\""
}, },
"dependencies": { "dependencies": {
"@stripe/react-stripe-js": "1.14.1", "@stripe/react-stripe-js": "1.15.0",
"@stripe/stripe-js": "1.42.1", "@stripe/stripe-js": "1.44.1",
"prop-types": "15.8.1", "prop-types": "15.8.1",
"qs": "6.11.0", "qs": "6.11.0",
"react-frame-component": "5.2.3", "react-frame-component": "5.2.3",
@ -24,26 +24,26 @@
"devDependencies": { "devDependencies": {
"@types/node": "18.11.9", "@types/node": "18.11.9",
"@types/qs": "6.9.7", "@types/qs": "6.9.7",
"@types/react": "18.0.24", "@types/react": "18.0.25",
"@types/react-phone-number-input": "3.0.14", "@types/react-phone-number-input": "3.0.14",
"@types/react-scroll": "1.8.4", "@types/react-scroll": "1.8.5",
"@types/react-transition-group": "4.4.5", "@types/react-transition-group": "4.4.5",
"@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.42.0", "@typescript-eslint/parser": "5.43.0",
"autoprefixer": "10.4.13", "autoprefixer": "10.4.13",
"baptistearno-tsup": "^0.1.0", "baptistearno-tsup": "^0.1.0",
"db": "workspace:*", "db": "workspace:*",
"eslint": "8.26.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.1", "eslint-config-next": "13.0.3",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1", "eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.10", "eslint-plugin-react": "7.31.10",
"models": "workspace:*", "models": "workspace:*",
"postcss": "8.4.18", "postcss": "8.4.19",
"prettier": "2.7.1", "prettier": "2.7.1",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"tailwindcss": "3.2.1", "tailwindcss": "3.2.4",
"typescript": "4.8.4", "typescript": "4.8.4",
"utils": "workspace:*", "utils": "workspace:*",
"typebot-js": "workspace:*" "typebot-js": "workspace:*"

View File

@ -16,10 +16,10 @@
"migration:deploy": "prisma migrate deploy" "migration:deploy": "prisma migrate deploy"
}, },
"dependencies": { "dependencies": {
"@prisma/client": "4.5.0" "@prisma/client": "4.6.1"
}, },
"devDependencies": { "devDependencies": {
"prisma": "4.5.0", "prisma": "4.6.1",
"typescript": "4.8.4", "typescript": "4.8.4",
"dotenv-cli": "6.0.0" "dotenv-cli": "6.0.0"
} }

View File

@ -16,13 +16,12 @@
"@faire/mjml-react": "2.1.4", "@faire/mjml-react": "2.1.4",
"@types/node": "18.11.9", "@types/node": "18.11.9",
"@types/nodemailer": "6.4.6", "@types/nodemailer": "6.4.6",
"@types/react": "18.0.24", "@types/react": "18.0.25",
"concurrently": "7.5.0", "concurrently": "7.5.0",
"http-server": "14.1.1", "http-server": "14.1.1",
"nodemailer": "6.8.0", "nodemailer": "6.8.0",
"react": "18.2.0", "react": "18.2.0",
"serve": "14.0.1", "tsx": "3.12.1",
"tsx": "3.11.0",
"utils": "workspace:*" "utils": "workspace:*"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"typescript": "4.8.4", "typescript": "4.8.4",
"next": "13.0.1", "next": "13.0.3",
"db": "workspace:*" "db": "workspace:*"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -16,7 +16,7 @@
"emails": "workspace:*", "emails": "workspace:*",
"got": "12.5.2", "got": "12.5.2",
"models": "workspace:*", "models": "workspace:*",
"tsx": "3.11.0", "tsx": "3.12.1",
"typescript": "4.8.4", "typescript": "4.8.4",
"utils": "workspace:*" "utils": "workspace:*"
} }

View File

@ -11,16 +11,16 @@
"test": "pnpm jest" "test": "pnpm jest"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "29.2.1", "@types/jest": "29.2.3",
"@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.42.0", "@typescript-eslint/parser": "5.43.0",
"baptistearno-tsup": "^0.1.0", "baptistearno-tsup": "^0.1.0",
"eslint": "8.26.0", "eslint": "8.27.0",
"eslint-plugin-functional": "4.4.1", "eslint-plugin-functional": "4.4.1",
"eslint-plugin-jest": "27.1.3", "eslint-plugin-jest": "27.1.5",
"eslint-plugin-prettier": "4.2.1", "eslint-plugin-prettier": "4.2.1",
"jest": "29.2.2", "jest": "29.3.1",
"jest-environment-jsdom": "29.2.2", "jest-environment-jsdom": "29.3.1",
"prettier": "2.7.1", "prettier": "2.7.1",
"ts-jest": "29.0.3", "ts-jest": "29.0.3",
"typescript": "4.8.4" "typescript": "4.8.4"

View File

@ -8,11 +8,11 @@
"devDependencies": { "devDependencies": {
"@playwright/test": "1.27.1", "@playwright/test": "1.27.1",
"@types/nodemailer": "6.4.6", "@types/nodemailer": "6.4.6",
"aws-sdk": "2.1245.0", "aws-sdk": "2.1254.0",
"cuid": "2.1.8", "cuid": "2.1.8",
"db": "workspace:*", "db": "workspace:*",
"models": "workspace:*", "models": "workspace:*",
"next": "13.0.1", "next": "13.0.3",
"nodemailer": "6.8.0", "nodemailer": "6.8.0",
"typescript": "4.8.4" "typescript": "4.8.4"
}, },

4758
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff