1
0
mirror of https://github.com/ikatyang/emoji-cheat-sheet.git synced 2026-02-06 15:15:20 +01:00

build: update infra (#652)

This commit is contained in:
Ika
2023-07-22 19:19:36 +08:00
committed by GitHub
parent ef5ce591cb
commit 4896810dcc
23 changed files with 3158 additions and 6086 deletions

10
scripts/generate.ts Normal file
View File

@@ -0,0 +1,10 @@
import { getCategorizeGithubEmojiIds } from './fetch.js'
import { generateCheatSheet } from './markdown.js'
export async function generate() {
return generateCheatSheet(await getCategorizeGithubEmojiIds())
}
if (process.argv[2] === 'run') {
console.log(await generate())
}