Skip to content

fix(tsconfig): Next 생성 타입 include 경고 완화 - #101

Merged
JeremyDev87 merged 1 commit into
masterfrom
codex/fix-100-next-types-info
May 1, 2026
Merged

fix(tsconfig): Next 생성 타입 include 경고 완화#101
JeremyDev87 merged 1 commit into
masterfrom
codex/fix-100-next-types-info

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

배경

Next.js 프로젝트의 기본 tsconfig.json에는 .next/types/**/*.ts include가 들어갈 수 있습니다. clean checkout이나 build 전 상태에서는 .next가 아직 없어 Maximus가 warning을 내고 exit status를 1로 만들 수 있었습니다.

변경 사항

  • Next 패키지의 .next/types/**/*.ts / ./.next/types/**/*.ts 빈 include를 Info로 낮췄습니다.
  • 가장 가까운 package.jsondependencies, devDependencies, peerDependencies, optionalDependencies에서 next 존재 여부를 확인합니다.
  • Next가 아닌 프로젝트의 동일 패턴은 기존처럼 Warn과 generic hint를 유지합니다.
  • noop exclude의 기존 Info 계약은 변경하지 않았습니다.
  • Rust check 테스트와 CLI 회귀 테스트를 추가했습니다.

검증

  • rustfmt --check crates/maximus-checks/src/tsconfig.rs crates/maximus-checks/tests/tsconfig_checks.rs
  • cargo test -p maximus-checks --test tsconfig_checks
  • node --test test/tsconfig-patterns-cli.test.js
  • node --test test/reference-parity.test.js
  • git diff --check
  • cargo test --workspace
  • npm test 두 번 연속 통과

npm test 전체 실행에서 기존 allowJs assertion이 한 번 transient 실패했지만, 같은 파일 단독 재실행과 이후 전체 npm test 2회가 모두 통과했습니다.

브랜치 / 워크트리

  • branch: codex/fix-100-next-types-info
  • worktree: /private/tmp/maximus-pr100-next-types-info
  • base: master

이슈 연결

Closes #100

Next 패키지에서 .next/types/**/*.ts include가 비어 있을 때 warning 대신 info로 보고하도록 조정한다.

Rust/CLI 회귀 테스트로 Next info-only exit 0과 일반 프로젝트 warning 유지 계약을 검증한다.

Closes #100
@JeremyDev87

Copy link
Copy Markdown
Owner Author

독립 fresh-session 리뷰 결과

  • Verdict: APPROVE
  • Severity Summary: Critical 0 / High 0 / Medium 0 / Low 0
  • Findings: 없음
  • Rationale: 이슈 [Sub] Next 생성 타입 include 경고를 info로 낮추기 #100 계약대로 Next 패키지의 .next/types/**/*.ts 미매칭은 Info로 내려가고, non-Next는 Warn을 유지하며, 기존 noop exclude Info 계약도 보존됩니다. 로컬 집중 검증과 PR 체크 조회에서도 병합 게이트 실패가 확인되지 않았습니다.
  • Posting Note: GitHub 정책상 작성자 본인의 PR에는 공식 approve review를 제출할 수 없어 동일 verdict를 comment fallback으로 남깁니다.

검증 근거:

  • rustfmt --check crates/maximus-checks/src/tsconfig.rs crates/maximus-checks/tests/tsconfig_checks.rs
  • cargo test -p maximus-checks --test tsconfig_checks
  • node --test test/tsconfig-patterns-cli.test.js
  • node --test test/reference-parity.test.js
  • git diff --check
  • cargo test --workspace
  • npm test 2회 연속 통과
  • gh pr checks 101 all pass

@JeremyDev87 JeremyDev87 self-assigned this May 1, 2026
@JeremyDev87 JeremyDev87 added the fix Bug fix label May 1, 2026
@JeremyDev87
JeremyDev87 marked this pull request as ready for review May 1, 2026 14:07
@JeremyDev87
JeremyDev87 merged commit 933a4b8 into master May 1, 2026
42 checks passed
@JeremyDev87
JeremyDev87 deleted the codex/fix-100-next-types-info branch May 1, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sub] Next 생성 타입 include 경고를 info로 낮추기

1 participant