From 8bf59d390194b0c79bab8ba1355d0204fec9b3d7 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 21 Jun 2023 22:45:47 +0000 Subject: [PATCH] PR-712281: updating packes and updating some storybook functions. --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 6 +++--- src/stories/Card.stories.tsx | 6 +++--- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 69ac0ba..6c4f5a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aleleba/create-react-component-library", - "version": "1.2.9", + "version": "1.2.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aleleba/create-react-component-library", - "version": "1.2.9", + "version": "1.2.10", "license": "MIT", "bin": { "create-react-component-library": "bin/cli.js" @@ -56,7 +56,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "resolve-ts-aliases": "^1.0.1", - "sass": "^1.63.4", + "sass": "^1.63.6", "sass-loader": "^13.3.2", "storybook": "^7.0.22", "style-loader": "^3.3.3", @@ -65,7 +65,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "^5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.87.0", + "webpack": "^5.88.0", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" }, @@ -17087,9 +17087,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.63.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.4.tgz", - "integrity": "sha512-Sx/+weUmK+oiIlI+9sdD0wZHsqpbgQg8wSwSnGBjwb5GwqFhYNwwnI+UWZtLjKvKyFlKkatRK235qQ3mokyPoQ==", + "version": "1.63.6", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz", + "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -19017,9 +19017,9 @@ } }, "node_modules/webpack": { - "version": "5.87.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.87.0.tgz", - "integrity": "sha512-GOu1tNbQ7p1bDEoFRs2YPcfyGs8xq52yyPBZ3m2VGnXGtV9MxjrkABHm4V9Ia280OefsSLzvbVoXcfLxjKY/Iw==", + "version": "5.88.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.0.tgz", + "integrity": "sha512-O3jDhG5e44qIBSi/P6KpcCcH7HD+nYIHVBhdWFxcLOcIGN8zGo5nqF3BjyNCxIh4p1vFdNnreZv2h2KkoAw3lw==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -32138,9 +32138,9 @@ "dev": true }, "sass": { - "version": "1.63.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.4.tgz", - "integrity": "sha512-Sx/+weUmK+oiIlI+9sdD0wZHsqpbgQg8wSwSnGBjwb5GwqFhYNwwnI+UWZtLjKvKyFlKkatRK235qQ3mokyPoQ==", + "version": "1.63.6", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz", + "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", @@ -33570,9 +33570,9 @@ "dev": true }, "webpack": { - "version": "5.87.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.87.0.tgz", - "integrity": "sha512-GOu1tNbQ7p1bDEoFRs2YPcfyGs8xq52yyPBZ3m2VGnXGtV9MxjrkABHm4V9Ia280OefsSLzvbVoXcfLxjKY/Iw==", + "version": "5.88.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.0.tgz", + "integrity": "sha512-O3jDhG5e44qIBSi/P6KpcCcH7HD+nYIHVBhdWFxcLOcIGN8zGo5nqF3BjyNCxIh4p1vFdNnreZv2h2KkoAw3lw==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/package.json b/package.json index ec0c09f..f31edff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-react-component-library", - "version": "1.2.9", + "version": "1.2.10", "description": "A starter kit for create a React component Library with storybook", "bin": "./bin/cli.js", "main": "dist/index.js", @@ -79,7 +79,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "resolve-ts-aliases": "^1.0.1", - "sass": "^1.63.4", + "sass": "^1.63.6", "sass-loader": "^13.3.2", "storybook": "^7.0.22", "style-loader": "^3.3.3", @@ -88,7 +88,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "^5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.87.0", + "webpack": "^5.88.0", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" }, diff --git a/src/stories/Card.stories.tsx b/src/stories/Card.stories.tsx index e41e43c..77e4abc 100644 --- a/src/stories/Card.stories.tsx +++ b/src/stories/Card.stories.tsx @@ -1,15 +1,15 @@ import React from 'react'; -import { ComponentStory, ComponentMeta } from '@storybook/react'; +import { StoryFn, Meta } from '@storybook/react'; import { Card } from '@components'; // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export export default { title: 'Example/Card', component: Card, -} as ComponentMeta; +} as Meta; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args -const Template: ComponentStory = (args) => ; +const Template: StoryFn = (args) => ; export const Basic = Template.bind({}); // More on args: https://storybook.js.org/docs/react/writing-stories/args