From 80ea2bc24c1532f5703e48c4f4c38db753956354 Mon Sep 17 00:00:00 2001 From: Tony CABAYE Date: Fri, 24 Nov 2023 11:54:01 +0100 Subject: [PATCH] fix: build and deploy storybook --- package.json | 1 + .../src/1-styleGuide/FileIcon/FileIcon.test.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 695d3ec2..6b8b76a1 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "publish": "turbo run build lint test && changeset publish", "storybook": "storybook dev -p 6006", "storybook:no-open": "storybook dev --no-open -p 6006", + "prebuild-storybook": "npm run build", "build-storybook": "storybook build", "serve-storybook": "http-server storybook-static --port 6006 --silent", "test-storybook": "test-storybook", diff --git a/packages/react-front-kit-shared/src/1-styleGuide/FileIcon/FileIcon.test.tsx b/packages/react-front-kit-shared/src/1-styleGuide/FileIcon/FileIcon.test.tsx index eafa778a..9f5b0118 100644 --- a/packages/react-front-kit-shared/src/1-styleGuide/FileIcon/FileIcon.test.tsx +++ b/packages/react-front-kit-shared/src/1-styleGuide/FileIcon/FileIcon.test.tsx @@ -1,4 +1,4 @@ -import { renderWithProviders } from '@smile/react-front-kit-shared/test-utils'; +import { renderWithProviders } from '../../test-utils'; import { FileIcon } from './FileIcon';