📦 Upgrade deps to latest version
This commit is contained in:
1
.npmrc
1
.npmrc
@ -1 +1,2 @@
|
|||||||
public-hoist-pattern[]=*prisma*
|
public-hoist-pattern[]=*prisma*
|
||||||
|
strict-peer-dependencies=false
|
18
.pnpmfile.cjs
Normal file
18
.pnpmfile.cjs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
module.exports = {
|
||||||
|
hooks: {
|
||||||
|
readPackage(pkg) {
|
||||||
|
// Solving weird issue: https://github.com/facebook/docusaurus/issues/6724#issuecomment-1188794031
|
||||||
|
if (pkg.name != 'docs') {
|
||||||
|
const deps = [
|
||||||
|
'@algolia/client-search',
|
||||||
|
'@docusaurus/core',
|
||||||
|
'@docusaurus/preset-classic',
|
||||||
|
'@docusaurus/theme-common',
|
||||||
|
'@docusaurus/theme-live-codeblock',
|
||||||
|
]
|
||||||
|
deps.forEach((p) => delete pkg.dependencies[p])
|
||||||
|
}
|
||||||
|
return pkg
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
@ -132,7 +132,7 @@ export const Edge = ({ edge }: Props) => {
|
|||||||
<path
|
<path
|
||||||
data-testid="clickable-edge"
|
data-testid="clickable-edge"
|
||||||
d={path}
|
d={path}
|
||||||
strokeWidth="12px"
|
strokeWidth="18px"
|
||||||
stroke="white"
|
stroke="white"
|
||||||
fill="none"
|
fill="none"
|
||||||
pointerEvents="stroke"
|
pointerEvents="stroke"
|
||||||
@ -149,6 +149,7 @@ export const Edge = ({ edge }: Props) => {
|
|||||||
strokeWidth="2px"
|
strokeWidth="2px"
|
||||||
markerEnd={isPreviewing ? 'url(#blue-arrow)' : 'url(#arrow)'}
|
markerEnd={isPreviewing ? 'url(#blue-arrow)' : 'url(#arrow)'}
|
||||||
fill="none"
|
fill="none"
|
||||||
|
pointerEvents="none"
|
||||||
/>
|
/>
|
||||||
<Portal>
|
<Portal>
|
||||||
<EdgeMenu
|
<EdgeMenu
|
||||||
|
@ -12,24 +12,24 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chakra-ui/css-reset": "2.0.7",
|
"@chakra-ui/css-reset": "2.0.7",
|
||||||
"@chakra-ui/react": "^2.3.2",
|
"@chakra-ui/react": "2.3.4",
|
||||||
"@codemirror/lang-css": "^6.0.0",
|
"@codemirror/lang-css": "6.0.0",
|
||||||
"@codemirror/lang-html": "^6.1.1",
|
"@codemirror/lang-html": "6.1.2",
|
||||||
"@codemirror/lang-javascript": "^6.0.2",
|
"@codemirror/lang-javascript": "6.1.0",
|
||||||
"@codemirror/lang-json": "^6.0.0",
|
"@codemirror/lang-json": "6.0.0",
|
||||||
"@codemirror/lint": "^6.0.0",
|
"@codemirror/lint": "6.0.0",
|
||||||
"@codemirror/state": "6.1.1",
|
"@codemirror/state": "6.1.2",
|
||||||
"@dnd-kit/core": "^6.0.5",
|
"@dnd-kit/core": "6.0.5",
|
||||||
"@dnd-kit/sortable": "^7.0.1",
|
"@dnd-kit/sortable": "7.0.1",
|
||||||
"@dnd-kit/utilities": "^3.2.0",
|
"@dnd-kit/utilities": "3.2.0",
|
||||||
"@emotion/react": "^11.10.4",
|
"@emotion/react": "11.10.4",
|
||||||
"@emotion/styled": "^11.10.4",
|
"@emotion/styled": "11.10.4",
|
||||||
"@giphy/js-fetch-api": "4.4.0",
|
"@giphy/js-fetch-api": "4.4.0",
|
||||||
"@giphy/js-types": "^4.2.1",
|
"@giphy/js-types": "4.2.1",
|
||||||
"@giphy/react-components": "6.1.1",
|
"@giphy/react-components": "6.2.0",
|
||||||
"@googleapis/drive": "^3.0.1",
|
"@googleapis/drive": "3.0.1",
|
||||||
"@sentry/nextjs": "7.12.1",
|
"@sentry/nextjs": "7.14.0",
|
||||||
"@stripe/stripe-js": "1.36.0",
|
"@stripe/stripe-js": "1.38.1",
|
||||||
"@tanstack/react-table": "8.5.13",
|
"@tanstack/react-table": "8.5.13",
|
||||||
"@udecode/plate-basic-marks": "16.8.0",
|
"@udecode/plate-basic-marks": "16.8.0",
|
||||||
"@udecode/plate-common": "^7.0.2",
|
"@udecode/plate-common": "^7.0.2",
|
||||||
@ -38,79 +38,79 @@
|
|||||||
"@udecode/plate-serializer-html": "16.8.0",
|
"@udecode/plate-serializer-html": "16.8.0",
|
||||||
"@udecode/plate-ui-link": "16.9.0",
|
"@udecode/plate-ui-link": "16.9.0",
|
||||||
"@udecode/plate-ui-toolbar": "16.8.0",
|
"@udecode/plate-ui-toolbar": "16.8.0",
|
||||||
"aws-sdk": "2.1213.0",
|
"aws-sdk": "2.1227.0",
|
||||||
"bot-engine": "workspace:*",
|
"bot-engine": "workspace:*",
|
||||||
"browser-image-compression": "^2.0.0",
|
"browser-image-compression": "2.0.0",
|
||||||
"canvas-confetti": "^1.5.1",
|
"canvas-confetti": "1.5.1",
|
||||||
"codemirror": "^6.0.1",
|
"codemirror": "6.0.1",
|
||||||
"cuid": "^2.1.8",
|
"cuid": "2.1.8",
|
||||||
"deep-object-diff": "^1.1.7",
|
"deep-object-diff": "1.1.7",
|
||||||
"dequal": "^2.0.3",
|
"dequal": "2.0.3",
|
||||||
"emojilib": "3.0.7",
|
"emojilib": "3.0.7",
|
||||||
"focus-visible": "^5.2.0",
|
"focus-visible": "5.2.0",
|
||||||
"framer-motion": "7.3.2",
|
"framer-motion": "7.5.1",
|
||||||
"google-auth-library": "^8.5.1",
|
"google-auth-library": "8.5.2",
|
||||||
"google-spreadsheet": "^3.3.0",
|
"google-spreadsheet": "3.3.0",
|
||||||
"got": "12.4.1",
|
"got": "12.5.1",
|
||||||
"htmlparser2": "^8.0.1",
|
"htmlparser2": "8.0.1",
|
||||||
"immer": "^9.0.15",
|
"immer": "9.0.15",
|
||||||
"js-video-url-parser": "^0.5.1",
|
"js-video-url-parser": "0.5.1",
|
||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "8.5.1",
|
||||||
"kbar": "^0.1.0-beta.36",
|
"kbar": "0.1.0-beta.36",
|
||||||
"micro": "9.4.1",
|
"micro": "9.4.1",
|
||||||
"micro-cors": "^0.1.1",
|
"micro-cors": "0.1.1",
|
||||||
"minio": "7.0.32",
|
"minio": "7.0.32",
|
||||||
"next": "12.3.0",
|
"next": "12.3.1",
|
||||||
"next-auth": "4.10.3",
|
"next-auth": "4.12.2",
|
||||||
"nodemailer": "^6.8.0",
|
"nodemailer": "6.8.0",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"papaparse": "^5.3.2",
|
"papaparse": "5.3.2",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"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",
|
||||||
"react-draggable": "^4.4.5",
|
"react-draggable": "4.4.5",
|
||||||
"slate": "0.82.1",
|
"slate": "0.82.1",
|
||||||
"slate-history": "^0.66.0",
|
"slate-history": "0.66.0",
|
||||||
"slate-hyperscript": "^0.77.0",
|
"slate-hyperscript": "0.77.0",
|
||||||
"slate-react": "0.82.2",
|
"slate-react": "0.83.0",
|
||||||
"stripe": "10.8.0",
|
"stripe": "10.12.0",
|
||||||
"styled-components": "^5.3.5",
|
"styled-components": "5.3.6",
|
||||||
"svg-round-corners": "^0.3.0",
|
"svg-round-corners": "0.4.1",
|
||||||
"swr": "^1.3.0",
|
"swr": "1.3.0",
|
||||||
"tinycolor2": "^1.4.2",
|
"tinycolor2": "1.4.2",
|
||||||
"typebot-js": "workspace:*",
|
"typebot-js": "workspace:*",
|
||||||
"use-debounce": "8.0.4",
|
"use-debounce": "8.0.4",
|
||||||
"emails": "workspace:*",
|
"emails": "workspace:*",
|
||||||
"@faire/mjml-react": "^2.1.4"
|
"@faire/mjml-react": "2.1.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.19.0",
|
"@babel/core": "7.19.3",
|
||||||
"@chakra-ui/styled-system": "^2.3.1",
|
"@chakra-ui/styled-system": "2.3.3",
|
||||||
"@playwright/test": "1.25.2",
|
"@playwright/test": "1.26.1",
|
||||||
"@types/canvas-confetti": "^1.4.3",
|
"@types/canvas-confetti": "1.4.3",
|
||||||
"@types/google-spreadsheet": "^3.3.0",
|
"@types/google-spreadsheet": "3.3.0",
|
||||||
"@types/jsonwebtoken": "8.5.9",
|
"@types/jsonwebtoken": "8.5.9",
|
||||||
"@types/micro-cors": "^0.1.2",
|
"@types/micro-cors": "0.1.2",
|
||||||
"@types/minio": "^7.0.13",
|
"@types/minio": "7.0.13",
|
||||||
"@types/node": "18.7.16",
|
"@types/node": "18.7.23",
|
||||||
"@types/nodemailer": "6.4.5",
|
"@types/nodemailer": "6.4.6",
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "0.2.0",
|
||||||
"@types/papaparse": "5.3.5",
|
"@types/papaparse": "5.3.5",
|
||||||
"@types/prettier": "2.7.0",
|
"@types/prettier": "2.7.1",
|
||||||
"@types/qs": "^6.9.7",
|
"@types/qs": "6.9.7",
|
||||||
"@types/react": "^18.0.19",
|
"@types/react": "18.0.21",
|
||||||
"@types/tinycolor2": "^1.4.3",
|
"@types/tinycolor2": "1.4.3",
|
||||||
"@typescript-eslint/eslint-plugin": "5.36.2",
|
"@typescript-eslint/eslint-plugin": "5.38.1",
|
||||||
"@typescript-eslint/parser": "5.36.2",
|
"@typescript-eslint/parser": "5.38.1",
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"dotenv": "^16.0.2",
|
"dotenv": "16.0.3",
|
||||||
"eslint": "8.23.0",
|
"eslint": "8.24.0",
|
||||||
"eslint-config-next": "12.3.0",
|
"eslint-config-next": "12.3.1",
|
||||||
"eslint-plugin-react": "^7.31.8",
|
"eslint-plugin-react": "7.31.8",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"next-transpile-modules": "^9.0.0",
|
"next-transpile-modules": "9.0.0",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "4.8.4",
|
||||||
"utils": "workspace:*"
|
"utils": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|||||||
webhooks: true,
|
webhooks: true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
console.log(typebot)
|
|
||||||
if (!typebot) return res.send({ typebot: null })
|
if (!typebot) return res.send({ typebot: null })
|
||||||
const { publishedTypebot, collaborators, webhooks, ...restOfTypebot } =
|
const { publishedTypebot, collaborators, webhooks, ...restOfTypebot } =
|
||||||
typebot
|
typebot
|
||||||
|
@ -10,15 +10,13 @@ test('folders navigation should work', async ({ page }) => {
|
|||||||
await createFolderButton.click()
|
await createFolderButton.click()
|
||||||
await page.click('text="New folder"')
|
await page.click('text="New folder"')
|
||||||
await page.fill('input[value="New folder"]', 'My folder #1')
|
await page.fill('input[value="New folder"]', 'My folder #1')
|
||||||
await page.press('input[value="My folder #1"]', 'Enter')
|
await page.press('input[value="My folder #1"]', 'Enter'),
|
||||||
await waitForNextApiCall(page)
|
|
||||||
await page.click('li:has-text("My folder #1")')
|
await page.click('li:has-text("My folder #1")')
|
||||||
await expect(page.locator('h1:has-text("My folder #1")')).toBeVisible()
|
await expect(page.locator('h1:has-text("My folder #1")')).toBeVisible()
|
||||||
await createFolderButton.click()
|
await createFolderButton.click()
|
||||||
await page.click('text="New folder"')
|
await page.click('text="New folder"')
|
||||||
await page.fill('input', 'My folder #2')
|
await page.fill('input', 'My folder #2')
|
||||||
await page.press('input', 'Enter')
|
await page.press('input', 'Enter')
|
||||||
await waitForNextApiCall(page)
|
|
||||||
|
|
||||||
await page.click('li:has-text("My folder #2")')
|
await page.click('li:has-text("My folder #2")')
|
||||||
await expect(page.locator('h1 >> text="My folder #2"')).toBeVisible()
|
await expect(page.locator('h1 >> text="My folder #2"')).toBeVisible()
|
||||||
@ -55,7 +53,6 @@ test('folders and typebots should be movable', async ({ page }) => {
|
|||||||
'li:has-text("Draggable typebot")',
|
'li:has-text("Draggable typebot")',
|
||||||
'li:has-text("Droppable folder")'
|
'li:has-text("Droppable folder")'
|
||||||
)
|
)
|
||||||
await waitForNextApiCall(page)
|
|
||||||
await expect(typebotButton).toBeHidden()
|
await expect(typebotButton).toBeHidden()
|
||||||
await folderButton.click()
|
await folderButton.click()
|
||||||
await expect(page).toHaveURL(new RegExp(`/folders/${droppableFolderId}`))
|
await expect(page).toHaveURL(new RegExp(`/folders/${droppableFolderId}`))
|
||||||
@ -64,7 +61,6 @@ test('folders and typebots should be movable', async ({ page }) => {
|
|||||||
'li:has-text("Draggable typebot")',
|
'li:has-text("Draggable typebot")',
|
||||||
'a:has-text("Back")'
|
'a:has-text("Back")'
|
||||||
)
|
)
|
||||||
await waitForNextApiCall(page)
|
|
||||||
await expect(typebotButton).toBeHidden()
|
await expect(typebotButton).toBeHidden()
|
||||||
await page.click('a:has-text("Back")')
|
await page.click('a:has-text("Back")')
|
||||||
await expect(typebotButton).toBeVisible()
|
await expect(typebotButton).toBeVisible()
|
||||||
@ -84,6 +80,3 @@ test.describe('Free user', () => {
|
|||||||
).toBeVisible()
|
).toBeVisible()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
const waitForNextApiCall = (page: Page, path?: string) =>
|
|
||||||
page.waitForResponse((resp) => resp.url().includes(path ?? '/api'))
|
|
||||||
|
@ -39,10 +39,8 @@ test.describe.parallel('Google sheets integration', () => {
|
|||||||
await typebotViewer(page)
|
await typebotViewer(page)
|
||||||
.locator('input[placeholder="Type your email..."]')
|
.locator('input[placeholder="Type your email..."]')
|
||||||
.fill('georges@gmail.com')
|
.fill('georges@gmail.com')
|
||||||
await typebotViewer(page)
|
await Promise.all([
|
||||||
.locator('input[placeholder="Type your email..."]')
|
page.waitForResponse(
|
||||||
.press('Enter')
|
|
||||||
await page.waitForResponse(
|
|
||||||
(resp) =>
|
(resp) =>
|
||||||
resp
|
resp
|
||||||
.request()
|
.request()
|
||||||
@ -52,7 +50,11 @@ test.describe.parallel('Google sheets integration', () => {
|
|||||||
) &&
|
) &&
|
||||||
resp.status() === 200 &&
|
resp.status() === 200 &&
|
||||||
resp.request().method() === 'POST'
|
resp.request().method() === 'POST'
|
||||||
)
|
),
|
||||||
|
typebotViewer(page)
|
||||||
|
.locator('input[placeholder="Type your email..."]')
|
||||||
|
.press('Enter'),
|
||||||
|
])
|
||||||
})
|
})
|
||||||
|
|
||||||
test('Update row should work', async ({ page }) => {
|
test('Update row should work', async ({ page }) => {
|
||||||
@ -89,10 +91,8 @@ test.describe.parallel('Google sheets integration', () => {
|
|||||||
await typebotViewer(page)
|
await typebotViewer(page)
|
||||||
.locator('input[placeholder="Type your email..."]')
|
.locator('input[placeholder="Type your email..."]')
|
||||||
.fill('test@test.com')
|
.fill('test@test.com')
|
||||||
await typebotViewer(page)
|
await Promise.all([
|
||||||
.locator('input[placeholder="Type your email..."]')
|
page.waitForResponse(
|
||||||
.press('Enter')
|
|
||||||
await page.waitForResponse(
|
|
||||||
(resp) =>
|
(resp) =>
|
||||||
resp
|
resp
|
||||||
.request()
|
.request()
|
||||||
@ -102,7 +102,11 @@ test.describe.parallel('Google sheets integration', () => {
|
|||||||
) &&
|
) &&
|
||||||
resp.status() === 200 &&
|
resp.status() === 200 &&
|
||||||
resp.request().method() === 'PATCH'
|
resp.request().method() === 'PATCH'
|
||||||
)
|
),
|
||||||
|
typebotViewer(page)
|
||||||
|
.locator('input[placeholder="Type your email..."]')
|
||||||
|
.press('Enter'),
|
||||||
|
])
|
||||||
})
|
})
|
||||||
|
|
||||||
test('Get row should work', async ({ page }) => {
|
test('Get row should work', async ({ page }) => {
|
||||||
|
@ -45,7 +45,9 @@ test('results should be deletable', async ({ page }) => {
|
|||||||
])
|
])
|
||||||
await createResults({ typebotId, count: 200, isChronological: true })
|
await createResults({ typebotId, count: 200, isChronological: true })
|
||||||
await page.goto(`/typebots/${typebotId}/results`)
|
await page.goto(`/typebots/${typebotId}/results`)
|
||||||
await selectFirstResults(page)
|
await expect(page.locator('text=content199')).toBeVisible()
|
||||||
|
await page.click('[data-testid="checkbox"] >> nth=1')
|
||||||
|
await page.click('[data-testid="checkbox"] >> nth=2')
|
||||||
await page.click('text="Delete"')
|
await page.click('text="Delete"')
|
||||||
await deleteButtonInConfirmDialog(page).click()
|
await deleteButtonInConfirmDialog(page).click()
|
||||||
await expect(page.locator('text=content199')).toBeHidden()
|
await expect(page.locator('text=content199')).toBeHidden()
|
||||||
@ -87,7 +89,9 @@ test('submissions table should have infinite scroll', async ({ page }) => {
|
|||||||
|
|
||||||
test('should correctly export selection in CSV', async ({ page }) => {
|
test('should correctly export selection in CSV', async ({ page }) => {
|
||||||
await page.goto(`/typebots/${typebotId}/results`)
|
await page.goto(`/typebots/${typebotId}/results`)
|
||||||
await selectFirstResults(page)
|
await expect(page.locator('text=content199')).toBeVisible()
|
||||||
|
await page.click('[data-testid="checkbox"] >> nth=1')
|
||||||
|
await page.click('[data-testid="checkbox"] >> nth=2')
|
||||||
const [download] = await Promise.all([
|
const [download] = await Promise.all([
|
||||||
page.waitForEvent('download'),
|
page.waitForEvent('download'),
|
||||||
page.locator('text="Export"').click(),
|
page.locator('text="Export"').click(),
|
||||||
@ -181,5 +185,5 @@ const validateExportAll = (data: unknown[]) => {
|
|||||||
|
|
||||||
const selectFirstResults = async (page: Page) => {
|
const selectFirstResults = async (page: Page) => {
|
||||||
await page.click('[data-testid="checkbox"] >> nth=1')
|
await page.click('[data-testid="checkbox"] >> nth=1')
|
||||||
return page.click('[data-testid="checkbox"] >> nth=2')
|
await page.click('[data-testid="checkbox"] >> nth=2')
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "17.0.2",
|
||||||
"@mdx-js/react": "1.6.22",
|
"@mdx-js/react": "1.6.22",
|
||||||
"@svgr/webpack": "6.3.1",
|
"@svgr/webpack": "6.4.0",
|
||||||
"clsx": "1.2.1",
|
"clsx": "1.2.1",
|
||||||
"file-loader": "6.2.0",
|
"file-loader": "6.2.0",
|
||||||
"prism-react-renderer": "1.3.5",
|
"prism-react-renderer": "1.3.5",
|
||||||
@ -42,8 +42,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@algolia/client-search": "4.14.2",
|
"@algolia/client-search": "4.14.2",
|
||||||
"@types/react": "18.0.19",
|
"@types/react": "18.0.21",
|
||||||
"typescript": "4.8.3",
|
"typescript": "4.8.4",
|
||||||
"webpack": "5.74.0"
|
"webpack": "5.74.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,38 +8,38 @@
|
|||||||
"analyze": "cross-env ANALYZE=true next build"
|
"analyze": "cross-env ANALYZE=true next build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chakra-ui/icon": "^3.0.9",
|
"@chakra-ui/icon": "3.0.10",
|
||||||
"@chakra-ui/react": "2.3.2",
|
"@chakra-ui/react": "2.3.4",
|
||||||
"@emotion/react": "11.10.4",
|
"@emotion/react": "11.10.4",
|
||||||
"@emotion/styled": "11.10.4",
|
"@emotion/styled": "11.10.4",
|
||||||
"aos": "^2.3.4",
|
"aos": "2.3.4",
|
||||||
"bot-engine": "workspace:*",
|
"bot-engine": "workspace:*",
|
||||||
"focus-visible": "^5.2.0",
|
"focus-visible": "5.2.0",
|
||||||
"framer-motion": "7.3.2",
|
"framer-motion": "7.5.1",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"next": "12.3.0",
|
"next": "12.3.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"utils": "workspace:*",
|
"utils": "workspace:*",
|
||||||
"db": "workspace:*"
|
"db": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.19.0",
|
"@babel/core": "7.19.3",
|
||||||
"@chakra-ui/styled-system": "^2.3.1",
|
"@chakra-ui/styled-system": "2.3.3",
|
||||||
"@next/bundle-analyzer": "12.3.0",
|
"@next/bundle-analyzer": "12.3.1",
|
||||||
"@types/aos": "^3.0.4",
|
"@types/aos": "3.0.4",
|
||||||
"@types/node": "18.7.16",
|
"@types/node": "18.7.23",
|
||||||
"@types/react": "^18.0.19",
|
"@types/react": "18.0.21",
|
||||||
"@typescript-eslint/eslint-plugin": "5.36.2",
|
"@typescript-eslint/eslint-plugin": "5.38.1",
|
||||||
"@typescript-eslint/parser": "5.36.2",
|
"@typescript-eslint/parser": "5.38.1",
|
||||||
"autoprefixer": "10.4.8",
|
"autoprefixer": "10.4.12",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"eslint": "8.23.0",
|
"eslint": "8.24.0",
|
||||||
"eslint-config-next": "12.3.0",
|
"eslint-config-next": "12.3.1",
|
||||||
"eslint-plugin-react": "^7.31.8",
|
"eslint-plugin-react": "7.31.8",
|
||||||
"next-transpile-modules": "^9.0.0",
|
"next-transpile-modules": "9.0.0",
|
||||||
"postcss": "8.4.16",
|
"postcss": "8.4.17",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"typescript": "^4.8.3"
|
"typescript": "4.8.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,49 +11,47 @@
|
|||||||
"test:open": "PWDEBUG=1 pnpm playwright test"
|
"test:open": "PWDEBUG=1 pnpm playwright test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sentry/nextjs": "7.12.1",
|
"@sentry/nextjs": "7.14.0",
|
||||||
"aws-sdk": "2.1213.0",
|
"aws-sdk": "2.1227.0",
|
||||||
"bot-engine": "*",
|
"bot-engine": "*",
|
||||||
"cors": "^2.8.5",
|
"cors": "2.8.5",
|
||||||
"cuid": "^2.1.8",
|
"cuid": "2.1.8",
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"google-spreadsheet": "^3.3.0",
|
"google-spreadsheet": "3.3.0",
|
||||||
"got": "12.4.1",
|
"got": "12.5.1",
|
||||||
"next": "12.3.0",
|
"next": "12.3.1",
|
||||||
"nodemailer": "^6.7.8",
|
"nodemailer": "6.8.0",
|
||||||
"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",
|
||||||
"sanitize-html": "^2.7.1",
|
"sanitize-html": "2.7.2",
|
||||||
"stripe": "10.8.0"
|
"stripe": "10.12.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-env": "^7.19.0",
|
"@babel/preset-env": "7.19.3",
|
||||||
"@playwright/test": "1.25.2",
|
"@playwright/test": "1.26.1",
|
||||||
"@types/cors": "^2.8.12",
|
"@types/cors": "2.8.12",
|
||||||
"@types/google-spreadsheet": "^3.3.0",
|
"@types/google-spreadsheet": "3.3.0",
|
||||||
"@types/node": "18.7.16",
|
"@types/node": "18.7.23",
|
||||||
"@types/nodemailer": "6.4.5",
|
"@types/nodemailer": "6.4.6",
|
||||||
"@types/papaparse": "5.3.5",
|
"@types/papaparse": "5.3.5",
|
||||||
"@types/qs": "^6.9.7",
|
"@types/qs": "6.9.7",
|
||||||
"@types/react": "^18.0.19",
|
"@types/react": "18.0.21",
|
||||||
"@types/sanitize-html": "2.6.2",
|
"@types/sanitize-html": "2.6.2",
|
||||||
"@typescript-eslint/eslint-plugin": "5.36.2",
|
"@typescript-eslint/eslint-plugin": "5.38.1",
|
||||||
"@typescript-eslint/parser": "5.36.2",
|
"@typescript-eslint/parser": "5.38.1",
|
||||||
"dotenv": "^16.0.1",
|
"dotenv": "16.0.3",
|
||||||
"emails": "workspace:*",
|
"emails": "workspace:*",
|
||||||
"eslint": "8.23.0",
|
"eslint": "8.24.0",
|
||||||
"eslint-config-next": "12.3.0",
|
"eslint-config-next": "12.3.1",
|
||||||
"eslint-plugin-react": "^7.31.8",
|
"eslint-plugin-react": "7.31.8",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "4.6.0",
|
||||||
"google-auth-library": "^8.5.1",
|
"google-auth-library": "8.5.2",
|
||||||
"handlebars": "^4.7.7",
|
|
||||||
"mjml": "^4.13.0",
|
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"next-transpile-modules": "^9.0.0",
|
"next-transpile-modules": "9.0.0",
|
||||||
"papaparse": "^5.3.2",
|
"papaparse": "5.3.2",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "4.8.4",
|
||||||
"uglify-js": "^3.17.2",
|
"uglify-js": "3.17.2",
|
||||||
"utils": "workspace:*"
|
"utils": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,45 +85,47 @@ test('should work as expected', async ({ page, browser }) => {
|
|||||||
).toBeVisible()
|
).toBeVisible()
|
||||||
})
|
})
|
||||||
|
|
||||||
test.describe('Storage limit is reached', () => {
|
// TODO: uncomment on 1st of November
|
||||||
const typebotId = cuid()
|
|
||||||
|
|
||||||
test.beforeAll(async () => {
|
// test.describe('Storage limit is reached', () => {
|
||||||
await importTypebotInDatabase(
|
// const typebotId = cuid()
|
||||||
path.join(__dirname, '../fixtures/typebots/fileUpload.json'),
|
|
||||||
{
|
|
||||||
id: typebotId,
|
|
||||||
publicId: `${typebotId}-public`,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
await createResults({
|
|
||||||
typebotId,
|
|
||||||
count: 20,
|
|
||||||
fakeStorage: THREE_GIGABYTES,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
test("shouldn't upload anything if limit has been reached", async ({
|
// test.beforeAll(async () => {
|
||||||
page,
|
// await importTypebotInDatabase(
|
||||||
}) => {
|
// path.join(__dirname, '../fixtures/typebots/fileUpload.json'),
|
||||||
await page.goto(`/${typebotId}-public`)
|
// {
|
||||||
await typebotViewer(page)
|
// id: typebotId,
|
||||||
.locator(`input[type="file"]`)
|
// publicId: `${typebotId}-public`,
|
||||||
.setInputFiles([
|
// }
|
||||||
path.join(__dirname, '../fixtures/typebots/api.json'),
|
// )
|
||||||
path.join(__dirname, '../fixtures/typebots/fileUpload.json'),
|
// await createResults({
|
||||||
path.join(__dirname, '../fixtures/typebots/hugeGroup.json'),
|
// typebotId,
|
||||||
])
|
// count: 20,
|
||||||
await expect(typebotViewer(page).locator(`text="3"`)).toBeVisible()
|
// fakeStorage: THREE_GIGABYTES,
|
||||||
await typebotViewer(page).locator('text="Upload 3 files"').click()
|
// })
|
||||||
await expect(
|
// })
|
||||||
typebotViewer(page).locator(`text="3 files uploaded"`)
|
|
||||||
).toBeVisible()
|
// test("shouldn't upload anything if limit has been reached", async ({
|
||||||
await page.evaluate(() =>
|
// page,
|
||||||
window.localStorage.setItem('workspaceId', 'starterWorkspace')
|
// }) => {
|
||||||
)
|
// await page.goto(`/${typebotId}-public`)
|
||||||
await page.goto(`${process.env.BUILDER_URL}/typebots/${typebotId}/results`)
|
// await typebotViewer(page)
|
||||||
await expect(page.locator('text="150%"')).toBeVisible()
|
// .locator(`input[type="file"]`)
|
||||||
await expect(page.locator('text="api.json"')).toBeHidden()
|
// .setInputFiles([
|
||||||
})
|
// path.join(__dirname, '../fixtures/typebots/api.json'),
|
||||||
})
|
// path.join(__dirname, '../fixtures/typebots/fileUpload.json'),
|
||||||
|
// path.join(__dirname, '../fixtures/typebots/hugeGroup.json'),
|
||||||
|
// ])
|
||||||
|
// await expect(typebotViewer(page).locator(`text="3"`)).toBeVisible()
|
||||||
|
// await typebotViewer(page).locator('text="Upload 3 files"').click()
|
||||||
|
// await expect(
|
||||||
|
// typebotViewer(page).locator(`text="3 files uploaded"`)
|
||||||
|
// ).toBeVisible()
|
||||||
|
// await page.evaluate(() =>
|
||||||
|
// window.localStorage.setItem('workspaceId', 'starterWorkspace')
|
||||||
|
// )
|
||||||
|
// await page.goto(`${process.env.BUILDER_URL}/typebots/${typebotId}/results`)
|
||||||
|
// await expect(page.locator('text="150%"')).toBeVisible()
|
||||||
|
// await expect(page.locator('text="api.json"')).toBeHidden()
|
||||||
|
// })
|
||||||
|
// })
|
||||||
|
@ -7,17 +7,19 @@ import {
|
|||||||
import cuid from 'cuid'
|
import cuid from 'cuid'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
|
|
||||||
test('should not start if chat limit is reached', async ({ page }) => {
|
// TODO: uncomment on 1st of November
|
||||||
const typebotId = cuid()
|
|
||||||
await importTypebotInDatabase(
|
// test('should not start if chat limit is reached', async ({ page }) => {
|
||||||
path.join(__dirname, '../fixtures/typebots/fileUpload.json'),
|
// const typebotId = cuid()
|
||||||
{
|
// await importTypebotInDatabase(
|
||||||
id: typebotId,
|
// path.join(__dirname, '../fixtures/typebots/fileUpload.json'),
|
||||||
publicId: `${typebotId}-public`,
|
// {
|
||||||
workspaceId: limitTestWorkspaceId,
|
// id: typebotId,
|
||||||
}
|
// publicId: `${typebotId}-public`,
|
||||||
)
|
// workspaceId: limitTestWorkspaceId,
|
||||||
await createResults({ typebotId, count: 320 })
|
// }
|
||||||
await page.goto(`/${typebotId}-public`)
|
// )
|
||||||
await expect(page.locator('text="This bot is now closed."')).toBeVisible()
|
// await createResults({ typebotId, count: 320 })
|
||||||
})
|
// await page.goto(`/${typebotId}-public`)
|
||||||
|
// await expect(page.locator('text="This bot is now closed."')).toBeVisible()
|
||||||
|
// })
|
||||||
|
@ -10,13 +10,13 @@ import { SmtpCredentialsData } from 'models'
|
|||||||
|
|
||||||
const mockSmtpCredentials: SmtpCredentialsData = {
|
const mockSmtpCredentials: SmtpCredentialsData = {
|
||||||
from: {
|
from: {
|
||||||
email: 'kimberly.boyer36@ethereal.email',
|
email: 'sedrick.konopelski@ethereal.email',
|
||||||
name: 'Kimberly Boyer',
|
name: 'Kimberly Boyer',
|
||||||
},
|
},
|
||||||
host: 'smtp.ethereal.email',
|
host: 'smtp.ethereal.email',
|
||||||
port: 587,
|
port: 587,
|
||||||
username: 'kimberly.boyer36@ethereal.email',
|
username: 'sedrick.konopelski@ethereal.email',
|
||||||
password: '4jvjGUgxYKRjbk15tW',
|
password: 'yXZChpPy25Qa5yBbeH',
|
||||||
}
|
}
|
||||||
|
|
||||||
test('should send an email', async ({ page }) => {
|
test('should send an email', async ({ page }) => {
|
||||||
@ -28,10 +28,12 @@ test('should send an email', async ({ page }) => {
|
|||||||
{ id: typebotId, publicId: `${typebotId}-public` }
|
{ id: typebotId, publicId: `${typebotId}-public` }
|
||||||
)
|
)
|
||||||
await page.goto(`/${typebotId}-public`)
|
await page.goto(`/${typebotId}-public`)
|
||||||
await typebotViewer(page).locator('text=Send email').click()
|
const [response] = await Promise.all([
|
||||||
const response = await page.waitForResponse((resp) =>
|
page.waitForResponse((resp) =>
|
||||||
resp.request().url().includes(`integrations/email`)
|
resp.request().url().includes(`integrations/email`)
|
||||||
)
|
),
|
||||||
|
typebotViewer(page).locator('text=Send email').click(),
|
||||||
|
])
|
||||||
const { previewUrl } = await response.json()
|
const { previewUrl } = await response.json()
|
||||||
await page.goto(previewUrl)
|
await page.goto(previewUrl)
|
||||||
await expect(page.locator('text="Hey!"')).toBeVisible()
|
await expect(page.locator('text="Hey!"')).toBeVisible()
|
||||||
|
@ -17,13 +17,15 @@ test('should work as expected', async ({ page }) => {
|
|||||||
|
|
||||||
await page.goto(`/${typebotId}-public`)
|
await page.goto(`/${typebotId}-public`)
|
||||||
await typebotViewer(page).locator('input').fill('Hello there!')
|
await typebotViewer(page).locator('input').fill('Hello there!')
|
||||||
await typebotViewer(page).locator('input').press('Enter')
|
await Promise.all([
|
||||||
await page.waitForResponse(
|
page.waitForResponse(
|
||||||
(resp) =>
|
(resp) =>
|
||||||
resp.request().url().includes(`/api/typebots/t/results`) &&
|
resp.request().url().includes(`/api/typebots/t/results`) &&
|
||||||
resp.status() === 200 &&
|
resp.status() === 200 &&
|
||||||
resp.request().method() === 'PUT'
|
resp.request().method() === 'PUT'
|
||||||
)
|
),
|
||||||
|
typebotViewer(page).locator('input').press('Enter'),
|
||||||
|
])
|
||||||
await page.goto(`${process.env.BUILDER_URL}/typebots/${typebotId}/results`)
|
await page.goto(`${process.env.BUILDER_URL}/typebots/${typebotId}/results`)
|
||||||
await expect(page.locator('text=Hello there!')).toBeVisible()
|
await expect(page.locator('text=Hello there!')).toBeVisible()
|
||||||
})
|
})
|
||||||
|
@ -23,20 +23,24 @@ test('should execute webhooks properly', async ({ page }) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
await page.goto(`/${typebotId}-public`)
|
await page.goto(`/${typebotId}-public`)
|
||||||
await typebotViewer(page).locator('text=Send success webhook').click()
|
await Promise.all([
|
||||||
await page.waitForResponse(
|
page.waitForResponse(
|
||||||
async (resp) =>
|
async (resp) =>
|
||||||
resp.request().url().includes(`/api/typebots/${typebotId}/blocks`) &&
|
resp.request().url().includes(`/api/typebots/${typebotId}/blocks`) &&
|
||||||
resp.status() === 200 &&
|
resp.status() === 200 &&
|
||||||
(await resp.json()).statusCode === 200
|
(await resp.json()).statusCode === 200
|
||||||
)
|
),
|
||||||
await typebotViewer(page).locator('text=Send failed webhook').click()
|
typebotViewer(page).locator('text=Send success webhook').click(),
|
||||||
await page.waitForResponse(
|
])
|
||||||
|
await Promise.all([
|
||||||
|
page.waitForResponse(
|
||||||
async (resp) =>
|
async (resp) =>
|
||||||
resp.request().url().includes(`/api/typebots/${typebotId}/blocks`) &&
|
resp.request().url().includes(`/api/typebots/${typebotId}/blocks`) &&
|
||||||
resp.status() === 200 &&
|
resp.status() === 200 &&
|
||||||
(await resp.json()).statusCode === 500
|
(await resp.json()).statusCode === 500
|
||||||
)
|
),
|
||||||
|
typebotViewer(page).locator('text=Send failed webhook').click(),
|
||||||
|
])
|
||||||
await page.goto(`http://localhost:3000/typebots/${typebotId}/results`)
|
await page.goto(`http://localhost:3000/typebots/${typebotId}/results`)
|
||||||
await page.click('text="See logs"')
|
await page.click('text="See logs"')
|
||||||
await expect(
|
await expect(
|
||||||
|
@ -23,12 +23,12 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cz-emoji": "1.3.2-canary.2",
|
"cz-emoji": "1.3.2-canary.2",
|
||||||
"turbo": "1.4.6"
|
"turbo": "1.5.5"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"commitizen": {
|
"commitizen": {
|
||||||
"path": "node_modules/cz-emoji"
|
"path": "node_modules/cz-emoji"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@7.8.0"
|
"packageManager": "pnpm@7.12.2"
|
||||||
}
|
}
|
||||||
|
@ -11,56 +11,56 @@
|
|||||||
"lint": "eslint --fix -c ./.eslintrc.js \"./src/**/*.ts*\""
|
"lint": "eslint --fix -c ./.eslintrc.js \"./src/**/*.ts*\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stripe/react-stripe-js": "1.10.0",
|
"@stripe/react-stripe-js": "1.12.0",
|
||||||
"@stripe/stripe-js": "1.36.0",
|
"@stripe/stripe-js": "1.38.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "15.8.1",
|
||||||
"qs": "^6.11.0",
|
"qs": "6.11.0",
|
||||||
"react-frame-component": "5.2.3",
|
"react-frame-component": "5.2.3",
|
||||||
"react-phone-number-input": "3.2.11",
|
"react-phone-number-input": "3.2.11",
|
||||||
"react-scroll": "^1.8.7",
|
"react-scroll": "1.8.7",
|
||||||
"react-transition-group": "4.4.5",
|
"react-transition-group": "4.4.5",
|
||||||
"resize-observer": "^1.0.4"
|
"resize-observer": "1.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-commonjs": "22.0.2",
|
"@rollup/plugin-commonjs": "22.0.2",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "4.1.0",
|
||||||
"@rollup/plugin-node-resolve": "^14.0.1",
|
"@rollup/plugin-node-resolve": "14.1.0",
|
||||||
"@rollup/plugin-typescript": "8.5.0",
|
"@rollup/plugin-typescript": "8.5.0",
|
||||||
"@types/node": "18.7.16",
|
"@types/node": "18.7.23",
|
||||||
"@types/qs": "^6.9.7",
|
"@types/qs": "6.9.7",
|
||||||
"@types/react": "18.0.19",
|
"@types/react": "18.0.21",
|
||||||
"@types/react-phone-number-input": "^3.0.14",
|
"@types/react-phone-number-input": "3.0.14",
|
||||||
"@types/react-scroll": "^1.8.4",
|
"@types/react-scroll": "1.8.4",
|
||||||
"@types/react-transition-group": "^4.4.5",
|
"@types/react-transition-group": "4.4.5",
|
||||||
"@typescript-eslint/eslint-plugin": "5.36.2",
|
"@typescript-eslint/eslint-plugin": "5.38.1",
|
||||||
"@typescript-eslint/parser": "5.36.2",
|
"@typescript-eslint/parser": "5.38.1",
|
||||||
"autoprefixer": "10.4.8",
|
"autoprefixer": "10.4.12",
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"eslint": "8.23.0",
|
"eslint": "8.24.0",
|
||||||
"eslint-config-next": "12.3.0",
|
"eslint-config-next": "12.3.1",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "8.5.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "4.2.1",
|
||||||
"eslint-plugin-react": "7.31.8",
|
"eslint-plugin-react": "7.31.8",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"postcss": "8.4.16",
|
"postcss": "8.4.17",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"react": "^18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"rollup": "2.79.0",
|
"rollup": "2.79.1",
|
||||||
"rollup-plugin-dts": "^4.2.2",
|
"rollup-plugin-dts": "4.2.2",
|
||||||
"rollup-plugin-peer-deps-external": "^2.2.4",
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
||||||
"rollup-plugin-postcss": "^4.0.2",
|
"rollup-plugin-postcss": "4.0.2",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "7.0.2",
|
||||||
"tailwindcss": "3.1.8",
|
"tailwindcss": "3.1.8",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "2.4.0",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "4.8.4",
|
||||||
"utils": "workspace:*"
|
"utils": "workspace:*"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"react": "^18.0.0",
|
"react": "18.0.0",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "18.0.0",
|
||||||
"utils": "workspace:*"
|
"utils": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
"migration:deploy": "prisma migrate deploy"
|
"migration:deploy": "prisma migrate deploy"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@prisma/client": "4.3.1"
|
"@prisma/client": "4.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prisma": "4.3.1",
|
"prisma": "4.4.0",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "4.8.4",
|
||||||
"dotenv-cli": "6.0.0"
|
"dotenv-cli": "6.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,20 +13,20 @@
|
|||||||
"author": "Baptiste Arnaud",
|
"author": "Baptiste Arnaud",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@faire/mjml-react": "^2.1.4",
|
"@faire/mjml-react": "2.1.4",
|
||||||
"@types/node": "18.7.16",
|
"@types/node": "18.7.23",
|
||||||
"@types/nodemailer": "6.4.5",
|
"@types/nodemailer": "6.4.6",
|
||||||
"@types/react": "^18.0.21",
|
"@types/react": "18.0.21",
|
||||||
"concurrently": "^7.4.0",
|
"concurrently": "7.4.0",
|
||||||
"http-server": "^14.1.1",
|
"http-server": "14.1.1",
|
||||||
"nodemailer": "^6.8.0",
|
"nodemailer": "6.8.0",
|
||||||
"react": "^18.2.0",
|
"react": "18.2.0",
|
||||||
"serve": "^14.0.1",
|
"serve": "14.0.1",
|
||||||
"tsx": "^3.9.0",
|
"tsx": "3.9.0",
|
||||||
"utils": "workspace:*"
|
"utils": "workspace:*"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@faire/mjml-react": "^2.1.4",
|
"@faire/mjml-react": "2.1.4",
|
||||||
"nodemailer": "^6.7.8"
|
"nodemailer": "6.7.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,15 +6,15 @@
|
|||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"zod": "^3.19.0"
|
"zod": "3.19.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^4.8.3",
|
"typescript": "4.8.4",
|
||||||
"next": "12.3.0",
|
"next": "12.3.1",
|
||||||
"db": "workspace:*"
|
"db": "workspace:*"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"next": "^12.0.0",
|
"next": "12.0.0",
|
||||||
"db": "workspace:*"
|
"db": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,11 +10,11 @@
|
|||||||
"start:prod": "NODE_ENV=production ts-node index.ts"
|
"start:prod": "NODE_ENV=production ts-node index.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "18.7.16",
|
"@types/node": "18.7.23",
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "10.9.1",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "4.8.4",
|
||||||
"utils": "workspace:*",
|
"utils": "workspace:*",
|
||||||
"emails": "workspace:*"
|
"emails": "workspace:*"
|
||||||
}
|
}
|
||||||
|
@ -11,22 +11,22 @@
|
|||||||
"test": "pnpm jest"
|
"test": "pnpm jest"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jest-environment-jsdom": "^29.0.3",
|
"jest-environment-jsdom": "29.1.2",
|
||||||
"@rollup/plugin-typescript": "8.5.0",
|
"@rollup/plugin-typescript": "8.5.0",
|
||||||
"@types/jest": "^29.0.1",
|
"@types/jest": "29.1.1",
|
||||||
"@typescript-eslint/eslint-plugin": "5.36.2",
|
"@typescript-eslint/eslint-plugin": "5.38.1",
|
||||||
"@typescript-eslint/parser": "5.36.2",
|
"@typescript-eslint/parser": "5.38.1",
|
||||||
"eslint": "8.23.0",
|
"eslint": "8.24.0",
|
||||||
"eslint-plugin-functional": "^4.3.0",
|
"eslint-plugin-functional": "4.4.0",
|
||||||
"eslint-plugin-jest": "27.0.4",
|
"eslint-plugin-jest": "27.0.4",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "4.2.1",
|
||||||
"jest": "^29.0.3",
|
"jest": "29.1.2",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"rollup": "2.79.0",
|
"rollup": "2.79.1",
|
||||||
"rollup-plugin-styles": "^4.0.0",
|
"rollup-plugin-styles": "4.0.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "7.0.2",
|
||||||
"ts-jest": "^29.0.0",
|
"ts-jest": "29.0.3",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "2.4.0",
|
||||||
"typescript": "^4.8.3"
|
"typescript": "4.8.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,20 +6,20 @@
|
|||||||
"main": "./index.ts",
|
"main": "./index.ts",
|
||||||
"types": "./index.ts",
|
"types": "./index.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/nodemailer": "6.4.5",
|
"@types/nodemailer": "6.4.6",
|
||||||
"aws-sdk": "2.1213.0",
|
"aws-sdk": "2.1227.0",
|
||||||
"cuid": "^2.1.8",
|
"cuid": "2.1.8",
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"next": "12.3.0",
|
"next": "12.3.1",
|
||||||
"nodemailer": "^6.7.8",
|
"nodemailer": "6.8.0",
|
||||||
"typescript": "^4.8.3"
|
"typescript": "4.8.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"aws-sdk": "^2.1152.0",
|
"aws-sdk": "2.1152.0",
|
||||||
"db": "workspace:*",
|
"db": "workspace:*",
|
||||||
"models": "workspace:*",
|
"models": "workspace:*",
|
||||||
"next": "^12.0.0",
|
"next": "12.0.0",
|
||||||
"nodemailer": "^6.7.8"
|
"nodemailer": "6.7.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"author": "baptisteArno",
|
"author": "baptisteArno",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@prettier/plugin-php": "^0.19.0",
|
"@prettier/plugin-php": "0.19.1",
|
||||||
"prettier": "2.7.1"
|
"prettier": "2.7.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
4298
pnpm-lock.yaml
generated
4298
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user