Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Remove storybook and update Makefile.

Matthieu Hochlander8d1c98c8606e
diff --git a/.storybook/main.ts b/.storybook/main.ts
deleted file mode 100644
index 1adfb3b4..00000000
--- a/.storybook/main.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import type { StorybookConfig } from '@storybook/react-vite';
-
-const config: StorybookConfig = {
- stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
- addons: [
- '@storybook/addon-onboarding',
- '@storybook/addon-links',
- '@storybook/addon-essentials',
- '@chromatic-com/storybook',
- '@storybook/addon-interactions',
- ],
- framework: {
- name: '@storybook/react-vite',
- options: {},
- },
- staticDirs: ['../public'],
-};
-export default config;
diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html
deleted file mode 100644
index c9ef1318..00000000
--- a/.storybook/preview-head.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<link rel="preconnect" href="https://fonts.googleapis.com" />
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
-<link
- rel="stylesheet"
- href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"
-/>
diff --git a/.storybook/preview.ts b/.storybook/preview.ts
deleted file mode 100644
index 3111bc71..00000000
--- a/.storybook/preview.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import type { Preview } from '@storybook/react';
-
-const preview: Preview = {
- parameters: {
- controls: {
- matchers: {
- color: /(background|color)$/i,
- date: /Date$/i,
- },
- },
- },
-};
-
-export default preview;
diff --git a/makefile b/makefile
index d87dd7f3..ad596b07 100644
--- a/makefile
+++ b/makefile
@@ -5,7 +5,7 @@ help:
install: package.json ## install dependencies
npm install;
-
+
start-supabase: ## start supabase locally
npx supabase start
@@ -58,9 +58,9 @@ lint:
npm run lint:check
npm run prettier:check
-storybook: ## start storybook
- npm run storybook
-
publish:
npm run build-lib
- npm publish
\ No newline at end of file
+ npm publish
+
+typecheck:
+ npm run typecheck