Skip to content

feat(usage): scan antdv-next component usage - #68

Merged
lonewolfyx merged 1 commit into
mainfrom
prs/usage-component-scan
Aug 28, 2026
Merged

lonewolfyx merged 1 commit into
mainfrom
prs/usage-component-scan

Conversation

@lonewolfyx

Copy link
Copy Markdown
Member

Summary

  • implement the usage command to scan Vue and TSX files while excluding node_modules
  • detect A-prefixed components and named, aliased, or namespace imports from antdv-next
  • normalize subcomponents against version metadata and report usage counts in text, Markdown, or JSON
  • add oxc-parser as a runtime dependency and cover the scanner behavior with tests

Testing

  • pnpm exec eslint .
  • pnpm exec tsdown
  • pnpm exec vitest run (12 test files, 62 tests passed)
  • pnpm exec tsc --noEmit
  • git diff --check

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@antdv-next/cli@68

commit: 38dd181

@github-actions

Copy link
Copy Markdown
Contributor

Build Size Report

Baseline Artifact · 基准产物

File Size Gzip Brotli
index.mjs 490.26 KiB 140.09 KiB 119.14 KiB

Candidate Artifact · 候选产物

File Size Gzip Brotli
index.mjs 494.19 KiB 141.59 KiB 120.39 KiB

@lonewolfyx
lonewolfyx merged commit 3e88b41 into main Aug 28, 2026
8 checks passed
@lonewolfyx
lonewolfyx deleted the prs/usage-component-scan branch September 13, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant