From 02841d1798d31facf479b1aba07c74119b5f12e3 Mon Sep 17 00:00:00 2001 From: Yuan Qing Lim Date: Sat, 12 Oct 2024 10:18:41 +0800 Subject: [PATCH] Edit turbo script --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6004eac69..4adf408bc 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "fix": "turbo run fix && eslint --fix 'scripts/**/*.ts'", "lint": "turbo run lint && eslint 'scripts/**/*.ts'", "postinstall": "simple-git-hooks && tsx scripts/patch-figma-plugin-typings.ts && npm run build", - "prepackages-publish": "turbo run fix lint test build", + "prepackages-publish": "turbo run fix lint && turbo run test build", "packages-publish": "lerna publish from-package", "packages-version": "lerna version --force-publish", "release": "sh scripts/release.sh", @@ -76,7 +76,7 @@ "prettier": "eslint-config-yuanqing/prettier", "simple-git-hooks": { "pre-commit": "npx lint-staged", - "pre-push": "npx turbo run fix lint test build" + "pre-push": "npx turbo run fix lint && npx turbo run test build" }, "stylelint": { "extends": "stylelint-config-yuanqing"