build: 📦️ Update packages
This commit is contained in:
@ -166,7 +166,7 @@ export const CollaborationList = () => {
|
||||
size="sm"
|
||||
colorScheme="blue"
|
||||
isLoading={isSendingInvitation}
|
||||
flexShrink="0"
|
||||
flexShrink={0}
|
||||
type="submit"
|
||||
>
|
||||
Invite
|
||||
|
@ -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",
|
||||
@ -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",
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
@ -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.
|
@ -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)',
|
||||
|
Reference in New Issue
Block a user