Skip to content

Commit

Permalink
HOTFIX: update package.json scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellol77 committed Apr 29, 2024
1 parent e06f6c4 commit b9054ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"dev": "yarn workspace waggle-service dev",
"dev:waggle-service": "yarn workspace waggle-service dev",
"build:design-system": "yarn workspace waggle-design-system publish:npm && yarn workspace waggle-design-system build",
"build:design-system": "yarn workspace waggle-design-system build",
"publish:design-system": "yarn workspace waggle-design-system build && yarn workspace waggle-design-system npm publish",
"build:waggle-service": "yarn workspace waggle-service build",
"preview:waggle-service": "yarn workspace waggle-service preview",
"lint": "eslint ./packages/*/src/**/*.{ts,tsx,js,jsx}",
Expand Down
2 changes: 1 addition & 1 deletion packages/waggle-design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "waggle-design-system",
"version": "1.5.2",
"version": "1.5.3",
"description": "Waggle 디자인 시스템",
"homepage": "https://github.com/teamWaggle/Waggle-front",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import {
textBoxStyle,
textStyle,
} from "@/components/Planning/TeamCard/TeamCard.style";
import { TEAM_INFO } from "@/constants/team";

const TeamCard = ({ data }: { data: TeamCardType }) => {
const { name, coverImageUrl, description, teamSize, maxTeamSize, teamColor, teamId } = data;
const { name, coverImageUrl, description, teamSize, teamColor, teamId } = data;
const handleOnclick = useHandleLinkWithDetectKeys();
return (
<Box tag="a" css={boxStyle} onClick={(e) => handleOnclick(e, `/team/${teamId}`)}>
Expand All @@ -39,7 +40,7 @@ const TeamCard = ({ data }: { data: TeamCardType }) => {
<Flex styles={{ align: "center", gap: "6px" }}>
<ProfileTeamCardIcon />
<Text css={groupCountTextStyle} size="small">
{teamSize}/{maxTeamSize}
{teamSize}/{TEAM_INFO.TEAM_MAX_SIZE}
</Text>
</Flex>
</Box>
Expand Down
1 change: 1 addition & 0 deletions packages/waggle-service/src/constants/team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { TeamColorType } from "@/types/team";
export const TEAM_INFO = {
MEMBERS_SLIDER_AMOUNT: 4,
PARTICIPATION_SLIDER_AMOUNT: 3,
TEAM_MAX_SIZE: 50,
};

export const TEAM_COLOR: TeamColorType[] = [
Expand Down

0 comments on commit b9054ea

Please sign in to comment.