Skip to content

Commit ca8b357

Browse files
committed
chore: merge main into feat/v2-migration
Resolved conflicts: - package.json: kept v2.0.0 version, merged in husky/lint-staged from main - src/index.ts: dropped v1 deprecation warning (PR is v2 itself)
2 parents 50a59f9 + 051a50e commit ca8b357

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bunx lint-staged

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
"test:integration": "bun test tests/*.spec.ts",
2121
"check": "tsc --noEmit && biome check .",
2222
"prepublishOnly": "tsup",
23-
"playground": "bun --env-file=.env scripts/playground.ts"
23+
"playground": "bun --env-file=.env scripts/playground.ts",
24+
"prepare": "husky"
25+
},
26+
"lint-staged": {
27+
"*.{js,ts,jsx,tsx,json}": ["biome check --write --no-errors-on-unmatched"]
2428
},
2529
"keywords": ["scraping", "ai", "scrapegraph", "typescript", "sdk", "web-scraping", "api"],
2630
"author": "ScrapeGraph Team",
@@ -38,6 +42,8 @@
3842
"@biomejs/biome": "^1.9.4",
3943
"@types/bun": "^1.3.9",
4044
"@types/node": "^22.13.1",
45+
"husky": "^9.1.7",
46+
"lint-staged": "^16.4.0",
4147
"tsup": "^8.3.6",
4248
"typescript": "^5.8.2"
4349
},

0 commit comments

Comments
 (0)