From ae50565d0ec22ecd27195ed71c37e5f89ffa4746 Mon Sep 17 00:00:00 2001 From: kami <97310758+VlxtIykg@users.noreply.github.com> Date: Wed, 4 Mar 2026 04:43:46 +0800 Subject: [PATCH 01/10] feat(): Added type aliases to tsconfig Added various aliases! --- tsconfig.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 0dc098d..33670bd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,23 @@ "include": [".astro/types.d.ts", "**/*"], "exclude": ["dist"], "compilerOptions": { - "strictNullChecks": true + "strictNullChecks": true, + "paths": { + /** Uncomment as applicable + * - Description: Labelled paths are in lexicon format not descending popularity format + // "config/*": ["./src/app/_config/*"], + // "environment/*": ["./src/environments/*"], + // "shared/*": ["./src/app/_shared/*"], + // "helpers/*": ["./src/helpers/*"], + // "tests/*": ["./src/tests/*"] + */ + "@app/*": ["./src/pages/*"], + "@assets/*": ["./src/assets/*"], + "@blogs/*": ["./src/content/*"], + "@components/*": ["./src/components/*"], + "@layouts/*": ["./src/layouts/*"], + "@styles/*": ["./src/styles/*"], + "@ptypes/consts.ts": ["./src/consts.ts"], + } } } From 6df5e75723819491da615d9388748408850e4a2c Mon Sep 17 00:00:00 2001 From: kami <97310758+VlxtIykg@users.noreply.github.com> Date: Wed, 4 Mar 2026 04:44:30 +0800 Subject: [PATCH 02/10] dev(): Added dev tools --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6692cf5..880442a 100644 --- a/package.json +++ b/package.json @@ -3,16 +3,20 @@ "type": "module", "version": "0.0.1", "scripts": { + "predev": "astro check", + "prebuild": "astro check", "dev": "astro dev", "build": "astro build", "preview": "astro preview", "astro": "astro" }, "dependencies": { + "@astrojs/check": "^0.9.6", "@astrojs/mdx": "^4.3.13", "@astrojs/rss": "^4.0.15", "@astrojs/sitemap": "^3.7.0", "astro": "^5.17.1", - "sharp": "^0.34.3" + "sharp": "^0.34.3", + "typescript": "^5.9.3" } -} \ No newline at end of file +} From 4ae9e6c924fdfb49491580b0a1742e24df429349 Mon Sep 17 00:00:00 2001 From: kami <97310758+VlxtIykg@users.noreply.github.com> Date: Wed, 4 Mar 2026 04:46:48 +0800 Subject: [PATCH 03/10] style(): Typos Fix some typos, removed alt tag to redundant img tags. patch(): Sqush commit patch(): Squash commit patch(): Squash commit --- src/content/blog/personal/pwaplayer.md | 2 +- src/pages/index.astro | 23 ++++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/content/blog/personal/pwaplayer.md b/src/content/blog/personal/pwaplayer.md index 5373320..d149f17 100644 --- a/src/content/blog/personal/pwaplayer.md +++ b/src/content/blog/personal/pwaplayer.md @@ -23,4 +23,4 @@ Pwa player is a Website that allows u to play and share ur local osu music with The Focus is on easy setup, customization and most emportantly Enjoying the music - + diff --git a/src/pages/index.astro b/src/pages/index.astro index ef059a6..cc4e0c9 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -29,7 +29,7 @@ let images = 'https://fshare.kami.boo/u/5e1e8a74-eba0-4a9a-82a8-a99707d3a536.jpg' ].sort(() => Math.random() - .5); -let shuffeld = [ +let shuffeled = [ 'https://fshare.kami.boo/u/7e9423b9-f3f7-412b-af30-45b1a0f4957b.jpg', 'https://fshare.kami.boo/u/cfe345a2-f91c-4486-a3b1-714c8a5f6279.jpg', 'https://fshare.kami.boo/u/7ddd3e93-dedf-448d-ae82-1f1182084195.jpg', @@ -57,9 +57,9 @@ if (response.ok) { const data = await response.json(); const files = data.files.map(f => `https://fshare.kami.boo/raw${f.url.substring(2)}`).sort(() => Math.random() - .5); const middle = Math.round(files.length / 2); - shuffeld = files.slice(0,middle); + shuffeled = files.slice(0,middle); images = files.slice(middle); - //console.log(shuffeld) + //console.log(shuffeled) //console.log(images) } else { const errorBody = await response.text(); @@ -69,42 +69,42 @@ if (response.ok) { --- - +