1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-01-16 20:28:28 +01:00

generate icon tags

This commit is contained in:
codecalm 2024-11-28 20:17:24 +01:00
parent 73ced29d64
commit 740f14ff2f
13 changed files with 24 additions and 1 deletions

View File

@ -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();

1
.gitignore vendored
View File

@ -37,3 +37,4 @@ packages/icons*/icons/*
!/**/.gitkeep
*.tgz
.env

View File

@ -1,4 +1,5 @@
<!--
tags: [emblem, award, medallion, symbol, accolade, honor, merit, distinction, prize, recognition]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 593 B

View File

@ -1,4 +1,5 @@
<!--
tags: [emblem, award, medallion, symbol, accolade, honor, merit, distinction, prize, recognition]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 549 B

View File

@ -1,4 +1,5 @@
<!--
tags: [expand, enlarge, fullscreen, zoom, enhance, magnify, increase, amplify, widen, stretch]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 501 B

View File

@ -1,4 +1,5 @@
<!--
tags: [reduce, minimize, shrink, narrow, contract, lessen, decrease, diminish, lower, detract]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 460 B

View File

@ -1,4 +1,5 @@
<!--
tags: [distribute, post, publish, forward, send, divulge, communicate, transmit, spread, propagate]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 506 B

View File

@ -1,4 +1,5 @@
<!--
tags: [subtract, reduce, deduct, diminish, decrease, lower, abate, decline, cut, shorten]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 413 B

View File

@ -1,4 +1,5 @@
<!--
tags: [add, increase, extend, expand, augment, boost, enhance, amplify, raise, enlarge]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 343 B

After

Width:  |  Height:  |  Size: 431 B

View File

@ -1,4 +1,5 @@
<!--
tags: [element, constant, loop, iterator, operand, symbol, identifier, expression, function, placeholder]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 417 B

View File

@ -1,4 +1,5 @@
<!--
tags: [ultra, high, definition, resolution, crystal, clear, sharp, detail, vivid, brilliant]
-->
<svg
xmlns="http://www.w3.org/2000/svg"

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 481 B

View File

@ -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",
@ -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",

8
pnpm-lock.yaml generated
View File

@ -30,6 +30,9 @@ importers:
csv-parser:
specifier: ^3.0.0
version: 3.0.0
dotenv:
specifier: ^16.4.5
version: 16.4.5
eleventy-sass:
specifier: ^2.2.4
version: 2.2.4(@11ty/eleventy@2.0.1)
@ -6055,6 +6058,11 @@ packages:
is-obj: 2.0.0
dev: true
/dotenv@16.4.5:
resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}
engines: {node: '>=12'}
dev: true
/duplexer@0.1.1:
resolution: {integrity: sha512-sxNZ+ljy+RA1maXoUReeqBBpBC6RLKmg5ewzV+x+mSETmWNoKdZN6vcQjpFROemza23hGFskJtFNoUWUaQ+R4Q==}
dev: true