Add .gitignore to exclude all node packages and lock files
This commit is contained in:
+83
@@ -0,0 +1,83 @@
|
||||
import esbuild = require('esbuild');
|
||||
import webpack = require('webpack');
|
||||
export declare const BundlerInternals: {
|
||||
esbuild: typeof esbuild;
|
||||
webpackConfig: ({ entry, userDefinedComponent, outDir, environment, webpackOverride, onProgress, enableCaching, maxTimelineTracks, remotionRoot, keyboardShortcutsEnabled, bufferStateDelayInMilliseconds, poll, experimentalClientSideRenderingEnabled, askAIEnabled, }: {
|
||||
entry: string;
|
||||
userDefinedComponent: string;
|
||||
outDir: string | null;
|
||||
environment: "development" | "production";
|
||||
webpackOverride: import("./webpack-config").WebpackOverrideFn;
|
||||
onProgress?: (f: number) => void;
|
||||
enableCaching?: boolean;
|
||||
maxTimelineTracks: number | null;
|
||||
keyboardShortcutsEnabled: boolean;
|
||||
bufferStateDelayInMilliseconds: number | null;
|
||||
remotionRoot: string;
|
||||
poll: number | null;
|
||||
askAIEnabled: boolean;
|
||||
experimentalClientSideRenderingEnabled: boolean;
|
||||
}) => Promise<[string, import("./webpack-config").WebpackConfiguration]>;
|
||||
indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, completedClientRenders, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, logLevel, mode, }: {
|
||||
staticHash: string;
|
||||
publicPath: string;
|
||||
editorName: string | null;
|
||||
inputProps: object | null;
|
||||
envVariables?: Record<string, string>;
|
||||
remotionRoot: string;
|
||||
studioServerCommand: string | null;
|
||||
renderQueue: unknown | null;
|
||||
completedClientRenders?: unknown | null;
|
||||
numberOfAudioTags: number;
|
||||
audioLatencyHint: AudioContextLatencyCategory;
|
||||
publicFiles: import("remotion").StaticFile[];
|
||||
publicFolderExists: string | null;
|
||||
includeFavicon: boolean;
|
||||
title: string;
|
||||
renderDefaults: import("@remotion/studio-shared").RenderDefaults | undefined;
|
||||
gitSource: import("@remotion/studio-shared").GitSource | null;
|
||||
projectName: string;
|
||||
installedDependencies: string[] | null;
|
||||
packageManager: import("@remotion/studio-shared").PackageManager | "unknown";
|
||||
logLevel: import("remotion").LogLevel;
|
||||
mode: "dev" | "bundle";
|
||||
}) => string;
|
||||
cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "exists" | "other-exists" | "does-not-exist";
|
||||
clearCache: (remotionRoot: string, env: "development" | "production") => Promise<void>;
|
||||
getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, bufferStateDelayInMilliseconds, maxTimelineTracks, experimentalClientSideRenderingEnabled, }: {
|
||||
outDir: string;
|
||||
entryPoint: string;
|
||||
resolvedRemotionRoot: string;
|
||||
bufferStateDelayInMilliseconds: number | null;
|
||||
experimentalClientSideRenderingEnabled: boolean;
|
||||
maxTimelineTracks: number | null;
|
||||
onProgress?: (progress: number) => void;
|
||||
options?: import("./bundle").LegacyBundleOptions;
|
||||
}) => Promise<[string, webpack.Configuration]>;
|
||||
readRecursively: ({ folder, output, startPath, staticHash, limit, }: {
|
||||
folder: string;
|
||||
startPath: string;
|
||||
output?: import("remotion").StaticFile[];
|
||||
staticHash: string;
|
||||
limit: number;
|
||||
}) => import("remotion").StaticFile[];
|
||||
findClosestFolderWithItem: (currentDir: string, file: string) => string | null;
|
||||
internalBundle: (actualArgs: {
|
||||
entryPoint: string;
|
||||
} & {
|
||||
entryPoint: string;
|
||||
onProgress: (progress: number) => void;
|
||||
ignoreRegisterRootWarning: boolean;
|
||||
onDirectoryCreated: (dir: string) => void;
|
||||
gitSource: import("@remotion/studio-shared").GitSource | null;
|
||||
maxTimelineTracks: number | null;
|
||||
bufferStateDelayInMilliseconds: number | null;
|
||||
audioLatencyHint: AudioContextLatencyCategory | null;
|
||||
experimentalClientSideRenderingEnabled: boolean;
|
||||
renderDefaults: import("@remotion/studio-shared").RenderDefaults | null;
|
||||
} & import("./bundle").MandatoryLegacyBundleOptions) => Promise<string>;
|
||||
};
|
||||
export type { GitSource } from '@remotion/studio-shared';
|
||||
export { bundle, BundleOptions, LegacyBundleOptions, MandatoryLegacyBundleOptions, } from './bundle';
|
||||
export { WebpackConfiguration, WebpackOverrideFn } from './webpack-config';
|
||||
export { webpack };
|
||||
Reference in New Issue
Block a user