Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .storybook/.babelrc.json

This file was deleted.

19 changes: 0 additions & 19 deletions .storybook/main.js

This file was deleted.

28 changes: 28 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import type { StorybookConfig } from '@storybook/react-vite';
import remarkGfm from 'remark-gfm';

const config: StorybookConfig = {
framework: '@storybook/react-vite',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
staticDirs: ['./public'],
addons: [
{
name: '@storybook/addon-docs',
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm],
},
},
},
},
],
typescript: {
check: false,
},
docs: {
autodocs: true,
},
};

export default config;
8 changes: 0 additions & 8 deletions .storybook/manager.js

This file was deleted.

7 changes: 7 additions & 0 deletions .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { addons } from 'storybook/manager-api';

addons.setConfig({
sidebar: {
showRoots: false,
},
});
39 changes: 0 additions & 39 deletions .storybook/preview.jsx

This file was deleted.

18 changes: 18 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import type { Preview } from '@storybook/react-vite';
import '@kibalabs/ui-react/styles/reset';
import '@kibalabs/ui-react/styles/colors';
import '../src/styles.scss';

const preview: Preview = {
parameters: {
layout: 'centered',
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
};

export default preview;
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [MAJOR] Converted package into an es-module

### Changed
- [MAJOR] Upgraded to Storybook 10
- [MAJOR] Updated to work with ui-react v0.11.3 and above (CSS-based theming)
- [MINOR] Updated Dockerfiles to Node 24 LTS

### Removed

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: build
FROM node:22.2.0 AS build
FROM node:24.11.1 AS build

WORKDIR /app
COPY makefile .
Expand Down
2 changes: 1 addition & 1 deletion docs.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: build
FROM node:22.2.0 AS build
FROM node:24.11.1 AS build

WORKDIR /app
COPY makefile .
Expand Down
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ security-check-ci:
@ echo "Not Supported"

build:
@ npx build-module-rolldown
@ NODE_ENV=production npx build-module-rolldown

build-ssr:
@ echo "Not Supported"
Expand All @@ -42,10 +42,10 @@ build-docs:
@ npx storybook build --docs --output-dir dist

Copilot AI Nov 29, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The --dev flag was removed from the start command. If this flag was providing development-specific optimizations or features (like faster builds or hot reloading), removing it might impact the development experience. Consider verifying that the development workflow still works as expected, or document why this flag was removed.

Suggested change
# NOTE: The `--dev` flag was removed from the `start` command because it is no longer supported or required by `build-module-rolldown`.

Copilot uses AI. Check for mistakes.
start:
@ npx build-module-rolldown --start --dev
@ NODE_ENV=development npx build-module-rolldown --start

start-prod:
@ npx build-module-rolldown --start
@ NODE_ENV=production npx build-module-rolldown --start

start-docs:
@ npx storybook dev --docs --port 6006
Expand Down
Loading
Loading