diff --git a/package.json b/package.json index dfef51c0fe..47b815d0f5 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "typecheck": "tsc -b tsconfig.json", - "postinstall": "node ./scripts/check-version.mjs && yarn i18n-codegen gen && yarn husky install", + "postinstall": "node ./scripts/check-version.mjs && yarn workspace @affine/i18n i18n-codegen gen && yarn husky install", "prepare": "husky" }, "lint-staged": {