Skip to content

Commit 5ae3276

Browse files
committed
feat: restructure project folder
1 parent 9704af9 commit 5ae3276

File tree

153 files changed

+102
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+102
-103
lines changed

apps/web/@/actions/auth/index.ts renamed to apps/web/src/actions/auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { createUser } from "database/src/users/queries"
77
import { sendEmail } from "emails"
88
import VerifyEmail from "emails/verify-email"
99

10-
import { redirect } from "@/utils/navigation"
10+
import { redirect } from "utils/navigation"
1111

1212
import { SignUpDataOutput, signUpSchema } from "./type"
1313

File renamed without changes.

apps/web/@/actions/protect/postAction.ts renamed to apps/web/src/actions/protect/postAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import prisma, {
1515
} from "database"
1616
import { toast } from "react-toastify"
1717

18-
import APP_ROUTES from "@/constants/routes"
18+
import APP_ROUTES from "constants/routes"
1919
import { TUserItem, userSelect } from "@/types/users"
2020

2121
// TODO: move to database package

apps/web/app/[lang]/(auth)/signin/page.tsx renamed to apps/web/src/app/[lang]/(auth)/signin/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { redirect } from "next/navigation"
44
import { auth } from "configs/auth"
55
import { getTranslations } from "next-intl/server"
66

7-
import SignIn from "@/molecules/auth/sign-in"
7+
import SignIn from "molecules/auth/sign-in"
88

99
export async function generateMetadata() {
1010
const t = await getTranslations()

apps/web/app/[lang]/(auth)/signup/page.tsx renamed to apps/web/src/app/[lang]/(auth)/signup/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
22

3-
import SignUp from "@/molecules/auth/sign-up"
3+
import SignUp from "molecules/auth/sign-up"
44

55
const RegisterPage: React.FC = () => {
66
return (

apps/web/app/[lang]/(protected)/layout.tsx renamed to apps/web/src/app/[lang]/(protected)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SidebarItem, { SidebarItemProps } from "@/molecules/sidebar-item"
1+
import SidebarItem, { SidebarItemProps } from "molecules/sidebar-item"
22

33
const SIDE_BAR = [
44
{

apps/web/app/[lang]/(protected)/user/posts/page.tsx renamed to apps/web/src/app/[lang]/(protected)/user/posts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Metadata } from "next/types"
44
import { auth } from "configs/auth"
55
import { getUser } from "database"
66

7-
import PageTitle from "@/molecules/page-title"
7+
import PageTitle from "molecules/page-title"
88

99
export async function generateMetadata(): Promise<Metadata> {
1010
const session = await auth()

0 commit comments

Comments
 (0)