Removal across all three consumers: - apps/storybook: strips @repo/core-ui dep, clears stories glob (now []), removes globals.css import from preview.ts - apps/web-next: strips @repo/core-ui dep + transpilePackages entry - apps/web-tanstack: strips @repo/core-ui dep - packages/core-ui: deleted entirely (28 files) No app pages needed surgery — neither web-next nor web-tanstack source files imported @repo/core-ui directly. The storybook app referenced it only via the stories glob and the globals.css preview import. Gates: 40/40 tasks successful, all 4 e2e byte-identical reconstructions pass (realtime, events, trpc, ui). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
486 B
TypeScript
21 lines
486 B
TypeScript
import type { StorybookConfig } from "@storybook/react-vite";
|
|
|
|
const config: StorybookConfig = {
|
|
framework: "@storybook/react-vite",
|
|
stories: [],
|
|
addons: ["@storybook/addon-essentials"],
|
|
docs: {
|
|
autodocs: "tag",
|
|
},
|
|
async viteFinal(config) {
|
|
const { mergeConfig } = await import("vite");
|
|
const tailwindPlugin = await import("@tailwindcss/vite");
|
|
|
|
return mergeConfig(config, {
|
|
plugins: [tailwindPlugin.default()],
|
|
});
|
|
},
|
|
};
|
|
|
|
export default config;
|