Skip to content

Commit

Permalink
build: 📦️ Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Apr 2, 2022
1 parent 525887a commit 0500981
Show file tree
Hide file tree
Showing 22 changed files with 1,779 additions and 1,668 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const CollaborationList = () => {
size="sm"
colorScheme="blue"
isLoading={isSendingInvitation}
flexShrink="0"
flexShrink={0}
type="submit"
>
Invite
Expand Down
67 changes: 31 additions & 36 deletions apps/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"dependencies": {
"@chakra-ui/css-reset": "^1.1.3",
"@chakra-ui/react": "^1.8.6",
"@codemirror/basic-setup": "^0.19.1",
"@chakra-ui/react": "^1.8.7",
"@codemirror/basic-setup": "^0.19.3",
"@codemirror/lang-css": "^0.19.3",
"@codemirror/lang-html": "^0.19.4",
"@codemirror/lang-javascript": "^0.19.7",
Expand All @@ -29,15 +29,14 @@
"@giphy/js-types": "^4.1.0",
"@giphy/react-components": "^5.6.1",
"@googleapis/drive": "^2.3.0",
"@next-auth/prisma-adapter": "1.0.1",
"@sentry/nextjs": "^6.18.2",
"@stripe/stripe-js": "^1.24.0",
"@udecode/plate-basic-marks": "^10.2.2",
"@sentry/nextjs": "^6.19.3",
"@stripe/stripe-js": "^1.26.0",
"@udecode/plate-basic-marks": "^10.5.0",
"@udecode/plate-common": "^7.0.2",
"@udecode/plate-core": "^10.2.2",
"@udecode/plate-link": "^10.2.2",
"@udecode/plate-ui-link": "^10.2.2",
"@udecode/plate-ui-toolbar": "^10.2.2",
"@udecode/plate-core": "^10.5.0",
"@udecode/plate-link": "^10.5.0",
"@udecode/plate-ui-link": "^10.5.0",
"@udecode/plate-ui-toolbar": "^10.5.0",
"bot-engine": "*",
"browser-image-compression": "^1.0.17",
"canvas-confetti": "^1.5.1",
Expand All @@ -47,65 +46,61 @@
"dequal": "^2.0.2",
"emoji-mart": "^3.0.1",
"focus-visible": "^5.2.0",
"framer-motion": "^4",
"google-auth-library": "^7.14.0",
"framer-motion": "6.2.8",
"google-auth-library": "^7.14.1",
"google-spreadsheet": "^3.2.0",
"got": "^12.0.1",
"got": "^12.0.3",
"htmlparser2": "^7.2.0",
"immer": "^9.0.12",
"js-video-url-parser": "^0.5.1",
"jsonwebtoken": "^8.5.1",
"kbar": "^0.1.0-beta.30",
"kbar": "^0.1.0-beta.33",
"micro": "^9.3.4",
"micro-cors": "^0.1.1",
"minio": "^7.0.26",
"models": "*",
"msw": "^0.36.8",
"next": "^12.1.0",
"next-auth": "4.2.1",
"nodemailer": "^6.7.2",
"next": "^12.1.4",
"next-auth": "4.3.1",
"nodemailer": "^6.7.3",
"nprogress": "^0.2.0",
"papaparse": "^5.3.1",
"prettier": "^2.5.1",
"qs": "^6.10.3",
"papaparse": "^5.3.2",
"prettier": "^2.6.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-draggable": "^4.4.4",
"react-table": "^7.7.0",
"slate": "^0.73.1",
"slate": "^0.76.0",
"slate-history": "^0.66.0",
"slate-hyperscript": "^0.67.0",
"slate-react": "^0.74.2",
"stripe": "^8.209.0",
"styled-components": "^5.3.3",
"slate-react": "^0.76.0",
"stripe": "^8.215.0",
"styled-components": "^5.3.5",
"svg-round-corners": "^0.3.0",
"swr": "^1.2.2",
"typebot-js": "*",
"use-debounce": "^7.0.1",
"use-immer": "^0.6.0",
"utils": "*"
},
"devDependencies": {
"@playwright/test": "^1.19.2",
"@playwright/test": "^1.20.2",
"@types/canvas-confetti": "^1.4.2",
"@types/emoji-mart": "^3.0.9",
"@types/google-spreadsheet": "^3.1.5",
"@types/google-spreadsheet": "^3.2.0",
"@types/jsonwebtoken": "8.5.8",
"@types/micro-cors": "^0.1.2",
"@types/minio": "^7.0.12",
"@types/node": "^17.0.21",
"@types/node": "^17.0.23",
"@types/nodemailer": "^6.4.4",
"@types/nprogress": "^0.2.0",
"@types/papaparse": "^5.3.2",
"@types/prettier": "^2.4.4",
"@types/qs": "^6.9.7",
"@types/react": "^17.0.40",
"@types/react-table": "^7.7.9",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@types/react": "^17.0.43",
"@types/react-table": "^7.7.10",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"dotenv": "^16.0.0",
"eslint": "<8.0.0",
"eslint-config-next": "12.1.0",
"next-transpile-modules": "^9.0.0",
"typescript": "^4.6.2"
"eslint-config-next": "12.1.4",
"typescript": "^4.6.3",
"msw": "^0.39.2"
}
}
15 changes: 13 additions & 2 deletions apps/builder/pages/_error.js → apps/builder/pages/_error.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
import NextErrorComponent from 'next/error'

