hunk.code_window: WORKDIR /app
   RUN apk add git && npm i -g pnpm@7
   COPY . .
   # RUN apk add g++ make python3 git libpng-dev
   RUN pnpm i --frozen-lockfile --store=node_modules/.pnpm-store --filter "!ligo-virgo-e2e" --filter "!keck" --filter "!venus" && pnpm run build:local --skip-nx-cache
   FROM node:16-alpine as relocate
   WORKDIR /app
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit: RUN --mount=type=cache,target=/app/node_modules,rw,sharing=private pnpm i --frozen-lockfile --store=node_modules/.pnpm-store --filter "!ligo-virgo-e2e" --filter "!keck" --filter "!venus" && pnpm run build:local --skip-nx-cache
  
hunk.file_path: .github/deployment/Dockerfile-affine
hunk.type: replace
file: import {
      PickersDay,
      styled,
      type PickersDayProps,
  } from '@toeverything/components/ui';
  import type { ComponentType } from 'react';
  
  import type { Theme } from './types';
  import { DEFAULT_THEME } from './utils';
  
  type HeatedDayProps = PickersDayProps<Date> & {
      activitiesOfDay: number;
      calendarTheme: Theme;
  };
  
  export const HeatedDay = styled(PickersDay, {
      shouldForwardProp: (prop: string) =>
          !['activitiesOfDay', 'calendarTheme'].includes(prop),
  })<HeatedDayProps>(({ calendarTheme = DEFAULT_THEME, activitiesOfDay }) => ({
      ...{
          width: 30,
          height: 30,
          margin: '0 2.5px 16px 2.5px',
          borderRadius: 3,
          backgroundColor: '#fff',
          color: '#4E687C',
          // fontSize: '0.8rem'
      },
      ...(activitiesOfDay > 0 && {
          backgroundColor: calendarTheme.level1,
          '&:hover': {
              backgroundColor: calendarTheme.level1,
          },
      }),
      ...(activitiesOfDay > 3 && {
          backgroundColor: calendarTheme.level2,
          '&:hover': {
              backgroundColor: calendarTheme.level2,
          },
      }),
      ...(activitiesOfDay > 6 && {
          backgroundColor: calendarTheme.level3,
          color: '#fff',
          '&:hover': {
              backgroundColor: calendarTheme.level3,
          },
      }),
  })) as unknown as ComponentType<HeatedDayProps>;
  