mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 01:31:06 +08:00
chore: fix cyclic dependency in devDependencies of @storybook/components
Remove `@storybook/react` and `@storybook/addon-actions` from devDependencies of `@storybook/components` to avoid lerna to find cyclic dependency. Also add them to ts-lint no-implicit-dependencies whitelist to avoid tslint error. For more details about this see:https://github.com/storybooks/storybook/issues/6523
This commit is contained in:
parent
2a55ee012f
commit
30355562b2
@ -45,8 +45,6 @@
|
||||
"simplebar-react": "^0.1.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "5.1.0-alpha.28",
|
||||
"@storybook/react": "5.1.0-alpha.28",
|
||||
"@types/js-beautify": "^1.8.0",
|
||||
"@types/react-syntax-highlighter": "^10.1.0",
|
||||
"@types/react-textarea-autosize": "^4.3.3",
|
||||
|
@ -12,6 +12,7 @@
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"src/**/__tests__/**/*"
|
||||
"src/**/__tests__/**/*",
|
||||
"src/**/*.stories.*"
|
||||
]
|
||||
}
|
||||
|
@ -55,7 +55,7 @@
|
||||
"prefer-const": false,
|
||||
"quotemark": false,
|
||||
"radix": true,
|
||||
"no-implicit-dependencies": [true, "dev"],
|
||||
"no-implicit-dependencies": [true, "dev", ["@storybook/react", "@storybook/addon-actions"]],
|
||||
"triple-equals": [true, "allow-null-check"],
|
||||
"unified-signatures": true,
|
||||
"variable-name": false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user