Skip to content

Commit

Permalink
generate icon tags
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Nov 28, 2024
1 parent 73ced29 commit 740f14f
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ai.mjs → .build/generate-ai-tags.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import OpenAI from 'openai';
import { getAllIcons } from './.build/helpers.mjs';
import { getAllIcons } from './helpers.mjs';
import { writeFileSync } from 'fs';

import dotenv from 'dotenv';
dotenv.config();

const client = new OpenAI();

const allIcons = getAllIcons();
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ packages/icons*/icons/*

!/**/.gitkeep
*.tgz
.env
1 change: 1 addition & 0 deletions icons/outline/badge-3k.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/badge-5k.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/browser-maximize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/browser-minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/browser-share.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/code-variable-minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/code-variable-plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/code-variable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/uhd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"build": "pnpm run validate && pnpm run update && pnpm run validate --hard && pnpm run optimize && pnpm run build:packages && pnpm run preview && pnpm run changelog-image && pnpm run zip && pnpm run update-readme",
"clean": "turbo run clean",
"test": "turbo run test",
"generate-ai-tags": "node ./.build/generate-ai-tags.mjs",
"changelog": "node ./.build/changelog.mjs",
"changelog-commit": "git add . && node ./.build/changelog-commit.mjs",
"changelog-image": "node ./.build/changelog-image.mjs",
Expand Down Expand Up @@ -55,6 +56,7 @@
"adm-zip": "^0.5.10",
"cheerio": "^1.0.0-rc.12",
"csv-parser": "^3.0.0",
"dotenv": "^16.4.5",
"eleventy-sass": "^2.2.4",
"esbuild": "^0.20.1",
"fs-extra": "^11.2.0",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 740f14f

Please sign in to comment.