From d88a9c06da0795df63e1e4c399a78a90868b1fd9 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 30 Sep 2023 11:17:10 +0300 Subject: [PATCH] squash! --- Target/Function/Build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Target/Function/Build.js b/Target/Function/Build.js index 8837594f..938cb314 100644 --- a/Target/Function/Build.js +++ b/Target/Function/Build.js @@ -1 +1 @@ -var c=async(...[p,t])=>{p.forEach(async i=>(await(await import("fast-glob")).default(i.replaceAll("'","").replaceAll('"',""))).forEach(s=>a.push(s))),a.reverse();const o=r((await import("../Object/ESBuild.js")).default,{entryPoints:Object.fromEntries(a.map(i=>[i.replace("Source/","").split(".").slice(0,-1).join("."),i]))}),{metafile:n}=await(await import("esbuild")).build(t?.ESBuild?r(o,await(await import("../Function/File.js")).default(t?.ESBuild)):o);console.log(n?await(await import("esbuild")).analyzeMetafile(n,{verbose:!0}):{}),t?.TypeScript?e(`tsc -p ${t?.TypeScript}`):e("tsc"),e(`typedoc --commentStyle all --gitRevision main --customCss ${(await import("path")).resolve(`${l}/../Sheet/TypeDoc.css`)} --includeVersion --out ./Documentation --plugin typedoc-plugin-remove-references --plugin typedoc-plugin-rename-defaults --plugin typedoc-plugin-mdn-links --plugin typedoc-plugin-zod --plugin typedoc-plugin-merge-modules --entryPointStrategy expand --mergeModulesRenameDefaults --mergeModulesMergeMode module --entryPoints ${Object.values(o.entryPoints).join(" --entryPoints ")}`),setTimeout(()=>{e("mv ./Documentation/functions ./Documentation/Function"),e(`find ./Documentation -type f -name '*.html' -exec sed -i -E --regexp-extended 's:(href="([^"]+)?)functions/:\\1Function/:g' {} ;`)},1e4)};const{default:e}=await import("../Function/Exec.js"),{deepmerge:r}=await import("deepmerge-ts"),a=[],l=(await import("url")).fileURLToPath((await import("path")).dirname(import.meta.url));export{l as Current,e as Exec,a as Pipe,r as deepmerge,c as default}; +var c=async(...[n,e])=>{n.forEach(async t=>(await(await import("fast-glob")).default(t.replaceAll("'","").replaceAll('"',""))).forEach(l=>o.push(l))),o.reverse();const i=p((await import("../Object/ESBuild.js")).default,{entryPoints:Object.fromEntries(o.map(t=>[t.replace("Source/","").split(".").slice(0,-1).join("."),t]))}),{metafile:r}=await(await import("esbuild")).build(e?.ESBuild?p(i,await(await import("../Function/File.js")).default(e?.ESBuild)):i);console.log(r?await(await import("esbuild")).analyzeMetafile(r,{verbose:!0}):{}),e?.TypeScript?a(`tsc -p ${e?.TypeScript}`):a("tsc"),a(`typedoc --commentStyle all --gitRevision main --customCss ${(await import("path")).resolve(`${s}/../Sheet/TypeDoc.css`)} --includeVersion --out ./Documentation --plugin typedoc-plugin-remove-references --plugin typedoc-plugin-rename-defaults --plugin typedoc-plugin-mdn-links --plugin typedoc-plugin-zod --plugin typedoc-plugin-merge-modules --entryPointStrategy expand --mergeModulesRenameDefaults --mergeModulesMergeMode module --entryPoints ${Object.values(i.entryPoints).join(" --entryPoints ")}`)};const{default:a}=await import("../Function/Exec.js"),{deepmerge:p}=await import("deepmerge-ts"),o=[],s=(await import("url")).fileURLToPath((await import("path")).dirname(import.meta.url));export{s as Current,a as Exec,o as Pipe,p as deepmerge,c as default};