mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 01:32:02 +10:00
update dependencies, fix birthDate error outline
This commit is contained in:
@ -30,7 +30,7 @@ const Export = () => {
|
||||
};
|
||||
|
||||
const handleExportJSON = async () => {
|
||||
const { nanoid } = await import('nanoid');
|
||||
const nanoid = (await import('nanoid')).nanoid;
|
||||
const download = (await import('downloadjs')).default;
|
||||
|
||||
const redactedResume = pick(resume, ['basics', 'sections', 'metadata', 'public']);
|
||||
|
||||
@ -15,9 +15,9 @@ const Markdown: React.FC<Props> = ({ className, children }) => {
|
||||
|
||||
return (
|
||||
<ReactMarkdown
|
||||
rehypePlugins={[rehypeKatex]}
|
||||
className={clsx('markdown', className)}
|
||||
remarkPlugins={[remarkGfm, remarkMath]}
|
||||
rehypePlugins={[rehypeKatex]}
|
||||
>
|
||||
{children}
|
||||
</ReactMarkdown>
|
||||
|
||||
@ -2,6 +2,7 @@ import { TextField } from '@mui/material';
|
||||
import { DatePicker } from '@mui/x-date-pickers/DatePicker';
|
||||
import dayjs from 'dayjs';
|
||||
import get from 'lodash/get';
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
import { useAppDispatch, useAppSelector } from '@/store/hooks';
|
||||
@ -57,9 +58,9 @@ const ResumeInput: React.FC<Props> = ({ type = 'text', label, path, className, m
|
||||
<DatePicker
|
||||
openTo="year"
|
||||
label={label}
|
||||
value={dayjs(value)}
|
||||
views={['year', 'month', 'day']}
|
||||
className={className}
|
||||
views={['year', 'month', 'day']}
|
||||
value={isEmpty(value) ? null : dayjs(value)}
|
||||
onChange={(date: dayjs.Dayjs | null) => {
|
||||
if (!date) return onChangeValue('');
|
||||
if (dayjs(date).isValid()) return onChangeValue(dayjs(date).format('YYYY-MM-DD'));
|
||||
|
||||
@ -24,6 +24,13 @@ const theme: ThemeOptions = {
|
||||
variant: 'outlined',
|
||||
},
|
||||
},
|
||||
MuiInputBase: {
|
||||
styleOverrides: {
|
||||
input: {
|
||||
boxShadow: 'none !important',
|
||||
},
|
||||
},
|
||||
},
|
||||
MuiAppBar: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
"@mui/lab": "^5.0.0-alpha.137",
|
||||
"@mui/material": "^5.14.2",
|
||||
"@mui/system": "^5.14.1",
|
||||
"@mui/x-date-pickers": "6.10.1",
|
||||
"@mui/x-date-pickers": "6.10.2",
|
||||
"@radix-ui/react-separator": "^1.0.3",
|
||||
"@react-oauth/google": "^0.11.1",
|
||||
"@reduxjs/toolkit": "^1.9.5",
|
||||
@ -67,9 +67,9 @@
|
||||
"@tailwindcss/forms": "^0.5.4",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"@types/downloadjs": "^1.4.3",
|
||||
"@types/lodash": "^4.14.195",
|
||||
"@types/node": "^20.4.4",
|
||||
"@types/react": "^18.2.16",
|
||||
"@types/lodash": "^4.14.196",
|
||||
"@types/node": "^20.4.5",
|
||||
"@types/react": "^18.2.17",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@types/react-redux": "^7.1.25",
|
||||
"@types/uuid": "^9.0.2",
|
||||
|
||||
10
package.json
10
package.json
@ -3,11 +3,11 @@
|
||||
"version": "3.8.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "dotenv -- turbo run dev",
|
||||
"dev": "turbo run dev",
|
||||
"build": "dotenv -- turbo run build",
|
||||
"start": "dotenv -- turbo run start",
|
||||
"format": "prettier --write --loglevel silent --cache .",
|
||||
"lint": "turbo run lint",
|
||||
"format": "prettier --write --loglevel silent --cache .",
|
||||
"update-dependencies": "ncu -x nanoid --deep -u && pnpm install",
|
||||
"generate-env": "ts-node ./scripts/generate-env.ts"
|
||||
},
|
||||
@ -20,17 +20,17 @@
|
||||
"dotenv-cli": "^7.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.4.4",
|
||||
"@types/node": "^20.4.5",
|
||||
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
||||
"@typescript-eslint/parser": "^6.2.0",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||
"eslint-plugin-unused-imports": "^3.0.0",
|
||||
"npm-check-updates": "^16.10.16",
|
||||
"npm-check-updates": "^16.10.17",
|
||||
"prettier": "^3.0.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"turbo": "^1.10.11",
|
||||
"turbo": "^1.10.12",
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
"resolutions": {
|
||||
|
||||
1303
pnpm-lock.yaml
generated
1303
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@
|
||||
"start": "node dist/main"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.374.0",
|
||||
"@aws-sdk/client-s3": "^3.378.0",
|
||||
"@nestjs/axios": "^3.0.0",
|
||||
"@nestjs/cache-manager": "^2.1.0",
|
||||
"@nestjs/common": "^10.1.2",
|
||||
@ -54,10 +54,10 @@
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
"@types/cookie-parser": "^1.4.3",
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/lodash": "^4.14.195",
|
||||
"@types/lodash": "^4.14.196",
|
||||
"@types/multer": "^1.4.7",
|
||||
"@types/node": "^20.4.4",
|
||||
"@types/nodemailer": "^6.4.8",
|
||||
"@types/node": "^20.4.5",
|
||||
"@types/nodemailer": "^6.4.9",
|
||||
"@types/passport-jwt": "^3.0.9",
|
||||
"@types/passport-local": "^1.0.35",
|
||||
"@types/uuid": "^9.0.2",
|
||||
|
||||
Reference in New Issue
Block a user