Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Apr 4, 2024
1 parent 49541ff commit fcf623b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Source/Function/Integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export default ((...[_Option = {}]: Parameters<Type>) => {
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<Path>();
Expand Down Expand Up @@ -45,7 +45,7 @@ export default ((...[_Option = {}]: Parameters<Type>) => {
try {
return _Biome.formatContent(On.Buffer.toString(), {
filePath: (await import("path")).resolve(
On.Input,
On.Input
),
}).content;
} catch (_Error) {
Expand Down
2 changes: 1 addition & 1 deletion Source/Variable/Biome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion Source/Variable/Option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default (
File > 0
? `Successfully formatted a total of ${File} JavaScript and TypeScript ${
File === 1 ? "file" : "files"
}.`
}.`
: false,
},
} satisfies Type);
Expand Down
8 changes: 4 additions & 4 deletions Target/Function/Integration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export declare const Default: Omit<{} & {
Failed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Accomplished: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
Read: ({ Input }: any) => Promise<string>;
Wrote: ({ Buffer }: any) => Promise<any>;
Passed: (On: any) => Promise<true>;
Changed: (Plan: any) => Promise<any>;
Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<import("@playform/pipe/Target/Type/Buffer.js").Type>;
Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<true>;
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
}, "__proto__">;
Exclude: false;
}, "__proto__">;
Expand Down
8 changes: 4 additions & 4 deletions Target/Variable/Option.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ declare const _default: Omit<{} & {
Failed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Accomplished: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Fulfilled: ({ File }: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<string | false>;
Read: ({ Input }: any) => Promise<string>;
Wrote: ({ Buffer }: any) => Promise<any>;
Passed: (On: any) => Promise<true>;
Changed: (Plan: any) => Promise<any>;
Read: ({ Input }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<string>;
Wrote: ({ Buffer }: import("@playform/pipe/Target/Interface/File.js").default) => Promise<import("@playform/pipe/Target/Type/Buffer.js").Type>;
Passed: (On: import("@playform/pipe/Target/Interface/File.js").default) => Promise<true>;
Changed: (Plan: import("@playform/pipe/Target/Interface/Plan.js").default) => Promise<import("@playform/pipe/Target/Interface/Plan.js").default>;
}, "__proto__">;
Exclude: false;
}, "__proto__">;
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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"
Expand Down

0 comments on commit fcf623b

Please sign in to comment.