Skip to content

Commit

Permalink
rename app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
alan2207 committed Aug 19, 2024
1 parent 35024cd commit 366c610
Show file tree
Hide file tree
Showing 21 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions apps/nextjs-pages/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
File renamed without changes.
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NextPage } from 'next';
import type { AppProps } from 'next/app';
import { ReactElement, ReactNode } from 'react';

import { AppProvider } from '@/application/provider';
import { AppProvider } from '@/app/provider';

import '@/styles/globals.css';

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { DiscussionPage as default } from '@/application/pages/app/discussions/discussion';
export { DiscussionPage as default } from '@/app/pages/app/discussions/discussion';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/app/discussions/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { DiscussionsPage as default } from '@/application/pages/app/discussions/discussions';
export { DiscussionsPage as default } from '@/app/pages/app/discussions/discussions';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/app/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { DashboardPage as default } from '@/application/pages/app/dashboard';
export { DashboardPage as default } from '@/app/pages/app/dashboard';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/app/profile.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { ProfilePage as default } from '@/application/pages/app/profile';
export { ProfilePage as default } from '@/app/pages/app/profile';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/app/users.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { UsersPage as default } from '@/application/pages/app/users';
export { UsersPage as default } from '@/app/pages/app/users';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/auth/login.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { LoginPage as default } from '@/application/pages/auth/login';
export { LoginPage as default } from '@/app/pages/auth/login';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/pages/auth/register.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { RegisterPage as default } from '@/application/pages/auth/register';
export { RegisterPage as default } from '@/app/pages/auth/register';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {
getServerSideProps,
PublicDiscussionPage as default,
} from '@/application/pages/app/discussions/discussion';
} from '@/app/pages/app/discussions/discussion';
2 changes: 1 addition & 1 deletion apps/nextjs-pages/src/testing/test-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
import userEvent from '@testing-library/user-event';
import Cookies from 'js-cookie';

import { AppProvider } from '@/application/provider';
import { AppProvider } from '@/app/provider';

import {
createDiscussion as generateDiscussion,
Expand Down

0 comments on commit 366c610

Please sign in to comment.