diff --git a/generated/index.d.ts b/generated/index.d.ts new file mode 100644 index 0000000..112d7ae --- /dev/null +++ b/generated/index.d.ts @@ -0,0 +1,5 @@ +export function build(options: BuildOptions): Promise; +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 \ No newline at end of file diff --git a/generated/index.d.ts.map b/generated/index.d.ts.map new file mode 100644 index 0000000..d0bf856 --- /dev/null +++ b/generated/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAoEA,+BAHW,YAAY,GACV,OAAO,CAAC,IAAI,CAAC,CAgBzB;AAxED,oCADW,oBAAoB,CAqD7B;kCA7D6B,wBAAwB;0CAChB,wBAAwB"} \ No newline at end of file diff --git a/generated/modules/builder/builder.d.ts b/generated/modules/builder/builder.d.ts new file mode 100644 index 0000000..61f14f1 --- /dev/null +++ b/generated/modules/builder/builder.d.ts @@ -0,0 +1,10 @@ +export class Builder { + constructor(options: FullBuildOptions); + emptyOutDirectory(): Promise; + getFoldersAndFiles(): Promise<[string[], string[]]>; + createFolderStructure(folders: string[]): Promise; + copyFiles(files: string[]): Promise; + #private; +} +import type { FullBuildOptions } from '../shared/types'; +//# sourceMappingURL=builder.d.ts.map \ No newline at end of file diff --git a/generated/modules/builder/builder.d.ts.map b/generated/modules/builder/builder.d.ts.map new file mode 100644 index 0000000..ad2fc03 --- /dev/null +++ b/generated/modules/builder/builder.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/modules/builder/builder.js"],"names":[],"mappings":"AASA;IAOE,qBAFW,gBAAgB,EAI1B;IAKD,qBAFa,OAAO,CAAC,IAAI,CAAC,CAIzB;IAkBD,sBAFa,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CAqBzC;IAMD,+BAHW,MAAM,EAAE,GACN,OAAO,CAAC,IAAI,CAAC,CAUzB;IAMD,iBAHW,MAAM,EAAE,GACN,OAAO,CAAC,IAAI,CAAC,CA6BzB;;CACF;sCA5GkC,iBAAiB"} \ No newline at end of file diff --git a/generated/modules/bundler/bundler.d.ts b/generated/modules/bundler/bundler.d.ts new file mode 100644 index 0000000..f2eb162 --- /dev/null +++ b/generated/modules/bundler/bundler.d.ts @@ -0,0 +1,8 @@ +export class Bundler { + constructor(options: FullBuildOptions); + getEntryPoints(files: string[]): Promise; + bundle(entryPoints: string[]): Promise; + #private; +} +import type { FullBuildOptions } from '../shared/types'; +//# sourceMappingURL=bundler.d.ts.map \ No newline at end of file diff --git a/generated/modules/bundler/bundler.d.ts.map b/generated/modules/bundler/bundler.d.ts.map new file mode 100644 index 0000000..5a50702 --- /dev/null +++ b/generated/modules/bundler/bundler.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bundler.d.ts","sourceRoot":"","sources":["../../../src/modules/bundler/bundler.js"],"names":[],"mappings":"AAWA;IAOE,qBAFW,gBAAgB,EAI1B;IA8BD,sBAHW,MAAM,EAAE,GACN,OAAO,CAAC,MAAM,EAAE,CAAC,CAmC7B;IAMD,oBAHW,MAAM,EAAE,GACN,OAAO,CAAC,IAAI,CAAC,CAczB;;CACF;sCApGkC,iBAAiB"} \ No newline at end of file diff --git a/generated/modules/bundler/utils.d.ts b/generated/modules/bundler/utils.d.ts new file mode 100644 index 0000000..87465e9 --- /dev/null +++ b/generated/modules/bundler/utils.d.ts @@ -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 \ No newline at end of file diff --git a/generated/modules/bundler/utils.d.ts.map b/generated/modules/bundler/utils.d.ts.map new file mode 100644 index 0000000..d788ff9 --- /dev/null +++ b/generated/modules/bundler/utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/modules/bundler/utils.js"],"names":[],"mappings":"AAMA,kCAHW,OAAO,GACL,OAAO,CAOnB;AAQD,kCALW,MAAM,QACN,MAAM,MACN,MAAM,GACJ,MAAM,CAMlB"} \ No newline at end of file diff --git a/generated/modules/cleaner/cleaner.d.ts b/generated/modules/cleaner/cleaner.d.ts new file mode 100644 index 0000000..34b5c6d --- /dev/null +++ b/generated/modules/cleaner/cleaner.d.ts @@ -0,0 +1,7 @@ +export class Cleaner { + constructor(options: FullBuildOptions); + cleanUp(): Promise; + #private; +} +import type { FullBuildOptions } from '../shared/types'; +//# sourceMappingURL=cleaner.d.ts.map \ No newline at end of file diff --git a/generated/modules/cleaner/cleaner.d.ts.map b/generated/modules/cleaner/cleaner.d.ts.map new file mode 100644 index 0000000..fc6cdf8 --- /dev/null +++ b/generated/modules/cleaner/cleaner.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"cleaner.d.ts","sourceRoot":"","sources":["../../../src/modules/cleaner/cleaner.js"],"names":[],"mappings":"AAQA;IAOE,qBAFW,gBAAgB,EAI1B;IAsCD,WAFa,OAAO,CAAC,IAAI,CAAC,CAuCzB;;CACF;sCA3FkC,iBAAiB"} \ No newline at end of file diff --git a/generated/modules/shared/test-utils.d.ts b/generated/modules/shared/test-utils.d.ts new file mode 100644 index 0000000..b4dda2e --- /dev/null +++ b/generated/modules/shared/test-utils.d.ts @@ -0,0 +1,4 @@ +export function exists(path: string): Promise; +export const BUILD_OPTIONS: FullBuildOptions; +import type { FullBuildOptions } from '../shared/types'; +//# sourceMappingURL=test-utils.d.ts.map \ No newline at end of file diff --git a/generated/modules/shared/test-utils.d.ts.map b/generated/modules/shared/test-utils.d.ts.map new file mode 100644 index 0000000..478d052 --- /dev/null +++ b/generated/modules/shared/test-utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/modules/shared/test-utils.js"],"names":[],"mappings":"AAoBA,6BAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CAS5B;AAnBD,4BADW,gBAAgB,CAOzB;sCAbiC,iBAAiB"} \ No newline at end of file diff --git a/generated/modules/shared/types.d.ts b/generated/modules/shared/types.d.ts new file mode 100644 index 0000000..c9d8c50 --- /dev/null +++ b/generated/modules/shared/types.d.ts @@ -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 & ExternalBuildOptions; +export type FullBuildOptions = Required; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/generated/modules/shared/types.d.ts.map b/generated/modules/shared/types.d.ts.map new file mode 100644 index 0000000..b646c62 --- /dev/null +++ b/generated/modules/shared/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/modules/shared/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,cAAc;IAC7B,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,CAAC;IACxB,oBAAoB,EAAE,OAAO,SAAS,EAAE,YAAY,CAAC;IACrD,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,oBAAoB,CAAC,GAAG,oBAAoB,CAAC;AAEhF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC"} \ No newline at end of file