Files
twosugar c1b9ee1a0a refactor(migrate): extract mdx primitives into @longbridge/openapi-ui workspace package
- Add `"workspaces": ["packages/*"]` to root package.json
- Scaffold packages/ui with package.json (name: @longbridge/openapi-ui, v0.0.0) and tsconfig.json
- git mv 7 primitives from src/components/mdx/ to packages/ui/src/ (Tabs, TabItem, TipContainer, CliCommand, SDK, SDKLinks, Skill)
- Create packages/ui/src/index.ts barrel re-exporting all 7 components + Props types
- Update src/mdx-components.tsx to import all 7 from @longbridge/openapi-ui (single import line)
- No @lib/* / @styles/* / @components/* path aliases found in moved files; tsconfig.json requires no path overrides
- bun install links workspace package; astro check: 0 errors, 4 pre-existing hints

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-17 19:34:16 +08:00

5 lines
66 B
JSON

{
"extends": "../../tsconfig.json",
"include": ["src/**/*"]
}