Skip to content

Commit

Permalink
chore(storybook, ui): 불필요한 라이브러리 삭제 & gitignore에 storybook-static 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
SEOKKAMONI committed Apr 25, 2024
1 parent a15ae91 commit 8063b65
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ coverage
out/
build

# storybook
storybook-static

# misc
.DS_Store
*.pem
Expand Down
5 changes: 3 additions & 2 deletions docs/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
5 changes: 2 additions & 3 deletions docs/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand All @@ -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"
}
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8063b65

Please sign in to comment.