⬆️ Upgrade dependencies
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"prop-types": "15.8.1",
|
||||
"qs": "6.11.0",
|
||||
"react-frame-component": "5.2.4",
|
||||
"react-phone-number-input": "3.2.15",
|
||||
"react-phone-number-input": "3.2.16",
|
||||
"react-scroll": "1.8.9",
|
||||
"react-transition-group": "4.4.5",
|
||||
"resize-observer": "1.0.4"
|
||||
@@ -26,16 +26,16 @@
|
||||
"@types/qs": "6.9.7",
|
||||
"@types/react": "18.0.26",
|
||||
"@types/react-phone-number-input": "3.0.14",
|
||||
"@types/react-scroll": "1.8.5",
|
||||
"@types/react-scroll": "1.8.6",
|
||||
"@types/react-transition-group": "4.4.5",
|
||||
"autoprefixer": "10.4.13",
|
||||
"db": "workspace:*",
|
||||
"esbuild": "^0.16.15",
|
||||
"esbuild": "^0.17.0",
|
||||
"eslint": "8.31.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"models": "workspace:*",
|
||||
"postcss": "8.4.21",
|
||||
"prettier": "2.8.2",
|
||||
"prettier": "2.8.3",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"tailwindcss": "3.2.4",
|
||||
|
||||
@@ -18,10 +18,11 @@ export const parseReadableDate = ({
|
||||
minute: hasTime ? '2-digit' : undefined,
|
||||
}
|
||||
const fromReadable = new Date(
|
||||
from.replace(/-/g, '/').replace(/T.+/, '')
|
||||
hasTime ? from : from.replace(/-/g, '/')
|
||||
).toLocaleString(currentLocale, formatOptions)
|
||||
console.log(to, to.replace(/-/g, '/'))
|
||||
const toReadable = new Date(
|
||||
to.replace(/-/g, '/').replace(/T.+/, '')
|
||||
hasTime ? to : to.replace(/-/g, '/')
|
||||
).toLocaleString(currentLocale, formatOptions)
|
||||
return `${fromReadable}${isRange ? ` to ${toReadable}` : ''}`
|
||||
}
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
"author": "Baptiste Arnaud",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@faire/mjml-react": "3.0.1",
|
||||
"@faire/mjml-react": "3.0.2",
|
||||
"@types/node": "18.11.18",
|
||||
"@types/nodemailer": "6.4.7",
|
||||
"@types/react": "18.0.26",
|
||||
"concurrently": "7.6.0",
|
||||
"http-server": "14.1.1",
|
||||
"nodemailer": "6.8.0",
|
||||
"nodemailer": "6.9.0",
|
||||
"react": "18.2.0",
|
||||
"tsx": "3.12.1",
|
||||
"tsx": "3.12.2",
|
||||
"utils": "workspace:*",
|
||||
"eslint": "8.31.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { parseNumberWithCommas } from 'utils'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { parseNumberWithCommas } from 'utils'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
MjmlColumn,
|
||||
MjmlSpacer,
|
||||
} from '@faire/mjml-react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React from 'react'
|
||||
import { render } from '@faire/mjml-react/dist/src/utils/render'
|
||||
import { render } from '@faire/mjml-react/utils/render'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import {
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"eslint": "8.31.0",
|
||||
"eslint-config-next": "13.1.1",
|
||||
"eslint-config-next": "13.1.2",
|
||||
"eslint-config-prettier": "8.6.0",
|
||||
"eslint-plugin-react": "7.31.11"
|
||||
"eslint-plugin-react": "7.32.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
||||
"@typescript-eslint/parser": "^5.48.0"
|
||||
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
||||
"@typescript-eslint/parser": "^5.48.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"models": "workspace:*",
|
||||
"phone": "3.1.32",
|
||||
"solid-element": "1.6.3",
|
||||
"solid-js": "1.6.8",
|
||||
"solid-js": "1.6.9",
|
||||
"utils": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -27,13 +27,13 @@
|
||||
"@rollup/plugin-typescript": "11.0.0",
|
||||
"@types/react": "18.0.26",
|
||||
"autoprefixer": "10.4.13",
|
||||
"babel-preset-solid": "1.6.7",
|
||||
"babel-preset-solid": "1.6.9",
|
||||
"eslint": "8.31.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"eslint-plugin-solid": "0.9.1",
|
||||
"eslint-plugin-solid": "0.9.2",
|
||||
"postcss": "8.4.21",
|
||||
"react": "18.2.0",
|
||||
"rollup": "3.9.1",
|
||||
"rollup": "3.10.0",
|
||||
"rollup-plugin-babel": "4.4.0",
|
||||
"rollup-plugin-dts": "5.1.1",
|
||||
"rollup-plugin-postcss": "4.0.2",
|
||||
|
||||
@@ -17,10 +17,12 @@ export const parseReadableDate = ({
|
||||
hour: hasTime ? '2-digit' : undefined,
|
||||
minute: hasTime ? '2-digit' : undefined,
|
||||
}
|
||||
const fromReadable = new Date(from).toLocaleString(
|
||||
currentLocale,
|
||||
formatOptions
|
||||
)
|
||||
const toReadable = new Date(to).toLocaleString(currentLocale, formatOptions)
|
||||
const fromReadable = new Date(
|
||||
hasTime ? from : from.replace(/-/g, '/')
|
||||
).toLocaleString(currentLocale, formatOptions)
|
||||
console.log(to, to.replace(/-/g, '/'))
|
||||
const toReadable = new Date(
|
||||
hasTime ? to : to.replace(/-/g, '/')
|
||||
).toLocaleString(currentLocale, formatOptions)
|
||||
return `${fromReadable}${isRange ? ` to ${toReadable}` : ''}`
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"devDependencies": {
|
||||
"cuid": "2.1.8",
|
||||
"db": "workspace:*",
|
||||
"next": "13.1.1",
|
||||
"next": "13.1.2",
|
||||
"tsconfig": "workspace:*",
|
||||
"typescript": "4.9.4"
|
||||
},
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"react": "18.2.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsup": "6.5.0",
|
||||
"tsx": "3.12.1",
|
||||
"tsx": "3.12.2",
|
||||
"typescript": "^4.9.4",
|
||||
"utils": "workspace:*",
|
||||
"models": "workspace:*"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"models": "workspace:*",
|
||||
"prompts": "2.4.2",
|
||||
"stripe": "11.6.0",
|
||||
"tsx": "3.12.1",
|
||||
"tsx": "3.12.2",
|
||||
"typescript": "4.9.4",
|
||||
"utils": "workspace:*",
|
||||
"zod": "3.20.2"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"jest": "29.3.1",
|
||||
"jest-environment-jsdom": "29.3.1",
|
||||
"prettier": "2.8.2",
|
||||
"ts-jest": "29.0.3",
|
||||
"prettier": "2.8.3",
|
||||
"ts-jest": "29.0.5",
|
||||
"typescript": "4.9.4",
|
||||
"tsconfig": "workspace:*"
|
||||
}
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.29.2",
|
||||
"@types/nodemailer": "6.4.7",
|
||||
"aws-sdk": "2.1290.0",
|
||||
"aws-sdk": "2.1295.0",
|
||||
"cuid": "2.1.8",
|
||||
"db": "workspace:*",
|
||||
"dotenv": "16.0.3",
|
||||
"models": "workspace:*",
|
||||
"next": "13.1.1",
|
||||
"nodemailer": "6.8.0",
|
||||
"next": "13.1.2",
|
||||
"nodemailer": "6.9.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"typescript": "4.9.4"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"devDependencies": {
|
||||
"@prettier/plugin-php": "0.19.2",
|
||||
"prettier": "2.8.2"
|
||||
"prettier": "2.8.3"
|
||||
},
|
||||
"scripts": {
|
||||
"deploy": "pnpm copy && pnpm commit",
|
||||
|
||||
Reference in New Issue
Block a user