File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ import path from 'path';
22
33/** @type { import('@storybook/react-webpack5').StorybookConfig } */
44const config = {
5- stories :
6- process . env . STORYBOOK === 'constellation'
7- ? [ '../src/components/custom-constellation/**/*.stories.@(js|jsx|ts|tsx)' ]
8- : [ '../src/components/custom-sdk/**/*.stories.@(js|jsx|ts|tsx)' ] ,
5+ stories : process . env . STORYBOOK_CONSTELLATION
6+ ? [ '../src/components/custom-constellation/**/*.stories.@(js|jsx|ts|tsx)' ]
7+ : [ '../src/components/custom-sdk/**/*.stories.@(js|jsx|ts|tsx)' ] ,
98
109 typescript : {
1110 reactDocgen : 'react-docgen-typescript'
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { theme } from '../src/theme';
77
88import { decorator } from '../__mocks__/react_pconnect' ;
99
10- const isConstellation = process . env . STORYBOOK === 'constellation' ;
10+ const isConstellation = process . env . STORYBOOK_CONSTELLATION ;
1111
1212if ( ! isConstellation ) {
1313 getSdkComponentMap ( ) ;
Original file line number Diff line number Diff line change 3636 "publishAll" : " dx-component-builder-sdk publishAll" ,
3737 "rename" : " dx-component-builder-sdk rename" ,
3838 "scanAndFix" : " dx-component-builder-sdk scanAndFix" ,
39- "storybookSDK" : " STORYBOOK=sdk storybook dev --port 6040" ,
40- "storybookConstellation" : " STORYBOOK=constellation storybook dev --port 6050" ,
39+ "storybookSDK" : " storybook dev --port 6040" ,
40+ "storybookConstellation" : " STORYBOOK_CONSTELLATION=true storybook dev --port 6050" ,
4141 "_comment_SDK_public_SDK_test_commands" : " The following are public commands used for testing the SDK" ,
4242 "test:functional" : " jest --runInBand tests/functional/dxcb --detectOpenHandles --coverage" ,
4343 "test" : " node ./scripts/playwright-message.js && playwright test --project=chromium MediaCo/portal MediaCo/embedded" ,
You can’t perform that action at this time.
0 commit comments