Skip to content

Commit

Permalink
Update Stoprybook Svelte addon to fix ESM support without hack
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jan 14, 2025
1 parent c858c9f commit 31835f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
20 changes: 5 additions & 15 deletions pnpm-lock.yaml

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

6 changes: 3 additions & 3 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"test": "pnpm run /^test:/",
"build": "pnpm run /^build:/ && mv ./storybook-static ./dist/ui",
"start": "vite",
"visual": "NODE_OPTIONS='--no-experimental-require-module' storybook dev -p 6006 --no-open",
"visual": "storybook dev -p 6006 --no-open",
"production": "node --run build && ./scripts/run-image.sh",
"size": "node --run build:web && size-limit",
"test:unit": "pnpm bnt",
"test:names": "../scripts/tsnode ./scripts/check-names.ts",
"test:css": "stylelint **/*.css **/*.svelte",
"test:build": "node --run build && size-limit && ../scripts/tsnode ./scripts/check-css-props.ts",
"build:routes": "../scripts/tsnode ./scripts/export-routes.ts",
"build:visual": "NODE_OPTIONS='--no-experimental-require-module' NODE_ENV=test storybook build",
"build:visual": "NODE_ENV=test storybook build",
"build:web": "vite build && ../scripts/tsnode scripts/generate-csp.ts",
"format:stylelint": "stylelint --fix **/*.{css,svelte}",
"clean:build": "rm -rf dist"
Expand Down Expand Up @@ -47,7 +47,7 @@
"devDependencies": {
"@logux/stylelint-config": "0.20.0",
"@size-limit/file": "11.1.6",
"@storybook/addon-svelte-csf": "5.0.0-next.13",
"@storybook/addon-svelte-csf": "5.0.0-next.22",
"@storybook/addon-themes": "8.4.7",
"@storybook/addon-viewport": "8.4.7",
"@storybook/svelte": "8.4.7",
Expand Down

0 comments on commit 31835f8

Please sign in to comment.