From 57723ed3bb21ed877de78cafe7e4d454066f2c83 Mon Sep 17 00:00:00 2001 From: Edems <57250017+Edems-DEV@users.noreply.github.com> Date: Tue, 21 Jul 2026 17:07:13 +0200 Subject: [PATCH] chore(clean) --- examples/next-mdx/.next/cache/.previewinfo | 1 - examples/next-mdx/.next/cache/.rscinfo | 1 - examples/next-mdx/.next/dev/cache/.rscinfo | 1 - .../.next/dev/logs/next-development.log | 0 .../.next/diagnostics/build-diagnostics.json | 6 - .../next-mdx/.next/diagnostics/framework.json | 1 - examples/next-mdx/.next/package.json | 1 - examples/next-mdx/.next/trace | 1 - examples/next-mdx/.next/trace-build | 1 - examples/next-mdx/.next/types/cache-life.d.ts | 145 ------------------ examples/next-mdx/.next/types/routes.d.ts | 57 ------- examples/next-mdx/.next/types/validator.ts | 61 -------- 12 files changed, 276 deletions(-) delete mode 100644 examples/next-mdx/.next/cache/.previewinfo delete mode 100644 examples/next-mdx/.next/cache/.rscinfo delete mode 100644 examples/next-mdx/.next/dev/cache/.rscinfo delete mode 100644 examples/next-mdx/.next/dev/logs/next-development.log delete mode 100644 examples/next-mdx/.next/diagnostics/build-diagnostics.json delete mode 100644 examples/next-mdx/.next/diagnostics/framework.json delete mode 100644 examples/next-mdx/.next/package.json delete mode 100644 examples/next-mdx/.next/trace delete mode 100644 examples/next-mdx/.next/trace-build delete mode 100644 examples/next-mdx/.next/types/cache-life.d.ts delete mode 100644 examples/next-mdx/.next/types/routes.d.ts delete mode 100644 examples/next-mdx/.next/types/validator.ts diff --git a/examples/next-mdx/.next/cache/.previewinfo b/examples/next-mdx/.next/cache/.previewinfo deleted file mode 100644 index 5cec71c..0000000 --- a/examples/next-mdx/.next/cache/.previewinfo +++ /dev/null @@ -1 +0,0 @@ -{"previewModeId":"b7c9e988e824bb6a85161d789d6b627c","previewModeSigningKey":"48b92c89fd4cdc065a03d25f3f7b7ace824121e44a1dd97237fc26b3f8fa4722","previewModeEncryptionKey":"ca0dfffe779bed78d9cf6391ef0ede57321060c5d547716f5979291b5c2cc146","expireAt":1785852669202} \ No newline at end of file diff --git a/examples/next-mdx/.next/cache/.rscinfo b/examples/next-mdx/.next/cache/.rscinfo deleted file mode 100644 index a1b3ff2..0000000 --- a/examples/next-mdx/.next/cache/.rscinfo +++ /dev/null @@ -1 +0,0 @@ -{"encryption.key":"gpfsz49uduWk3+U5IOqY4UoUO6KioBpHcBQ1MsFZSKs=","encryption.expire_at":1785852669176} \ No newline at end of file diff --git a/examples/next-mdx/.next/dev/cache/.rscinfo b/examples/next-mdx/.next/dev/cache/.rscinfo deleted file mode 100644 index 17ac220..0000000 --- a/examples/next-mdx/.next/dev/cache/.rscinfo +++ /dev/null @@ -1 +0,0 @@ -{"encryption.key":"LU1yjpNOvzRYfuT7ko17/Gc+rYs2BpP+rZeFeSklFks=","encryption.expire_at":1785854444318} \ No newline at end of file diff --git a/examples/next-mdx/.next/dev/logs/next-development.log b/examples/next-mdx/.next/dev/logs/next-development.log deleted file mode 100644 index e69de29..0000000 diff --git a/examples/next-mdx/.next/diagnostics/build-diagnostics.json b/examples/next-mdx/.next/diagnostics/build-diagnostics.json deleted file mode 100644 index 9dd8852..0000000 --- a/examples/next-mdx/.next/diagnostics/build-diagnostics.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "buildStage": "compile", - "buildOptions": { - "useBuildWorker": "false" - } -} \ No newline at end of file diff --git a/examples/next-mdx/.next/diagnostics/framework.json b/examples/next-mdx/.next/diagnostics/framework.json deleted file mode 100644 index 4f98502..0000000 --- a/examples/next-mdx/.next/diagnostics/framework.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"Next.js","version":"16.2.10"} \ No newline at end of file diff --git a/examples/next-mdx/.next/package.json b/examples/next-mdx/.next/package.json deleted file mode 100644 index 7156107..0000000 --- a/examples/next-mdx/.next/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type": "commonjs"} \ No newline at end of file diff --git a/examples/next-mdx/.next/trace b/examples/next-mdx/.next/trace deleted file mode 100644 index f922757..0000000 --- a/examples/next-mdx/.next/trace +++ /dev/null @@ -1 +0,0 @@ -[{"name":"generate-buildid","duration":237,"timestamp":455670075392,"id":4,"parentId":1,"tags":{},"startTime":1784646298151,"traceId":"e05a1374424f1691"},{"name":"load-custom-routes","duration":415,"timestamp":455670075743,"id":5,"parentId":1,"tags":{},"startTime":1784646298151,"traceId":"e05a1374424f1691"},{"name":"create-dist-dir","duration":506,"timestamp":455670076185,"id":6,"parentId":1,"tags":{},"startTime":1784646298152,"traceId":"e05a1374424f1691"},{"name":"clean","duration":25699,"timestamp":455670077441,"id":7,"parentId":1,"tags":{},"startTime":1784646298153,"traceId":"e05a1374424f1691"},{"name":"discover-routes","duration":7063,"timestamp":455670127294,"id":8,"parentId":1,"tags":{},"startTime":1784646298203,"traceId":"e05a1374424f1691"},{"name":"create-root-mapping","duration":70,"timestamp":455670134398,"id":9,"parentId":1,"tags":{},"startTime":1784646298210,"traceId":"e05a1374424f1691"},{"name":"generate-route-types","duration":5968,"timestamp":455670135884,"id":10,"parentId":1,"tags":{},"startTime":1784646298212,"traceId":"e05a1374424f1691"},{"name":"public-dir-conflict-check","duration":141,"timestamp":455670142078,"id":11,"parentId":1,"tags":{},"startTime":1784646298218,"traceId":"e05a1374424f1691"},{"name":"generate-routes-manifest","duration":13753,"timestamp":455670142319,"id":12,"parentId":1,"tags":{},"startTime":1784646298218,"traceId":"e05a1374424f1691"},{"name":"run-turbopack","duration":506159,"timestamp":455670165126,"id":14,"parentId":1,"tags":{"failed":true},"startTime":1784646298241,"traceId":"e05a1374424f1691"},{"name":"next-build","duration":686561,"timestamp":455669984946,"id":1,"tags":{"buildMode":"default","version":"16.2.10","bundler":"turbopack","has-custom-webpack-config":"true","use-build-worker":"false","failed":true},"startTime":1784646298061,"traceId":"e05a1374424f1691"}] diff --git a/examples/next-mdx/.next/trace-build b/examples/next-mdx/.next/trace-build deleted file mode 100644 index f2bf31b..0000000 --- a/examples/next-mdx/.next/trace-build +++ /dev/null @@ -1 +0,0 @@ -[{"name":"run-turbopack","duration":506159,"timestamp":455670165126,"id":14,"parentId":1,"tags":{"failed":true},"startTime":1784646298241,"traceId":"e05a1374424f1691"},{"name":"next-build","duration":686561,"timestamp":455669984946,"id":1,"tags":{"buildMode":"default","version":"16.2.10","bundler":"turbopack","has-custom-webpack-config":"true","use-build-worker":"false","failed":true},"startTime":1784646298061,"traceId":"e05a1374424f1691"}] diff --git a/examples/next-mdx/.next/types/cache-life.d.ts b/examples/next-mdx/.next/types/cache-life.d.ts deleted file mode 100644 index a8c6997..0000000 --- a/examples/next-mdx/.next/types/cache-life.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -// Type definitions for Next.js cacheLife configs - -declare module 'next/cache' { - export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache' - export { - updateTag, - revalidateTag, - revalidatePath, - refresh, - } from 'next/dist/server/web/spec-extension/revalidate' - export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store' - - - /** - * Cache this `"use cache"` for a timespan defined by the `"default"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 900 seconds (15 minutes) - * expire: never - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 15 minutes, start revalidating new values in the background. - * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request. - */ - export function cacheLife(profile: "default"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile. - * ``` - * stale: 30 seconds - * revalidate: 1 seconds - * expire: 60 seconds (1 minute) - * ``` - * - * This cache may be stale on clients for 30 seconds before checking with the server. - * If the server receives a new request after 1 seconds, start revalidating new values in the background. - * If this entry has no traffic for 1 minute it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "seconds"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 60 seconds (1 minute) - * expire: 3600 seconds (1 hour) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 minute, start revalidating new values in the background. - * If this entry has no traffic for 1 hour it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "minutes"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"hours"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 3600 seconds (1 hour) - * expire: 86400 seconds (1 day) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 hour, start revalidating new values in the background. - * If this entry has no traffic for 1 day it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "hours"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"days"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 86400 seconds (1 day) - * expire: 604800 seconds (1 week) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 day, start revalidating new values in the background. - * If this entry has no traffic for 1 week it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "days"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 604800 seconds (1 week) - * expire: 2592000 seconds (1 month) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 week, start revalidating new values in the background. - * If this entry has no traffic for 1 month it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "weeks"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"max"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 2592000 seconds (1 month) - * expire: 31536000 seconds (365 days) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 month, start revalidating new values in the background. - * If this entry has no traffic for 365 days it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "max"): void - - /** - * Cache this `"use cache"` using a custom timespan. - * ``` - * stale: ... // seconds - * revalidate: ... // seconds - * expire: ... // seconds - * ``` - * - * This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate` - * - * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead. - */ - export function cacheLife(profile: { - /** - * This cache may be stale on clients for ... seconds before checking with the server. - */ - stale?: number, - /** - * If the server receives a new request after ... seconds, start revalidating new values in the background. - */ - revalidate?: number, - /** - * If this entry has no traffic for ... seconds it will expire. The next request will recompute it. - */ - expire?: number - }): void - - - import { cacheTag } from 'next/dist/server/use-cache/cache-tag' - export { cacheTag } - - export const unstable_cacheTag: typeof cacheTag - export const unstable_cacheLife: typeof cacheLife -} diff --git a/examples/next-mdx/.next/types/routes.d.ts b/examples/next-mdx/.next/types/routes.d.ts deleted file mode 100644 index 1c6c34d..0000000 --- a/examples/next-mdx/.next/types/routes.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -// This file is generated automatically by Next.js -// Do not edit this file manually - -type AppRoutes = "/" -type PageRoutes = never -type LayoutRoutes = "/" -type RedirectRoutes = never -type RewriteRoutes = never -type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes - - -interface ParamMap { - "/": {} -} - - -export type ParamsOf = ParamMap[Route] - -interface LayoutSlotMap { - "/": never -} - - -export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap } - -declare global { - /** - * Props for Next.js App Router page components - * @example - * ```tsx - * export default function Page(props: PageProps<'/blog/[slug]'>) { - * const { slug } = await props.params - * return
Blog post: {slug}
- * } - * ``` - */ - interface PageProps { - params: Promise - searchParams: Promise> - } - - /** - * Props for Next.js App Router layout components - * @example - * ```tsx - * export default function Layout(props: LayoutProps<'/dashboard'>) { - * return
{props.children}
- * } - * ``` - */ - type LayoutProps = { - params: Promise - children: React.ReactNode - } & { - [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode - } -} diff --git a/examples/next-mdx/.next/types/validator.ts b/examples/next-mdx/.next/types/validator.ts deleted file mode 100644 index c20dd70..0000000 --- a/examples/next-mdx/.next/types/validator.ts +++ /dev/null @@ -1,61 +0,0 @@ -// This file is generated automatically by Next.js -// Do not edit this file manually -// This file validates that all pages and layouts export the correct types - -import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js" -import type { ResolvingMetadata, ResolvingViewport } from "next/types.js" - -type AppPageConfig = { - default: React.ComponentType<{ params: Promise } & any> | ((props: { params: Promise } & any) => React.ReactNode | Promise | never | void | Promise) - generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] - generateMetadata?: ( - props: { params: Promise } & any, - parent: ResolvingMetadata - ) => Promise | any - generateViewport?: ( - props: { params: Promise } & any, - parent: ResolvingViewport - ) => Promise | any - metadata?: any - viewport?: any -} - -type LayoutConfig = { - default: React.ComponentType> | ((props: LayoutProps) => React.ReactNode | Promise | never | void | Promise) - generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] - generateMetadata?: ( - props: { params: Promise } & any, - parent: ResolvingMetadata - ) => Promise | any - generateViewport?: ( - props: { params: Promise } & any, - parent: ResolvingViewport - ) => Promise | any - metadata?: any - viewport?: any -} - - -// Validate ../../app/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../app/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - - - - - - - -// Validate ../../app/layout.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../app/layout.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -}