⬆️ Upgrade dependencies
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"tailwindcss": "3.2.4",
|
||||
"typescript": "4.8.4",
|
||||
"typescript": "4.9.3",
|
||||
"utils": "workspace:*",
|
||||
"typebot-js": "workspace:*",
|
||||
"tsconfig": "workspace:*"
|
||||
|
||||
@@ -18,6 +18,6 @@
|
||||
"dotenv-cli": "6.0.0",
|
||||
"prisma": "4.6.1",
|
||||
"tsconfig": "workspace:*",
|
||||
"typescript": "4.8.4"
|
||||
"typescript": "4.9.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
"author": "Baptiste Arnaud",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@faire/mjml-react": "2.1.4",
|
||||
"@faire/mjml-react": "3.0.0",
|
||||
"@types/node": "18.11.9",
|
||||
"@types/nodemailer": "6.4.6",
|
||||
"@types/react": "18.0.25",
|
||||
"concurrently": "7.5.0",
|
||||
"concurrently": "7.6.0",
|
||||
"http-server": "14.1.1",
|
||||
"nodemailer": "6.8.0",
|
||||
"react": "18.2.0",
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
import { MjmlImageProps, MjmlImage } from '@faire/mjml-react'
|
||||
import React from 'react'
|
||||
import { IMjmlImageProps, MjmlImage } from '@faire/mjml-react'
|
||||
import { borderBase } from '../theme'
|
||||
|
||||
export const HeroImage = (props: MjmlImageProps) => (
|
||||
export const HeroImage = (props: IMjmlImageProps) => (
|
||||
<MjmlImage
|
||||
cssClass="hero"
|
||||
padding="0"
|
||||
align="left"
|
||||
borderRadius={borderBase}
|
||||
{...props}
|
||||
>
|
||||
{props.children}
|
||||
</MjmlImage>
|
||||
/>
|
||||
)
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { MjmlText, MjmlTextProps, PaddingProps } from '@faire/mjml-react'
|
||||
import React from 'react'
|
||||
import { MjmlText, IMjmlTextProps } from '@faire/mjml-react'
|
||||
import { leadingRelaxed, textBase } from '../theme'
|
||||
|
||||
export const Text = (props: MjmlTextProps & PaddingProps) => (
|
||||
export const Text = (props: IMjmlTextProps) => (
|
||||
<MjmlText
|
||||
padding="24px 0 0"
|
||||
fontSize={textBase}
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
MjmlSection,
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
render,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { parseNumberWithCommas } from 'utils'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
@@ -48,7 +48,7 @@ export const AlmostReachedChatsLimitEmail = ({
|
||||
You currently reached 80% of {readableChatsLimit} chats.
|
||||
</Text>
|
||||
<Text>This limit will be reset on {readableResetDate}.</Text>
|
||||
<Text fontWeight={800}>
|
||||
<Text fontWeight="800">
|
||||
Your bots won't start the chat if you reach the limit before
|
||||
this date❗
|
||||
</Text>
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
MjmlSection,
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
render,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
@@ -39,7 +39,7 @@ export const AlmostReachedStorageLimitEmail = ({
|
||||
currently reached 80% of your {readableStorageLimit} storage
|
||||
limit.
|
||||
</Text>
|
||||
<Text fontWeight={800}>
|
||||
<Text fontWeight="800">
|
||||
Your bots won't collect new files once you reach the limit❗
|
||||
</Text>
|
||||
<Text>
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
MjmlSection,
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
render,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
MjmlSection,
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
render,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { parseNumberWithCommas } from 'utils'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
@@ -46,7 +46,7 @@ export const ReachedChatsLimitEmail = ({
|
||||
It just happened, you've reached your monthly{' '}
|
||||
{readableChatsLimit} chats limit 😮
|
||||
</Text>
|
||||
<Text fontWeight={800}>
|
||||
<Text fontWeight="800">
|
||||
It means your bots are closed until {readableResetDate}❗
|
||||
</Text>
|
||||
<Text>
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
MjmlSection,
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
render,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
@@ -37,7 +37,7 @@ export const ReachedStorageLimitEmail = ({
|
||||
It just happened, you've reached your {readableStorageLimit}{' '}
|
||||
storage limit 😮
|
||||
</Text>
|
||||
<Text fontWeight={800}>
|
||||
<Text fontWeight="800">
|
||||
It means your bots won't collect new files from your users❗
|
||||
</Text>
|
||||
<Text>
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
MjmlSection,
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
render,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
export * from './emails'
|
||||
export { render } from '@faire/mjml-react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { render } from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import {
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
"zod": "3.19.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "4.8.4",
|
||||
"next": "13.0.3",
|
||||
"typescript": "4.9.3",
|
||||
"next": "13.0.4",
|
||||
"db": "workspace:*",
|
||||
"tsconfig": "workspace:*"
|
||||
},
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
"axios": "^1.1.3",
|
||||
"db": "workspace:*",
|
||||
"emails": "workspace:*",
|
||||
"got": "12.5.2",
|
||||
"got": "12.5.3",
|
||||
"models": "workspace:*",
|
||||
"stripe": "10.17.0",
|
||||
"stripe": "11.1.0",
|
||||
"tsx": "3.12.1",
|
||||
"typescript": "4.8.4",
|
||||
"typescript": "4.9.3",
|
||||
"utils": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ export const setCustomPlan = async () => {
|
||||
'STRIPE_SECRET_KEY or STRIPE_SUBSCRIPTION_ID or STRIPE_PRODUCT_ID or process.env.WORKSPACE_ID var is missing'
|
||||
)
|
||||
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
|
||||
apiVersion: '2022-08-01',
|
||||
apiVersion: '2022-11-15',
|
||||
})
|
||||
|
||||
const claimablePlan = await prisma.claimableCustomPlan.findFirst({
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"jest-environment-jsdom": "29.3.1",
|
||||
"prettier": "2.7.1",
|
||||
"ts-jest": "29.0.3",
|
||||
"typescript": "4.8.4",
|
||||
"typescript": "4.9.3",
|
||||
"tsconfig": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
"main": "./index.ts",
|
||||
"types": "./index.ts",
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.27.1",
|
||||
"@playwright/test": "1.28.0",
|
||||
"@types/nodemailer": "6.4.6",
|
||||
"aws-sdk": "2.1254.0",
|
||||
"aws-sdk": "2.1258.0",
|
||||
"cuid": "2.1.8",
|
||||
"db": "workspace:*",
|
||||
"dotenv": "16.0.3",
|
||||
"models": "workspace:*",
|
||||
"next": "13.0.3",
|
||||
"next": "13.0.4",
|
||||
"nodemailer": "6.8.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"typescript": "4.8.4"
|
||||
"typescript": "4.9.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"aws-sdk": "2.1152.0",
|
||||
|
||||
Reference in New Issue
Block a user