From efd29a3f11673ab0b716ffb5a6782f3b1b6f0440 Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Thu, 14 Dec 2023 23:41:38 +0100 Subject: [PATCH 01/10] update icon npm --- devicon.json | 6 ++++-- icons/npm/npm-plain.svg | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 icons/npm/npm-plain.svg diff --git a/devicon.json b/devicon.json index 39d3e04a..40c85c2d 100644 --- a/devicon.json +++ b/devicon.json @@ -6818,10 +6818,12 @@ ], "versions": { "svg": [ - "original-wordmark" + "original-wordmark", + "plain" ], "font": [ - "original-wordmark" + "original-wordmark", + "plain" ] }, "color": "#cb3837", diff --git a/icons/npm/npm-plain.svg b/icons/npm/npm-plain.svg new file mode 100644 index 00000000..105214d8 --- /dev/null +++ b/icons/npm/npm-plain.svg @@ -0,0 +1 @@ + From f18e5dc610e75a9e8ece1f21ccd730d0e0491855 Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 20:38:39 +0100 Subject: [PATCH 02/10] update icons --- devicon.json | 2 ++ icons/npm/npm-original.svg | 1 + icons/npm/npm-plain.svg | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 icons/npm/npm-original.svg diff --git a/devicon.json b/devicon.json index 40c85c2d..97b48f3d 100644 --- a/devicon.json +++ b/devicon.json @@ -6818,10 +6818,12 @@ ], "versions": { "svg": [ + "original", "original-wordmark", "plain" ], "font": [ + "original", "original-wordmark", "plain" ] diff --git a/icons/npm/npm-original.svg b/icons/npm/npm-original.svg new file mode 100644 index 00000000..105214d8 --- /dev/null +++ b/icons/npm/npm-original.svg @@ -0,0 +1 @@ + diff --git a/icons/npm/npm-plain.svg b/icons/npm/npm-plain.svg index 105214d8..3228d8a5 100644 --- a/icons/npm/npm-plain.svg +++ b/icons/npm/npm-plain.svg @@ -1 +1 @@ - + From 4d45783c8825a341885caf38c485d72bdb1d19f3 Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 20:55:41 +0100 Subject: [PATCH 03/10] remove wrong change --- .github/workflows/build_icons.yml | 51 ++++++++++++++++++------------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index a29f3339..dd5650f9 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -4,12 +4,11 @@ jobs: build: name: Get Fonts From Icomoon runs-on: ubuntu-latest - runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - with: - python-version: '3.10' + with: + python-version: 3.8 - name: Install dependencies (python, pip, npm) run: | @@ -21,8 +20,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: > - python ./.github/scripts/icomoon_build.py - ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json + python ./.github/scripts/icomoon_build.py + ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json ./devicon.json ./icons ./ "$GITHUB_TOKEN" --headless - name: Upload geckodriver.log for debugging purposes @@ -40,28 +39,28 @@ jobs: path: ./log.txt - name: Build devicon.min.css - if: success() + if: success() run: npm run build-css - # - name: Upload screenshot of the newly made icons - # id: imgur_step - # uses: devicons/public-upload-to-imgur@v2.2.2 - # if: success() - # with: - # # will have "new_icons.png" and "new_svgs.png" - # # in that order (cause sorted alphabetically) - # path: ./screenshots/*.png - # client_id: ${{secrets.IMGUR_CLIENT_ID}} + - name: Upload screenshot of the newly made icons + id: imgur_step + uses: devicons/public-upload-to-imgur@v2.2.2 + if: success() + with: + # will have "new_icons.png" and "new_svgs.png" + # in that order (cause sorted alphabetically) + path: ./screenshots/*.png + client_id: ${{secrets.IMGUR_CLIENT_ID}} - name: Get the release message from file id: release_message_step uses: juliangruber/read-file-action@v1.0.0 with: # taken from icomoon_build.py's get_release_message() - path: ./release_message.txt + path: ./release_message.txt - name: Create Pull Request - if: success() + if: success() uses: peter-evans/create-pull-request@v3 env: MESSAGE: | @@ -69,6 +68,14 @@ jobs: I'm Devicon's Build Bot and I just built some new font files and devicon.min.css file. + Here are all the **SVGs** that were uploaded (the new ones are those with highlight): + + {0} + + Here is what they look like as icons: + + {1} + The devicon.min.css file contains: -The icon content -The aliases @@ -76,22 +83,24 @@ jobs: I also compiled a list of new features and icons that were added since last release. ``` - {0} + {2} ``` More information can be found in the GitHub Action logs for this workflow. - Adios, + Adios, Build Bot :sunglasses: with: branch: 'bot/build-result' commit-message: 'Built new icons, icomoon.json and devicon.css' title: 'bot:build new icons, icomoon.json and devicon.css' body: > - ${{ + ${{ format( env.MESSAGE, + fromJSON(steps.imgur_step.outputs.markdown_urls)[1], + fromJSON(steps.imgur_step.outputs.markdown_urls)[0], steps.release_message_step.outputs.content ) }} - delete-branch: true + delete-branch: true \ No newline at end of file From 0ea7c2771d9b6246a4c8b28820831d5b2bc817dd Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 20:56:59 +0100 Subject: [PATCH 04/10] remove wrong change --- .github/workflows/build_icons.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index dd5650f9..133a8e32 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -102,5 +102,4 @@ jobs: fromJSON(steps.imgur_step.outputs.markdown_urls)[0], steps.release_message_step.outputs.content ) - }} - delete-branch: true \ No newline at end of file + }} \ No newline at end of file From d50c866bc3aa1d6812c2dabb0e92c6b86787c870 Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 20:59:03 +0100 Subject: [PATCH 05/10] remove wrong change --- .github/workflows/build_icons.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index 133a8e32..dd5650f9 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -102,4 +102,5 @@ jobs: fromJSON(steps.imgur_step.outputs.markdown_urls)[0], steps.release_message_step.outputs.content ) - }} \ No newline at end of file + }} + delete-branch: true \ No newline at end of file From 994f162ae4e9e05beb6ae294a2f9003d8d944b4a Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 21:01:00 +0100 Subject: [PATCH 06/10] remove wrong change --- .github/workflows/build_icons.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index dd5650f9..9db312d1 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -103,4 +103,4 @@ jobs: steps.release_message_step.outputs.content ) }} - delete-branch: true \ No newline at end of file + delete-branch: true From d4b69f70b880af8e068533b490ae9678b150199a Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 21:07:46 +0100 Subject: [PATCH 07/10] update icons --- devicon.json | 6 ++---- icons/npm/npm-plain.svg | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 icons/npm/npm-plain.svg diff --git a/devicon.json b/devicon.json index 97b48f3d..114edec1 100644 --- a/devicon.json +++ b/devicon.json @@ -6819,13 +6819,11 @@ "versions": { "svg": [ "original", - "original-wordmark", - "plain" + "original-wordmark" ], "font": [ "original", - "original-wordmark", - "plain" + "original-wordmark" ] }, "color": "#cb3837", diff --git a/icons/npm/npm-plain.svg b/icons/npm/npm-plain.svg deleted file mode 100644 index 3228d8a5..00000000 --- a/icons/npm/npm-plain.svg +++ /dev/null @@ -1 +0,0 @@ - From 6c3728bdbae61c83802780fcd34cffbee45ffda5 Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 21:49:29 +0100 Subject: [PATCH 08/10] add plain icon --- devicon.json | 6 ++++-- icons/npm/npm-plain.svg | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 icons/npm/npm-plain.svg diff --git a/devicon.json b/devicon.json index 114edec1..97b48f3d 100644 --- a/devicon.json +++ b/devicon.json @@ -6819,11 +6819,13 @@ "versions": { "svg": [ "original", - "original-wordmark" + "original-wordmark", + "plain" ], "font": [ "original", - "original-wordmark" + "original-wordmark", + "plain" ] }, "color": "#cb3837", diff --git a/icons/npm/npm-plain.svg b/icons/npm/npm-plain.svg new file mode 100644 index 00000000..e34f80e4 --- /dev/null +++ b/icons/npm/npm-plain.svg @@ -0,0 +1 @@ + From 72925ff27e13aaa36ab77020719552b2bec5178c Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sun, 17 Dec 2023 23:41:32 +0100 Subject: [PATCH 09/10] rework icons --- icons/npm/npm-original.svg | 2 +- icons/npm/npm-plain.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icons/npm/npm-original.svg b/icons/npm/npm-original.svg index 105214d8..aa03a7df 100644 --- a/icons/npm/npm-original.svg +++ b/icons/npm/npm-original.svg @@ -1 +1 @@ - + diff --git a/icons/npm/npm-plain.svg b/icons/npm/npm-plain.svg index e34f80e4..83a0df9c 100644 --- a/icons/npm/npm-plain.svg +++ b/icons/npm/npm-plain.svg @@ -1 +1 @@ - + From 31b2f5371d43e17d814f5372c9024b8305caee42 Mon Sep 17 00:00:00 2001 From: m00nbyte Date: Sat, 30 Mar 2024 14:49:33 +0100 Subject: [PATCH 10/10] remove stroke-width --- icons/npm/npm-original.svg | 2 +- icons/npm/npm-plain.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icons/npm/npm-original.svg b/icons/npm/npm-original.svg index aa03a7df..ab541807 100644 --- a/icons/npm/npm-original.svg +++ b/icons/npm/npm-original.svg @@ -1 +1 @@ - + diff --git a/icons/npm/npm-plain.svg b/icons/npm/npm-plain.svg index 83a0df9c..c466094c 100644 --- a/icons/npm/npm-plain.svg +++ b/icons/npm/npm-plain.svg @@ -1 +1 @@ - +