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": {