From 250b029c9d0cb55b04219ec560ea31fd293eb1b1 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 12:39:30 +0300 Subject: [PATCH 01/11] updated next version --- LibraryTrackingApp/src/frontend/package-lock.json | 2 +- LibraryTrackingApp/src/frontend/package.json | 2 +- LibraryTrackingApp/src/frontend/pages/_app.jsx | 3 +-- package-lock.json | 6 ++++++ 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 package-lock.json diff --git a/LibraryTrackingApp/src/frontend/package-lock.json b/LibraryTrackingApp/src/frontend/package-lock.json index 9ad754c..d15e849 100644 --- a/LibraryTrackingApp/src/frontend/package-lock.json +++ b/LibraryTrackingApp/src/frontend/package-lock.json @@ -23,7 +23,7 @@ "https": "^1.0.0", "i18next": "^23.7.8", "leaflet-defaulticon-compatibility": "^0.1.2", - "next": "13.5.6", + "next": "^13.2.5", "next-i18next": "^15.1.1", "next-seo": "^6.4.0", "postcss": "8.4.31", diff --git a/LibraryTrackingApp/src/frontend/package.json b/LibraryTrackingApp/src/frontend/package.json index 9e9663d..8d3de42 100644 --- a/LibraryTrackingApp/src/frontend/package.json +++ b/LibraryTrackingApp/src/frontend/package.json @@ -24,7 +24,7 @@ "https": "^1.0.0", "i18next": "^23.7.8", "leaflet-defaulticon-compatibility": "^0.1.2", - "next": "13.5.6", + "next": "^13.2.5", "next-i18next": "^15.1.1", "next-seo": "^6.4.0", "postcss": "8.4.31", diff --git a/LibraryTrackingApp/src/frontend/pages/_app.jsx b/LibraryTrackingApp/src/frontend/pages/_app.jsx index d1ea4f5..4257e0d 100644 --- a/LibraryTrackingApp/src/frontend/pages/_app.jsx +++ b/LibraryTrackingApp/src/frontend/pages/_app.jsx @@ -5,8 +5,7 @@ const AnonLayout = dynamic(() => import("@/layouts/Anon/layout")); const AppLayout = dynamic(() => import("@/layouts/App/layout")); const MeLayout = dynamic(() => import("@/layouts/Me/layout")); const AdminLayout = dynamic(() => import("@/layouts/Admin/layout")); -import ForumLayout from "@/layouts/Forum/layout"; - +const ForumLayout = dynamic(() => import("@/layouts/Forum/layout")); const PlaceholderLayout = dynamic(() => import("@/layouts/Placeholder/layout")); import { useColorMode, colorMode } from "@chakra-ui/react"; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..664a0e1 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "libraryTrackingApp", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} From ae41627fb557f677dcf0079d90164f396b647ed4 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 12:43:39 +0300 Subject: [PATCH 02/11] react-icons updated --- LibraryTrackingApp/src/frontend/package-lock.json | 8 ++++---- LibraryTrackingApp/src/frontend/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/package-lock.json b/LibraryTrackingApp/src/frontend/package-lock.json index d15e849..1ff3789 100644 --- a/LibraryTrackingApp/src/frontend/package-lock.json +++ b/LibraryTrackingApp/src/frontend/package-lock.json @@ -31,7 +31,7 @@ "react-burger-menu": "^3.0.9", "react-dom": "18.2.0", "react-floating-whatsapp": "^5.0.8", - "react-icons": "^4.12.0", + "react-icons": "^5.2.1", "react-joyride": "^2.8.1", "react-leaflet": "^4.2.1", "react-pdf": "^8.0.0", @@ -4613,9 +4613,9 @@ } }, "node_modules/react-icons": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.12.0.tgz", - "integrity": "sha512-IBaDuHiShdZqmfc/TwHu6+d6k2ltNCf3AszxNmjJc1KUfXdEeRJOKyNvLmAHaarhzGmTSVygNdyu8/opXv2gaw==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.2.1.tgz", + "integrity": "sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw==", "peerDependencies": { "react": "*" } diff --git a/LibraryTrackingApp/src/frontend/package.json b/LibraryTrackingApp/src/frontend/package.json index 8d3de42..fa7e912 100644 --- a/LibraryTrackingApp/src/frontend/package.json +++ b/LibraryTrackingApp/src/frontend/package.json @@ -32,7 +32,7 @@ "react-burger-menu": "^3.0.9", "react-dom": "18.2.0", "react-floating-whatsapp": "^5.0.8", - "react-icons": "^4.12.0", + "react-icons": "^5.2.1", "react-joyride": "^2.8.1", "react-leaflet": "^4.2.1", "react-pdf": "^8.0.0", From dbd229bcd0384e7ed515285bed5ad56137fefa91 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 12:47:14 +0300 Subject: [PATCH 03/11] updated --- .../src/frontend/layouts/App/components/Navbar/index.jsx | 1 + LibraryTrackingApp/src/frontend/pages/_app.jsx | 1 + LibraryTrackingApp/src/frontend/src/theme.js | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/layouts/App/components/Navbar/index.jsx b/LibraryTrackingApp/src/frontend/layouts/App/components/Navbar/index.jsx index 8f20e8f..a600b74 100644 --- a/LibraryTrackingApp/src/frontend/layouts/App/components/Navbar/index.jsx +++ b/LibraryTrackingApp/src/frontend/layouts/App/components/Navbar/index.jsx @@ -101,6 +101,7 @@ const NavItem = ({ isMaximized, handleMaximizeToggle }) => { return ( <> + + diff --git a/LibraryTrackingApp/src/frontend/src/theme.js b/LibraryTrackingApp/src/frontend/src/theme.js index 783900b..5ad7009 100644 --- a/LibraryTrackingApp/src/frontend/src/theme.js +++ b/LibraryTrackingApp/src/frontend/src/theme.js @@ -1,7 +1,7 @@ import { extendTheme } from "@chakra-ui/react"; import { styles } from "./foundations/styles"; import { config } from "./foundations/config"; -import { colors } from "./foundations/colors"; +import { lightTheme, darkTheme } from "./foundations/colors"; import { fonts } from "./foundations/fonts"; import { fontSizes } from "./foundations/fontSizes"; import { fontWeights } from "./foundations/fontWeights"; @@ -15,7 +15,8 @@ import { zIndices } from "./foundations/zIndices"; const theme = extendTheme({ styles, config, - colors, + lightTheme, + darkTheme, fonts, fontSizes, fontWeights, From e78c4c1d79c1fd083f25519e16c1e972fafd2e25 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 12:57:07 +0300 Subject: [PATCH 04/11] app js updated --- .../src/frontend/pages/_app.jsx | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/pages/_app.jsx b/LibraryTrackingApp/src/frontend/pages/_app.jsx index 1b35c60..8a8eddf 100644 --- a/LibraryTrackingApp/src/frontend/pages/_app.jsx +++ b/LibraryTrackingApp/src/frontend/pages/_app.jsx @@ -1,4 +1,4 @@ -import { ChakraProvider, extendTheme } from "@chakra-ui/react"; +import { Alert, AlertIcon, ChakraProvider, Text, extendTheme } from "@chakra-ui/react"; import dynamic from "next/dynamic"; const AnonLayout = dynamic(() => import("@/layouts/Anon/layout")); @@ -14,11 +14,12 @@ import "../styles/globals.css"; import AOS from "aos"; import "aos/dist/aos.css"; import { useRouter } from "next/router"; -import { useEffect } from "react"; +import { useEffect, useState } from "react"; import { darkTheme, lightTheme } from "@/src/foundations/colors"; import { AuthContextProvider, AuthProvider } from "@/contexts/AuthContext"; import { AppContextProvider } from "@/contexts/AppContext"; import { errorStatusCodes } from "@/constants/errorStatusCodes"; +import { site } from "@/constants/site"; function MyApp({ Component, pageProps, session, statusCode }) { const router = useRouter(); @@ -76,6 +77,21 @@ function MyApp({ Component, pageProps, session, statusCode }) { AOS.refresh(); }, []); + const [error, setError] = useState(null); + + useEffect(() => { + const fetchData = async () => { + try { + const response = await axios.get(site.API_BASE_URL + ''); + } catch (error) { + setError(error.message); + } + }; + + fetchData(); + }, []); + + return ( <> {errorStatusCodes.includes(statusCode) ? ( @@ -86,8 +102,14 @@ function MyApp({ Component, pageProps, session, statusCode }) { + + + + {error ? 'Üzgünüm, veritabanından veri çekilemiyor. Verileri görmek için backend sunucusunu başlatmanız gerekiyor.' : 'Harika! Veriler başarıyla alındı.'} + + - + From 383d629aaeaebad3417ef6acfa8c9a8c89ac5c13 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:08:04 +0300 Subject: [PATCH 05/11] updated theme --- .../src/frontend/pages/_app.jsx | 55 +++++++++++-------- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/pages/_app.jsx b/LibraryTrackingApp/src/frontend/pages/_app.jsx index 8a8eddf..7f6f031 100644 --- a/LibraryTrackingApp/src/frontend/pages/_app.jsx +++ b/LibraryTrackingApp/src/frontend/pages/_app.jsx @@ -8,7 +8,6 @@ const AdminLayout = dynamic(() => import("@/layouts/Admin/layout")); const ForumLayout = dynamic(() => import("@/layouts/Forum/layout")); const PlaceholderLayout = dynamic(() => import("@/layouts/Placeholder/layout")); -import { useColorMode, colorMode } from "@chakra-ui/react"; import "../styles/globals.css"; import AOS from "aos"; @@ -20,13 +19,37 @@ import { AuthContextProvider, AuthProvider } from "@/contexts/AuthContext"; import { AppContextProvider } from "@/contexts/AppContext"; import { errorStatusCodes } from "@/constants/errorStatusCodes"; import { site } from "@/constants/site"; +import theme from "@/src/theme"; + +const AlertData = () => { + const [error, setError] = useState(null); + + useEffect(() => { + const fetchData = async () => { + try { + const response = await axios.get(site.API_BASE_URL + ''); + } catch (error) { + setError(error.message); + } + }; + + fetchData(); + }, []); + return (<> + + + + + + {error ? 'Üzgünüm, veritabanından veri çekilemiyor. Fakat Sayfalar arasında gezinmeye devam edebilirsiniz.' : 'Harika! Veriler başarıyla alındı.'} + + ) +} function MyApp({ Component, pageProps, session, statusCode }) { const router = useRouter(); - const theme = extendTheme( - colorMode === "light" ? lightTheme.colors : darkTheme.colors - ); + const placeholderRoutes = [ "/privacy-policy", @@ -77,19 +100,7 @@ function MyApp({ Component, pageProps, session, statusCode }) { AOS.refresh(); }, []); - const [error, setError] = useState(null); - useEffect(() => { - const fetchData = async () => { - try { - const response = await axios.get(site.API_BASE_URL + ''); - } catch (error) { - setError(error.message); - } - }; - - fetchData(); - }, []); return ( @@ -102,12 +113,12 @@ function MyApp({ Component, pageProps, session, statusCode }) { - - - - {error ? 'Üzgünüm, veritabanından veri çekilemiyor. Verileri görmek için backend sunucusunu başlatmanız gerekiyor.' : 'Harika! Veriler başarıyla alındı.'} - - + +{/* + +*/} + + From ebb175a988a772c6aa6fa954333e1801c003d14c Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:13:37 +0300 Subject: [PATCH 06/11] updated app file --- .../layouts/Anon/components/Footer.jsx | 13 +++- .../src/frontend/pages/_app.jsx | 67 +++++++------------ 2 files changed, 37 insertions(+), 43 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/layouts/Anon/components/Footer.jsx b/LibraryTrackingApp/src/frontend/layouts/Anon/components/Footer.jsx index 2da421a..675da51 100644 --- a/LibraryTrackingApp/src/frontend/layouts/Anon/components/Footer.jsx +++ b/LibraryTrackingApp/src/frontend/layouts/Anon/components/Footer.jsx @@ -2,6 +2,7 @@ import { Link as CLink, Flex, } from "@chakra-ui/react"; +import Link from "next/link"; import React from "react"; @@ -18,7 +19,7 @@ const Footer = () => { const FooterData = () => { - const startYear = 2023; + const startYear = 2024; const currentYear = new Date().getFullYear(); let yearText; if (currentYear > startYear) { @@ -26,7 +27,15 @@ const FooterData = () => { } else { yearText = `${startYear}`; } - return <> {yearText} © Tüm Hakları Saklıdır.; + const utmParameters = '?utm_source=library-tracking-app&utm_medium=footer&utm_campaign=yourcampaign'; + + return ( + <> + + <>{yearText} İlyas Bozdemir © Tüm Hakları Saklıdır. + + + ); }; export async function getStaticProps({ locale }) { return { diff --git a/LibraryTrackingApp/src/frontend/pages/_app.jsx b/LibraryTrackingApp/src/frontend/pages/_app.jsx index 7f6f031..cf29ebf 100644 --- a/LibraryTrackingApp/src/frontend/pages/_app.jsx +++ b/LibraryTrackingApp/src/frontend/pages/_app.jsx @@ -1,4 +1,10 @@ -import { Alert, AlertIcon, ChakraProvider, Text, extendTheme } from "@chakra-ui/react"; +import { + Alert, + AlertIcon, + ChakraProvider, + Text, + extendTheme, +} from "@chakra-ui/react"; import dynamic from "next/dynamic"; const AnonLayout = dynamic(() => import("@/layouts/Anon/layout")); @@ -8,7 +14,6 @@ const AdminLayout = dynamic(() => import("@/layouts/Admin/layout")); const ForumLayout = dynamic(() => import("@/layouts/Forum/layout")); const PlaceholderLayout = dynamic(() => import("@/layouts/Placeholder/layout")); - import "../styles/globals.css"; import AOS from "aos"; import "aos/dist/aos.css"; @@ -27,7 +32,7 @@ const AlertData = () => { useEffect(() => { const fetchData = async () => { try { - const response = await axios.get(site.API_BASE_URL + ''); + const response = await axios.get(site.API_BASE_URL + ""); } catch (error) { setError(error.message); } @@ -35,22 +40,23 @@ const AlertData = () => { fetchData(); }, []); - return (<> - - - - - - {error ? 'Üzgünüm, veritabanından veri çekilemiyor. Fakat Sayfalar arasında gezinmeye devam edebilirsiniz.' : 'Harika! Veriler başarıyla alındı.'} - - ) -} + return ( + <> + + + + {error + ? "Üzgünüm, veritabanından veri çekilemiyor. Fakat Sayfalar arasında gezinmeye devam edebilirsiniz." + : "Harika! Veriler başarıyla alındı."} + + + + ); +}; -function MyApp({ Component, pageProps, session, statusCode }) { +function MyApp() { const router = useRouter(); - - const placeholderRoutes = [ "/privacy-policy", "/login", @@ -100,27 +106,22 @@ function MyApp({ Component, pageProps, session, statusCode }) { AOS.refresh(); }, []); - - - return ( <> - {errorStatusCodes.includes(statusCode) ? ( + {errorStatusCodes.includes(200) ? ( <> - + ) : ( - -{/* + {/* */} - + - @@ -131,20 +132,4 @@ function MyApp({ Component, pageProps, session, statusCode }) { ); } -MyApp.getInitialProps = async (appContext) => { - const { Component, ctx } = appContext; - let pageProps = {}; - let session = {}; - - if (Component.getInitialProps) { - pageProps = await Component.getInitialProps(ctx); - session = await Component.getInitialProps(ctx); - } - - const { res, err } = ctx; - const statusCode = res ? res.statusCode : err ? err.statusCode : null; - - return { pageProps, session, statusCode }; -}; - export default MyApp; From ee39db99f28fe8ca62699f018b915c651e0b50f3 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:14:12 +0300 Subject: [PATCH 07/11] aAS --- .../src/frontend/pages/_app.jsx | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/pages/_app.jsx b/LibraryTrackingApp/src/frontend/pages/_app.jsx index cf29ebf..5cfa83d 100644 --- a/LibraryTrackingApp/src/frontend/pages/_app.jsx +++ b/LibraryTrackingApp/src/frontend/pages/_app.jsx @@ -1,10 +1,4 @@ -import { - Alert, - AlertIcon, - ChakraProvider, - Text, - extendTheme, -} from "@chakra-ui/react"; +import { Alert, AlertIcon, ChakraProvider, Text, extendTheme } from "@chakra-ui/react"; import dynamic from "next/dynamic"; const AnonLayout = dynamic(() => import("@/layouts/Anon/layout")); @@ -14,6 +8,7 @@ const AdminLayout = dynamic(() => import("@/layouts/Admin/layout")); const ForumLayout = dynamic(() => import("@/layouts/Forum/layout")); const PlaceholderLayout = dynamic(() => import("@/layouts/Placeholder/layout")); + import "../styles/globals.css"; import AOS from "aos"; import "aos/dist/aos.css"; @@ -32,7 +27,7 @@ const AlertData = () => { useEffect(() => { const fetchData = async () => { try { - const response = await axios.get(site.API_BASE_URL + ""); + const response = await axios.get(site.API_BASE_URL + ''); } catch (error) { setError(error.message); } @@ -40,23 +35,22 @@ const AlertData = () => { fetchData(); }, []); - return ( - <> - - - - {error - ? "Üzgünüm, veritabanından veri çekilemiyor. Fakat Sayfalar arasında gezinmeye devam edebilirsiniz." - : "Harika! Veriler başarıyla alındı."} - - - - ); -}; + return (<> + + + + + + {error ? 'Üzgünüm, veritabanından veri çekilemiyor. Fakat Sayfalar arasında gezinmeye devam edebilirsiniz.' : 'Harika! Veriler başarıyla alındı.'} + + ) +} -function MyApp() { +function MyApp({ Component, pageProps, statusCode = 200 }) { const router = useRouter(); + + const placeholderRoutes = [ "/privacy-policy", "/login", @@ -106,22 +100,27 @@ function MyApp() { AOS.refresh(); }, []); + + + return ( <> - {errorStatusCodes.includes(200) ? ( + {errorStatusCodes.includes(statusCode) ? ( <> - + ) : ( + {/* */} + @@ -132,4 +131,5 @@ function MyApp() { ); } + export default MyApp; From 86ebcd70223af397b30415429e6b51d0d6b459ae Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:18:28 +0300 Subject: [PATCH 08/11] _app.js --- LibraryTrackingApp/src/frontend/pages/_app.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/pages/_app.jsx b/LibraryTrackingApp/src/frontend/pages/_app.jsx index 5cfa83d..2b9315d 100644 --- a/LibraryTrackingApp/src/frontend/pages/_app.jsx +++ b/LibraryTrackingApp/src/frontend/pages/_app.jsx @@ -49,8 +49,6 @@ const AlertData = () => { function MyApp({ Component, pageProps, statusCode = 200 }) { const router = useRouter(); - - const placeholderRoutes = [ "/privacy-policy", "/login", From d251df5c48177d7c74bb8e53457cd9a806cd4e9e Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:20:46 +0300 Subject: [PATCH 09/11] new pafge updated --- .../src/frontend/pages/forum/[category]/new.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/LibraryTrackingApp/src/frontend/pages/forum/[category]/new.jsx b/LibraryTrackingApp/src/frontend/pages/forum/[category]/new.jsx index e69de29..925490f 100644 --- a/LibraryTrackingApp/src/frontend/pages/forum/[category]/new.jsx +++ b/LibraryTrackingApp/src/frontend/pages/forum/[category]/new.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +function NewPage() { + return ( +
NewPage
+ ) +} + +export default NewPage \ No newline at end of file From 586c07992ce0f9f663407b503e941cf8604cdd63 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:29:01 +0300 Subject: [PATCH 10/11] =?UTF-8?q?updated=20conf=C5=9Fg=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LibraryTrackingApp/src/frontend/next.config.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/LibraryTrackingApp/src/frontend/next.config.js b/LibraryTrackingApp/src/frontend/next.config.js index 535767e..29a9d85 100644 --- a/LibraryTrackingApp/src/frontend/next.config.js +++ b/LibraryTrackingApp/src/frontend/next.config.js @@ -4,19 +4,8 @@ const { i18n } = require("./next-i18next.config"); const routes = require("./routes"); const nextConfig = { - i18n, reactStrictMode: true, - async rewrites() { - const rewritesConfig = Object.values(routes).flatMap((route) => - Object.entries(route).map(([path, c]) => ({ - source: c.config.rewrite.source, - destination: c.config.rewrite.destination, - })) - ); - - return rewritesConfig; - }, }; module.exports = nextConfig; From 51f06dcdce570d6316c4f35321449703ecce46b9 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 13:42:04 +0300 Subject: [PATCH 11/11] nextjs updated --- .../src/frontend/next.config.js | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/LibraryTrackingApp/src/frontend/next.config.js b/LibraryTrackingApp/src/frontend/next.config.js index 29a9d85..9885e96 100644 --- a/LibraryTrackingApp/src/frontend/next.config.js +++ b/LibraryTrackingApp/src/frontend/next.config.js @@ -5,6 +5,47 @@ const routes = require("./routes"); const nextConfig = { reactStrictMode: true, + exportTrailingSlash: true, + exportPathMap: async function ( + defaultPathMap, + { dev, dir, outDir, distDir, buildId } + ) { + return { + // paths... + }; + }, + // Zaman aşımını artırın + exportTrailingSlash: true, + exportPathMap: async function ( + defaultPathMap, + { dev, dir, outDir, distDir, buildId } + ) { + return { + // paths... + }; + }, + // Zaman aşımını artırın + exportTrailingSlash: true, + exportPathMap: async function ( + defaultPathMap, + { dev, dir, outDir, distDir, buildId } + ) { + return { + // paths... + }; + }, + // Zaman aşımını artırın + exportTrailingSlash: true, + exportPathMap: async function ( + defaultPathMap, + { dev, dir, outDir, distDir, buildId } + ) { + return { + // paths... + }; + }, + // Zaman aşımını artırın + exportTimeout: 1000, // 1 saniye yerine başka bir değer de kullanabilirsiniz };