Skip to content

Commit

Permalink
chore(deps): nextjs soft update
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogradov committed Jul 26, 2023
1 parent 1fab7eb commit 7f72159
Show file tree
Hide file tree
Showing 18 changed files with 364 additions and 375 deletions.
681 changes: 332 additions & 349 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
"dependencies": {
"@aws-sdk/client-s3": "3.374.0",
"@hookform/resolvers": "3.1.1",
"@next-auth/prisma-adapter": "1.0.6",
"@sentry/nextjs": "7.58.1",
"@next-auth/prisma-adapter": "1.0.7",
"@sentry/nextjs": "7.60.0",
"@tanstack/react-query": "4.29.5",
"@tanstack/react-query-devtools": "4.29.5",
"@taskany/bricks": "1.24.0",
"@taskany/colors": "1.1.0",
"@taskany/icons": "1.0.0",
"@tippyjs/react": "4.2.6",
"@trpc/client": "10.23.1",
"@trpc/next": "10.23.1",
"@trpc/react-query": "10.23.1",
"@trpc/server": "10.23.1",
"@trpc/client": "10.35.0",
"@trpc/next": "10.35.0",
"@trpc/react-query": "10.35.0",
"@trpc/server": "10.35.0",
"color-layer": "1.0.3",
"concurrently": "8.2.0",
"cors": "2.8.5",
Expand All @@ -47,8 +47,8 @@
"md5": "2.3.0",
"multer": "1.4.5-lts.1",
"nanoid": "4.0.2",
"next": "12.2.5",
"next-auth": "4.22.1",
"next": "13.4.2",
"next-auth": "4.22.3",
"next-connect": "0.13.0",
"next-themes": "0.2.1",
"nodemailer": "6.9.4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/DashboardPage/DashboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export const DashboardPage = ({ user, ssrTime }: ExternalPageProps) => {
onTagClick={setTagsFilterOutside}
>
<ProjectListContainer>
<NextLink href={routes.project(group.project.id)} passHref>
<NextLink href={routes.project(group.project.id)} passHref legacyBehavior>
<ProjectListItem
key={group.project.id}
as="a"
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExporeProjectsPage/ExporeProjectsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const ExploreProjectsPage = ({ user, ssrTime }: ExternalPageProps) => {
<ProjectListContainer>
{projects.data.map((project) =>
nullable(project, (p) => (
<NextLink key={p.id} href={routes.project(p.id)} passHref>
<NextLink key={p.id} href={routes.project(p.id)} passHref legacyBehavior>
<ProjectListItem
as="a"
title={p.title}
Expand Down
6 changes: 5 additions & 1 deletion src/components/GoalCriteria/GoalCriteria.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ const GoalCriteriaItem: React.FC<GoalCriteriaItemProps> = (props) => {

return (
<CustomCell>
<NextLink passHref href={routes.goal(`${values.projectId}-${values.scopeId}`)}>
<NextLink
passHref
href={routes.goal(`${values.projectId}-${values.scopeId}`)}
legacyBehavior
>
<Title size="s" weight="bold">
{values.title}
</Title>
Expand Down
6 changes: 5 additions & 1 deletion src/components/GoalDependencyList/GoalDependencyList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ const GoalDependencyListItem: React.FC<GoalDependencyListItemProps> = ({ onRemov
name: 'title',
renderColumn: (values) => (
<CustomCell>
<NextLink passHref href={routes.goal(`${values.projectId}-${values.scopeId}`)}>
<NextLink
passHref
href={routes.goal(`${values.projectId}-${values.scopeId}`)}
legacyBehavior
>
<Title size="s" weight="bold">
{values.title}
</Title>
Expand Down
2 changes: 1 addition & 1 deletion src/components/GoalListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const GoalListItem: React.FC<GoalListItemProps> = React.memo(
}, [issuer, owner]);

return (
<NextLink href={routes.goal(shortId)} passHref>
<NextLink href={routes.goal(shortId)} passHref legacyBehavior>
<TableRow as="a" focused={focused} className={className} onClick={onClick}>
<GoalTitleItem>
<GoalTitleContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/components/GoalListItemCompact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const GoalListItemCompact: React.FC<GoalListItemCompactProps> = React.mem
}, [issuer, owner]);

return (
<NextLink href={routes.goal(shortId)} passHref>
<NextLink href={routes.goal(shortId)} passHref legacyBehavior>
<TableRow as="a" focused={focused} onClick={onClick} className={className}>
<ContentItem>
<GoalIcon size="s" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/HelpButton/HelpButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface HelpButtonProps {
}

export const HelpButton = React.memo(({ slug, size = 's', color = gray9 }: HelpButtonProps) => (
<NextLink passHref href={routes.help(slug)}>
<NextLink passHref href={routes.help(slug)} legacyBehavior>
<Link>
<QuestionIcon size={size} color={color} />
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/IssueListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const StyledDotWrapper = styled.div<{ size: IssueListItemProps['size'] }>`

export const IssueListItem: React.FC<IssueListItemProps> = ({ issue, className, size = 's' }) => {
return (
<NextLink passHref href={routes.goal(issue._shortId)}>
<NextLink passHref href={routes.goal(issue._shortId)} legacyBehavior>
<StyledLink inline>
<StyledIssueListItem className={className}>
{nullable(issue.state, (state) => (
Expand Down
2 changes: 1 addition & 1 deletion src/components/IssueParent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const IssueParent: React.FC<IssueParentProps> = ({ parent, as, mode = 'de
{normalizedParent.map((p, i) =>
nullable(p.id, (id) => (
<span key={id}>
<NextLink passHref href={routes.project(id)}>
<NextLink passHref href={routes.project(id)} legacyBehavior>
<Link inline>{p.title}</Link>
</NextLink>
{i < normalizedParent.length - 1 ? ', ' : ''}
Expand Down
2 changes: 1 addition & 1 deletion src/components/IssueTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const IssueTitle = React.forwardRef<HTMLDivElement, IssueTitleProps>(({ t
return (
<StyledIssueTitleText forwardRef={ref} size={size} weight="bolder">
{href ? (
<NextLink href={href} passHref>
<NextLink href={href} passHref legacyBehavior>
<Link inline>{title}</Link>
</NextLink>
) : (
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const PageHeader: FC = () => {
nav={
<StyledHeaderNav>
{links.map(({ href, title, beta }) => (
<NextLink href={href} passHref key={href}>
<NextLink href={href} passHref key={href} legacyBehavior>
<HeaderNavLink>
{title}{' '}
{nullable(beta, () => (
Expand Down
4 changes: 1 addition & 3 deletions src/components/PageHeaderLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ export const PageHeaderLogo: React.FC = () => {

return (
<NextLink href={routes.index()} passHref>
<a>
<TaskanyLogo />
</a>
<TaskanyLogo />
</NextLink>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const ProjectListItemCollapsable: React.FC<ProjectListItemCollapsableProp
</StyledProjectListItemAction>
<StyledProjectListItemAction>
{nullable(href, (h) => (
<NextLink href={h} passHref>
<NextLink href={h} passHref legacyBehavior>
<Link inline target="_blank" onClick={onExternalLinkClick}>
<ExternalLinkIcon size="s" />
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProjectListItemCompact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface ProjectListItemCompactProps {
export const ProjectListItemCompact: React.FC<ProjectListItemCompactProps> = React.memo(
({ id, owner, title, focused, className, onClick }) => {
return (
<NextLink href={routes.project(id)} passHref>
<NextLink href={routes.project(id)} passHref legacyBehavior>
<TableRow as="a" focused={focused} onClick={onClick} className={className}>
<ContentItem>
<ProjectIcon size="s" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProjectPageLayout/ProjectPageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const ProjectPageLayout: React.FC<ProjectPageLayoutProps> = ({
<TabsMenu>
{tabsMenuOptions.map(([title, href, ownerOnly]) =>
nullable(ownerOnly ? owned : true, () => (
<NextLink key={title} href={href} passHref>
<NextLink key={title} href={href} passHref legacyBehavior>
<TabsMenuItem active={router.asPath.split('?')[0] === href}>{title}</TabsMenuItem>
</NextLink>
)),
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProjectTitleList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const ProjectTitleList: React.FC<ProjectTitleListProps> = ({ projects = [
{projects.map((project, i) =>
nullable(project, (pr) => (
<span key={pr.title}>
<NextLink key={pr.id} passHref href={routes.project(pr.id)}>
<NextLink key={pr.id} passHref href={routes.project(pr.id)} legacyBehavior>
<Link inline title={pr.description ?? undefined}>
{pr.title}
</Link>
Expand Down

0 comments on commit 7f72159

Please sign in to comment.