mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-27 10:06:16 -04:00
chore(cd): added deploy on cloudflare pages
This commit is contained in:
parent
f8b5cbfd87
commit
161b9e6bca
48 changed files with 4066 additions and 813 deletions
12
packages/app/templates/tools/new/tool.definition.ejs.t
Normal file
12
packages/app/templates/tools/new/tool.definition.ejs.t
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
to: src/modules/tools/definitions/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.tool.ts
|
||||
---
|
||||
import { defineTool } from '../../tools.models'
|
||||
|
||||
export const <%= h.changeCase.camel(name) %>Tool = defineTool({
|
||||
slug: '<%= h.changeCase.param(name) %>',
|
||||
entryFile: () => import('./<%= h.changeCase.param(name) %>.page'),
|
||||
icon: 'i-tabler-question-mark',
|
||||
createdAt: new Date('<%= new Date().toISOString().split('T')[0] %>'),
|
||||
dirName: '<%= h.changeCase.param(name) %>',
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue