feat(page-compiler): move features internally and add transform options #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
kamado/featuresto@kamado-io/page-compiler/featurestransformBreadcrumbItem,transformNavNode) for customizing outputgetBreadcrumbsfrom async to sync functionkamado/featuresfor removal in v2.0.0Changes
Feature Migration
getBreadcrumbs,getNavTree,getTitleList,getTitlemoved to@kamado-io/page-compiler/featureskamado/featuresnow re-exports from@kamado-io/page-compilerwith deprecation warningsNew Transform Options
transformBreadcrumbItem: Synchronous function to customize breadcrumb itemspageproperty fromBreadcrumbItem(no longer needed for sync operation)transformNavNode: Synchronous function to customize or filter navigation nodesnull/undefinedto remove nodes from treeBreaking Changes (scheduled for v2.0.0)
kamado/featureswill be removed in v2.0.0@kamado-io/page-compiler/featuresinsteadTest Plan
🤖 Generated with Claude Code