From 6bc11f61004e46920058e581b82a4d2da097cab4 Mon Sep 17 00:00:00 2001 From: soykje Date: Thu, 15 Feb 2024 14:55:02 +0100 Subject: [PATCH] chore: upd spark generator template --- .../cli/src/generate/templates/component/[package.json].js | 3 ++- .../templates/component/src/[Component.stories.tsx].js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/utils/cli/src/generate/templates/component/[package.json].js b/packages/utils/cli/src/generate/templates/component/[package.json].js index af16f108e..8ee59854e 100644 --- a/packages/utils/cli/src/generate/templates/component/[package.json].js +++ b/packages/utils/cli/src/generate/templates/component/[package.json].js @@ -1,6 +1,6 @@ export default ({ name, description }) => `{ "name": "@spark-ui/${name}", - "version": "1.0.0", + "version": "0.0.0", "description": "${description}", "publishConfig": { "access": "public" @@ -23,6 +23,7 @@ export default ({ name, description }) => `{ "build": "vite build" }, "peerDependencies": { + "@spark-ui/theme-utils": "^4.0.0", "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0", "tailwindcss": "^3.0.0" diff --git a/packages/utils/cli/src/generate/templates/component/src/[Component.stories.tsx].js b/packages/utils/cli/src/generate/templates/component/src/[Component.stories.tsx].js index 458957395..6d44fba5e 100644 --- a/packages/utils/cli/src/generate/templates/component/src/[Component.stories.tsx].js +++ b/packages/utils/cli/src/generate/templates/component/src/[Component.stories.tsx].js @@ -8,7 +8,7 @@ export default ({ name }) => { import { ${componentName} } from '.' const meta: Meta = { - title: 'Components/${componentName}', + title: 'Experimental/${componentName}', component: ${componentName}, }