diff --git a/.github/workflows/_studio.yml b/.github/workflows/_studio.yml deleted file mode 100644 index a1eb508..0000000 --- a/.github/workflows/_studio.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Astro Studio - -env: - ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }} - -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize] - -jobs: - DB: - permissions: - contents: read - actions: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - uses: jaid/action-npm-install@v1.2.1 - - uses: withastro/action-studio@main diff --git a/package.json b/package.json index 8388a08..3b5f555 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,6 @@ "devDependencies": { "@commitlint/cli": "^19.0.3", "@commitlint/config-conventional": "^19.0.3", - "@octokit/core": "^6.0.1", - "@touno-io/debuger": "^2.4.1", "bootstrap": "^5.3.3", "charts.css": "^1.1.0", "dayjs": "^1.11.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 341205a..7d6e9b2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,12 +43,6 @@ devDependencies: '@commitlint/config-conventional': specifier: ^19.0.3 version: 19.0.3 - '@octokit/core': - specifier: ^6.0.1 - version: 6.0.1 - '@touno-io/debuger': - specifier: ^2.4.1 - version: 2.4.1 bootstrap: specifier: ^5.3.3 version: 5.3.3(@popperjs/core@2.11.8) @@ -790,68 +784,6 @@ packages: fastq: 1.17.1 dev: false - /@octokit/auth-token@5.0.1: - resolution: {integrity: sha512-RTmWsLfig8SBoiSdgvCht4BXl1CHU89Co5xiQ5JF19my/sIRDFCQ1RPrmK0exgqUZuNm39C/bV8+/83+MJEjGg==} - engines: {node: '>= 18'} - dev: true - - /@octokit/core@6.0.1: - resolution: {integrity: sha512-MIpPQXu8Y8GjHwXM81JLveiV+DHJZtLMcB5nKekBGOl3iAtk0HT3i12Xl8Biybu+bCS1+k4qbuKEq5d0RxNRnQ==} - engines: {node: '>= 18'} - dependencies: - '@octokit/auth-token': 5.0.1 - '@octokit/graphql': 8.0.1 - '@octokit/request': 9.0.1 - '@octokit/request-error': 6.0.2 - '@octokit/types': 12.6.0 - before-after-hook: 3.0.2 - universal-user-agent: 7.0.2 - dev: true - - /@octokit/endpoint@10.0.0: - resolution: {integrity: sha512-emBcNDxBdC1y3+knJonS5zhUB/CG6TihubxM2U1/pG/Z1y3a4oV0Gzz3lmkCvWWQI6h3tqBAX9MgCBFp+M68Jw==} - engines: {node: '>= 18'} - dependencies: - '@octokit/types': 12.6.0 - universal-user-agent: 7.0.2 - dev: true - - /@octokit/graphql@8.0.1: - resolution: {integrity: sha512-lLDb6LhC1gBj2CxEDa5Xk10+H/boonhs+3Mi6jpRyetskDKNHe6crMeKmUE2efoLofMP8ruannLlCUgpTFmVzQ==} - engines: {node: '>= 18'} - dependencies: - '@octokit/request': 9.0.1 - '@octokit/types': 12.6.0 - universal-user-agent: 7.0.2 - dev: true - - /@octokit/openapi-types@20.0.0: - resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==} - dev: true - - /@octokit/request-error@6.0.2: - resolution: {integrity: sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==} - engines: {node: '>= 18'} - dependencies: - '@octokit/types': 12.6.0 - dev: true - - /@octokit/request@9.0.1: - resolution: {integrity: sha512-kL+cAcbSl3dctYLuJmLfx6Iku2MXXy0jszhaEIjQNaCp4zjHXrhVAHeuaRdNvJjW9qjl3u1MJ72+OuBP0YW/pg==} - engines: {node: '>= 18'} - dependencies: - '@octokit/endpoint': 10.0.0 - '@octokit/request-error': 6.0.2 - '@octokit/types': 12.6.0 - universal-user-agent: 7.0.2 - dev: true - - /@octokit/types@12.6.0: - resolution: {integrity: sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==} - dependencies: - '@octokit/openapi-types': 20.0.0 - dev: true - /@popperjs/core@2.11.8: resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} dev: true @@ -960,14 +892,6 @@ packages: dev: false optional: true - /@touno-io/debuger@2.4.1: - resolution: {integrity: sha512-ROq/d/siKRVOF2isVoJm3LZgpJJZEQJEFOYLASuIL+kaMWTpEaDixqfvQy7QCasEh9WebX/U0PpBvzxrhWf1rA==} - dependencies: - chalk: 2.4.2 - cli-progress: 3.12.0 - date-format: 4.0.14 - dev: true - /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: @@ -1317,10 +1241,6 @@ packages: /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - /before-after-hook@3.0.2: - resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} - dev: true - /binary-extensions@2.2.0: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} engines: {node: '>=8'} @@ -1482,13 +1402,6 @@ packages: restore-cursor: 4.0.0 dev: false - /cli-progress@3.12.0: - resolution: {integrity: sha512-tRkV3HJ1ASwm19THiiLIXLO7Im7wlTuKnvkYaTkyoAPefqjNg7W7DHKUlGRxy9vxDvbyCYQkQozvptuMkGCg8A==} - engines: {node: '>=4'} - dependencies: - string-width: 4.2.3 - dev: true - /cli-spinners@2.9.2: resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} engines: {node: '>=6'} @@ -1644,11 +1557,6 @@ packages: engines: {node: '>=12'} dev: true - /date-format@4.0.14: - resolution: {integrity: sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==} - engines: {node: '>=4.0'} - dev: true - /dateformat@4.6.3: resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} dev: true @@ -4004,10 +3912,6 @@ packages: unist-util-visit-parents: 6.0.1 dev: false - /universal-user-agent@7.0.2: - resolution: {integrity: sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==} - dev: true - /update-browserslist-db@1.0.13(browserslist@4.23.0): resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} hasBin: true diff --git a/src/i18n/coding.json b/src/i18n/coding.json index 1ba5637..651ce26 100644 --- a/src/i18n/coding.json +++ b/src/i18n/coding.json @@ -1,60 +1,60 @@ { "total": 219, - "private": 49, + "private": 3, "public": 216, "languages": [ - "JavaScript", - "Dockerfile", - "Ruby", + "SCSS", "HTML", - "CSS", + "Ruby", + "Liquid", "Shell", - "TypeScript", - "SCSS", - "Svelte", + "C#", "Go", - "Liquid", + "Dockerfile", "Batchfile", + "Swift", + "Objective-C", "Vue", - "Stylus", + "JavaScript", + "CSS", + "VBScript", "PHP", + "TSQL", "Hack", - "Python", - "C++", - "C#", - "Kotlin", - "Swift", - "Objective-C", + "TypeScript", + "AutoHotkey", + "DataWeave", + "Smarty", + "Svelte", + "Mathematica", + "Nix", + "Makefile", "Dart", + "C++", "CMake", "C", - "TSQL", - "Astro", - "VBScript", - "Rust", - "AutoHotkey", - "Makefile", - "Mathematica", + "Kotlin", "SuperCollider", + "Rust", + "Astro", + "Python", + "Jsonnet", + "Stylus", "PowerShell", + "CoffeeScript", + "Procfile", + "Visual Basic", "Java", "ApacheConf", - "Smarty", - "Visual Basic", - "DataWeave", - "Jupyter Notebook", - "CoffeeScript", "M4", - "Procfile", - "Jsonnet", - "EJS", - "Nix" + "Jupyter Notebook", + "EJS" ], - "commits": 3453, + "commits": 0, "experience": "2013-04-29T00:00:00.000+07:00", - "updated": "2024-03-06T10:15:42.843Z", - "weekly_seconds": 17421.754013714286, - "average_seconds": 7098.943936191781, + "updated": "2024-03-13T11:39:12.850Z", + "weekly_seconds": 8431.672606428572, + "average_seconds": 7155.116290213698, "best_seconds": 46975.804539, "loc": 0, "daytime": [ @@ -84,12 +84,12 @@ 95 ], "weektime": [ - 7387.844356711541, - 10491.952919365383, - 9188.293258788459, - 9173.31216245283, - 6895.8477763461515, - 3726.3331686538468, + 7241.708311019234, + 10788.549605307691, + 9193.21319215094, + 9344.251866788461, + 6963.028261038459, + 3726.736409634616, 2789.1322143653842 ] -} +} \ No newline at end of file diff --git a/src/i18n/experience.json b/src/i18n/experience.json index 981fb30..b405775 100644 --- a/src/i18n/experience.json +++ b/src/i18n/experience.json @@ -3,8 +3,8 @@ "interview": false, "currencry": { "ccy": "USD", - "sell": 35.92, - "buy": 35.3 + "sell": 36.08, + "buy": 35.47 }, "salary": { "base": 71950, @@ -14,13 +14,13 @@ }, "coding": { "bytes": { - "JavaScript": 13857111, + "JavaScript": 13858815, "Vue": 1535069, "HTML": 10687799, "Swift": 18084, "Ruby": 132026, "Objective-C": 2024, - "Go": 3729051, + "Go": 3730252, "Dockerfile": 99123, "CSS": 2331048, "Svelte": 12484, @@ -30,7 +30,7 @@ "Procfile": 27, "SCSS": 206246, "C#": 2595093, - "Astro": 95835, + "Astro": 95900, "Rust": 44924, "PHP": 1489136, "Hack": 5160, diff --git a/src/i18n/insights.json b/src/i18n/insights.json index 9ec09a6..3e724ea 100644 --- a/src/i18n/insights.json +++ b/src/i18n/insights.json @@ -1,90 +1,6 @@ { "data": { "days": [ - { - "date": "2023-03-09", - "total": 5845.748157, - "categories": [ - { - "name": "Coding", - "total": 5845.748157 - }, - { - "name": "Debugging", - "total": 0 - } - ] - }, - { - "date": "2023-03-10", - "total": 2643.759296, - "categories": [ - { - "name": "Coding", - "total": 2643.759296 - }, - { - "name": "Debugging", - "total": 0 - } - ] - }, - { - "date": "2023-03-11", - "total": 0, - "categories": [ - { - "name": "Coding", - "total": 0 - }, - { - "name": "Debugging", - "total": 0 - } - ] - }, - { - "date": "2023-03-12", - "total": 0, - "categories": [ - { - "name": "Coding", - "total": 0 - }, - { - "name": "Debugging", - "total": 0 - } - ] - }, - { - "date": "2023-03-13", - "total": 22684.219033, - "categories": [ - { - "name": "Coding", - "total": 22684.219033 - }, - { - "name": "Debugging", - "total": 0 - } - ] - }, - { - "date": "2023-03-14", - "total": 4949.428687, - "categories": [ - { - "name": "Coding", - "total": 4949.428687 - }, - { - "name": "Debugging", - "total": 0 - } - ] - }, { "date": "2023-03-15", "total": 8121.451002, @@ -5099,11 +5015,95 @@ }, { "date": "2024-03-07", - "total": 2395.643854, + "total": 7956.944474, + "categories": [ + { + "name": "Coding", + "total": 7956.944474 + }, + { + "name": "Debugging", + "total": 0 + } + ] + }, + { + "date": "2024-03-08", + "total": 6137.1445, + "categories": [ + { + "name": "Coding", + "total": 6137.1445 + }, + { + "name": "Debugging", + "total": 0 + } + ] + }, + { + "date": "2024-03-09", + "total": 20.968531, + "categories": [ + { + "name": "Coding", + "total": 20.968531 + }, + { + "name": "Debugging", + "total": 0 + } + ] + }, + { + "date": "2024-03-10", + "total": 0, + "categories": [ + { + "name": "Coding", + "total": 0 + }, + { + "name": "Debugging", + "total": 0 + } + ] + }, + { + "date": "2024-03-11", + "total": 15085.144657, + "categories": [ + { + "name": "Coding", + "total": 15085.016888 + }, + { + "name": "Debugging", + "total": 0.127769 + } + ] + }, + { + "date": "2024-03-12", + "total": 20372.456356, + "categories": [ + { + "name": "Coding", + "total": 20372.456356 + }, + { + "name": "Debugging", + "total": 0 + } + ] + }, + { + "date": "2024-03-13", + "total": 9449.049727, "categories": [ { "name": "Coding", - "total": 2395.643854 + "total": 9449.049727 } ] }