-
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.
refactor: add new assets and init with examples
- Loading branch information
Showing
22 changed files
with
231 additions
and
330 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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,44 @@ | ||
export const templateCoreFiles = [ | ||
{ | ||
folder: 'templates/core/functions', | ||
target: 'functions', | ||
files: ['AsyncFunction.ts', 'AsyncFunction.spec.ts'] | ||
}, | ||
{ | ||
folder: 'templates/core/markdown', | ||
target: 'docs', | ||
files: ['HookDoc.md'] | ||
}, | ||
{ | ||
folder: 'templates/core/react-component', | ||
target: 'component/react-component', | ||
files: [ | ||
'index.tsx', | ||
'Component.tsx', | ||
'Component.test.tsx', | ||
'Component.styles.css', | ||
'Component.stories.tsx' | ||
] | ||
}, | ||
{ | ||
folder: 'templates/core', | ||
target: '', | ||
files: ['meta.yaml', 'SCAFFOLD_GUIDE.md'] | ||
} | ||
] | ||
|
||
export const presetsCoreFiles = [ | ||
{ | ||
folder: 'templates/core', | ||
target: '', | ||
files: ['PRESETS_GUIDE.md', 'function-preset.json'] | ||
} | ||
] | ||
|
||
export const globalCoreFiles = [ | ||
{ | ||
folder: 'templates/core', | ||
target: '', | ||
files: ['clingon.config.json'] | ||
} | ||
] |
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
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,6 @@ | ||
{ | ||
"alias": { | ||
"src": "@" | ||
}, | ||
"exportDefault": false | ||
} |
File renamed without changes.
File renamed without changes.
This file was deleted.
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,27 @@ | ||
# ResourceName | ||
|
||
> My hook doc | ||
## Introduction | ||
|
||
> Describe below about your hook | ||
- ... | ||
|
||
## How to use | ||
|
||
> Describe below how to use your hook | ||
- ... | ||
|
||
## Examples | ||
|
||
> Add useful examples of code | ||
- ... | ||
|
||
```ts | ||
// code examples | ||
|
||
const hookData = useResourceName() | ||
``` |
Oops, something went wrong.