diff --git a/Target/Function/Document.js b/Target/Function/Document.js index d61851e..cddc7dc 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 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}; diff --git a/Target/Interface/Build.d.ts b/Target/Interface/Build.d.ts index d43567b..65d1010 100644 --- a/Target/Interface/Build.d.ts +++ b/Target/Interface/Build.d.ts @@ -2,7 +2,7 @@ * @module Build * */ -export default interface Type { +export default interface Interface { /** * Represents a function that processes file patterns. * diff --git a/Target/Interface/Exec.d.ts b/Target/Interface/Exec.d.ts index cb1e324..1d8f966 100644 --- a/Target/Interface/Exec.d.ts +++ b/Target/Interface/Exec.d.ts @@ -2,7 +2,7 @@ * @module Exec * */ -export default interface Type { +export default interface Interface { /** * The 'Exec' function is an asynchronous function that executes a command and logs the * stdout and stderr of the child process. diff --git a/Target/Interface/JSON.d.ts b/Target/Interface/JSON.d.ts index 6ea2f92..aae841d 100644 --- a/Target/Interface/JSON.d.ts +++ b/Target/Interface/JSON.d.ts @@ -2,7 +2,7 @@ * @module JSON * */ -export default interface Type { +export default interface Interface { /** * The function 'JSON' is a TypeScript function that reads a JSON file and returns its * parsed content. diff --git a/Target/Interface/Load.d.ts b/Target/Interface/Load.d.ts index fe89f2e..f10058e 100644 --- a/Target/Interface/Load.d.ts +++ b/Target/Interface/Load.d.ts @@ -2,7 +2,7 @@ * @module Load * */ -export default interface Type { +export default interface Interface { /** * The `Load` function is responsible for loading a plugin into the TypeDoc instance. * diff --git a/Target/Interface/Mapping.d.ts b/Target/Interface/Mapping.d.ts index 04fd53e..1074b40 100644 --- a/Target/Interface/Mapping.d.ts +++ b/Target/Interface/Mapping.d.ts @@ -6,7 +6,7 @@ * Used by DefaultTheme to map reflections to output files. * */ -export default interface Type { +export default interface Interface { /** * DeclarationReflection.kind this rule applies to. */ diff --git a/Target/Stylesheet/Theme.css b/Target/Stylesheet/Theme.css deleted file mode 100644 index 1866722..0000000 --- a/Target/Stylesheet/Theme.css +++ /dev/null @@ -1,54 +0,0 @@ -:root { - --dark-color-background: #000; - --dark-color-background-secondary: #000; - --dark-code-background: #040404; - --color-accent: #2463eb; - --light-hl-0: #ffdd00; - --light-hl-1: #ff66ff; - --light-hl-2: #ff4444; - --light-hl-3: #44ffff; - --light-hl-4: #44ff44; - --dark-hl-0: #ffdd00; - --dark-hl-1: #ff66ff; - --dark-hl-2: #ff4444; - --dark-hl-3: #44ffff; - --dark-hl-4: #44ff44; -} - -body #tsd-search .field label { - left: 50%; - margin-left: -20px; - z-index: 1; - text-align: center; -} - -body #tsd-search.has-focus .field label { - display: none; -} - -body #tsd-search .field input { - z-index: 2; -} - -body pre, -body .tsd-page-toolbar, -body .tsd-generator { - border: none; -} - -body .tsd-navigation a, -body .tsd-navigation summary > span, -body .tsd-page-navigation a { - padding: 0.5rem; - border-radius: 8px; -} - -body .tsd-description .tsd-signatures .tsd-signature, -body .tsd-signature, -body .tsd-signatures .tsd-signature, -body .tsd-typography td, -body .tsd-typography th, -body code.tsd-tag { - border-radius: 12px; - border-width: 2px; -} diff --git a/package.json b/package.json index 90286c9..5784dec 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "Document": "Target/Class/Document.js" }, "scripts": { - "Document": "node --no-warnings --loader ts-node/esm Source/Class/Document.ts 'Source/**/*.ts'", - "prepublishOnly": "Build 'Source/**/*.ts' --ESBuild Configuration/ESBuild.ts" + "Document": "Document 'Source/**/*.ts'", + "prepublishOnly": "Build 'Source/**/*.ts'" }, "dependencies": { "commander": "12.0.0", @@ -45,11 +45,7 @@ "typedoc-plugin-zod": "1.1.2" }, "devDependencies": { - "@playform/build": "0.0.2", - "ts-node": "10.9.2" - }, - "peerDependencies": { - "@playform/copy": "0.0.1" + "@playform/build": "0.0.2" }, "publishConfig": { "access": "public" diff --git a/tsconfig.json b/tsconfig.json index 0a83647..94d9d16 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,6 @@ "baseUrl": "./", "outDir": "Target" }, - "extends": "@playform/build/Target/Notation/TypeScript", + "extends": "@playform/build/tsconfig", "include": ["Source"] }