Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed May 2, 2023
1 parent d50e280 commit 37e0153
Show file tree
Hide file tree
Showing 16 changed files with 221 additions and 137 deletions.
99 changes: 49 additions & 50 deletions apps/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,113 +14,112 @@
},
"dependencies": {
"@chakra-ui/anatomy": "^2.1.1",
"@chakra-ui/react": "2.5.5",
"@chakra-ui/react": "2.6.0",
"@chakra-ui/theme-tools": "^2.0.16",
"@dnd-kit/core": "6.0.8",
"@dnd-kit/sortable": "7.0.2",
"@dnd-kit/utilities": "3.2.1",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@emotion/react": "11.10.8",
"@emotion/styled": "11.10.8",
"@faire/mjml-react": "3.2.0",
"@giphy/js-fetch-api": "4.8.1",
"@giphy/js-fetch-api": "4.9.0",
"@giphy/js-types": "4.4.0",
"@giphy/react-components": "6.8.1",
"@giphy/react-components": "6.9.0",
"@googleapis/drive": "5.0.2",
"@lezer/css": "^1.1.1",
"@paralleldrive/cuid2": "2.2.0",
"@sentry/nextjs": "7.46.0",
"@stripe/stripe-js": "1.52.0",
"@tanstack/react-query": "^4.28.0",
"@tanstack/react-table": "8.8.5",
"@trpc/client": "10.18.0",
"@trpc/next": "10.18.0",
"@trpc/react-query": "10.18.0",
"@trpc/server": "10.18.0",
"@sentry/nextjs": "7.50.0",
"@stripe/stripe-js": "1.52.1",
"@tanstack/react-query": "^4.29.5",
"@tanstack/react-table": "8.9.0",
"@trpc/client": "10.23.0",
"@trpc/next": "10.23.0",
"@trpc/react-query": "10.23.0",
"@trpc/server": "10.23.0",
"@typebot.io/emails": "workspace:*",
"@typebot.io/js": "workspace:*",
"@typebot.io/next-international": "0.3.8",
"@typebot.io/react": "workspace:*",
"@udecode/plate-basic-marks": "20.4.0",
"@udecode/plate-common": "^20.4.0",
"@udecode/plate-core": "20.4.0",
"@udecode/plate-link": "20.4.1",
"@udecode/plate-serializer-html": "20.4.0",
"@udecode/plate-ui-link": "20.4.1",
"@udecode/plate-ui-toolbar": "20.4.0",
"@uiw/codemirror-extensions-langs": "^4.19.11",
"@uiw/codemirror-theme-github": "^4.19.11",
"@uiw/codemirror-theme-tokyo-night": "^4.19.11",
"@uiw/react-codemirror": "^4.19.11",
"@use-gesture/react": "^10.2.25",
"aws-sdk": "2.1348.0",
"@udecode/plate-basic-marks": "21.0.0",
"@udecode/plate-common": "^21.0.0",
"@udecode/plate-core": "21.0.0",
"@udecode/plate-link": "21.0.0",
"@udecode/plate-serializer-html": "21.0.0",
"@udecode/plate-ui-link": "21.0.0",
"@udecode/plate-ui-toolbar": "21.0.0",
"@uiw/codemirror-extensions-langs": "^4.19.16",
"@uiw/codemirror-theme-github": "^4.19.16",
"@uiw/codemirror-theme-tokyo-night": "^4.19.16",
"@uiw/react-codemirror": "^4.19.16",
"@use-gesture/react": "^10.2.26",
"aws-sdk": "2.1369.0",
"browser-image-compression": "2.0.2",
"canvas-confetti": "1.6.0",
"codemirror": "6.0.1",
"deep-object-diff": "1.1.9",
"dequal": "2.0.3",
"emojilib": "3.0.10",
"focus-visible": "5.2.0",
"framer-motion": "10.3.0",
"google-auth-library": "8.7.0",
"framer-motion": "10.12.7",
"google-auth-library": "8.8.0",
"google-spreadsheet": "3.3.0",
"got": "12.6.0",
"htmlparser2": "8.0.2",
"immer": "9.0.21",
"immer": "10.0.1",
"js-video-url-parser": "0.5.1",
"jsonwebtoken": "9.0.0",
"micro": "10.0.1",
"micro-cors": "0.1.1",
"minio": "7.0.33",
"next": "13.2.4",
"next-auth": "4.21.0",
"minio": "7.1.0",
"next": "13.3.4",
"next-auth": "4.22.1",
"nextjs-cors": "^2.1.2",
"nodemailer": "6.9.1",
"nprogress": "0.2.0",
"papaparse": "5.4.1",
"posthog-node": "2.6.0",
"prettier": "2.8.7",
"posthog-node": "3.1.1",
"prettier": "2.8.8",
"qs": "6.11.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"slate": "0.91.4",
"slate-history": "0.86.0",
"slate": "0.94.0",
"slate-history": "0.93.0",
"slate-hyperscript": "0.77.0",
"slate-react": "0.92.0",
"stripe": "11.17.0",
"styled-components": "5.3.9",
"slate-react": "0.94.0",
"stripe": "12.3.0",
"styled-components": "5.3.10",
"svg-round-corners": "0.4.1",
"swr": "2.1.2",
"swr": "2.1.5",
"tinycolor2": "1.6.0",
"trpc-openapi": "1.1.2",
"unsplash-js": "^7.0.15",
"use-debounce": "9.0.3"
"use-debounce": "9.0.4"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@chakra-ui/styled-system": "2.8.0",
"@playwright/test": "1.32.1",
"@chakra-ui/styled-system": "2.9.0",
"@playwright/test": "1.33.0",
"@typebot.io/lib": "workspace:*",
"@typebot.io/prisma": "workspace:*",
"@typebot.io/schemas": "workspace:*",
"@typebot.io/tsconfig": "workspace:*",
"@types/canvas-confetti": "1.6.0",
"@types/google-spreadsheet": "3.3.1",
"@types/jsonwebtoken": "9.0.1",
"@types/jsonwebtoken": "9.0.2",
"@types/micro-cors": "0.1.3",
"@types/minio": "7.0.18",
"@types/node": "18.15.11",
"@types/node": "18.16.3",
"@types/nodemailer": "6.4.7",
"@types/nprogress": "0.2.0",
"@types/papaparse": "5.3.7",
"@types/prettier": "2.7.2",
"@types/qs": "6.9.7",
"@types/react": "18.0.32",
"@types/react": "18.2.0",
"@types/tinycolor2": "1.4.3",
"dotenv": "16.0.3",
"eslint": "8.37.0",
"eslint": "8.39.0",
"eslint-config-custom": "workspace:*",
"superjson": "^1.12.2",
"typescript": "5.0.3",
"superjson": "^1.12.3",
"typescript": "5.0.4",
"zod": "3.21.4"
}
}
3 changes: 1 addition & 2 deletions apps/builder/src/features/billing/billing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,8 @@ test('custom plans should work', async ({ page }) => {
description: 'Description of the deal',
})