import * as Sentry from '@sentry/nextjs'
import { NextPageContext } from 'next'

const MyError = ({ statusCode, hasGetInitialPropsRun, err }) => {
const MyError = ({
statusCode,
hasGetInitialPropsRun,
err,
}: {
statusCode: number
hasGetInitialPropsRun: boolean
err: Error
}) => {
if (!hasGetInitialPropsRun && err) {
// getInitialProps is not called in case of
// https://github.com/vercel/next.js/issues/8592. As a workaround, we pass
Expand All @@ -14,13 +23,15 @@ const MyError = ({ statusCode, hasGetInitialPropsRun, err }) => {
return <NextErrorComponent statusCode={statusCode} />
}

MyError.getInitialProps = async (context) => {
MyError.getInitialProps = async (context: NextPageContext) => {
const errorInitialProps = await NextErrorComponent.getInitialProps(context)

const { res, err, asPath } = context

// Workaround for https://github.com/vercel/next.js/issues/8592, mark when
// getInitialProps has run
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
errorInitialProps.hasGetInitialPropsRun = true

// Returning early because we don't want to log 404 errors to Sentry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
return res.status(404).send("Couldn't find credentials in database")
const response = await drive({
version: 'v3',
auth,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
auth: auth,
}).files.list({
q: "mimeType='application/vnd.google-apps.spreadsheet'",
fields: 'nextPageToken, files(id, name)',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Box, Flex, HStack, Stack, Text } from '@chakra-ui/react'
import * as React from 'react'
import Image from 'next/image'
import Image, { StaticImageData } from 'next/image'
import { QuoteLeftIcon } from 'assets/icons/QuoteLeftIcon'

interface TestimonialProps {
Expand Down
16 changes: 0 additions & 16 deletions apps/landing-page/lib/landbot.ts

This file was deleted.

62 changes: 0 additions & 62 deletions apps/landing-page/lib/notion.ts

This file was deleted.

14 changes: 0 additions & 14 deletions apps/landing-page/lib/typeform.ts

This file was deleted.

25 changes: 11 additions & 14 deletions apps/landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,30 @@
"analyze": "cross-env ANALYZE=true next build"
},
"dependencies": {
"@chakra-ui/react": "^1.8.6",
"@chakra-ui/react": "^1.8.7",
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
"@notionhq/client": "^0.3.1",
"aos": "^2.3.4",
"bot-engine": "*",
"focus-visible": "^5.2.0",
"framer-motion": "^4",
"keen-slider": "^6.6.4",
"framer-motion": "^6.2.8",
"keen-slider": "^6.6.5",
"models": "*",
"next": "^12.1.0",
"notion-blocks-chakra-ui": "^0.0.15",
"posthog-js": "1.17.9",
"next": "^12.1.4",
"react": "17.0.2",
"react-dom": "17.0.2",
"typebot-js": "^2.1.3",
"typebot-js": "*",
"utils": "*"
},
"devDependencies": {
"@next/bundle-analyzer": "^12.1.0",
"@next/bundle-analyzer": "^12.1.4",
"@types/aos": "^3.0.4",
"@types/node": "^17.0.21",
"@types/react": "^17.0.40",
"autoprefixer": "^10.4.2",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"autoprefixer": "^10.4.4",
"cross-env": "^7.0.3",
"eslint": "<8.0.0",
"prettier": "^2.5.1",
"typescript": "^4.6.2"
"prettier": "^2.6.1",
"typescript": "^4.6.3"
}
}
1 change: 0 additions & 1 deletion apps/landing-page/pages/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { SocialMetaTags } from 'components/common/SocialMetaTags'
import { BackgroundPolygons } from 'components/Homepage/Hero/BackgroundPolygons'
import { PricingCard } from 'components/PricingPage/PricingCard'
import { ActionButton } from 'components/PricingPage/PricingCard/ActionButton'
import Head from 'next/head'
import { useEffect, useState } from 'react'

const Pricing = () => {
Expand Down
2 changes: 0 additions & 2 deletions apps/viewer/layouts/NotFoundPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

export const NotFoundPage = () => (
<div
style={{
Expand Down
26 changes: 13 additions & 13 deletions apps/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,33 @@
"test:open": "PWDEBUG=1 yarn playwright test"
},
"dependencies": {
"@sentry/nextjs": "^6.18.2",
"@sentry/nextjs": "^6.19.3",
"bot-engine": "*",
"cors": "^2.8.5",
"cuid": "^2.1.8",
"db": "*",
"google-spreadsheet": "^3.2.0",
"got": "^12.0.1",
"got": "^12.0.3",
"models": "*",
"next": "^12.1.0",
"nodemailer": "^6.7.2",
"next": "^12.1.4",
"nodemailer": "^6.7.3",
"qs": "^6.10.3",
"utils": "*",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"utils": "*"
"react-dom": "^17.0.2"
},
"devDependencies": {
"@playwright/test": "^1.19.2",
"@playwright/test": "^1.20.2",
"@types/cors": "^2.8.12",
"@types/google-spreadsheet": "^3.1.5",
"@types/node": "^17.0.21",
"@types/google-spreadsheet": "^3.2.0",
"@types/node": "^17.0.23",
"@types/nodemailer": "^6.4.4",
"@types/qs": "^6.9.7",
"@types/react": "^17.0.40",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@types/react": "^17.0.43",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"eslint": "<8.0.0",
"eslint-config-next": "12.1.0",
"eslint-config-next": "12.1.4",
"next-transpile-modules": "^9.0.0",
"typescript": "^4.6.2"
"typescript": "^4.6.3"
}
}
5 changes: 0 additions & 5 deletions apps/viewer/pages/404.js

This file was deleted.

Loading

4 comments on commit 0500981

@vercel
Copy link

@vercel vercel bot commented on 0500981 Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0500981 Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

app.typebot.io
builder-v2-typebot-io.vercel.app
builder-v2-git-main-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0500981 Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0500981 Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viewer-v2-alpha – ./apps/viewer

viewer-v2-alpha-typebot-io.vercel.app
viewer-v2-alpha-git-main-typebot-io.vercel.app

Please sign in to comment.