diff --git a/bun.lockb b/bun.lockb index c5b75eb..2624512 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/internals/eslint-config/package.json b/internals/eslint-config/package.json index 6fb0c10..1d5bfe8 100644 --- a/internals/eslint-config/package.json +++ b/internals/eslint-config/package.json @@ -34,7 +34,7 @@ "name": "@skyblock-finance/eslint-config", "peerDependencies": { "eslint": ">= 9", - "typescript": ">= 4" + "typescript": "^5.5" }, "repository": "git+https://github.com/skyblock-finance/skyblock-finance-opensource.git", "scripts": { diff --git a/internals/fake-root/package.json b/internals/fake-root/package.json index f174e6d..592335e 100644 --- a/internals/fake-root/package.json +++ b/internals/fake-root/package.json @@ -3,8 +3,9 @@ "private": true, "scripts": { "check:eslint": "bun run --cwd ../.. eslint --max-warnings=0 --ignore-pattern=packages --ignore-pattern=internals .", - "check:knip": "bun run --cwd ../.. knip", + "check:knip": "bun run --cwd ../.. knip --exclude enumMembers", "check:prettier": "bun --bun run --cwd ../.. prettier --check .", + "check:sherif": "bun --bun run --cwd ../.. sherif -r root-package-manager-field", "fix:eslint": "yarn run check:eslint --fix", "fix:prettier": "bun --bun run check:prettier --write" }, diff --git a/internals/scripts/package.json b/internals/scripts/package.json index 3dd1f80..f9db7ed 100644 --- a/internals/scripts/package.json +++ b/internals/scripts/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "zod": "^3.22.5" + "zod": "^3.23.8" }, "name": "@skyblock-finance/scripts", "private": true, diff --git a/knip.json b/knip.json index 845ae3e..c00be16 100644 --- a/knip.json +++ b/knip.json @@ -1,8 +1,12 @@ { "$schema": "https://unpkg.com/knip@5/schema.json", "ignore": ["dist/**"], - "ignoreBinaries": ["prettier", "publint"], - "ignoreDependencies": ["@arethetypeswrong/cli"], + "ignoreDependencies": [ + "@arethetypeswrong/cli", + "prettier", + "publint", + "sherif" + ], "workspaces": { "internals/*": { "entry": ["scripts/*.ts", "source/index.ts"], diff --git a/package.json b/package.json index c79e71c..094bb54 100644 --- a/package.json +++ b/package.json @@ -2,19 +2,17 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.15.3", "@skyblock-finance/eslint-config": "*", - "eslint": "^9.0.0", - "knip": "^5.9.4", - "prettier": "^3.2.5", - "publint": "^0.2.7", - "turbo": "^1.13.2", - "typescript": "^5.4.5", - "typescript-eslint": "^7.7.0" + "eslint": "^9.6.0", + "knip": "^5.23.2", + "prettier": "^3.3.2", + "publint": "^0.2.8", + "sherif": "^0.9.0", + "turbo": "^1.13.4", + "typescript": "^5.5", + "typescript-eslint": "^7.14.1" }, "license": "MIT", "name": "root", - "peerDependencies": { - "typescript": "^5.0.0" - }, "private": true, "scripts": { "build": "turbo run build", @@ -24,6 +22,7 @@ "check:knip": "turbo run check:knip", "check:prettier": "turbo run check:prettier", "check:publint": "turbo run check:publint", + "check:sherif": "turbo run check:sherif", "fix": "turbo run fix", "fix:eslint": "turbo run fix:eslint", "fix:prettier": "turbo run fix:prettier", diff --git a/packages/actions/package.json b/packages/actions/package.json index d4d10e8..6cce405 100644 --- a/packages/actions/package.json +++ b/packages/actions/package.json @@ -22,7 +22,7 @@ "main": "dist/index.js", "name": "@skyblock-finance/actions", "peerDependencies": { - "typescript": ">= 4" + "typescript": "^5.5" }, "repository": { "type": "git", diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 5e3b4b4..8e84463 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -3,7 +3,7 @@ "url": "https://github.com/skyblock-finance/skyblock-finance-opensource/issues" }, "dependencies": { - "zod": "^3.22.4" + "zod": "^3.23.8" }, "devDependencies": { "@types/bun": "latest", @@ -26,7 +26,7 @@ "main": "dist/index.js", "name": "@skyblock-finance/schemas", "peerDependencies": { - "typescript": ">= 4" + "typescript": "^5.5" }, "repository": { "type": "git", diff --git a/turbo.json b/turbo.json index aecc4ac..05aa48a 100644 --- a/turbo.json +++ b/turbo.json @@ -14,7 +14,8 @@ "check:eslint", "check:knip", "check:prettier", - "check:publint" + "check:publint", + "check:sherif" ] }, "check:arethetypeswrong": { @@ -42,6 +43,11 @@ "inputs": ["dist/**", "package.json"], "outputMode": "new-only" }, + "check:sherif": { + "inputs": ["../../**/*"], + "outputMode": "new-only", + "outputs": [] + }, "fix": { "dependsOn": ["fix:eslint", "fix:prettier"] },