await page.goto('/api/stripe/custom-plan-checkout')
await page.goto('/typebots?claimCustomPlan=true')

await expect(page.getByRole('list').getByText('$239.00')).toBeVisible()
await expect(page.getByText('Subscribe to Acme custom plan')).toBeVisible()
await expect(page.getByText('Description of the deal')).toBeVisible()
})
79 changes: 75 additions & 4 deletions apps/docs/openapi/builder/_spec_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,15 @@
"type": "string"
},
"value": {
"type": "number"
"anyOf": [
{
"type": "number"
},
{}
]
},
"sendTo": {
"type": "string"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -4589,9 +4597,6 @@
"workspaceId": {
"type": "string"
},
"prefilledEmail": {
"type": "string"
},
"currency": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -4990,6 +4995,72 @@
}
}
},
"/billing/subscription/custom-checkout": {
"post": {
"operationId": "mutation.billing.createCustomCheckoutSession",
"summary": "Create custom checkout session to make a workspace pay for a custom plan",
"tags": [
"Billing"
],
"security": [
{
"Authorization": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"returnUrl": {
"type": "string"
}
},
"required": [
"email",
"workspaceId",
"returnUrl"
],
"additionalProperties": false
}
}
}
},
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"checkoutUrl": {
"type": "string"
}
},
"required": [
"checkoutUrl"
],
"additionalProperties": false
}
}
}
},
"default": {
"$ref": "#/components/responses/error"
}
}
}
},
"/credentials": {
"post": {
"operationId": "mutation.credentials.createCredentials",
Expand Down
20 changes: 18 additions & 2 deletions apps/docs/openapi/chat/_spec_.json
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,15 @@
"type": "string"
},
"value": {
"type": "number"
"anyOf": [
{
"type": "number"
},
{}
]
},
"sendTo": {
"type": "string"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -4133,7 +4141,15 @@
"type": "string"
},
"value": {
"type": "number"
"anyOf": [
{
"type": "number"
},
{}
]
},
"sendTo": {
"type": "string"
}
},
"additionalProperties": false
Expand Down
30 changes: 15 additions & 15 deletions apps/landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,37 @@
},
"dependencies": {
"@chakra-ui/icon": "3.0.15",
"@chakra-ui/react": "2.5.5",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@vercel/analytics": "0.1.11",
"@chakra-ui/react": "2.6.0",
"@emotion/react": "11.10.8",
"@emotion/styled": "11.10.8",
"@vercel/analytics": "1.0.0",
"@typebot.io/react": "workspace:*",
"@typebot.io/js": "workspace:*",
"aos": "2.3.4",
"@typebot.io/prisma": "workspace:*",
"focus-visible": "5.2.0",
"framer-motion": "10.10.0",
"framer-motion": "10.12.7",
"@typebot.io/schemas": "workspace:*",
"next": "13.2.4",
"next": "13.3.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"@typebot.io/lib": "workspace:*"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@chakra-ui/styled-system": "2.8.0",
"@next/bundle-analyzer": "13.2.4",
"@babel/core": "7.21.8",
"@chakra-ui/styled-system": "2.9.0",
"@next/bundle-analyzer": "13.3.4",
"@types/aos": "3.0.4",
"@types/node": "18.15.11",
"@types/react": "18.0.32",
"@types/node": "18.16.3",
"@types/react": "18.2.0",
"autoprefixer": "10.4.14",
"cross-env": "7.0.3",
"eslint": "8.37.0",
"eslint": "8.39.0",
"eslint-config-custom": "workspace:*",
"next-transpile-modules": "10.0.0",
"postcss": "8.4.21",
"prettier": "2.8.7",
"postcss": "8.4.23",
"prettier": "2.8.8",
"@typebot.io/tsconfig": "workspace:*",
"typescript": "5.0.3"
"typescript": "5.0.4"
}
}
Loading

0 comments on commit 37e0153

Please sign in to comment.