Skip to content

Commit

Permalink
Merge pull request #29285 from Sidnioulz/chore/build-package-watch
Browse files Browse the repository at this point in the history
Build: Filter out @storybook/root from buildable packages
  • Loading branch information
shilman authored Oct 7, 2024
2 parents 2d3ee31 + 3eceaf4 commit 596f270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import windowSize from 'window-size';
import { getWorkspaces } from './utils/workspace';

async function run() {
const packages = await getWorkspaces();
const packages = (await getWorkspaces()).filter(({ name }) => name !== '@storybook/root');
const packageTasks = packages
.map((pkg) => {
let suffix = pkg.name.replace('@storybook/', '');
Expand Down

0 comments on commit 596f270

Please sign in to comment.