chore: add bun types

This commit is contained in:
ramvignesh-b
2026-05-11 16:58:20 +05:30
parent 3716c42668
commit 21c030fee5
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -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=="],
+2
View File
@@ -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"
+2 -2
View File
@@ -6,7 +6,7 @@
"strict": true,
"skipLibCheck": true,
"lib": ["ESNext"],
"types": ["node"]
"types": ["node", "bun-types"]
},
"include": ["src/**/*"]
"include": ["src/**/*", "tests/**/*"]
}