2
0

⬆️ Upgrade dependencies

This commit is contained in:
Baptiste Arnaud
2023-01-28 14:42:50 +01:00
parent bfd85b4fd3
commit 201939f8a3
16 changed files with 1713 additions and 1542 deletions

View File

@@ -35,49 +35,49 @@
"@giphy/react-components": "6.5.2", "@giphy/react-components": "6.5.2",
"@googleapis/drive": "4.0.1", "@googleapis/drive": "4.0.1",
"@lezer/css": "^1.1.1", "@lezer/css": "^1.1.1",
"@sentry/nextjs": "7.31.1", "@sentry/nextjs": "7.34.0",
"@stripe/stripe-js": "1.46.0", "@stripe/stripe-js": "1.46.0",
"@tanstack/react-query": "^4.22.0", "@tanstack/react-query": "^4.23.0",
"@tanstack/react-table": "8.7.6", "@tanstack/react-table": "8.7.8",
"@trpc/client": "10.9.0", "@trpc/client": "10.9.0",
"@trpc/next": "10.9.0", "@trpc/next": "10.9.0",
"@trpc/react-query": "10.9.0", "@trpc/react-query": "10.9.0",
"@trpc/server": "10.9.0", "@trpc/server": "10.9.0",
"@udecode/plate-basic-marks": "19.0.3", "@udecode/plate-basic-marks": "19.2.0",
"@udecode/plate-common": "^7.0.2", "@udecode/plate-common": "^7.0.2",
"@udecode/plate-core": "19.0.3", "@udecode/plate-core": "19.2.0",
"@udecode/plate-link": "19.0.3", "@udecode/plate-link": "19.2.0",
"@udecode/plate-serializer-html": "19.0.3", "@udecode/plate-serializer-html": "19.2.0",
"@udecode/plate-ui-link": "19.0.3", "@udecode/plate-ui-link": "19.2.0",
"@udecode/plate-ui-toolbar": "19.0.3", "@udecode/plate-ui-toolbar": "19.2.0",
"@use-gesture/react": "^10.2.23", "@use-gesture/react": "^10.2.24",
"aws-sdk": "2.1299.0", "aws-sdk": "2.1304.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",
"chakra-react-select": "^4.4.3", "chakra-react-select": "^4.4.3",
"codemirror": "6.0.1", "codemirror": "6.0.1",
"cuid": "2.1.8", "cuid": "3.0.0",
"deep-object-diff": "1.1.9", "deep-object-diff": "1.1.9",
"dequal": "2.0.3", "dequal": "2.0.3",
"emails": "workspace:*", "emails": "workspace:*",
"emojilib": "3.0.8", "emojilib": "3.0.8",
"focus-visible": "5.2.0", "focus-visible": "5.2.0",
"framer-motion": "8.5.0", "framer-motion": "8.5.4",
"google-auth-library": "8.7.0", "google-auth-library": "8.7.0",
"google-spreadsheet": "3.3.0", "google-spreadsheet": "3.3.0",
"got": "12.5.3", "got": "12.5.3",
"htmlparser2": "8.0.1", "htmlparser2": "8.0.1",
"immer": "9.0.18", "immer": "9.0.19",
"js-video-url-parser": "0.5.1", "js-video-url-parser": "0.5.1",
"jsonwebtoken": "9.0.0", "jsonwebtoken": "9.0.0",
"micro": "10.0.1", "micro": "10.0.1",
"micro-cors": "0.1.1", "micro-cors": "0.1.1",
"minio": "7.0.32", "minio": "7.0.32",
"next": "13.1.4", "next": "13.1.6",
"next-auth": "4.18.8", "next-auth": "4.19.0",
"nextjs-cors": "^2.1.2", "nextjs-cors": "^2.1.2",
"nodemailer": "6.9.0", "nodemailer": "6.9.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"papaparse": "5.3.2", "papaparse": "5.3.2",
"prettier": "2.8.3", "prettier": "2.8.3",
@@ -88,19 +88,19 @@
"slate-history": "0.86.0", "slate-history": "0.86.0",
"slate-hyperscript": "0.77.0", "slate-hyperscript": "0.77.0",
"slate-react": "0.88.2", "slate-react": "0.88.2",
"stripe": "11.7.0", "stripe": "11.8.0",
"styled-components": "5.3.6", "styled-components": "5.3.6",
"svg-round-corners": "0.4.1", "svg-round-corners": "0.4.1",
"swr": "2.0.1", "swr": "2.0.3",
"tinycolor2": "1.5.2", "tinycolor2": "1.5.2",
"trpc-openapi": "1.1.1", "trpc-openapi": "1.1.2",
"typebot-js": "workspace:*", "typebot-js": "workspace:*",
"use-debounce": "9.0.3" "use-debounce": "9.0.3"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.20.12", "@babel/core": "7.20.12",
"@chakra-ui/styled-system": "2.5.1", "@chakra-ui/styled-system": "2.5.1",
"@playwright/test": "1.29.2", "@playwright/test": "1.30.0",
"@types/canvas-confetti": "1.6.0", "@types/canvas-confetti": "1.6.0",
"@types/google-spreadsheet": "3.3.0", "@types/google-spreadsheet": "3.3.0",
"@types/jsonwebtoken": "9.0.1", "@types/jsonwebtoken": "9.0.1",

