mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 05:21:10 +08:00
Update cra-ts-essneitals to triconfig
This commit is contained in:
parent
c00f4b8a76
commit
50fdbe8b9f
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "5.3.0-beta.16",
|
||||
"version": "5.3.0-beta.18",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -27,15 +27,15 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-actions": "5.3.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "5.3.0-beta.16",
|
||||
"@storybook/addon-docs": "5.3.0-beta.16",
|
||||
"@storybook/addon-knobs": "5.3.0-beta.16",
|
||||
"@storybook/addon-links": "5.3.0-beta.16",
|
||||
"@storybook/addon-viewport": "5.3.0-beta.16",
|
||||
"@storybook/addons": "5.3.0-beta.16",
|
||||
"@storybook/api": "5.3.0-beta.16",
|
||||
"@storybook/node-logger": "5.3.0-beta.16",
|
||||
"@storybook/addon-actions": "5.3.0-beta.18",
|
||||
"@storybook/addon-backgrounds": "5.3.0-beta.18",
|
||||
"@storybook/addon-docs": "5.3.0-beta.18",
|
||||
"@storybook/addon-knobs": "5.3.0-beta.18",
|
||||
"@storybook/addon-links": "5.3.0-beta.18",
|
||||
"@storybook/addon-viewport": "5.3.0-beta.18",
|
||||
"@storybook/addons": "5.3.0-beta.18",
|
||||
"@storybook/api": "5.3.0-beta.18",
|
||||
"@storybook/node-logger": "5.3.0-beta.18",
|
||||
"ts-dedent": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -1,4 +0,0 @@
|
||||
import { configure } from '@storybook/react';
|
||||
|
||||
// automatically import all files ending in *.stories.(tsx|jsx)
|
||||
configure(require.context('../src/stories', true, /\.stories\.[tj]sx?$/), module);
|
12
examples/cra-ts-essentials/.storybook/main.js
Normal file
12
examples/cra-ts-essentials/.storybook/main.js
Normal file
@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
stories: ['../src/**/*.stories.tsx'],
|
||||
presets: [
|
||||
'@storybook/preset-create-react-app',
|
||||
{
|
||||
name: '@storybook/addon-essentials',
|
||||
options: {
|
||||
backgrounds: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
module.exports = [
|
||||
'@storybook/preset-create-react-app',
|
||||
{
|
||||
name: '@storybook/addon-essentials',
|
||||
options: {
|
||||
backgrounds: false,
|
||||
},
|
||||
},
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "5.3.0-beta.16",
|
||||
"version": "5.3.0-beta.18",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -36,9 +36,9 @@
|
||||
"typescript": "3.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "5.3.0-beta.16",
|
||||
"@storybook/addons": "5.3.0-beta.16",
|
||||
"@storybook/addon-essentials": "5.3.0-beta.18",
|
||||
"@storybook/addons": "5.3.0-beta.18",
|
||||
"@storybook/preset-create-react-app": "^1.2.0",
|
||||
"@storybook/react": "5.3.0-beta.16"
|
||||
"@storybook/react": "5.3.0-beta.18"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user