Skip to content

Commit 37c7482

Browse files
committed
chore(storybook): considere storybook as an app
1 parent 3d48a53 commit 37c7482

89 files changed

Lines changed: 3705 additions & 106 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.storybook/vite.config.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

Dockerfile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,22 @@ FROM node:24.12.0-alpine
22
WORKDIR /build
33

44
ARG TURBO_TOKEN=token
5+
ENV TURBO_TOKEN=${TURBO_TOKEN}
56

6-
ENV TURBO_TOKEN ${TURBO_TOKEN}
7-
8-
COPY . .
7+
# Copy only necessary files for installation
8+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./
99

10+
# Install corepack and pnpm
1011
RUN npm install -g corepack@0.31.0
1112
RUN corepack enable
13+
14+
# Install dependencies
1215
RUN pnpm install --frozen-lockfile
16+
17+
# Copy source code
18+
COPY . .
19+
20+
# Build storybook
1321
RUN pnpm turbo run build:storybook
1422

1523
EXPOSE 80/tcp
File renamed without changes.
File renamed without changes.

.storybook/assets/fonts/asap/Asap-Medium.woff2 renamed to apps/storybook/.storybook/assets/fonts/asap/Asap-Medium.woff2

File renamed without changes.

.storybook/assets/fonts/asap/Asap-Regular.woff2 renamed to apps/storybook/.storybook/assets/fonts/asap/Asap-Regular.woff2

File renamed without changes.

.storybook/assets/fonts/inter/Inter-Medium.woff2 renamed to apps/storybook/.storybook/assets/fonts/inter/Inter-Medium.woff2

File renamed without changes.

.storybook/assets/fonts/inter/Inter-Regular.woff2 renamed to apps/storybook/.storybook/assets/fonts/inter/Inter-Regular.woff2

File renamed without changes.

.storybook/assets/fonts/inter/Inter-SemiBold.woff2 renamed to apps/storybook/.storybook/assets/fonts/inter/Inter-SemiBold.woff2

File renamed without changes.

0 commit comments

Comments
 (0)