mirror of
https://github.com/chenasraf/simple-scaffold.git
synced 2026-05-17 17:28:09 +00:00
update docs [skip publish]
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"name": "simple-scaffold",
|
||||
"version": "1.1.0",
|
||||
"description": "A simple command to generate any file structure, from single components to entire app boilerplates.",
|
||||
"homepage": "https://casraf.blog/simple-scaffold",
|
||||
"repository": "https://github.com/chenasraf/simple-scaffold.git",
|
||||
"author": "Chen Asraf <inbox@casraf.com>",
|
||||
"license": "MIT",
|
||||
@@ -51,4 +52,4 @@
|
||||
"typedoc": "^0.22.15",
|
||||
"typescript": "^4.3.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,6 +110,7 @@ export interface ScaffoldConfig {
|
||||
* ```
|
||||
*
|
||||
* See {@link DefaultHelperKeys} for a list of all the built-in available helpers.
|
||||
*
|
||||
* @see https://github.com/chenasraf/simple-scaffold#built-in-helpers
|
||||
*/
|
||||
helpers?: Record<string, Helper>
|
||||
@@ -163,7 +164,7 @@ export interface ScaffoldConfig {
|
||||
* | `lowerCase` | `{{ lowerCase name }}` | my name |
|
||||
*
|
||||
* @see {@link ScaffoldConfig}
|
||||
* @see {@link subfolderNameHelper}
|
||||
* @see {@link subFolderNameHelper}
|
||||
* @see {@link DefaultHelperKeys}
|
||||
*
|
||||
* @category Helpers
|
||||
@@ -262,6 +263,8 @@ export type FileResponseHandler<T> = (fullPath: string, basedir: string, basenam
|
||||
*
|
||||
* @typedef T The return type
|
||||
*
|
||||
* @see {@link FileResponseHandler}
|
||||
*
|
||||
* @category Config
|
||||
* */
|
||||
export type FileResponse<T> = T | FileResponseHandler<T>
|
||||
|
||||
Reference in New Issue
Block a user