diff --git a/apps/client/tsconfig.json b/apps/client/tsconfig.json index 6dcb2d56..f98c054e 100644 --- a/apps/client/tsconfig.json +++ b/apps/client/tsconfig.json @@ -11,6 +11,7 @@ "./vite-env.d.ts", "**/.server/**/*", "**/.client/**/*", + "**/docs/**/*", ".react-router/types/**/*" ], "types": ["node", "vite/client"] diff --git a/apps/client/app/routes/posts/[postId]/edit.stories.ts b/apps/docs/src/edit.stories.ts similarity index 93% rename from apps/client/app/routes/posts/[postId]/edit.stories.ts rename to apps/docs/src/edit.stories.ts index bf567953..832fefa5 100644 --- a/apps/client/app/routes/posts/[postId]/edit.stories.ts +++ b/apps/docs/src/edit.stories.ts @@ -3,7 +3,7 @@ import type { Meta } from '@storybook/react'; // eslint-disable-next-line import/no-extraneous-dependencies // import { within, userEvent } from '@storybook/testing-library'; -import { EditPost } from './edit'; +import { EditPost } from '../../client/app/routes/posts/[postId]/edit'; const meta = { title: 'Pages/EditPost',