From 21c030fee5252f1b56bdeb45644b4629c28dfcc7 Mon Sep 17 00:00:00 2001 From: ramvignesh-b Date: Mon, 11 May 2026 16:58:20 +0530 Subject: [PATCH] chore: add bun types --- bun.lock | 3 +++ package.json | 2 ++ tsconfig.json | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bun.lock b/bun.lock index 027ce16..eb7c2c8 100644 --- a/bun.lock +++ b/bun.lock @@ -15,6 +15,7 @@ "devDependencies": { "@biomejs/biome": "2.4.15", "@types/node": "^22.19.18", + "bun-types": "^1.3.13", "husky": "^9.1.7", "lint-staged": "^17.0.4", "typescript": "^5.9.3", @@ -66,6 +67,8 @@ "ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], + "bun-types": ["bun-types@1.3.13", "", { "dependencies": { "@types/node": "*" } }, "sha512-QXKeHLlOLqQX9LgYaHJfzdBaV21T63HhFJnvuRCcjZiaUDpbs5ED1MgxbMra71CsryN/1dAoXuJJJwIv/2drVA=="], + "cli-cursor": ["cli-cursor@5.0.0", "", { "dependencies": { "restore-cursor": "^5.0.0" } }, "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw=="], "cli-truncate": ["cli-truncate@5.2.0", "", { "dependencies": { "slice-ansi": "^8.0.0", "string-width": "^8.2.0" } }, "sha512-xRwvIOMGrfOAnM1JYtqQImuaNtDEv9v6oIYAs4LIHwTiKee8uwvIi363igssOC0O5U04i4AlENs79LQLu9tEMw=="], diff --git a/package.json b/package.json index 484e00b..7bc663d 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dev": "bun run --hot src/index.ts", "test": "bun test", "lint": "bunx @biomejs/biome check src", + "check-all": "bunx @biomejs/biome check .", "format": "bunx @biomejs/biome format --write src", "prepare": "husky" }, @@ -20,6 +21,7 @@ "devDependencies": { "@biomejs/biome": "2.4.15", "@types/node": "^22.19.18", + "bun-types": "^1.3.13", "husky": "^9.1.7", "lint-staged": "^17.0.4", "typescript": "^5.9.3" diff --git a/tsconfig.json b/tsconfig.json index 6e0daff..1fac6c7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "strict": true, "skipLibCheck": true, "lib": ["ESNext"], - "types": ["node"] + "types": ["node", "bun-types"] }, - "include": ["src/**/*"] + "include": ["src/**/*", "tests/**/*"] }