-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* alias imports fix * fix build issues of express-server * express app upgrade pkgs * upgrade nestjs server * upgrade nextjs dependencies except MUI * update express-server readme * upgrade to mui v6 in next-client * update next-client mui * upgrade react dependencies * upgrade web-vitals, fix test cases failing to run
- Loading branch information
1 parent
b3cf3be
commit 0a8bbf2
Showing
34 changed files
with
2,283 additions
and
2,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"watch": ["src/"], | ||
"ext": "js,ts,json,yml,yaml", | ||
"ignore": ["*.test.{js,ts}", "node_modules/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"baseUrl": "src", | ||
"rootDir": "src", | ||
"module": "commonjs", | ||
"resolveJsonModule": false, | ||
"outDir": "dist", | ||
"baseUrl": "./", | ||
"outDir": "dist", | ||
"rootDir": "src", | ||
"paths": { | ||
"@/*": ["src/*"] | ||
}, | ||
"esModuleInterop": true, | ||
"incremental": false | ||
"moduleResolution": "node" | ||
}, | ||
"ts-node": { | ||
"require": ["tsconfig-paths/register"] | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "**/__tests__/*", "dist"] | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["node_modules", "dist"], | ||
"tsc-alias": { | ||
"verbose": false, | ||
"resolveFullPaths": true, | ||
"fileExtensions": { | ||
"inputGlob": "{js,mjs,ts}", | ||
"outputCheck": ["js", "ts", "json", "jsx", "mjs"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const nextConfig = { | ||
images: { | ||
dangerouslyAllowSVG: true, | ||
contentDispositionType: 'attachment', | ||
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", | ||
remotePatterns: [ | ||
{ | ||
protocol: 'https', | ||
hostname: 'img.icons8.com' | ||
}, | ||
{ | ||
protocol: 'https', | ||
hostname: 'img.shields.io' | ||
} | ||
] | ||
} | ||
}; | ||
|
||
export default nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
import type { Metadata } from 'next'; | ||
import { Inter } from 'next/font/google'; | ||
import { Roboto } from 'next/font/google'; | ||
import { AppRouterCacheProvider } from '@mui/material-nextjs/v14-appRouter'; | ||
import { ThemeProvider } from '@mui/material/styles'; | ||
import theme from '@/assets/styles/theme'; | ||
import { AppThemeProvider } from '@/theme'; | ||
import { LayoutProps } from '@/types'; | ||
import './globals.css'; | ||
|
||
const inter = Inter({ subsets: ['latin'] }); | ||
const roboto = Roboto({ | ||
weight: ['300', '400', '500', '700'], | ||
subsets: ['latin'], | ||
display: 'swap', | ||
variable: '--my-font-family', | ||
}); | ||
const defaultTitle = 'NextJs App'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Create Next App', | ||
description: 'Generated by create next app' | ||
title: { | ||
template: `%s | ${defaultTitle}`, | ||
default: defaultTitle, | ||
}, | ||
description: 'NextJS Template App' | ||
}; | ||
|
||
export default function RootLayout({ children }: { | ||
children: React.ReactNode; | ||
}) { | ||
const RootLayout = ({ children }: LayoutProps) => { | ||
return ( | ||
<html lang="en"> | ||
<body className={inter.className}> | ||
<body className={roboto.variable}> | ||
<AppRouterCacheProvider options={{ key: 'mui' }}> | ||
<ThemeProvider theme={theme}> | ||
<AppThemeProvider> | ||
{children} | ||
</ThemeProvider> | ||
</AppThemeProvider> | ||
</AppRouterCacheProvider> | ||
</body> | ||
</html> | ||
); | ||
} | ||
}; | ||
|
||
export default RootLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Stylize this page to handle the routes not existing inside your application. | ||
* Delete this file, if you want to render the default 404 Page for NextJS. | ||
*/ | ||
|
||
const Page404 = () => { | ||
return ( | ||
<p>not found</p> | ||
); | ||
}; | ||
|
||
export default Page404; |
Oops, something went wrong.