File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 env :
2525 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2626 - run : npm run ci
27- - run : npm publish
27+ - run : npm publish --allow-directory=all
2828 if : github.event_name == 'release' && github.event.action == 'created'
2929 env :
3030 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import type { StorybookConfig } from '@storybook/react-vite';
22
33const config : StorybookConfig = {
44 stories : [ '../src/**/*.stories.tsx' ] ,
5+ staticDirs : [ '../public' ] ,
56 addons : [
67 '@storybook/addon-links' ,
78 '@storybook/addon-essentials' ,
Original file line number Diff line number Diff line change 1+ # Never serve a stale HTML entry point: it references content-hashed assets
2+ # that are purged on redeploy, which otherwise 404 -> SPA fallback -> a
3+ # text/html response the browser rejects as a module script.
4+ /index.html
5+ Cache-Control: no-cache
6+ /iframe.html
7+ Cache-Control: no-cache
8+
9+ # Content-hashed assets are immutable and safe to cache forever.
10+ /assets/*
11+ Cache-Control: public, max-age=31536000, immutable
You can’t perform that action at this time.
0 commit comments