Revert "feat(cam): sıvı cam motoru Liquid Glass UI 2.0.4'e geçti (→ 2.12.14)"

This reverts commit 85d6790b8e.
This commit is contained in:
bilalgursen
2026-11-26 01:00:34 +03:00
parent 85d6790b8e
commit baa9dd6115
33 changed files with 1698 additions and 5402 deletions

View File

@@ -5,8 +5,6 @@
* Çıkış kodu: hata varsa 1, yoksa 0. Uyarılar çıkış kodunu etkilemez.
* Kapsam: src/**\/*.tsx. Hariç: src/components/ui (shadcn tabanı) ve
* src/components/dev (yalnızca geliştirici paneli) — bazı kurallarda.
* Tümüyle hariç: src/components/liquid-glass (Liquid Glass UI kitinden birebir
* kopya, elle düzenlenmez; DESIGN.md §4.50).
*/
import { readdirSync, readFileSync, statSync } from "node:fs";
import { join, relative } from "node:path";
@@ -36,14 +34,11 @@ type Kural = {
const KOK = process.cwd();
const KAYNAK = join(KOK, "src");
const UI_VEYA_DEV = /src\/components\/(ui|dev)\//;
/** Kitten birebir kopyalanan cam motoru (§4.50): bizim kurallarımızla yazılmadı, taranmaz. */
const KIT_KOPYASI = /src\/components\/liquid-glass$/;
function tsxDosyalari(dizin: string): string[] {
const sonuc: string[] = [];
for (const ad of readdirSync(dizin)) {
const yol = join(dizin, ad);
if (KIT_KOPYASI.test(yol)) continue;
if (statSync(yol).isDirectory()) sonuc.push(...tsxDosyalari(yol));
else if (yol.endsWith(".tsx")) sonuc.push(yol);
}