Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: add readme
  • Loading branch information
G3root committed Aug 10, 2024
commit 7dbf1c52d793e74e8c783b6d4da00c79ed2365a4
2 changes: 1 addition & 1 deletion scripts/build-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function generateIconFiles() {

const stringifiedIconNames = iconNames.map((name) => JSON.stringify(name));

const typeOutputContent = `// This file is generated by yarn run build:icons
const typeOutputContent = `// This file is generated by pnpm run build:icons

export type IconName =
\t| ${stringifiedIconNames.join("\n\t| ")};
Expand Down
5 changes: 5 additions & 0 deletions src/components/ui/icon/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Icons

This directory contains SVG icons that are used by the app.

Everything in this directory is generated by `pnpm run build:icons`.
2 changes: 1 addition & 1 deletion src/components/ui/icon/icon-names.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by yarn run build:icons
// This file is generated by pnpm run build:icons

export type IconName =
| "account-circle-fill"
Expand Down