Skip to content

Commit

Permalink
release(hotfix): v0.6.0-hotfix.2
Browse files Browse the repository at this point in the history
commit 11a2c1d
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Thu Mar 9 00:12:42 2023 +0800

    release(hotfix): v0.6.0-hotfix.2 (#147)

commit f874cca
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Thu Mar 9 00:06:17 2023 +0800

    fix: Fix missing borderline (#146)

commit fe6a8e8
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Mon Mar 6 02:00:14 2023 +0800

    dosc: Update README.md

commit a1b0e00
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Mon Mar 6 01:43:24 2023 +0800

    release: v0.6.0-hotfix.1

commit 0116aa2
Author: George <31376482+george-gca@users.noreply.github.com>
Date:   Sun Mar 5 14:40:04 2023 -0300

    typo: Fixed missing param in comment (#144)

commit aa3536e
Author: shunsuke6 <snsk.syk.gtobzz@gmail.com>
Date:   Mon Mar 6 02:38:48 2023 +0900

    fix: Fix typo in input parameter (#145)

commit e27aa8c
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Mar 4 15:53:34 2023 +0800

    docs: Update README.md

commit 629a1d6
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Mar 4 15:46:12 2023 +0800

    release: v0.6.0

commit e5756dd
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Mar 4 15:33:24 2023 +0800

    docs(action): fix typo and description

commit 25c24b4
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Mar 4 15:32:11 2023 +0800

    docs: update README

commit 74a592f
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Mar 4 14:58:04 2023 +0800

    chore(dist): prepare for v0.6.0

commit 2e67b31
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Mar 4 14:54:30 2023 +0800

    lint: format code

commit 86bfc7c
Author: George <31376482+george-gca@users.noreply.github.com>
Date:   Sat Mar 4 03:41:33 2023 -0300

    fix: Fixed stroke opacity in new themes (#138)

    Signed-off-by: George Araújo <george.gcac@gmail.com>

commit 81bd2b6
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Feb 18 16:49:48 2023 +0800

    fix: correct the github action log

commit e0c69dc
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Feb 18 16:33:32 2023 +0800

    chore(dist): prepare for v0.6.0

commit 056135a
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Fri Feb 17 18:01:10 2023 +0800

    ci: rename test workflow

commit 7f284b2
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Fri Feb 17 15:57:29 2023 +0800

    fix: adjust new themes hex color (#137)

    * test: modify theme color test to allow different format hex color

    * feat(theme): modify new themes hex color string

    * lint: code format

    * refactor: remove useless console.log and modify let variable to const

commit 459fde2
Author: George <31376482+george-gca@users.noreply.github.com>
Date:   Fri Feb 17 01:04:26 2023 -0300

    feat: Added themes from github-readme-stats (#135)

    Added themes from https://github.com/anuraghazra/github-readme-stats, sorted themes alphabetically

commit d27b1eb
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Fri Feb 17 13:02:09 2023 +0900

    chore: Update browserslist (#121)

    * ⬆️ npm install at GitHub actions same node 16.18.1

    * ⬆️ npx browserslist@latest --update-db

commit 2e23a2a
Author: Vladislav Dietrich <61781601+ithelor@users.noreply.github.com>
Date:   Fri Feb 17 14:00:06 2023 +1000

    fix: adjust svg size to match the viewBox (#134)

commit ffc788d
Author: Key5n <90585006+Key5n@users.noreply.github.com>
Date:   Fri Feb 17 12:24:11 2023 +0900

    docs: added content-write permission (#136)

commit 151a698
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Mon Jan 16 11:16:34 2023 +0900

    chore: Bump GitHub setup-node to v3 (#119)

    * 🔼 Update setup-node to v3

    * Update setup-node to v3

commit 81d3f51
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Mon Jan 16 11:15:26 2023 +0900

    chore: Add test reporter for cli (#122)

commit e5cdc19
Author: 0024 <62194324+onishi-kohei@users.noreply.github.com>
Date:   Sun Jan 15 23:00:58 2023 +0900

    refactor: fix a typo in the name of file most-commit-lauguage-card.ts. (#130)

    * fix file name

    * fix lauguage to language

    * revert dist/index.js and dist/index.js.map

commit e7f42bb
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Wed Jan 11 12:12:59 2023 +0900

    fix: Revert d3 update for v7 breaking change (#124)

commit 34034c4
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Tue Jan 10 00:16:09 2023 +0900

    feat: Add transparent theme (#126)

    * ✅ Add transparent hex color at test

    * 💄 Add transparent theme

    * 📝 Add transparent theme at readme

commit 39a767d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Jan 7 18:13:38 2023 +0800

    chore: bump json5 from 2.2.0 to 2.2.3 (#120)

    Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
    - [Release notes](https://github.com/json5/json5/releases)
    - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
    - [Commits](json5/json5@v2.2.0...v2.2.3)

    ---
    updated-dependencies:
    - dependency-name: json5
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit e636dad
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Jan 7 18:12:56 2023 +0800

    chore: bump minimatch from 3.0.4 to 3.1.2 (#116)

    Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
    - [Release notes](https://github.com/isaacs/minimatch/releases)
    - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
    - [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 650b6cd
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Jan 7 18:11:48 2023 +0800

    chore: bump d3-color and d3 (#109)

    Bumps [d3-color](https://github.com/d3/d3-color) to 3.1.0 and updates ancestor dependency [d3](https://github.com/d3/d3). These dependencies need to be updated together.

    Updates `d3-color` from 1.4.1 to 3.1.0
    - [Release notes](https://github.com/d3/d3-color/releases)
    - [Commits](d3/d3-color@v1.4.1...v3.1.0)

    Updates `d3` from 5.16.0 to 7.6.1
    - [Release notes](https://github.com/d3/d3/releases)
    - [Changelog](https://github.com/d3/d3/blob/main/CHANGES.md)
    - [Commits](d3/d3@v5.16.0...v7.6.1)

    ---
    updated-dependencies:
    - dependency-name: d3-color
      dependency-type: indirect
    - dependency-name: d3
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit ab09612
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Jan 7 18:11:35 2023 +0800

    chore: bump @actions/core from 1.6.0 to 1.9.1 (#103)

    Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.6.0 to 1.9.1.
    - [Release notes](https://github.com/actions/toolkit/releases)
    - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
    - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

    ---
    updated-dependencies:
    - dependency-name: "@actions/core"
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 3e9cbd7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Jan 7 18:11:20 2023 +0800

    chore: bump moment from 2.29.2 to 2.29.4 (#101)

    Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
    - [Release notes](https://github.com/moment/moment/releases)
    - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
    - [Commits](moment/moment@2.29.2...2.29.4)

    ---
    updated-dependencies:
    - dependency-name: moment
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 7fcb411
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sat Jan 7 18:10:55 2023 +0800

    fix: Fixed decimal UTC time bug (#123)

    * Fixed decimal UTC time bug

    fixed #90
    floor down value because chart uses hours only

    * added function to adjust offset

    * updated label which shows utc time

    * fixed eslint

    * lint: re-enable eslint

    Co-authored-by: Saurav Dharwadkar <dharwadkarsaurav@gmail.com>

commit 159df73
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Wed Jan 4 22:48:58 2023 +0900

    feat: Push branch option  (#117)

    * 👔 Add branch name parameter from GitHub Actions

    * 🔧 Add GitHub Actions input

    * ✏️ Fix linter warnings

    * 📝 Update readme for push branch option

commit 6d1ded3
Author: yamashu <38120991+yamashush@users.noreply.github.com>
Date:   Sun Dec 18 23:51:58 2022 +0900

    feat(action): Bump GitHub action/checkout version from v2 to v3 (#115)

    * ⬆️ Update actions/checkout@v3

    * 📝 Update readme

commit 1a356bd
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Sun Nov 20 23:24:34 2022 +0800

    fix: remove extra comma in package.json

commit 0e356b9
Author: MiranDaniel <mirandanielcz@gmail.com>
Date:   Sun Nov 20 15:23:46 2022 +0000

    feat: Added exclude argument for languages (#97)

    * feat: Hide languages

    * fix: Hidden not required

    * fix: Correct URL safe language names

    * fix: Correct URL safe language names for non API

    * fix: Name uppercasing

    * refactor\!: Changed hidden arg to exclude

    * feat: exclude arg

    * fix: Exclude fix for actions

    * refactor: remove unnecessary modules

    * fix: package-lock

commit 4435a69
Merge: 17bd41a 63e23d4
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Thu Sep 29 23:13:55 2022 +0800

    Merge pull request #108 from vn7n24fzkq/chroe/foresight-configure

    chore: foresight configure

commit 63e23d4
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Thu Sep 29 23:11:20 2022 +0800

    doc: update foresight ba5Ddge

commit 3b73481
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Wed Sep 28 23:45:50 2022 +0800

    ci: update foresight steps

commit 17bd41a
Author: Lucas Alexander <lucasalexander13@hotmail.com>
Date:   Mon Sep 26 00:30:41 2022 -0300

    feat: moonlight based theme (#107)

    * feat: moonlight based theme

    * styles: changing border color to match background

commit b67d461
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Wed Sep 21 13:43:42 2022 +0800

    perf: reduce Vercel serveless function usage (#106)

    Increase s-maxage for CDN caching and max-age for client-side caching, also add stale-while-revalidate that allow us to serve content from the Edge cache.

commit fe6a293
Author: Casper <vn7n24fzkq@gmail.com>
Date:   Fri Aug 12 22:34:30 2022 +0800

    chore: Add foresight support (#100)

    * ci: add foresight’s GitHub action

    * docs: update README.md

    Add sponsors section

    * docs: add Vercel deploy button

    * docs : update README

    * docs: update README

    Modify sponsor setcion

    * docs: update README

    * ci: add tests report

    * ci: remove foresight from lint worflow

    * test: add coverage parameter to jest

    * ci: update foresight setting in workflow
  • Loading branch information
vn7n24fzkq committed Mar 8, 2023
1 parent 0d206ce commit b7f09b1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 17 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,20 @@ high-quality software at speed with Foresight.
![](http://github-profile-summary-cards.vercel.app/api/cards/profile-details?username=vn7n24fzkq&theme=nord_bright)

`http://github-profile-summary-cards.vercel.app/api/cards/profile-details?username={username}&theme={theme_name}`
- accept url parameters
- Accept url parameters
- theme
- Theme name
- username
- Username
### Top languages used in repository card
![](http://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username=vn7n24fzkq&theme=nord_bright)

`http://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username={username}&theme={theme_name}&exclude={exclude}`
- accept url parameters
- Accept url parameters
- theme
- theme name
- Theme name
- username
- Username
- exclude:
- A comma separated list of languages to exclude, e.g., exclude=java,rust
- You can found the supported languages in [here](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)
Expand All @@ -118,9 +121,11 @@ high-quality software at speed with Foresight.
![](http://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username=vn7n24fzkq&theme=nord_bright)

`http://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username={username}&theme={theme_name}&exclude={exclude}`
- accept url parameters
- Accept url parameters
- theme
- Theme name
- username
- Username
- exclude:
- A comma separated list of languages to exclude, e.g., exclude=java,rust
- You can found the supported languages in [here](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)
Expand All @@ -129,9 +134,11 @@ high-quality software at speed with Foresight.
![](http://github-profile-summary-cards.vercel.app/api/cards/stats?username=vn7n24fzkq&theme=nord_bright&)

`http://github-profile-summary-cards.vercel.app/api/cards/stats?username={username}&theme={theme_name}`
- accept url parameters
- Accept url parameters
- theme
- Theme name
- username
- Username

### Productive time card
![](http://github-profile-summary-cards.vercel.app/api/cards/productive-time?username=vn7n24fzkq&theme=nord_bright&utcOffset=8)
Expand Down
13 changes: 8 additions & 5 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-profile-summary-cards",
"version": "0.6.0-hotfix.1",
"version": "0.6.0-hotfix.2",
"description": "Generate github profile summary cards",
"main": "lib/app.js",
"scripts": {
Expand Down
13 changes: 8 additions & 5 deletions src/templates/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,19 @@ export class Card {
font-family: 'Segoe UI', Ubuntu, "Helvetica Neue", Sans-Serif
}`
);
const strokeWidth = 1;
this.svg
.append('rect')
.attr('x', 1.5)
.attr('y', 1.5)
.attr('x', 1)
.attr('y', 1)
.attr('rx', 5)
.attr('ry', 5)
.attr('height', '100%')
.attr('width', '100%')
// 100% - 2px to show borderline
.attr('height', `${(height - 2 * strokeWidth) / height}%`)
// 100% - 2px to show borderline
.attr('width', `${(width - 2 * strokeWidth) / width}%`)
.attr('stroke', `${theme.stroke}`)
.attr('stroke-width', '1')
.attr('stroke-width', strokeWidth)
.attr('fill', `${theme.background}`)
.attr('stroke-opacity', `${theme.strokeOpacity}`);

Expand Down

0 comments on commit b7f09b1

Please sign in to comment.