π chore: μ μΆ μ μ½λ μ 리 μμ λͺ©λ‘ - #8
Conversation
μλ PR μ½λ 리뷰
κ²μ¦ κ²°κ³Ό
μ΄λ² PR μν₯ κ°λ₯ νλͺ©μ΄λ² PR λ³κ²½ νμΌμμ μ§μ λ°μν κ²μΌλ‘ 보μ΄λ νλͺ©μ μμ΅λλ€. κΈ°μ‘΄ μ€ν¨λ‘ μΆμ λλ νλͺ©P1 λΉλ μ€ν¨
./src/app/(with-sidebar)/problems/components/problem-add/TagSection.tsx:83:31 81 | 82 | {selectedTags.length > 0 ? (
Creating an optimized production build ...
P1 ν μ€νΈ μ€ν¨
P1 TypeScript νμ κ²μ¬ μ€ν¨
P2 Lint μ€ν¨
src/app/(with-sidebar)/mypage/components/BarChart/view.tsx:34:7 lint/correctness/noUnusedVariables FIXABLE ββββββββββ ! This variable CustomColorLabel is unused.
[output truncated]
κ²½κ³
|
μ΄λ ₯μ μ μΆ μ μ μ μ₯μλ₯Ό "μ±μ© λ΄λΉμκ° μ΄μ΄λ΄λ λλ μν"λ‘ λ§λλ μμ μ μ΄ PRμ λͺ¨μλλ€.
νμ¬ κΈ°λ³Έ λΈλμΉλ
bun run build,tsc --noEmit,bun testκ° λͺ¨λ μ€ν¨ν©λλ€. μ΄λ ₯μμ GitHub URLμ μ λ μ΄μ μ΄ μΈ κ°μ§ ν΅κ³Όκ° μ΅μ 쑰건μ λλ€.μμΈ λ΄μ©μ
docs/pre-submit-checklist.mdμ°Έκ³ .μμ
bun run build/./node_modules/.bin/tsc --noEmit/bun test3μ’ ν΅κ³ΌPR #7 νμΌλ³ μ²λ¦¬
AIκ° μμ±ν PRμ λλ€. μ λΆ λ°μλ€μ΄μ§ λ§κ³ μλ κΈ°μ€μΌλ‘ λλλλ€.
Heatmap/hook.test.tsLineChart/hook.test.tsHeatmap/hook.tsformat()μ μ©. κ²μ¦ μλ£LineChart/hook.tsformat()+ λ²μ-5~0. κ²μ¦ μλ£MakeStudy.tsxSidebar.tsxstudy?.idguard ν μ€calendar.tsxTagSection.tsxstudyStore.tstsconfig.json.github/workflows/automated-code-review.ymlproblems/page.tsxμ§μ μμ±ν΄μΌ νλ κ²
TagSection.tsxProblemFormValuesλ₯Ό κ³΅μ© νμ μΌλ‘ λΆλ¦¬νκ³useFormContext<ProblemFormValues>()λ‘ μ λ€λ¦μ μ°κ²°νλ©΄ νμ μ΄ μλμΌλ‘string[]μ΄ λ©λλ€.studyStore.tsStoredStudyβ νλλ§λ€ nullable. μ¬μ©νλ μͺ½μμ νλλ§λ€ null 체ν¬atomWithStorage<Study | null>β ν λ²λ§ 체ν¬νλ©΄ μ΄ν νλλ νμ 보μ₯Bμμ΄ λ«μ§λ§ μ°Έμ‘°νλ κ³³μ ν¨κ» μλ΄μΌ ν©λλ€. Aμ μ μ§ μ μ 골λλμ§ μ€λͺ ν μ μμ΄μΌ ν©λλ€.
tsconfig.json"exclude": ["node_modules", "**/*.test.ts"]β λΉλ νμ κ²μ¬μμ ν μ€νΈλ₯Ό λΉΌλ 건 ν©λ¦¬μ μ΄μ§λ§, ν μ€νΈ νμΌμ΄ νμ κ²μ¬λ₯Ό μ ν μ λ°κ² λλ λΆμμ©μ΄ μμ΅λλ€.μ 4λ²μ΄ νμνκ°
νμ¬ λΈλμΉ λ³΄νΈ κ·μΉμ΄ μμ΄ μ²΄ν¬κ° μ€ν¨ν΄λ λ¨Έμ§λ©λλ€. PR #5κ°
failμνλ‘ λ¨Έμ§λ μ¬λ‘κ° μμ΅λλ€. μ΄ μ€μ μ λ§μ³μΌ μ΄λ ₯μμ "P1 λ°κ²¬ μ λ³ν©μ μ°¨λ¨νλ" λ¬Έκ΅¬κ° μ¬μ€μ΄ λ©λλ€.6λ² β μ¬μ μ
api/extension/_shared.tsCORS*β allowlistproblems/page.tsxqueryKeyμμ λͺ¨λ¬ μν μ κ±° +invalidateQueriesHistory.tsx,MonthlySolve.tsxμμ (μ€λ³΅)getAuthedMemberdiscriminated union λ°νμΌλ‘ λ³κ²½Related: #6, #7