-
Notifications
You must be signed in to change notification settings - Fork 16
Update kompendium #3708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update kompendium #3708
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5199126 to
68a62db
Compare
9d7703d to
88e506c
Compare
25cc503 to
71c2d7d
Compare
71c2d7d to
fe4e7c3
Compare
|
Documentation has been published to https://lundalogik.github.io/lime-elements/versions/PR-3708/ |
After upgrading Kompendium (which upgraded TypeDoc from 0.17 to 0.23), many types were missing from documentation. TypeDoc 0.23 changed how it follows exports and removed the `isExported` flag. Root cause: - Examples import from '@limetech/lime-elements' causing circular imports - Stencil's generated components.d.ts included these circular imports - TypeDoc couldn't parse the entry point when tsconfig excluded dist/ Solution: Two-step build process 1. Build dist with stencil.config.dist.ts (excludes examples via tsconfig.dist.json) 2. Build docs with stencil.config.docs.ts (uses clean dist/types from step 1) Changes: - Update tsconfig.docs.json and tsconfig.dev.json to include dist/types - Update docs:build script to run dist build before docs build - Point stencil.config.docs.ts to dist/types/index.d.ts for consistent type resolution - Remove duplicate exports from interface.ts already in components.d.ts (FormError, ValidationError, ValidationStatus, ListSeparator) - Add explanatory comments to config files documenting the architecture Result: All public API types now documented (ChartItem, Tab, ListItem, FormSchema, PickerValue, CustomColorSwatch, Link, etc.) Dev build (npm start) will have imperfect docs due to circular imports from examples, but production docs (npm run docs:build) are complete.
…json` This file was previously output directly to Stencil's build output directory by Kompendium. However, Stencil automatically cleans that directory, causing a race condition where the `kompendium.json` would sometimes have been removed by the time the publish script tried to copy it. With the latest Kompendium, the `kompendium.json` file is always written to the `.kompendium` folder, so we can safely copy it from there.
e9f6e2a to
8cb1b90
Compare
8cb1b90 to
e0a90d4
Compare
🚨 Test-PR for updates in Kompendium.
See jgroth/kompendium#150
@coderabbitai summary
Review:
Browsers tested:
(Check any that applies, it's ok to leave boxes unchecked if testing something didn't seem relevant.)
Windows:
Linux:
macOS:
Mobile: