JSPM

check-cycle

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q45445F
  • License ISC

check circular reference

Package Exports

  • check-cycle
  • check-cycle/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (check-cycle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

check-cycle

install

npm install check-cycle -D

usage

npx check-cycle

example

npx check-cycle
  1. 순환 참조가 없는 경우
=============
✅ 순환 참조가 없습니다.
  1. 순환 참조가 있는 경우
=============
❌ 순환 참조가 발견되었습니다:

순환 참조 #1:
src/components/A.tsx -> src/components/B.tsx -> src/components/A.tsx

순환 참조 #2:
src/components/C.tsx -> src/components/D.tsx -> src/components/E.tsx -> src/components/C.tsx

순환 참조 #3:
src/types/A.ts -> src/types/B.ts -> src/types/A.ts