Skip to content

Commit

Permalink
Update generated types
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 13, 2024
1 parent bea8d7b commit 57330d8
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generated/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export function build(options: BuildOptions): Promise<void>;
export const DEFAULT_BUILD_OPTIONS: InternalBuildOptions;
import type { BuildOptions } from './modules/shared/types';
import type { InternalBuildOptions } from './modules/shared/types';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions generated/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions generated/modules/builder/builder.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export class Builder {
constructor(options: FullBuildOptions);
emptyOutDirectory(): Promise<void>;
getFoldersAndFiles(): Promise<[string[], string[]]>;
createFolderStructure(folders: string[]): Promise<void>;
copyFiles(files: string[]): Promise<void>;
#private;
}
import type { FullBuildOptions } from '../shared/types';
//# sourceMappingURL=builder.d.ts.map
1 change: 1 addition & 0 deletions generated/modules/builder/builder.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions generated/modules/bundler/bundler.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export class Bundler {
constructor(options: FullBuildOptions);
getEntryPoints(files: string[]): Promise<string[]>;
bundle(entryPoints: string[]): Promise<void>;
#private;
}
import type { FullBuildOptions } from '../shared/types';
//# sourceMappingURL=bundler.d.ts.map
1 change: 1 addition & 0 deletions generated/modules/bundler/bundler.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions generated/modules/bundler/utils.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function isLocal(filePath: unknown): boolean;
export function resolvePath(root: string, from: string, to: string): string;
//# sourceMappingURL=utils.d.ts.map
1 change: 1 addition & 0 deletions generated/modules/bundler/utils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions generated/modules/cleaner/cleaner.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export class Cleaner {
constructor(options: FullBuildOptions);
cleanUp(): Promise<void>;
#private;
}
import type { FullBuildOptions } from '../shared/types';
//# sourceMappingURL=cleaner.d.ts.map
1 change: 1 addition & 0 deletions generated/modules/cleaner/cleaner.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions generated/modules/shared/test-utils.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export function exists(path: string): Promise<boolean>;
export const BUILD_OPTIONS: FullBuildOptions;
import type { FullBuildOptions } from '../shared/types';
//# sourceMappingURL=test-utils.d.ts.map
1 change: 1 addition & 0 deletions generated/modules/shared/test-utils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions generated/modules/shared/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
export interface FileInfo {
content: string;
path: string;
}
export interface BuilderOptions {
minifiableExtensions: string[];
}
export interface BundlerOptions {
entryDocumentExtensions: string[];
external: string[];
}
export interface CleanerOptions {
deletableExtensions: string[];
searchableExtensions: string[];
}
export interface InternalBuildOptions {
builder: BuilderOptions;
bundler: BundlerOptions;
cleaner: CleanerOptions;
commonEsbuildOptions: import('esbuild').BuildOptions;
thirdPartyModules: string[];
}
export interface ExternalBuildOptions {
directories: string[];
ignoreList: string[];
outDirectory: string;
rootDirectory: string;
}
export type BuildOptions = Partial<InternalBuildOptions> & ExternalBuildOptions;
export type FullBuildOptions = Required<BuildOptions>;
//# sourceMappingURL=types.d.ts.map
1 change: 1 addition & 0 deletions generated/modules/shared/types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57330d8

Please sign in to comment.