Skip to content

Commit

Permalink
chore(all): Add sherif, upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWendelborn committed Jun 30, 2024
1 parent 7ffdef3 commit 20f421e
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 19 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion internals/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion internals/fake-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion internals/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"zod": "^3.22.5"
"zod": "^3.23.8"
},
"name": "@skyblock-finance/scripts",
"private": true,
Expand Down
8 changes: 6 additions & 2 deletions knip.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"main": "dist/index.js",
"name": "@skyblock-finance/actions",
"peerDependencies": {
"typescript": ">= 4"
"typescript": "^5.5"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/schemas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -26,7 +26,7 @@
"main": "dist/index.js",
"name": "@skyblock-finance/schemas",
"peerDependencies": {
"typescript": ">= 4"
"typescript": "^5.5"
},
"repository": {
"type": "git",
Expand Down
8 changes: 7 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"check:eslint",
"check:knip",
"check:prettier",
"check:publint"
"check:publint",
"check:sherif"
]
},
"check:arethetypeswrong": {
Expand Down Expand Up @@ -42,6 +43,11 @@
"inputs": ["dist/**", "package.json"],
"outputMode": "new-only"
},
"check:sherif": {
"inputs": ["../../**/*"],
"outputMode": "new-only",
"outputs": []
},
"fix": {
"dependsOn": ["fix:eslint", "fix:prettier"]
},
Expand Down

0 comments on commit 20f421e

Please sign in to comment.