View File

@@ -26,6 +26,7 @@ test('should be configurable', async ({ page }) => {
await expect(page).toHaveURL( await expect(page).toHaveURL(
`/typebots/${linkedTypebotId}/edit?parentId=${typebotId}` `/typebots/${linkedTypebotId}/edit?parentId=${typebotId}`
) )
await page.waitForTimeout(500)
await page.click('[aria-label="Navigate back"]') await page.click('[aria-label="Navigate back"]')
await expect(page).toHaveURL(`/typebots/${typebotId}/edit`) await expect(page).toHaveURL(`/typebots/${typebotId}/edit`)
await page.click('text=Jump in My link typebot 2') await page.click('text=Jump in My link typebot 2')

View File

@@ -118,7 +118,11 @@ export const CustomDomainModal = ({
<Stack> <Stack>
<Text fontWeight="bold">Value</Text> <Text fontWeight="bold">Value</Text>
<Text> <Text>
{env('VIEWER_INTERNAL_URL') ?? getViewerUrl()} {
new URL(
env('VIEWER_INTERNAL_URL') ?? getViewerUrl() ?? ''
).hostname
}
</Text> </Text>
</Stack> </Stack>
</HStack> </HStack>

View File

@@ -16,10 +16,10 @@
"api:generate": "tsx --tsconfig ../builder/tsconfig.json ../builder/src/utils/server/generateOpenApi.ts && tsx --tsconfig ../viewer/openapi.tsconfig.json ../viewer/src/utils/server/generateOpenApi.ts" "api:generate": "tsx --tsconfig ../builder/tsconfig.json ../builder/src/utils/server/generateOpenApi.ts && tsx --tsconfig ../viewer/openapi.tsconfig.json ../viewer/src/utils/server/generateOpenApi.ts"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "2.2.0", "@docusaurus/core": "2.3.0",
"@docusaurus/preset-classic": "2.2.0", "@docusaurus/preset-classic": "2.3.0",
"@docusaurus/theme-common": "2.2.0", "@docusaurus/theme-common": "2.3.0",
"@docusaurus/theme-search-algolia": "2.2.0", "@docusaurus/theme-search-algolia": "2.3.0",
"@mdx-js/react": "1.6.22", "@mdx-js/react": "1.6.22",
"@svgr/webpack": "6.5.1", "@svgr/webpack": "6.5.1",
"@typebot.io/docusaurus-preset-openapi": "0.6.5", "@typebot.io/docusaurus-preset-openapi": "0.6.5",
@@ -44,7 +44,7 @@
}, },
"devDependencies": { "devDependencies": {
"@algolia/client-search": "4.14.3", "@algolia/client-search": "4.14.3",
"@docusaurus/types": "^2.2.0", "@docusaurus/types": "^2.3.0",
"@types/react": "18.0.27", "@types/react": "18.0.27",
"tsx": "3.12.2", "tsx": "3.12.2",
"typescript": "4.9.4", "typescript": "4.9.4",

View File

@@ -20,9 +20,9 @@
"aos": "2.3.4", "aos": "2.3.4",
"db": "workspace:*", "db": "workspace:*",
"focus-visible": "5.2.0", "focus-visible": "5.2.0",
"framer-motion": "8.5.0", "framer-motion": "8.5.4",
"models": "workspace:*", "models": "workspace:*",
"next": "13.1.4", "next": "13.1.6",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"utils": "workspace:*" "utils": "workspace:*"
@@ -30,7 +30,7 @@
"devDependencies": { "devDependencies": {
"@babel/core": "7.20.12", "@babel/core": "7.20.12",
"@chakra-ui/styled-system": "2.5.1", "@chakra-ui/styled-system": "2.5.1",
"@next/bundle-analyzer": "13.1.4", "@next/bundle-analyzer": "13.1.6",
"@types/aos": "3.0.4", "@types/aos": "3.0.4",
"@types/node": "18.11.18", "@types/node": "18.11.18",
"@types/react": "18.0.27", "@types/react": "18.0.27",

View File

@@ -13,31 +13,31 @@
"test:report": "pnpm playwright show-report" "test:report": "pnpm playwright show-report"
}, },
"dependencies": { "dependencies": {
"@sentry/nextjs": "7.31.1", "@sentry/nextjs": "7.34.0",
"@trpc/server": "10.9.0", "@trpc/server": "10.9.0",
"@typebot.io/js": "workspace:*", "@typebot.io/js": "workspace:*",
"@typebot.io/react": "workspace:*", "@typebot.io/react": "workspace:*",
"aws-sdk": "2.1299.0", "aws-sdk": "2.1304.0",
"bot-engine": "workspace:*", "bot-engine": "workspace:*",
"cors": "2.8.5", "cors": "2.8.5",
"cuid": "2.1.8", "cuid": "3.0.0",
"db": "workspace:*", "db": "workspace:*",
"google-spreadsheet": "3.3.0", "google-spreadsheet": "3.3.0",
"got": "12.5.3", "got": "12.5.3",
"next": "13.1.4", "next": "13.1.6",
"nextjs-cors": "^2.1.2", "nextjs-cors": "^2.1.2",
"nodemailer": "6.9.0", "nodemailer": "6.9.1",
"phone": "^3.1.32", "phone": "^3.1.32",
"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",
"stripe": "11.7.0", "stripe": "11.8.0",
"trpc-openapi": "1.1.1" "trpc-openapi": "1.1.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "7.20.2", "@babel/preset-env": "7.20.2",
"@faire/mjml-react": "3.1.0", "@faire/mjml-react": "3.1.0",
"@playwright/test": "1.29.2", "@playwright/test": "1.30.0",
"@types/cors": "2.8.13", "@types/cors": "2.8.13",
"@types/google-spreadsheet": "3.3.0", "@types/google-spreadsheet": "3.3.0",
"@types/node": "18.11.18", "@types/node": "18.11.18",
@@ -46,7 +46,6 @@
"@types/qs": "6.9.7", "@types/qs": "6.9.7",
"@types/react": "18.0.27", "@types/react": "18.0.27",
"@types/sanitize-html": "2.8.0", "@types/sanitize-html": "2.8.0",
"cuid": "2.1.8",
"dotenv": "16.0.3", "dotenv": "16.0.3",
"emails": "workspace:*", "emails": "workspace:*",
"eslint": "8.32.0", "eslint": "8.32.0",

View File

@@ -15,7 +15,7 @@
"@stripe/stripe-js": "1.46.0", "@stripe/stripe-js": "1.46.0",
"prop-types": "15.8.1", "prop-types": "15.8.1",
"qs": "6.11.0", "qs": "6.11.0",
"react-frame-component": "5.2.4", "react-frame-component": "5.2.6",
"react-phone-number-input": "3.2.16", "react-phone-number-input": "3.2.16",
"react-scroll": "1.8.9", "react-scroll": "1.8.9",
"react-transition-group": "4.4.5", "react-transition-group": "4.4.5",
@@ -30,7 +30,7 @@
"@types/react-transition-group": "4.4.5", "@types/react-transition-group": "4.4.5",
"autoprefixer": "10.4.13", "autoprefixer": "10.4.13",
"db": "workspace:*", "db": "workspace:*",
"esbuild": "^0.17.3", "esbuild": "^0.17.5",
"eslint": "8.32.0", "eslint": "8.32.0",
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"models": "workspace:*", "models": "workspace:*",

View File

@@ -20,7 +20,7 @@
"@types/react": "18.0.27", "@types/react": "18.0.27",
"concurrently": "7.6.0", "concurrently": "7.6.0",
"http-server": "14.1.1", "http-server": "14.1.1",
"nodemailer": "6.9.0", "nodemailer": "6.9.1",
"react": "18.2.0", "react": "18.2.0",
"tsx": "3.12.2", "tsx": "3.12.2",
"utils": "workspace:*", "utils": "workspace:*",

View File

@@ -3,12 +3,12 @@
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"eslint": "8.32.0", "eslint": "8.32.0",
"eslint-config-next": "13.1.4", "eslint-config-next": "13.1.6",
"eslint-config-prettier": "8.6.0", "eslint-config-prettier": "8.6.0",
"eslint-plugin-react": "7.32.1" "eslint-plugin-react": "7.32.1"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.48.2" "@typescript-eslint/parser": "^5.49.0"
} }
} }

View File

@@ -21,7 +21,7 @@
"devDependencies": { "devDependencies": {
"@rollup/plugin-babel": "6.0.3", "@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-node-resolve": "15.0.1", "@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-terser": "^0.3.0", "@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "11.0.0", "@rollup/plugin-typescript": "11.0.0",
"autoprefixer": "10.4.13", "autoprefixer": "10.4.13",
"babel-preset-solid": "1.6.9", "babel-preset-solid": "1.6.9",
@@ -30,8 +30,7 @@
"eslint-plugin-solid": "0.9.3", "eslint-plugin-solid": "0.9.3",
"postcss": "8.4.21", "postcss": "8.4.21",
"react": "18.2.0", "react": "18.2.0",
"rollup": "3.10.1", "rollup": "3.12.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-dts": "5.1.1", "rollup-plugin-dts": "5.1.1",
"rollup-plugin-postcss": "4.0.2", "rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript-paths": "^1.4.0", "rollup-plugin-typescript-paths": "^1.4.0",

View File

@@ -9,9 +9,9 @@
"zod": "3.20.2" "zod": "3.20.2"
}, },
"devDependencies": { "devDependencies": {
"cuid": "2.1.8", "cuid": "3.0.0",
"db": "workspace:*", "db": "workspace:*",
"next": "13.1.4", "next": "13.1.6",
"tsconfig": "workspace:*", "tsconfig": "workspace:*",
"typescript": "4.9.4" "typescript": "4.9.4"
}, },

View File

@@ -16,13 +16,13 @@
"author": "Baptiste Arnaud", "author": "Baptiste Arnaud",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@ladle/react": "^2.4.5" "@ladle/react": "^2.5.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-react": "^7.18.6", "@babel/preset-react": "^7.18.6",
"@rollup/plugin-babel": "6.0.3", "@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-node-resolve": "15.0.1", "@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-terser": "^0.3.0", "@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "11.0.0", "@rollup/plugin-typescript": "11.0.0",
"@typebot.io/js": "workspace:*", "@typebot.io/js": "workspace:*",
"@types/node": "18.11.18", "@types/node": "18.11.18",
@@ -32,10 +32,10 @@
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"models": "workspace:*", "models": "workspace:*",
"react": "18.2.0", "react": "18.2.0",
"rollup": "3.10.0", "rollup": "3.12.0",
"rollup-plugin-typescript-paths": "^1.4.0", "rollup-plugin-typescript-paths": "^1.4.0",
"tsconfig": "workspace:*", "tsconfig": "workspace:*",
"tslib": "^2.4.1", "tslib": "^2.5.0",
"tsx": "3.12.2", "tsx": "3.12.2",
"typescript": "^4.9.4", "typescript": "^4.9.4",
"utils": "workspace:*" "utils": "workspace:*"

View File

@@ -22,7 +22,7 @@
"got": "12.5.3", "got": "12.5.3",
"models": "workspace:*", "models": "workspace:*",
"prompts": "2.4.2", "prompts": "2.4.2",
"stripe": "11.7.0", "stripe": "11.8.0",
"tsx": "3.12.2", "tsx": "3.12.2",
"typescript": "4.9.4", "typescript": "4.9.4",
"utils": "workspace:*", "utils": "workspace:*",

View File

@@ -11,12 +11,12 @@
"test": "pnpm jest" "test": "pnpm jest"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "29.2.6", "@types/jest": "29.4.0",
"tsup": "6.5.0", "tsup": "6.5.0",
"eslint": "8.32.0", "eslint": "8.32.0",
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"jest": "29.3.1", "jest": "29.4.1",
"jest-environment-jsdom": "29.3.1", "jest-environment-jsdom": "29.4.1",
"prettier": "2.8.3", "prettier": "2.8.3",
"ts-jest": "29.0.5", "ts-jest": "29.0.5",
"typescript": "4.9.4", "typescript": "4.9.4",

View File

@@ -6,15 +6,15 @@
"main": "./index.ts", "main": "./index.ts",
"types": "./index.ts", "types": "./index.ts",
"devDependencies": { "devDependencies": {
"@playwright/test": "1.29.2", "@playwright/test": "1.30.0",
"@types/nodemailer": "6.4.7", "@types/nodemailer": "6.4.7",
"aws-sdk": "2.1299.0", "aws-sdk": "2.1304.0",
"cuid": "2.1.8", "cuid": "3.0.0",
"db": "workspace:*", "db": "workspace:*",
"dotenv": "16.0.3", "dotenv": "16.0.3",
"models": "workspace:*", "models": "workspace:*",
"next": "13.1.4", "next": "13.1.6",
"nodemailer": "6.9.0", "nodemailer": "6.9.1",
"tsconfig": "workspace:*", "tsconfig": "workspace:*",
"typescript": "4.9.4" "typescript": "4.9.4"
}, },

3126
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff