Edit gitignore file

This commit is contained in:
ParkSuMin
2025-02-24 20:17:54 +03:00
parent 9b16274400
commit d7869378b8
349 changed files with 686 additions and 25860 deletions

View File

@@ -1,4 +1,4 @@
import type { ComponentsType } from 'next/dist/build/webpack/loaders/next-app-loader';
import type { ComponentsType } from '../../build/webpack/loaders/next-app-loader';
/**
* LoaderTree is generated in next-app-loader.
*/

View File

@@ -1,7 +1,7 @@
/// <reference types="node" />
import type { IncomingMessage } from 'http';
import type { DevBundler } from 'next/dist/server/lib/router-utils/setup-dev-bundler';
import type { WorkerRequestHandler } from 'next/dist/server/lib/types';
import type { DevBundler } from './router-utils/setup-dev-bundler';
import type { WorkerRequestHandler } from './types';
/**
* The DevBundlerService provides an interface to perform tasks with the
* bundler while in development.

View File

@@ -1,7 +1,7 @@
import type { CacheFs } from 'next/dist/shared/lib/utils';
import type { PrerenderManifest } from 'next/dist/build';
import type { IncrementalCacheValue, IncrementalCacheEntry, IncrementalCache as IncrementalCacheType, IncrementalCacheKindHint } from 'next/dist/server/response-cache';
import type { DeepReadonly } from 'next/dist/shared/lib/deep-readonly';
import type { CacheFs } from '../../../shared/lib/utils';
import type { PrerenderManifest } from '../../../build';
import type { IncrementalCacheValue, IncrementalCacheEntry, IncrementalCache as IncrementalCacheType, IncrementalCacheKindHint } from '../../response-cache';
import type { DeepReadonly } from '../../../shared/lib/deep-readonly';
export interface CacheHandlerContext {
fs?: CacheFs;
dev?: boolean;

View File

@@ -1,7 +1,7 @@
import type { NextServer, RequestHandler } from 'next/dist/server/next';
import type { DevBundlerService } from 'next/dist/server/lib/dev-bundler-service';
import type { PropagateToWorkersField } from 'next/dist/server/lib/router-utils/types';
import type { Span } from 'next/dist/trace';
import type { NextServer, RequestHandler } from '../next';
import type { DevBundlerService } from './dev-bundler-service';
import type { PropagateToWorkersField } from './router-utils/types';
import type { Span } from '../../trace';
export declare function clearAllModuleContexts(): Promise<void> | undefined;
export declare function clearModuleContext(target: string): Promise<void> | undefined;
export declare function deleteAppClientCache(): void | undefined;

View File

@@ -1,9 +1,9 @@
import type { WorkerRequestHandler, WorkerUpgradeHandler } from 'next/dist/server/lib/types';
import type { NextServer } from 'next/dist/server/next';
import 'next/dist/server/node-environment';
import 'next/dist/server/require-hook';
import { type Span } from 'next/dist/trace';
export type RenderServer = Pick<typeof import('next/dist/server/lib/render-server'), 'initialize' | 'deleteCache' | 'clearModuleContext' | 'deleteAppClientCache' | 'propagateServerField'>;
import type { WorkerRequestHandler, WorkerUpgradeHandler } from './types';
import type { NextServer } from '../next';
import '../node-environment';
import '../require-hook';
import { type Span } from '../../trace';
export type RenderServer = Pick<typeof import('./render-server'), 'initialize' | 'deleteCache' | 'clearModuleContext' | 'deleteAppClientCache' | 'propagateServerField'>;
export interface LazyRenderServerInstance {
instance?: RenderServer;
}

View File

@@ -1,8 +1,8 @@
import type { ManifestRoute, PrerenderManifest } from 'next/dist/build';
import type { NextConfigComplete } from 'next/dist/server/config-shared';
import type { PatchMatcher } from 'next/dist/shared/lib/router/utils/path-match';
import type { MiddlewareRouteMatch } from 'next/dist/shared/lib/router/utils/middleware-route-matcher';
import { type Rewrite } from 'next/dist/lib/load-custom-routes';
import type { ManifestRoute, PrerenderManifest } from '../../../build';
import type { NextConfigComplete } from '../../config-shared';
import type { PatchMatcher } from '../../../shared/lib/router/utils/path-match';
import type { MiddlewareRouteMatch } from '../../../shared/lib/router/utils/middleware-route-matcher';
import { type Rewrite } from '../../../lib/load-custom-routes';
export type FsOutput = {
type: 'appFile' | 'pageFile' | 'nextImage' | 'publicFolder' | 'nextStaticFolder' | 'legacyStaticFolder' | 'devVirtualFsItem';
itemPath: string;
@@ -31,7 +31,7 @@ export declare function setupFsCheck(opts: {
timestamp: number;
}>) => void) => void;
}): Promise<{
headers: (import("next/dist/lib/load-custom-routes").Header & {
headers: (import("../../../lib/load-custom-routes").Header & {
match: PatchMatcher;
check?: boolean | undefined;
})[];
@@ -49,7 +49,7 @@ export declare function setupFsCheck(opts: {
check?: boolean | undefined;
})[];
};
redirects: (import("next/dist/lib/load-custom-routes").Redirect & {
redirects: (import("../../../lib/load-custom-routes").Redirect & {
match: PatchMatcher;
check?: boolean | undefined;
})[];

View File

@@ -1,13 +1,13 @@
/// <reference types="node" />
import type { NextConfigComplete } from 'next/dist/server/config-shared';
import type { UnwrapPromise } from 'next/dist/lib/coalesced-function';
import type { MiddlewareMatcher } from 'next/dist/build/analysis/get-page-static-info';
import type { MiddlewareRouteMatch } from 'next/dist/shared/lib/router/utils/middleware-route-matcher';
import type { PropagateToWorkersField } from 'next/dist/server/lib/router-utils/types';
import type { NextJsHotReloaderInterface } from 'next/dist/server/dev/hot-reloader-types';
import type { Telemetry } from 'next/dist/telemetry/storage';
import type { NextConfigComplete } from '../../config-shared';
import type { UnwrapPromise } from '../../../lib/coalesced-function';
import type { MiddlewareMatcher } from '../../../build/analysis/get-page-static-info';
import type { MiddlewareRouteMatch } from '../../../shared/lib/router/utils/middleware-route-matcher';
import type { PropagateToWorkersField } from './types';
import type { NextJsHotReloaderInterface } from '../../dev/hot-reloader-types';
import type { Telemetry } from '../../../telemetry/storage';
import type { IncomingMessage, ServerResponse } from 'http';
import type { LazyRenderServerInstance } from 'next/dist/server/lib/router-server';
import type { LazyRenderServerInstance } from '../router-server';
export type SetupOpts = {
renderServer: LazyRenderServerInstance;
dir: string;
@@ -16,7 +16,7 @@ export type SetupOpts = {
pagesDir?: string;
telemetry: Telemetry;
isCustomServer?: boolean;
fsChecker: UnwrapPromise<ReturnType<typeof import('next/dist/server/lib/router-utils/filesystem').setupFsCheck>>;
fsChecker: UnwrapPromise<ReturnType<typeof import('./filesystem').setupFsCheck>>;
nextConfig: NextConfigComplete;
port: number;
};
@@ -30,7 +30,7 @@ export type ServerFields = {
matchers?: MiddlewareMatcher[];
} | undefined;
hasAppNotFound?: boolean;
interceptionRoutes?: ReturnType<typeof import('next/dist/server/lib/router-utils/filesystem').buildCustomRoute>[];
interceptionRoutes?: ReturnType<typeof import('./filesystem').buildCustomRoute>[];
};
export declare function propagateServerField(opts: SetupOpts, field: PropagateToWorkersField, args: any): Promise<void>;
export declare function setupDevBundler(opts: SetupOpts): Promise<{