Skip to content

Commit

Permalink
Unused dependencies removed. Output directory is renamed as storybook…
Browse files Browse the repository at this point in the history
…-dist
  • Loading branch information
ahmetemrekilinc committed Oct 31, 2023
1 parent 94ee60c commit ec7be53
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 673 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
- name: Install dependencies
run: rm -rf node_modules && yarn install --immutable
- run: npm run build
- run: touch ./dist/.nojekyll
- run: touch ./storybook-dist/.nojekyll

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
folder: storybook-dist # The folder the action should deploy.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dist-ssr

# production
/build
/storybook-dist

# misc
.DS_Store
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@
"@mui/icons-material": "5.10.9",
"@mui/lab": "5.0.0-alpha.103",
"@mui/material": "5.10.9",
"@mui/styles": "5.9.3",
"@mui/utils": "5.10.9",
"@mui/x-date-pickers": "5.0.4",
"@testing-library/jest-dom": "5.11.4",
"@testing-library/react": "11.1.0",
"@testing-library/user-event": "12.1.10",
"comfort-react": "3.2.2",
"date-fns": "2.29.3",
"jsx-to-string": "1.4.0",
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ export default defineConfig({
}),
],
base: '/comfort-react-demo/',
build: {
outDir: 'storybook-dist',
},
});
Loading

0 comments on commit ec7be53

Please sign in to comment.