-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65d143e
commit 86631bb
Showing
33 changed files
with
7,771 additions
and
60,372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,8 @@ | ||
const path = require('path') | ||
|
||
const reactComponentRoot = path.resolve(__dirname, '../../../packages') | ||
|
||
module.exports = { | ||
addons: [ | ||
'@storybook/addon-a11y/', | ||
'@storybook/addon-actions/', | ||
'@storybook/addon-knobs/', | ||
'@storybook/addon-viewport/', | ||
'@storybook/addon-essentials', | ||
], | ||
presets: [ | ||
{ | ||
name: '@storybook/addon-docs/preset', | ||
options: { | ||
configureJSX: true, | ||
}, | ||
}, | ||
], | ||
stories: ['../../../packages/**/src/**/*.stories.js'], | ||
webpackFinal: async (config, { configType }) => { | ||
const rushCIPath = process.env.RUSH_TEMP_FOLDER | ||
|
||
const mdxJsxRule = config.module.rules.find( | ||
(rule) => rule && rule.include && rule.include[0] | ||
) | ||
|
||
mdxJsxRule && mdxJsxRule.include.push(reactComponentRoot) | ||
mdxJsxRule && mdxJsxRule.exclude.push(/\/node_modules\//) | ||
|
||
if (mdxJsxRule && rushCIPath) { | ||
mdxJsxRule.include.push(path.resolve(rushCIPath)) | ||
} | ||
|
||
return config | ||
}, | ||
stories: ['../../../packages/**/src/**/*.stories.@(js|tsx|mdx)'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
common/changes/pcln-design-system/typescript-support_2020-11-29-05-56.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "pcln-design-system", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "pcln-design-system", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
common/changes/pcln-icons/typescript-support_2020-11-29-05-56.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "pcln-icons", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "pcln-icons", | ||
"email": "[email protected]" | ||
} |
Oops, something went wrong.