diff --git a/package.json b/package.json index c8bb3182..52adbe56 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "scripts": { "build": "turbo build", "lint": "turbo lint", + "format": "turbo format", "test": "turbo test", "deploy": "turbo deploy" }, diff --git a/packages/unplugin-typia/package.json b/packages/unplugin-typia/package.json index 9d38a5cb..fead76bd 100644 --- a/packages/unplugin-typia/package.json +++ b/packages/unplugin-typia/package.json @@ -53,6 +53,7 @@ ], "scripts": { "lint": "npm run check && eslint .", + "format": "eslint --fix .", "test": "npm run check && bun test ./test/*.ts", "check": "bun tsc --noEmit", "publish": "bun x jsr publish" diff --git a/turbo.json b/turbo.json index 71860843..f2724f3e 100644 --- a/turbo.json +++ b/turbo.json @@ -10,6 +10,9 @@ "lint": { "dependsOn": ["^lint"] }, + "format": { + "dependsOn": ["^format"] + }, "test": { "dependsOn": ["^test"] },