Skip to content

Commit

Permalink
Merge pull request #424 from woowacourse-teams/develop
Browse files Browse the repository at this point in the history
[ALL] v1.0.0 출시! 🎉
  • Loading branch information
Largopie authored Oct 24, 2024
2 parents 50c327f + 4d56935 commit 0111ce1
Show file tree
Hide file tree
Showing 154 changed files with 6,653 additions and 5,610 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/backend-prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ jobs:
- name: docker pull
run: docker pull ${{ secrets.DOCKERHUB_USERNAME }}/momo-api-prod

# 2. 실행 컨테이너 중 app 서비스만 재시작
- name: Restart app service
run: docker compose -f $HOME/security/docker-compose-prod.yml restart app --no-deps
# 2. 블루그린 배포 스크립트 실행
- name: Launch Blue-Green Deployment
run: chmod +x $HOME/security/deploy.sh; $HOME/security/deploy.sh

# 3. 미사용 이미지를 정리
# 3. 미사용 이미지 정리
- name: delete old docker image
run: docker system prune -f
2 changes: 1 addition & 1 deletion backend/src/main/resources/security
1 change: 1 addition & 0 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"plugin:storybook/recommended"
],
"rules": {
"react/prop-types": "off",
"@typescript-eslint/consistent-type-imports": "error",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
Expand Down
7 changes: 5 additions & 2 deletions frontend/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Global, ThemeProvider } from '@emotion/react';
import type { Preview } from '@storybook/react';
import React from 'react';

import ToastProvider from '../src/contexts/ToastProvider';
import globalStyles from '../src/styles/global';
import theme from '../src/styles/theme';

Expand All @@ -21,8 +22,10 @@ export default preview;
export const decorators = [
(Story) => (
<ThemeProvider theme={theme}>
<Global styles={globalStyles} />
<Story />
<ToastProvider>
<Global styles={globalStyles} />
<Story />
</ToastProvider>
</ThemeProvider>
),
];
6 changes: 6 additions & 0 deletions frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
testEnvironment: 'jsdom',
transform: {
'^.+.tsx?$': ['ts-jest', {}],
'^.+\\.svg$': '<rootDir>/svgTransformer.js',
},
testEnvironmentOptions: {
customExportConditions: [''],
Expand All @@ -13,5 +14,10 @@ module.exports = {
moduleNameMapper: {
'^@utils/(.*)$': '<rootDir>/src/utils/$1',
'^@constants/(.*)$': '<rootDir>/src/constants/$1',
'^@contexts/(.*)$': '<rootDir>/src/contexts/$1',
'^@components/(.*)$': '<rootDir>/src/components/$1',
'^@hooks/(.*)$': '<rootDir>/src/hooks/$1',
'^@assets/(.*)$': '<rootDir>/src/assets/$1',
'^@styles/(.*)$': '<rootDir>/src/styles/$1',
},
};
4 changes: 3 additions & 1 deletion frontend/legacy/components/AllSchedules/AllSchdules.utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { DAY_OF_WEEK_KR } from '../../../src/constants/date';

export const formatDate = (dateString: string) => {
const currentDateObj = new Date(dateString);
const currentMonth = currentDateObj.getMonth() + 1;
const currentDay = currentDateObj.getDate();
const dayOfWeek = ['일', '월', '화', '수', '목', '금', '토'][currentDateObj.getDay()];
const dayOfWeek = DAY_OF_WEEK_KR[currentDateObj.getDay()];

return {
dayOfWeek,
Expand Down
Loading

0 comments on commit 0111ce1

Please sign in to comment.