-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7399aa
commit cb92211
Showing
12 changed files
with
158 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env node | ||
/** | ||
* @module Build | ||
* | ||
*/ | ||
declare const _default: import("commander").Command; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @module Build | ||
* | ||
*/ | ||
declare const _default: Interface; | ||
export default _default; | ||
import type Interface from "../Interface/Build.js"; | ||
export declare const Exec: import("../Interface/Exec.js").default; | ||
export declare const Merge: <Ts extends readonly unknown[]>(...objects: Ts) => import("deepmerge-ts").DeepMergeHKT<Ts, Readonly<{ | ||
DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI"; | ||
DeepMergeArraysURI: "DeepMergeArraysDefaultURI"; | ||
DeepMergeSetsURI: "DeepMergeSetsDefaultURI"; | ||
DeepMergeMapsURI: "DeepMergeMapsDefaultURI"; | ||
DeepMergeOthersURI: "DeepMergeLeafURI"; | ||
DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI"; | ||
}>, Readonly<{ | ||
key: PropertyKey; | ||
parents: ReadonlyArray<Readonly<Record<PropertyKey, unknown>>>; | ||
}>>; | ||
export declare const Pipe: string[]; | ||
export declare const Current: string; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* @module Exec | ||
* | ||
*/ | ||
declare const _default: Interface; | ||
export default _default; | ||
import type Interface from "../Interface/Exec.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* @module File | ||
* | ||
*/ | ||
declare const _default: Interface; | ||
export default _default; | ||
import type Interface from "../Interface/File.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* @module JSON | ||
* | ||
*/ | ||
declare const _default: Interface; | ||
export default _default; | ||
import type Interface from "../Interface/JSON.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* @module Merge | ||
* | ||
*/ | ||
declare const _default: <Ts extends readonly unknown[]>(...objects: Ts) => import("deepmerge-ts").DeepMergeHKT<Ts, Readonly<{ | ||
DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI"; | ||
DeepMergeArraysURI: "DeepMergeArraysDefaultURI"; | ||
DeepMergeSetsURI: "DeepMergeSetsDefaultURI"; | ||
DeepMergeMapsURI: "DeepMergeMapsDefaultURI"; | ||
DeepMergeOthersURI: "DeepMergeLeafURI"; | ||
DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI"; | ||
}>, Readonly<{ | ||
key: PropertyKey; | ||
parents: ReadonlyArray<Readonly<Record<PropertyKey, unknown>>>; | ||
}>>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @module Build | ||
* | ||
*/ | ||
export default interface Interface { | ||
/** | ||
* Represents a function that processes file patterns. | ||
* | ||
* @param File - An array of file patterns to be processed. Each pattern can include wildcards (*) to match multiple files. | ||
* | ||
* @param Option - An optional object that can contain two properties. | ||
* | ||
* @param Option.ESBuild - A string representing the ESBuild option. | ||
* | ||
* @param Option.TypeScript - A string representing the TypeScript option. | ||
* | ||
*/ | ||
(File: Pattern[], Option?: { | ||
ESBuild?: string; | ||
TypeScript?: string; | ||
Watch?: boolean; | ||
}): Promise<void>; | ||
} | ||
import type { Pattern } from "fast-glob"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @module Exec | ||
* | ||
*/ | ||
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. | ||
* | ||
* @param Command - The 'Command' parameter is a string that represents the | ||
* command you want to execute. It can be any valid command that can be executed in a | ||
* terminal or command prompt. | ||
* | ||
* @param Echo - An optional parameter that controls whether the stdout and stderr | ||
* of the child process should be logged. If set to 'false', no logging will occur. If set | ||
* to a function, the function will be called with the stdout and stderr data as a parameter for custom | ||
* logging. If not provided, stdout and stderr will be logged to the console by default. | ||
* | ||
*/ | ||
(Command: string, Echo?: false | ((Return: any, _Error?: boolean) => Promise<void>)): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* @module File | ||
* | ||
*/ | ||
export default interface Interface { | ||
/** | ||
* This function asynchronously processes a file located at the given path. If the file is a TypeScript | ||
* (.ts) file, it performs the following steps: | ||
* 1. Converts TypeScript code to JavaScript. | ||
* 2. Creates a JavaScript module and emits it. | ||
* 3. Writes the transpiled JavaScript code to a new file with a .js extension. | ||
* | ||
* Finally, it imports and returns the default export of the processed JavaScript module. | ||
* | ||
* @param Path - The 'Path' parameter is a string that represents the file path of the file | ||
* you want to process. | ||
* | ||
*/ | ||
(Path: string): Promise<any>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* @module JSON | ||
* | ||
*/ | ||
export default interface Interface { | ||
/** | ||
* The function 'JSON' is a TypeScript function that reads a JSON file and returns its | ||
* parsed content. | ||
* | ||
* @param File - The `File` parameter is a string that represents the name or | ||
* path of the JSON file that you want to parse. | ||
* | ||
* @param From - The `From` parameter is an optional string that represents | ||
* the directory path from which the JSON file should be loaded. If `From` is provided, | ||
* it will be used as the base directory path. If `From` is not provided, the current | ||
* directory will be used as the base directory path. | ||
* | ||
*/ | ||
(File: string, From?: string): Promise<ReturnType<typeof JSON.parse>>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* @module ESBuild | ||
* | ||
*/ | ||
declare const _default: BuildOptions; | ||
export default _default; | ||
import type { BuildOptions } from "esbuild"; |