devicons / devicons/devicon

[FEATURE REQUEST]: split up devicon.json

オープン
#2,136 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
awaiting triage discussion enhancement
主要言語
CSS
スター
11.8k
フォーク
2.4k
平均マージ
5日 9時間
マージ済み PR(30日)
4

説明

### I have searched through the issues and didn't find my problem.

- [X] Confirm

### Description

I had this idea before, and was reminded by the `check-bot` comment in https://github.com/devicons/devicon/pull/2135
I am not sure if this works for the whole build and release process, so i guess this needs more input.

**The Idea:**
Split up the `devicon.json` into snippets for each icon. So instead of having one huge json, split it up into a "one json per icon"
So in the example case of the `teleport` icon, we would have a folder like the following:

![image](https://github.com/devicons/devicon/assets/482423/5b8f5526-4343-4bed-9f71-362f0b5231fd)

So each icon folder also includes a `devicon.json` or `teleport.json` (whatever fits better), including only the part specific for this icon.

When ever the full `devicon.json` is needed for build or publish it could be merged with a tool like `jq` or similar,
by iterating over all icon folders, and therefore automatically produce the alphabetical order we want.

### Context

I think the pro side of this split up is, that the contributors, don't need to have to remember that the alphabetical order is needed.

### Possible Solution

_No response_

### Additional information

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

devicon.json と PR #2135 の check-bot コメントを確認し、その後、ビルドおよびリリースプロセスがこのファイルをどのように使用しているかを調査します。必要なアルファベット順を維持したまま、アイコンごとの JSON ファイルを jq または類似のツールでマージできるか判断します。ビルドおよび公開で使用するためのアプローチが検証されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
json
領域
build-system, release
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。