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

@@ -6,10 +6,10 @@ import type { IncomingMessage, ServerResponse } from 'http';
import type { UrlObject } from 'url';
import type { Duplex } from 'stream';
import type { webpack } from 'next/dist/compiled/webpack/webpack';
import type getBaseWebpackConfig from 'next/dist/build/webpack-config';
import type { RouteDefinition } from 'next/dist/server/future/route-definitions/route-definition';
import type { Project, Update as TurbopackUpdate } from 'next/dist/build/swc';
import type { VersionInfo } from 'next/dist/server/dev/parse-version-info';
import type getBaseWebpackConfig from '../../build/webpack-config';
import type { RouteDefinition } from '../future/route-definitions/route-definition';
import type { Project, Update as TurbopackUpdate } from '../../build/swc';
import type { VersionInfo } from './parse-version-info';
export declare const enum HMR_ACTIONS_SENT_TO_BROWSER {
ADDED_PAGE = "addedPage",
REMOVED_PAGE = "removedPage",

View File

@@ -1,23 +1,23 @@
/// <reference types="node" />
/// <reference types="node" />
import type { FindComponentsResult } from 'next/dist/server/next-server';
import type { LoadComponentsReturnType } from 'next/dist/server/load-components';
import type { Options as ServerOptions } from 'next/dist/server/next-server';
import type { Params } from 'next/dist/shared/lib/router/utils/route-matcher';
import type { ParsedUrl } from 'next/dist/shared/lib/router/utils/parse-url';
import type { FindComponentsResult } from '../next-server';
import type { LoadComponentsReturnType } from '../load-components';
import type { Options as ServerOptions } from '../next-server';
import type { Params } from '../../shared/lib/router/utils/route-matcher';
import type { ParsedUrl } from '../../shared/lib/router/utils/parse-url';
import type { ParsedUrlQuery } from 'querystring';
import type { UrlWithParsedQuery } from 'url';
import type { BaseNextRequest, BaseNextResponse } from 'next/dist/server/base-http';
import type { MiddlewareRoutingItem } from 'next/dist/server/base-server';
import type { RouteDefinition } from 'next/dist/server/future/route-definitions/route-definition';
import type { RouteMatcherManager } from 'next/dist/server/future/route-matcher-managers/route-matcher-manager';
import type { NextParsedUrlQuery, NextUrlWithParsedQuery } from 'next/dist/server/request-meta';
import type { DevBundlerService } from 'next/dist/server/lib/dev-bundler-service';
import type { IncrementalCache } from 'next/dist/server/lib/incremental-cache';
import type { NodeNextResponse, NodeNextRequest } from 'next/dist/server/base-http/node';
import type { PagesManifest } from 'next/dist/build/webpack/plugins/pages-manifest-plugin';
import Server from 'next/dist/server/next-server';
import { type Span } from 'next/dist/trace';
import type { BaseNextRequest, BaseNextResponse } from '../base-http';
import type { MiddlewareRoutingItem } from '../base-server';
import type { RouteDefinition } from '../future/route-definitions/route-definition';
import type { RouteMatcherManager } from '../future/route-matcher-managers/route-matcher-manager';
import type { NextParsedUrlQuery, NextUrlWithParsedQuery } from '../request-meta';
import type { DevBundlerService } from '../lib/dev-bundler-service';
import type { IncrementalCache } from '../lib/incremental-cache';
import type { NodeNextResponse, NodeNextRequest } from '../base-http/node';
import type { PagesManifest } from '../../build/webpack/plugins/pages-manifest-plugin';
import Server from '../next-server';
import { type Span } from '../../trace';
export interface Options extends ServerOptions {
/**
* Tells of Next.js is running from the `next dev` command
@@ -51,7 +51,7 @@ export default class DevServer extends Server {
protected staticPathsWorker?: {
[key: string]: any;
} & {
loadStaticPaths: typeof import('next/dist/server/dev/static-paths-worker').loadStaticPaths;
loadStaticPaths: typeof import('./static-paths-worker').loadStaticPaths;
};
private getStaticPathsWorker;
constructor(options: Options);
@@ -66,7 +66,7 @@ export default class DevServer extends Server {
parsedUrl: ParsedUrl;
parsed: UrlWithParsedQuery;
middlewareList: MiddlewareRoutingItem[];
}): Promise<import("next/dist/server/web/types").FetchEventResult | {
}): Promise<import("../web/types").FetchEventResult | {
finished: boolean;
}>;
runEdgeFunction(params: {
@@ -77,7 +77,7 @@ export default class DevServer extends Server {
page: string;
appPaths: string[] | null;
isAppPath: boolean;
}): Promise<import("next/dist/server/web/types").FetchEventResult | null>;
}): Promise<import("../web/types").FetchEventResult | null>;
handleRequest(req: BaseNextRequest, res: BaseNextResponse, parsedUrl?: NextUrlWithParsedQuery): Promise<void>;
run(req: NodeNextRequest, res: NodeNextResponse, parsedUrl: UrlWithParsedQuery): Promise<void>;
protected logErrorWithOriginalStack(err?: unknown, type?: 'unhandledRejection' | 'uncaughtException' | 'warning' | 'app-dir'): Promise<void>;

View File

@@ -1,7 +1,7 @@
import type { NextConfigComplete } from 'next/dist/server/config-shared';
import 'next/dist/server/require-hook';
import 'next/dist/server/node-environment';
import type { IncrementalCache } from 'next/dist/server/lib/incremental-cache';
import type { NextConfigComplete } from '../config-shared';
import '../require-hook';
import '../node-environment';
import type { IncrementalCache } from '../lib/incremental-cache';
type RuntimeConfig = {
configFileName: string;
publicRuntimeConfig: {