From 5ed34842879ab43da053d9dd1db34aeb575a447c Mon Sep 17 00:00:00 2001 From: Moshe Date: Sun, 13 Oct 2024 11:43:48 +0300 Subject: [PATCH] chore: move storybook config files to use typescript --- .storybook/{main.js => main.ts} | 0 .storybook/{manager.js => manager.ts} | 0 .storybook/{preview.js => preview.tsx} | 0 .storybook/{theme.js => theme.ts} | 0 package.json | 1 + pnpm-lock.yaml | 3 +++ 6 files changed, 4 insertions(+) rename .storybook/{main.js => main.ts} (100%) rename .storybook/{manager.js => manager.ts} (100%) rename .storybook/{preview.js => preview.tsx} (100%) rename .storybook/{theme.js => theme.ts} (100%) diff --git a/.storybook/main.js b/.storybook/main.ts similarity index 100% rename from .storybook/main.js rename to .storybook/main.ts diff --git a/.storybook/manager.js b/.storybook/manager.ts similarity index 100% rename from .storybook/manager.js rename to .storybook/manager.ts diff --git a/.storybook/preview.js b/.storybook/preview.tsx similarity index 100% rename from .storybook/preview.js rename to .storybook/preview.tsx diff --git a/.storybook/theme.js b/.storybook/theme.ts similarity index 100% rename from .storybook/theme.js rename to .storybook/theme.ts diff --git a/package.json b/package.json index 60bdfab6..5df9b592 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "@storybook/addon-styling-webpack": "1.0.0", "@storybook/addon-webpack5-compiler-babel": "3.0.3", "@storybook/blocks": "8.3.5", + "@storybook/manager-api": "^8.3.5", "@storybook/react": "8.3.5", "@storybook/react-webpack5": "8.3.5", "@testing-library/jest-dom": "6.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index caa4c38e..5b93baf1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,6 +87,9 @@ importers: '@storybook/blocks': specifier: 8.3.5 version: 8.3.5(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(storybook@8.3.5) + '@storybook/manager-api': + specifier: ^8.3.5 + version: 8.3.5(storybook@8.3.5) '@storybook/react': specifier: 8.3.5 version: 8.3.5(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(storybook@8.3.5)(typescript@5.6.3)