larry babby and threejs for glsl

This commit is contained in:
Sam
2024-06-24 21:24:00 +12:00
parent 87d5dc634d
commit 907ebae4c0
6474 changed files with 1279596 additions and 8 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,47 @@
import type { FilePath, FileCreateInvalidation, SemverRange, DependencySpecifier, PackageJSON } from "@parcel/types";
import type { FileSystem } from "@parcel/fs";
export type ResolveResult = {
resolved: FilePath | DependencySpecifier;
pkg?: PackageJSON | null | undefined;
invalidateOnFileCreate: Array<FileCreateInvalidation>;
invalidateOnFileChange: Set<FilePath>;
type: number;
};
export type InstallOptions = {
installPeers?: boolean;
saveDev?: boolean;
packageInstaller?: PackageInstaller | null | undefined;
};
export type InstallerOptions = {
modules: Array<ModuleRequest>;
fs: FileSystem;
cwd: FilePath;
packagePath?: FilePath | null | undefined;
saveDev?: boolean;
};
export interface PackageInstaller {
install(opts: InstallerOptions): Promise<void>;
}
export type Invalidations = {
invalidateOnFileCreate: Array<FileCreateInvalidation>;
invalidateOnFileChange: Set<FilePath>;
invalidateOnStartup: boolean;
};
export interface PackageManager {
require(id: DependencySpecifier, from: FilePath, arg2: {
range?: SemverRange | null | undefined;
shouldAutoInstall?: boolean;
saveDev?: boolean;
} | null | undefined): Promise<any>;
resolve(id: DependencySpecifier, from: FilePath, arg2: {
range?: SemverRange | null | undefined;
shouldAutoInstall?: boolean;
saveDev?: boolean;
} | null | undefined): Promise<ResolveResult>;
getInvalidations(id: DependencySpecifier, from: FilePath): Invalidations;
invalidate(id: DependencySpecifier, from: FilePath): void;
}
export type ModuleRequest = {
readonly name: string;
readonly range: SemverRange | null | undefined;
};