Skip to content

Commit

Permalink
Merge pull request #31 from inkonchain/chore/upgrade-storybook-remove…
Browse files Browse the repository at this point in the history
…-bloat

chore: upgrade storybook and remove bloat
  • Loading branch information
ink-victor authored Nov 22, 2024
2 parents ba6db8b + c50ab62 commit 9096e9e
Show file tree
Hide file tree
Showing 6 changed files with 223 additions and 206 deletions.
2 changes: 1 addition & 1 deletion .github/actions/base-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache/save@v4
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
**/node_modules
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

lint:
needs: install_modules
Expand Down
1 change: 0 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { StorybookConfig } from "@storybook/react-vite";
const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-onboarding",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@
"license": "MIT",
"devDependencies": {
"@chromatic-com/storybook": "^3.2.2",
"@storybook/addon-essentials": "^8.4.2",
"@storybook/addon-interactions": "^8.4.2",
"@storybook/addon-onboarding": "^8.4.2",
"@storybook/addon-themes": "^8.4.2",
"@storybook/blocks": "^8.4.2",
"@storybook/react": "^8.4.2",
"@storybook/react-vite": "^8.4.2",
"@storybook/test": "^8.4.2",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-interactions": "^8.4.5",
"@storybook/addon-themes": "^8.4.5",
"@storybook/blocks": "^8.4.5",
"@storybook/react": "^8.4.5",
"@storybook/react-vite": "^8.4.5",
"@storybook/test": "^8.4.5",
"@tailwindcss/postcss": "4.0.0-beta.1",
"@tailwindcss/vite": "4.0.0-beta.1",
"@tanstack/react-query": "^5.60.5",
Expand All @@ -63,7 +62,7 @@
"prettier": "^3.3.3",
"react": "19.0.0-rc-7ac8e612-20241113",
"react-dom": "19.0.0-rc-7ac8e612-20241113",
"storybook": "^8.4.2",
"storybook": "^8.4.5",
"tailwindcss": "4.0.0-beta.1",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
Expand Down
Loading

0 comments on commit 9096e9e

Please sign in to comment.