From 9a8c44cf8eba8d6365608090aafb13d898fb4652 Mon Sep 17 00:00:00 2001 From: devjiwonchoi Date: Wed, 18 Dec 2024 01:26:25 +0900 Subject: [PATCH] add turbo --- package.json | 4 +++- turbo.json | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 355bbeef94f86e..67b43e996008bc 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,9 @@ "swc-build-native": "node scripts/build-native.cjs", "swc-build-wasm": "node scripts/build-wasm.cjs", "sweep": "node scripts/sweep.cjs", - "check-error-codes": "node packages/next/check-error-codes.js" + "check-error-codes": "node packages/next/check-error-codes.js", + "storybook": "turbo run storybook", + "build-storybook": "turbo run build-storybook" }, "devDependencies": { "@actions/core": "1.10.1", diff --git a/turbo.json b/turbo.json index 23c091e4e37a71..ecd259c14d8ca7 100644 --- a/turbo.json +++ b/turbo.json @@ -9,6 +9,11 @@ "dependsOn": ["^dev"], "outputs": ["dist/**"] }, + "storybook": {}, + "build-storybook": { + "dependsOn": ["^build-storybook"], + "outputs": ["storybook-static/**"] + }, "typescript": {}, "//#typescript": {}, "//#get-test-timings": {