From 8063b65a0531f46bc32ea983e4e674fa0e3dc362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=9D=EC=A7=84?= Date: Thu, 25 Apr 2024 23:12:15 +0900 Subject: [PATCH] =?UTF-8?q?chore(storybook,=20ui):=20=EB=B6=88=ED=95=84?= =?UTF-8?q?=EC=9A=94=ED=95=9C=20=EB=9D=BC=EC=9D=B4=EB=B8=8C=EB=9F=AC?= =?UTF-8?q?=EB=A6=AC=20=EC=82=AD=EC=A0=9C=20&=20gitignore=EC=97=90=20story?= =?UTF-8?q?book-static=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ docs/storybook/.storybook/main.ts | 5 +++-- docs/storybook/package.json | 5 ++--- pnpm-lock.yaml | 3 --- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index d1595af4..bc4c1e70 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,9 @@ coverage out/ build +# storybook +storybook-static + # misc .DS_Store *.pem diff --git a/docs/storybook/.storybook/main.ts b/docs/storybook/.storybook/main.ts index 0145afc7..0a1c4506 100644 --- a/docs/storybook/.storybook/main.ts +++ b/docs/storybook/.storybook/main.ts @@ -6,9 +6,10 @@ import { join, dirname } from 'path'; * This function is used to resolve the absolute path of a package. * It is needed in projects that use Yarn PnP or are set up within a monorepo. */ -function getAbsolutePath(value: string): any { +const getAbsolutePath = (value: string): any => { return dirname(require.resolve(join(value, 'package.json'))); -} +}; + const config: StorybookConfig = { stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'], addons: [ diff --git a/docs/storybook/package.json b/docs/storybook/package.json index 218ff354..f6492834 100644 --- a/docs/storybook/package.json +++ b/docs/storybook/package.json @@ -3,9 +3,9 @@ "version": "0.0.0", "license": "MIT", "scripts": { - "lint": "eslint \"**/*.ts*\"", "storybook": "storybook dev -p 6006", - "build": "storybook build" + "build": "storybook build", + "lint": "eslint \"**/*.ts*\"" }, "devDependencies": { "@sickgyun/eslint-config": "workspace:*", @@ -29,7 +29,6 @@ "@sickgyun/design-token": "workspace:*", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", - "next": "14.0.2", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac56ec76..865d6f2e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -250,9 +250,6 @@ importers: '@sickgyun/ui': specifier: workspace:* version: link:../../packages/ui - next: - specifier: 14.0.2 - version: 14.0.2(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) react: specifier: ^18.2.0 version: 18.2.0