From fcf623b16678cabcea5a4a66dde59f62a266f901 Mon Sep 17 00:00:00 2001 From: "Nikola R. Hristov" Date: Fri, 5 Apr 2024 01:02:43 +0300 Subject: [PATCH] squash! --- Source/Function/Integration.ts | 6 +++--- Source/Variable/Biome.ts | 2 +- Source/Variable/Option.ts | 2 +- Target/Function/Integration.d.ts | 8 ++++---- Target/Variable/Option.d.ts | 8 ++++---- package.json | 6 ++---- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/Source/Function/Integration.ts b/Source/Function/Integration.ts index 025abf1..c291a86 100644 --- a/Source/Function/Integration.ts +++ b/Source/Function/Integration.ts @@ -9,12 +9,12 @@ export default ((...[_Option = {}]: Parameters) => { Value === true ? Default[Key as keyof typeof Default] : _Option[Key as keyof typeof _Option], - }), + }) ); const { Path, Cache, Logger, Exclude, Action, Biome } = Merge( Default, - _Option, + _Option ); const Paths = new Set(); @@ -45,7 +45,7 @@ export default ((...[_Option = {}]: Parameters) => { try { return _Biome.formatContent(On.Buffer.toString(), { filePath: (await import("path")).resolve( - On.Input, + On.Input ), }).content; } catch (_Error) { diff --git a/Source/Variable/Biome.ts b/Source/Variable/Biome.ts index d41b824..b6eebad 100644 --- a/Source/Variable/Biome.ts +++ b/Source/Variable/Biome.ts @@ -3,7 +3,7 @@ * */ export default JSON.parse( - await (await import("../Function/Configuration.js")).default("biome.json"), + await (await import("../Function/Configuration.js")).default("biome.json") ) satisfies Type; import type Type from "../Type/Biome.js"; diff --git a/Source/Variable/Option.ts b/Source/Variable/Option.ts index ab7da05..5af05f4 100644 --- a/Source/Variable/Option.ts +++ b/Source/Variable/Option.ts @@ -13,7 +13,7 @@ export default ( File > 0 ? `Successfully formatted a total of ${File} JavaScript and TypeScript ${ File === 1 ? "file" : "files" - }.` + }.` : false, }, } satisfies Type); diff --git a/Target/Function/Integration.d.ts b/Target/Function/Integration.d.ts index f29bcfa..b156cbe 100644 --- a/Target/Function/Integration.d.ts +++ b/Target/Function/Integration.d.ts @@ -18,10 +18,10 @@ export declare const Default: Omit<{} & { Failed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; Accomplished: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise; - Read: ({ Input }: any) => Promise; - Wrote: ({ Buffer }: any) => Promise; - Passed: (On: any) => Promise; - Changed: (Plan: any) => Promise; + Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise; }, "__proto__">; Exclude: false; }, "__proto__">; diff --git a/Target/Variable/Option.d.ts b/Target/Variable/Option.d.ts index d4a7843..4f7c6c7 100644 --- a/Target/Variable/Option.d.ts +++ b/Target/Variable/Option.d.ts @@ -15,10 +15,10 @@ declare const _default: Omit<{} & { Failed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; Accomplished: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise; - Read: ({ Input }: any) => Promise; - Wrote: ({ Buffer }: any) => Promise; - Passed: (On: any) => Promise; - Changed: (Plan: any) => Promise; + Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise; + Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise; }, "__proto__">; Exclude: false; }, "__proto__">; diff --git a/package.json b/package.json index 476b018..ed8fa25 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "main": "./Target/Function/Integration.js", "types": "./Target/Function/Integration.d.ts", "scripts": { - "Document": "Document 'Source/**/*.ts'", "prepublishOnly": "Build 'Source/**/*.ts'" }, "dependencies": { @@ -39,9 +38,8 @@ "deepmerge-ts": "5.1.0" }, "devDependencies": { - "@playform/build": "0.0.2", - "astro": "4.5.15", - "@playform/document": "0.0.3" + "@playform/build": "0.0.4", + "astro": "4.5.16" }, "publishConfig": { "access": "public"