* fix: sync workflow never detects new antd versions
The check-version step compared local data/v6.json against
@ant-design/cli on npm — which is always true since CLI publishes
at the synced version, causing the workflow to skip every run.
Replace with a script that compares the antd npm latest version
against local data, and also covers the recovery scenario where
data was pushed but npm publish failed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: sync workflow never detects new antd versions
The check-version step compared local data/v6.json against
@ant-design/cli on npm — which is always true since CLI publishes
at the synced version, causing the workflow to skip every run.
Replace with a script that compares the antd npm latest version
against local data, and also covers the recovery scenario where
data was pushed but npm publish failed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
setup-node sets an empty NODE_AUTH_TOKEN which interferes with
npm OIDC Trusted Publishing. Unset it before publish.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Upgrade actions/checkout from v4 to v6
- Upgrade actions/setup-node from v4 to v6
- Add debug output before npm publish to troubleshoot OIDC issues
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* release: v0.2.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: add Multi-Format Output as a feature in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: remove redundant Multi-Format Output feature entry
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore: remove semantic-release, publish only on antd data sync
- Delete release.yml and .releaserc.json
- Uninstall semantic-release and all related plugins
- Update sync.yml to build, test, and publish when antd data changes
- CLI version now tracks antd v6 version directly
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add loadMetadataForVersion() to loader.ts with 3-level resolution:
exact minor match → nearest earlier minor → fallback to latest major
- Add data/versions.json as version index (minor series → snapshot tag)
- Update all 7 command files to use loadMetadataForVersion(versionInfo.version)
- Update sync.yml to extract per-minor snapshots on each daily sync
- Add scripts/bootstrap-snapshots.ts for one-time historical backfill
- Update spec.md with multi-snapshot architecture documentation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add prepublishOnly script to always build before publish
- Add publishConfig.access=public and homepage field
- Inject CLI_VERSION at build time via tsup define (no longer hardcoded)
- sync.yml: max-parallel=1 to avoid concurrent push conflicts
- sync.yml: expand publish detection window from 10min to 24h
- README: document -V / --cli-version flag
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add scripts/extract.ts pipeline that extracts antd metadata (components,
props, demos, tokens, semantic, changelog, FAQ) from source. Add daily
GitHub Actions workflow to detect new antd releases and auto-publish.
CLI version now aligns with antd version.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix TS2783 duplicate property in diff.ts
- Fix loadMetadata call signature mismatch across 7 command files
- Split migrate.ts: extract v4→v5 (34 steps) and v5→v6 (42 steps)
migration data into separate files
- Supplement v4→v5 with Slider tooltip, Table filterDropdownOpen,
Drawer style/className, notification.close→destroy, message.warn
- Rewrite v5→v6 based on official migration doc: React 18, icons v6,
40+ component API deprecations, Form.List, Tag margin, mask blur
- Simplify CI to single Node 22, fix build→test ordering
- Add 26 new tests (scan.ts unit tests + CLI edge cases): 52→78 total
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add CI workflow (.github/workflows/ci.yml) with matrix for Node 18/20/22
- Add CI, npm version, and npm downloads badges to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>