From 293f6606aa8e06e38a08e72da18d46226bbd91fc Mon Sep 17 00:00:00 2001 From: "Nikola R. Hristov" Date: Thu, 4 Apr 2024 23:26:27 +0300 Subject: [PATCH] Document/v0.0.5 --- CHANGELOG.md | 4 ++++ Source/Function/Document.ts | 4 +++- Target/Class/Document.js | 2 +- Target/Function/Document.js | 2 +- package.json | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d27b109..e5f5824 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.5 + +- Cleanup + ## 0.0.4 - Cleanup diff --git a/Source/Function/Document.ts b/Source/Function/Document.ts index ccbc00b..437b977 100644 --- a/Source/Function/Document.ts +++ b/Source/Function/Document.ts @@ -17,7 +17,9 @@ export default (async (...[File]: Parameters) => { [ "typedoc", "--commentStyle all", - `--customCss ${resolve(`${Current}/../../Stylesheet/Theme.css`)}`, + `--customCss ${(await import("path")).resolve( + `${Current}/../../Stylesheet/Theme.css` + )}`, "--includeVersion", "--out ./Documentation", // TODO: FIX THIS diff --git a/Target/Class/Document.js b/Target/Class/Document.js index 1a639e1..4058495 100644 --- a/Target/Class/Document.js +++ b/Target/Class/Document.js @@ -1,2 +1,2 @@ #!/usr/bin/env node -var e=new(await import("commander")).Command().name("Document").version("0.0.4").description("\u{1F4C3}\u2000Document.").argument("","File.").action((await import("../Function/Document.js")).default).parse();export{e as default}; +var e=new(await import("commander")).Command().name("Document").version("0.0.5").description("\u{1F4C3}\u2000Document.").argument("","File.").action((await import("../Function/Document.js")).default).parse();export{e as default}; diff --git a/Target/Function/Document.js b/Target/Function/Document.js index cddc7dc..67ee823 100644 --- a/Target/Function/Document.js +++ b/Target/Function/Document.js @@ -1 +1 @@ -var a=async(...[t])=>{for(const o of t)for(const r of await(await import("fast-glob")).default(o.replaceAll("'","").replaceAll('"',"")))e.push(r);e.reverse(),i(["typedoc","--commentStyle all",`--customCss ${n(`${p}/../../Stylesheet/Theme.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","--plugin typedoc-plugin-keywords","--searchInComments",`--keywords ${(await(await import("../Function/JSON.js")).default("package.json",process.cwd()))?.keywords?.join(" --keywords ")??" @playform/document "}`,"--entryPointStrategy expand","--mergeModulesRenameDefaults","--mergeModulesMergeMode module",`--entryPoints ${e.join(" --entryPoints ")}`].join(" "))};const{default:i}=await import("../Function/Exec.js"),{resolve:n}=await import("path"),e=[],p=(await import("url")).fileURLToPath((await import("path")).dirname(import.meta.url));export{p as Current,i as Exec,e as Pipe,a as default,n as resolve}; +var p=async(...[t])=>{for(const o of t)for(const r of await(await import("fast-glob")).default(o.replaceAll("'","").replaceAll('"',"")))e.push(r);e.reverse(),i(["typedoc","--commentStyle all",`--customCss ${(await import("path")).resolve(`${n}/../../Stylesheet/Theme.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","--plugin typedoc-plugin-keywords","--searchInComments",`--keywords ${(await(await import("../Function/JSON.js")).default("package.json",process.cwd()))?.keywords?.join(" --keywords ")??" @playform/document "}`,"--entryPointStrategy expand","--mergeModulesRenameDefaults","--mergeModulesMergeMode module",`--entryPoints ${e.join(" --entryPoints ")}`].join(" "))};const{default:i}=await import("../Function/Exec.js"),{resolve:a}=await import("path"),e=[],n=(await import("url")).fileURLToPath((await import("path")).dirname(import.meta.url));export{n as Current,i as Exec,e as Pipe,p as default,a as resolve}; diff --git a/package.json b/package.json index 9f463a7..dc64edc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@playform/document", - "version": "0.0.4", + "version": "0.0.5", "private": false, "description": "📃 Document.", "keywords": [