File tree Expand file tree Collapse file tree 7 files changed +1
-39
lines changed
storybook-framework-web-components Expand file tree Collapse file tree 7 files changed +1
-39
lines changed Original file line number Diff line number Diff line change 3030 - name : Install Playwright Browsers
3131 run : npx playwright install --with-deps
3232
33- - name : Run tests
34- run : npm run test:storybook-builder
35-
3633 - uses : actions/upload-artifact@v3
3734 if : always()
3835 with :
6764 - name : Install Playwright Browsers
6865 run : npx playwright install --with-deps
6966
70- - name : Run tests
71- run : npm run test:storybook-builder
72-
7367 - uses : actions/upload-artifact@v3
7468 if : always()
7569 with :
Original file line number Diff line number Diff line change 3131 "search" : " rocket search" ,
3232 "start" : " rocket start" ,
3333 "start:build" : " node packages/dev-server/dist/bin.js --root-dir _site --open" ,
34- "test" : " npm run test:node && npm run test:browser && npm run test:storybook-builder " ,
34+ "test" : " npm run test:node && npm run test:browser" ,
3535 "test:browser" : " npm run test:browser --workspaces --if-present" ,
3636 "test:node" : " npm run test:node --workspaces --if-present" ,
3737 "test:storybook-builder" : " npm test --prefix ./packages/storybook-framework-web-components" ,
Original file line number Diff line number Diff line change 1- import { withMocks } from '../storybook/addon/decorator.js' ;
2-
3- export const decorators = [ withMocks ] ;
Original file line number Diff line number Diff line change 1- // @ts -nocheck
2-
3- import { addons , makeDecorator } from '@storybook/preview-api' ;
4- import { createDecorator } from './create-decorator.js' ;
5-
6- // Storybook 7
7- /**
8- * @type {ReturnType<typeof makeDecorator> }
9- */
10- export const withMocks = createDecorator ( addons , makeDecorator ) ;
Original file line number Diff line number Diff line change 1- // @ts -nocheck
2-
3- import { createAddon } from '@web/storybook-utils' ;
4- import React from 'react' ;
5- import { addons } from '@storybook/manager-api' ;
6- import { registerAddon } from './register-addon.js' ;
7-
8- // Storybook 7
9- registerAddon ( addons , React , createAddon ) ;
Original file line number Diff line number Diff line change 2828 },
2929 "scripts" : {
3030 "build" : " tsc" ,
31- "test" : " npm run test:build && npm run test:ui:build && npm run test:ui:runtime" ,
3231 "test:build" : " storybook build -c ./tests/fixtures/all-in-one/.storybook -o ./tests/fixtures/all-in-one/storybook-build" ,
3332 "test:start:build" : " wds -r ./tests/fixtures/all-in-one/storybook-build -p 3000" ,
3433 "test:start:runtime" : " storybook dev -c ./tests/fixtures/all-in-one/.storybook -p 3000 --no-open" ,
Original file line number Diff line number Diff line change 6161 {
6262 "path" : " ./packages/test-runner/tsconfig.json"
6363 },
64- {
65- "path" : " ./packages/storybook-builder/tsconfig.json"
66- },
6764 {
6865 "path" : " ./packages/rollup-plugin-polyfills-loader/tsconfig.json"
6966 },
8582 {
8683 "path" : " ./packages/dev-server-import-maps/tsconfig.json"
8784 },
88- {
89- "path" : " ./packages/storybook-framework-web-components/tsconfig.json"
90- },
91- {
92- "path" : " ./packages/storybook-utils/tsconfig.json"
93- },
9485 {
9586 "path" : " ./packages/test-runner-puppeteer/tsconfig.json"
9687 },
You can’t perform that action at this time.
0 commit comments