@mokly/mokly 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +162 -0
- package/LICENSE +21 -0
- package/README.md +815 -0
- package/dist/authoring/definitions.d.ts +22 -0
- package/dist/authoring/definitions.d.ts.map +1 -0
- package/dist/authoring/definitions.js +133 -0
- package/dist/authoring/definitions.js.map +1 -0
- package/dist/authoring/links.d.ts +22 -0
- package/dist/authoring/links.d.ts.map +1 -0
- package/dist/authoring/links.js +30 -0
- package/dist/authoring/links.js.map +1 -0
- package/dist/authoring/review_ignore.d.ts +19 -0
- package/dist/authoring/review_ignore.d.ts.map +1 -0
- package/dist/authoring/review_ignore.js +26 -0
- package/dist/authoring/review_ignore.js.map +1 -0
- package/dist/authoring/review_material.d.ts +3 -0
- package/dist/authoring/review_material.d.ts.map +1 -0
- package/dist/authoring/review_material.js +58 -0
- package/dist/authoring/review_material.js.map +1 -0
- package/dist/authoring/types.d.ts +145 -0
- package/dist/authoring/types.d.ts.map +1 -0
- package/dist/authoring/types.js +2 -0
- package/dist/authoring/types.js.map +1 -0
- package/dist/browse/document_adapter.d.ts +4 -0
- package/dist/browse/document_adapter.d.ts.map +1 -0
- package/dist/browse/document_adapter.js +151 -0
- package/dist/browse/document_adapter.js.map +1 -0
- package/dist/browse/trusted_document.d.ts +16 -0
- package/dist/browse/trusted_document.d.ts.map +1 -0
- package/dist/browse/trusted_document.js +56 -0
- package/dist/browse/trusted_document.js.map +1 -0
- package/dist/browser/browse.js +261 -0
- package/dist/browser/browse_controls.js +40 -0
- package/dist/browser/browse_details.js +56 -0
- package/dist/browser/browse_evidence.js +119 -0
- package/dist/browser/browse_fetch.js +33 -0
- package/dist/browser/browse_frames.js +62 -0
- package/dist/browser/browse_links.js +18 -0
- package/dist/browser/browse_navigation.js +74 -0
- package/dist/browser/browse_navigation_state.js +125 -0
- package/dist/browser/browse_recovery.js +43 -0
- package/dist/browser/browse_refresh.js +45 -0
- package/dist/browser/browse_state.js +165 -0
- package/dist/browser/browse_update_state.js +47 -0
- package/dist/browser/browser.js +71 -0
- package/dist/browser/clipboard.js +19 -0
- package/dist/browser/component_controls.js +424 -0
- package/dist/browser/component_geometry.js +125 -0
- package/dist/browser/component_highlight.js +152 -0
- package/dist/browser/component_occlusion.js +56 -0
- package/dist/browser/component_overlay.js +46 -0
- package/dist/browser/component_range_nodes.js +33 -0
- package/dist/browser/control_fields.js +326 -0
- package/dist/browser/control_surface.js +43 -0
- package/dist/browser/control_transport.js +47 -0
- package/dist/browser/diff_views.js +137 -0
- package/dist/browser/diffs.js +745 -0
- package/dist/browser/frame_navigation.js +84 -0
- package/dist/browser/inspector_panels.js +342 -0
- package/dist/browser/inspector_resize.js +96 -0
- package/dist/browser/inspector_tabs.js +84 -0
- package/dist/browser/live_updates.js +91 -0
- package/dist/browser/navigation-resize.js +116 -0
- package/dist/browser/navigation.js +35 -0
- package/dist/browser/preview_fragment.js +24 -0
- package/dist/browser/prop_display.js +12 -0
- package/dist/browser/search_query.js +45 -0
- package/dist/browser/static_delivery.js +64 -0
- package/dist/browser/tag_filter.js +105 -0
- package/dist/browser/workspace.js +275 -0
- package/dist/browser/workspace_events.js +50 -0
- package/dist/browser/workspace_evidence.js +207 -0
- package/dist/browser/workspace_loading.js +26 -0
- package/dist/browser/workspace_preview.js +88 -0
- package/dist/browser/workspace_updates.js +179 -0
- package/dist/browser/workspace_variants.js +84 -0
- package/dist/build/check.d.ts +5 -0
- package/dist/build/check.d.ts.map +1 -0
- package/dist/build/check.js +37 -0
- package/dist/build/check.js.map +1 -0
- package/dist/build/compact_runtime.d.ts +4 -0
- package/dist/build/compact_runtime.d.ts.map +1 -0
- package/dist/build/compact_runtime.js +28 -0
- package/dist/build/compact_runtime.js.map +1 -0
- package/dist/build/compile.d.ts +14 -0
- package/dist/build/compile.d.ts.map +1 -0
- package/dist/build/compile.js +105 -0
- package/dist/build/compile.js.map +1 -0
- package/dist/build/compile_runtime.d.ts +5 -0
- package/dist/build/compile_runtime.d.ts.map +1 -0
- package/dist/build/compile_runtime.js +12 -0
- package/dist/build/compile_runtime.js.map +1 -0
- package/dist/build/component_runtime.d.ts +16 -0
- package/dist/build/component_runtime.d.ts.map +1 -0
- package/dist/build/component_runtime.js +21 -0
- package/dist/build/component_runtime.js.map +1 -0
- package/dist/build/consumer_bundle.d.ts +10 -0
- package/dist/build/consumer_bundle.d.ts.map +1 -0
- package/dist/build/consumer_bundle.js +21 -0
- package/dist/build/consumer_bundle.js.map +1 -0
- package/dist/build/consumer_entry.d.ts +9 -0
- package/dist/build/consumer_entry.d.ts.map +1 -0
- package/dist/build/consumer_entry.js +110 -0
- package/dist/build/consumer_entry.js.map +1 -0
- package/dist/build/consumer_resolution.d.ts +7 -0
- package/dist/build/consumer_resolution.d.ts.map +1 -0
- package/dist/build/consumer_resolution.js +34 -0
- package/dist/build/consumer_resolution.js.map +1 -0
- package/dist/build/discovery.d.ts +5 -0
- package/dist/build/discovery.d.ts.map +1 -0
- package/dist/build/discovery.js +23 -0
- package/dist/build/discovery.js.map +1 -0
- package/dist/build/document_cache.d.ts +12 -0
- package/dist/build/document_cache.d.ts.map +1 -0
- package/dist/build/document_cache.js +41 -0
- package/dist/build/document_cache.js.map +1 -0
- package/dist/build/document_compiler.d.ts +32 -0
- package/dist/build/document_compiler.d.ts.map +1 -0
- package/dist/build/document_compiler.js +130 -0
- package/dist/build/document_compiler.js.map +1 -0
- package/dist/build/html_links.d.ts +12 -0
- package/dist/build/html_links.d.ts.map +1 -0
- package/dist/build/html_links.js +144 -0
- package/dist/build/html_links.js.map +1 -0
- package/dist/build/link_control_metadata.d.ts +20 -0
- package/dist/build/link_control_metadata.d.ts.map +1 -0
- package/dist/build/link_control_metadata.js +79 -0
- package/dist/build/link_control_metadata.js.map +1 -0
- package/dist/build/link_control_nodes.d.ts +15 -0
- package/dist/build/link_control_nodes.d.ts.map +1 -0
- package/dist/build/link_control_nodes.js +106 -0
- package/dist/build/link_control_nodes.js.map +1 -0
- package/dist/build/link_control_patches.d.ts +12 -0
- package/dist/build/link_control_patches.d.ts.map +1 -0
- package/dist/build/link_control_patches.js +76 -0
- package/dist/build/link_control_patches.js.map +1 -0
- package/dist/build/link_controls.d.ts +4 -0
- package/dist/build/link_controls.d.ts.map +1 -0
- package/dist/build/link_controls.js +115 -0
- package/dist/build/link_controls.js.map +1 -0
- package/dist/build/live_runtime.d.ts +4 -0
- package/dist/build/live_runtime.d.ts.map +1 -0
- package/dist/build/live_runtime.js +28 -0
- package/dist/build/live_runtime.js.map +1 -0
- package/dist/build/load_graph.d.ts +19 -0
- package/dist/build/load_graph.d.ts.map +1 -0
- package/dist/build/load_graph.js +119 -0
- package/dist/build/load_graph.js.map +1 -0
- package/dist/build/logical_record_types.d.ts +24 -0
- package/dist/build/logical_record_types.d.ts.map +1 -0
- package/dist/build/logical_record_types.js +19 -0
- package/dist/build/logical_record_types.js.map +1 -0
- package/dist/build/logical_records.d.ts +8 -0
- package/dist/build/logical_records.d.ts.map +1 -0
- package/dist/build/logical_records.js +131 -0
- package/dist/build/logical_records.js.map +1 -0
- package/dist/build/logical_routes.d.ts +6 -0
- package/dist/build/logical_routes.d.ts.map +1 -0
- package/dist/build/logical_routes.js +36 -0
- package/dist/build/logical_routes.js.map +1 -0
- package/dist/build/mock_links.d.ts +10 -0
- package/dist/build/mock_links.d.ts.map +1 -0
- package/dist/build/mock_links.js +163 -0
- package/dist/build/mock_links.js.map +1 -0
- package/dist/build/output_paths.d.ts +4 -0
- package/dist/build/output_paths.d.ts.map +1 -0
- package/dist/build/output_paths.js +43 -0
- package/dist/build/output_paths.js.map +1 -0
- package/dist/build/output_store.d.ts +13 -0
- package/dist/build/output_store.d.ts.map +1 -0
- package/dist/build/output_store.js +12 -0
- package/dist/build/output_store.js.map +1 -0
- package/dist/build/ownership.d.ts +16 -0
- package/dist/build/ownership.d.ts.map +1 -0
- package/dist/build/ownership.js +103 -0
- package/dist/build/ownership.js.map +1 -0
- package/dist/build/render.d.ts +19 -0
- package/dist/build/render.d.ts.map +1 -0
- package/dist/build/render.js +121 -0
- package/dist/build/render.js.map +1 -0
- package/dist/build/render_cooperative.d.ts +8 -0
- package/dist/build/render_cooperative.d.ts.map +1 -0
- package/dist/build/render_cooperative.js +38 -0
- package/dist/build/render_cooperative.js.map +1 -0
- package/dist/build/render_page.d.ts +6 -0
- package/dist/build/render_page.d.ts.map +1 -0
- package/dist/build/render_page.js +22 -0
- package/dist/build/render_page.js.map +1 -0
- package/dist/build/source_freshness.d.ts +5 -0
- package/dist/build/source_freshness.d.ts.map +1 -0
- package/dist/build/source_freshness.js +25 -0
- package/dist/build/source_freshness.js.map +1 -0
- package/dist/build/source_inventory.d.ts +11 -0
- package/dist/build/source_inventory.d.ts.map +1 -0
- package/dist/build/source_inventory.js +74 -0
- package/dist/build/source_inventory.js.map +1 -0
- package/dist/build/transaction.d.ts +5 -0
- package/dist/build/transaction.d.ts.map +1 -0
- package/dist/build/transaction.js +81 -0
- package/dist/build/transaction.js.map +1 -0
- package/dist/cli/arguments.d.ts +20 -0
- package/dist/cli/arguments.d.ts.map +1 -0
- package/dist/cli/arguments.js +104 -0
- package/dist/cli/arguments.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +16 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/export.d.ts +5 -0
- package/dist/cli/export.d.ts.map +1 -0
- package/dist/cli/export.js +19 -0
- package/dist/cli/export.js.map +1 -0
- package/dist/cli/help.d.ts +3 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +27 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/run.d.ts +3 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +102 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/client/browse.d.ts +3 -0
- package/dist/client/browse.d.ts.map +1 -0
- package/dist/client/browse.js +219 -0
- package/dist/client/browse.js.map +1 -0
- package/dist/client/browse_controls.d.ts +2 -0
- package/dist/client/browse_controls.d.ts.map +1 -0
- package/dist/client/browse_controls.js +41 -0
- package/dist/client/browse_controls.js.map +1 -0
- package/dist/client/browse_details.d.ts +23 -0
- package/dist/client/browse_details.d.ts.map +1 -0
- package/dist/client/browse_details.js +62 -0
- package/dist/client/browse_details.js.map +1 -0
- package/dist/client/browse_evidence.d.ts +4 -0
- package/dist/client/browse_evidence.d.ts.map +1 -0
- package/dist/client/browse_evidence.js +99 -0
- package/dist/client/browse_evidence.js.map +1 -0
- package/dist/client/browse_fetch.d.ts +7 -0
- package/dist/client/browse_fetch.d.ts.map +1 -0
- package/dist/client/browse_fetch.js +39 -0
- package/dist/client/browse_fetch.js.map +1 -0
- package/dist/client/browse_frames.d.ts +18 -0
- package/dist/client/browse_frames.d.ts.map +1 -0
- package/dist/client/browse_frames.js +79 -0
- package/dist/client/browse_frames.js.map +1 -0
- package/dist/client/browse_links.d.ts +3 -0
- package/dist/client/browse_links.d.ts.map +1 -0
- package/dist/client/browse_links.js +23 -0
- package/dist/client/browse_links.js.map +1 -0
- package/dist/client/browse_navigation.d.ts +23 -0
- package/dist/client/browse_navigation.d.ts.map +1 -0
- package/dist/client/browse_navigation.js +83 -0
- package/dist/client/browse_navigation.js.map +1 -0
- package/dist/client/browse_navigation_state.d.ts +27 -0
- package/dist/client/browse_navigation_state.d.ts.map +1 -0
- package/dist/client/browse_navigation_state.js +132 -0
- package/dist/client/browse_navigation_state.js.map +1 -0
- package/dist/client/browse_recovery.d.ts +4 -0
- package/dist/client/browse_recovery.d.ts.map +1 -0
- package/dist/client/browse_recovery.js +61 -0
- package/dist/client/browse_recovery.js.map +1 -0
- package/dist/client/browse_refresh.d.ts +2 -0
- package/dist/client/browse_refresh.d.ts.map +1 -0
- package/dist/client/browse_refresh.js +50 -0
- package/dist/client/browse_refresh.js.map +1 -0
- package/dist/client/browse_state.d.ts +51 -0
- package/dist/client/browse_state.d.ts.map +1 -0
- package/dist/client/browse_state.js +174 -0
- package/dist/client/browse_state.js.map +1 -0
- package/dist/client/browse_update_state.d.ts +12 -0
- package/dist/client/browse_update_state.d.ts.map +1 -0
- package/dist/client/browse_update_state.js +44 -0
- package/dist/client/browse_update_state.js.map +1 -0
- package/dist/client/browser.d.ts +25 -0
- package/dist/client/browser.d.ts.map +1 -0
- package/dist/client/browser.js +50 -0
- package/dist/client/browser.js.map +1 -0
- package/dist/client/clipboard.d.ts +3 -0
- package/dist/client/clipboard.d.ts.map +1 -0
- package/dist/client/clipboard.js +17 -0
- package/dist/client/clipboard.js.map +1 -0
- package/dist/client/component_controls.d.ts +35 -0
- package/dist/client/component_controls.d.ts.map +1 -0
- package/dist/client/component_controls.js +242 -0
- package/dist/client/component_controls.js.map +1 -0
- package/dist/client/component_geometry.d.ts +25 -0
- package/dist/client/component_geometry.d.ts.map +1 -0
- package/dist/client/component_geometry.js +147 -0
- package/dist/client/component_geometry.js.map +1 -0
- package/dist/client/component_highlight.d.ts +9 -0
- package/dist/client/component_highlight.d.ts.map +1 -0
- package/dist/client/component_highlight.js +154 -0
- package/dist/client/component_highlight.js.map +1 -0
- package/dist/client/component_occlusion.d.ts +11 -0
- package/dist/client/component_occlusion.d.ts.map +1 -0
- package/dist/client/component_occlusion.js +52 -0
- package/dist/client/component_occlusion.js.map +1 -0
- package/dist/client/component_overlay.d.ts +6 -0
- package/dist/client/component_overlay.d.ts.map +1 -0
- package/dist/client/component_overlay.js +39 -0
- package/dist/client/component_overlay.js.map +1 -0
- package/dist/client/component_range_nodes.d.ts +6 -0
- package/dist/client/component_range_nodes.d.ts.map +1 -0
- package/dist/client/component_range_nodes.js +35 -0
- package/dist/client/component_range_nodes.js.map +1 -0
- package/dist/client/control_fields.d.ts +9 -0
- package/dist/client/control_fields.d.ts.map +1 -0
- package/dist/client/control_fields.js +155 -0
- package/dist/client/control_fields.js.map +1 -0
- package/dist/client/control_surface.d.ts +14 -0
- package/dist/client/control_surface.d.ts.map +1 -0
- package/dist/client/control_surface.js +41 -0
- package/dist/client/control_surface.js.map +1 -0
- package/dist/client/control_transport.d.ts +7 -0
- package/dist/client/control_transport.d.ts.map +1 -0
- package/dist/client/control_transport.js +51 -0
- package/dist/client/control_transport.js.map +1 -0
- package/dist/client/diff_views.d.ts +12 -0
- package/dist/client/diff_views.d.ts.map +1 -0
- package/dist/client/diff_views.js +128 -0
- package/dist/client/diff_views.js.map +1 -0
- package/dist/client/diffs.d.ts +7 -0
- package/dist/client/diffs.d.ts.map +1 -0
- package/dist/client/diffs.js +204 -0
- package/dist/client/diffs.js.map +1 -0
- package/dist/client/frame_navigation.d.ts +32 -0
- package/dist/client/frame_navigation.d.ts.map +1 -0
- package/dist/client/frame_navigation.js +97 -0
- package/dist/client/frame_navigation.js.map +1 -0
- package/dist/client/inspector_panels.d.ts +15 -0
- package/dist/client/inspector_panels.d.ts.map +1 -0
- package/dist/client/inspector_panels.js +167 -0
- package/dist/client/inspector_panels.js.map +1 -0
- package/dist/client/inspector_resize.d.ts +3 -0
- package/dist/client/inspector_resize.d.ts.map +1 -0
- package/dist/client/inspector_resize.js +93 -0
- package/dist/client/inspector_resize.js.map +1 -0
- package/dist/client/inspector_tabs.d.ts +7 -0
- package/dist/client/inspector_tabs.d.ts.map +1 -0
- package/dist/client/inspector_tabs.js +71 -0
- package/dist/client/inspector_tabs.js.map +1 -0
- package/dist/client/live_updates.d.ts +43 -0
- package/dist/client/live_updates.d.ts.map +1 -0
- package/dist/client/live_updates.js +105 -0
- package/dist/client/live_updates.js.map +1 -0
- package/dist/client/nav_resize.d.ts +4 -0
- package/dist/client/nav_resize.d.ts.map +1 -0
- package/dist/client/nav_resize.js +135 -0
- package/dist/client/nav_resize.js.map +1 -0
- package/dist/client/navigation-resize.js +116 -0
- package/dist/client/navigation.d.ts +26 -0
- package/dist/client/navigation.d.ts.map +1 -0
- package/dist/client/navigation.js +40 -0
- package/dist/client/navigation.js.map +1 -0
- package/dist/client/preview_fragment.d.ts +4 -0
- package/dist/client/preview_fragment.d.ts.map +1 -0
- package/dist/client/preview_fragment.js +23 -0
- package/dist/client/preview_fragment.js.map +1 -0
- package/dist/client/prop_display.d.ts +4 -0
- package/dist/client/prop_display.d.ts.map +1 -0
- package/dist/client/prop_display.js +14 -0
- package/dist/client/prop_display.js.map +1 -0
- package/dist/client/search_query.d.ts +22 -0
- package/dist/client/search_query.d.ts.map +1 -0
- package/dist/client/search_query.js +51 -0
- package/dist/client/search_query.js.map +1 -0
- package/dist/client/static_delivery.d.ts +10 -0
- package/dist/client/static_delivery.d.ts.map +1 -0
- package/dist/client/static_delivery.js +61 -0
- package/dist/client/static_delivery.js.map +1 -0
- package/dist/client/tag_filter.d.ts +31 -0
- package/dist/client/tag_filter.d.ts.map +1 -0
- package/dist/client/tag_filter.js +155 -0
- package/dist/client/tag_filter.js.map +1 -0
- package/dist/client/workspace.d.ts +2 -0
- package/dist/client/workspace.d.ts.map +1 -0
- package/dist/client/workspace.js +215 -0
- package/dist/client/workspace.js.map +1 -0
- package/dist/client/workspace_events.d.ts +11 -0
- package/dist/client/workspace_events.d.ts.map +1 -0
- package/dist/client/workspace_events.js +40 -0
- package/dist/client/workspace_events.js.map +1 -0
- package/dist/client/workspace_evidence.d.ts +4 -0
- package/dist/client/workspace_evidence.d.ts.map +1 -0
- package/dist/client/workspace_evidence.js +68 -0
- package/dist/client/workspace_evidence.js.map +1 -0
- package/dist/client/workspace_loading.d.ts +4 -0
- package/dist/client/workspace_loading.d.ts.map +1 -0
- package/dist/client/workspace_loading.js +31 -0
- package/dist/client/workspace_loading.js.map +1 -0
- package/dist/client/workspace_preview.d.ts +12 -0
- package/dist/client/workspace_preview.d.ts.map +1 -0
- package/dist/client/workspace_preview.js +78 -0
- package/dist/client/workspace_preview.js.map +1 -0
- package/dist/client/workspace_updates.d.ts +10 -0
- package/dist/client/workspace_updates.d.ts.map +1 -0
- package/dist/client/workspace_updates.js +176 -0
- package/dist/client/workspace_updates.js.map +1 -0
- package/dist/client/workspace_variants.d.ts +11 -0
- package/dist/client/workspace_variants.d.ts.map +1 -0
- package/dist/client/workspace_variants.js +94 -0
- package/dist/client/workspace_variants.js.map +1 -0
- package/dist/compatibility/transform.d.ts +15 -0
- package/dist/compatibility/transform.d.ts.map +1 -0
- package/dist/compatibility/transform.js +80 -0
- package/dist/compatibility/transform.js.map +1 -0
- package/dist/compatibility/types.d.ts +21 -0
- package/dist/compatibility/types.d.ts.map +1 -0
- package/dist/compatibility/types.js +2 -0
- package/dist/compatibility/types.js.map +1 -0
- package/dist/components/codec.d.ts +8 -0
- package/dist/components/codec.d.ts.map +1 -0
- package/dist/components/codec.js +82 -0
- package/dist/components/codec.js.map +1 -0
- package/dist/components/collector.d.ts +26 -0
- package/dist/components/collector.d.ts.map +1 -0
- package/dist/components/collector.js +68 -0
- package/dist/components/collector.js.map +1 -0
- package/dist/components/comparison_material.d.ts +23 -0
- package/dist/components/comparison_material.d.ts.map +1 -0
- package/dist/components/comparison_material.js +95 -0
- package/dist/components/comparison_material.js.map +1 -0
- package/dist/components/comparison_projection.d.ts +16 -0
- package/dist/components/comparison_projection.d.ts.map +1 -0
- package/dist/components/comparison_projection.js +114 -0
- package/dist/components/comparison_projection.js.map +1 -0
- package/dist/components/control_types.d.ts +36 -0
- package/dist/components/control_types.d.ts.map +1 -0
- package/dist/components/control_types.js +2 -0
- package/dist/components/control_types.js.map +1 -0
- package/dist/components/controls.d.ts +6 -0
- package/dist/components/controls.d.ts.map +1 -0
- package/dist/components/controls.js +99 -0
- package/dist/components/controls.js.map +1 -0
- package/dist/components/data.d.ts +23 -0
- package/dist/components/data.d.ts.map +1 -0
- package/dist/components/data.js +119 -0
- package/dist/components/data.js.map +1 -0
- package/dist/components/definition.d.ts +7 -0
- package/dist/components/definition.d.ts.map +1 -0
- package/dist/components/definition.js +81 -0
- package/dist/components/definition.js.map +1 -0
- package/dist/components/dependency_validation.d.ts +4 -0
- package/dist/components/dependency_validation.d.ts.map +1 -0
- package/dist/components/dependency_validation.js +12 -0
- package/dist/components/dependency_validation.js.map +1 -0
- package/dist/components/inputs.d.ts +9 -0
- package/dist/components/inputs.d.ts.map +1 -0
- package/dist/components/inputs.js +41 -0
- package/dist/components/inputs.js.map +1 -0
- package/dist/components/keys.d.ts +5 -0
- package/dist/components/keys.d.ts.map +1 -0
- package/dist/components/keys.js +20 -0
- package/dist/components/keys.js.map +1 -0
- package/dist/components/manifest_build.d.ts +7 -0
- package/dist/components/manifest_build.d.ts.map +1 -0
- package/dist/components/manifest_build.js +40 -0
- package/dist/components/manifest_build.js.map +1 -0
- package/dist/components/manifest_types.d.ts +80 -0
- package/dist/components/manifest_types.d.ts.map +1 -0
- package/dist/components/manifest_types.js +2 -0
- package/dist/components/manifest_types.js.map +1 -0
- package/dist/components/manifest_validation.d.ts +7 -0
- package/dist/components/manifest_validation.d.ts.map +1 -0
- package/dist/components/manifest_validation.js +150 -0
- package/dist/components/manifest_validation.js.map +1 -0
- package/dist/components/output_validation.d.ts +5 -0
- package/dist/components/output_validation.d.ts.map +1 -0
- package/dist/components/output_validation.js +14 -0
- package/dist/components/output_validation.js.map +1 -0
- package/dist/components/paths.d.ts +4 -0
- package/dist/components/paths.d.ts.map +1 -0
- package/dist/components/paths.js +5 -0
- package/dist/components/paths.js.map +1 -0
- package/dist/components/prop_types.d.ts +72 -0
- package/dist/components/prop_types.d.ts.map +1 -0
- package/dist/components/prop_types.js +2 -0
- package/dist/components/prop_types.js.map +1 -0
- package/dist/components/props.d.ts +5 -0
- package/dist/components/props.d.ts.map +1 -0
- package/dist/components/props.js +72 -0
- package/dist/components/props.js.map +1 -0
- package/dist/components/ranges.d.ts +16 -0
- package/dist/components/ranges.d.ts.map +1 -0
- package/dist/components/ranges.js +133 -0
- package/dist/components/ranges.js.map +1 -0
- package/dist/components/render.d.ts +11 -0
- package/dist/components/render.d.ts.map +1 -0
- package/dist/components/render.js +38 -0
- package/dist/components/render.js.map +1 -0
- package/dist/components/render_context.d.ts +7 -0
- package/dist/components/render_context.d.ts.map +1 -0
- package/dist/components/render_context.js +4 -0
- package/dist/components/render_context.js.map +1 -0
- package/dist/components/render_request.d.ts +9 -0
- package/dist/components/render_request.d.ts.map +1 -0
- package/dist/components/render_request.js +67 -0
- package/dist/components/render_request.js.map +1 -0
- package/dist/components/render_types.d.ts +37 -0
- package/dist/components/render_types.d.ts.map +1 -0
- package/dist/components/render_types.js +20 -0
- package/dist/components/render_types.js.map +1 -0
- package/dist/components/schema.d.ts +5 -0
- package/dist/components/schema.d.ts.map +1 -0
- package/dist/components/schema.js +87 -0
- package/dist/components/schema.js.map +1 -0
- package/dist/components/style_ownership.d.ts +4 -0
- package/dist/components/style_ownership.d.ts.map +1 -0
- package/dist/components/style_ownership.js +47 -0
- package/dist/components/style_ownership.js.map +1 -0
- package/dist/components/types.d.ts +50 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/components/types.js +2 -0
- package/dist/components/types.js.map +1 -0
- package/dist/components/validation_helpers.d.ts +3 -0
- package/dist/components/validation_helpers.d.ts.map +1 -0
- package/dist/components/validation_helpers.js +15 -0
- package/dist/components/validation_helpers.js.map +1 -0
- package/dist/components/view_references.d.ts +4 -0
- package/dist/components/view_references.d.ts.map +1 -0
- package/dist/components/view_references.js +74 -0
- package/dist/components/view_references.js.map +1 -0
- package/dist/components/view_validation.d.ts +5 -0
- package/dist/components/view_validation.d.ts.map +1 -0
- package/dist/components/view_validation.js +128 -0
- package/dist/components/view_validation.js.map +1 -0
- package/dist/components/views.d.ts +16 -0
- package/dist/components/views.d.ts.map +1 -0
- package/dist/components/views.js +41 -0
- package/dist/components/views.js.map +1 -0
- package/dist/components/wrapper.d.ts +5 -0
- package/dist/components/wrapper.d.ts.map +1 -0
- package/dist/components/wrapper.js +67 -0
- package/dist/components/wrapper.js.map +1 -0
- package/dist/config/define.d.ts +4 -0
- package/dist/config/define.d.ts.map +1 -0
- package/dist/config/define.js +5 -0
- package/dist/config/define.js.map +1 -0
- package/dist/config/file_locations.d.ts +10 -0
- package/dist/config/file_locations.d.ts.map +1 -0
- package/dist/config/file_locations.js +26 -0
- package/dist/config/file_locations.js.map +1 -0
- package/dist/config/load.d.ts +14 -0
- package/dist/config/load.d.ts.map +1 -0
- package/dist/config/load.js +105 -0
- package/dist/config/load.js.map +1 -0
- package/dist/config/module_resolution.d.ts +4 -0
- package/dist/config/module_resolution.d.ts.map +1 -0
- package/dist/config/module_resolution.js +119 -0
- package/dist/config/module_resolution.js.map +1 -0
- package/dist/config/path_validation.d.ts +16 -0
- package/dist/config/path_validation.d.ts.map +1 -0
- package/dist/config/path_validation.js +60 -0
- package/dist/config/path_validation.js.map +1 -0
- package/dist/config/paths.d.ts +21 -0
- package/dist/config/paths.d.ts.map +1 -0
- package/dist/config/paths.js +107 -0
- package/dist/config/paths.js.map +1 -0
- package/dist/config/public_files.d.ts +13 -0
- package/dist/config/public_files.d.ts.map +1 -0
- package/dist/config/public_files.js +51 -0
- package/dist/config/public_files.js.map +1 -0
- package/dist/config/rules.d.ts +15 -0
- package/dist/config/rules.d.ts.map +1 -0
- package/dist/config/rules.js +153 -0
- package/dist/config/rules.js.map +1 -0
- package/dist/config/types.d.ts +116 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/config/validate.d.ts +4 -0
- package/dist/config/validate.d.ts.map +1 -0
- package/dist/config/validate.js +74 -0
- package/dist/config/validate.js.map +1 -0
- package/dist/diagnostics/timings.d.ts +30 -0
- package/dist/diagnostics/timings.d.ts.map +1 -0
- package/dist/diagnostics/timings.js +118 -0
- package/dist/diagnostics/timings.js.map +1 -0
- package/dist/errors.d.ts +10 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +14 -0
- package/dist/errors.js.map +1 -0
- package/dist/export/backup.d.ts +18 -0
- package/dist/export/backup.d.ts.map +1 -0
- package/dist/export/backup.js +61 -0
- package/dist/export/backup.js.map +1 -0
- package/dist/export/cleanup.d.ts +5 -0
- package/dist/export/cleanup.d.ts.map +1 -0
- package/dist/export/cleanup.js +25 -0
- package/dist/export/cleanup.js.map +1 -0
- package/dist/export/content_id.d.ts +8 -0
- package/dist/export/content_id.d.ts.map +1 -0
- package/dist/export/content_id.js +29 -0
- package/dist/export/content_id.js.map +1 -0
- package/dist/export/deployment.d.ts +5 -0
- package/dist/export/deployment.d.ts.map +1 -0
- package/dist/export/deployment.js +20 -0
- package/dist/export/deployment.js.map +1 -0
- package/dist/export/destination.d.ts +18 -0
- package/dist/export/destination.d.ts.map +1 -0
- package/dist/export/destination.js +36 -0
- package/dist/export/destination.js.map +1 -0
- package/dist/export/error.d.ts +6 -0
- package/dist/export/error.d.ts.map +1 -0
- package/dist/export/error.js +11 -0
- package/dist/export/error.js.map +1 -0
- package/dist/export/ignored.d.ts +3 -0
- package/dist/export/ignored.d.ts.map +1 -0
- package/dist/export/ignored.js +69 -0
- package/dist/export/ignored.js.map +1 -0
- package/dist/export/inputs.d.ts +11 -0
- package/dist/export/inputs.d.ts.map +1 -0
- package/dist/export/inputs.js +60 -0
- package/dist/export/inputs.js.map +1 -0
- package/dist/export/inventory.d.ts +9 -0
- package/dist/export/inventory.d.ts.map +1 -0
- package/dist/export/inventory.js +16 -0
- package/dist/export/inventory.js.map +1 -0
- package/dist/export/operations.d.ts +13 -0
- package/dist/export/operations.d.ts.map +1 -0
- package/dist/export/operations.js +20 -0
- package/dist/export/operations.js.map +1 -0
- package/dist/export/ownership.d.ts +25 -0
- package/dist/export/ownership.d.ts.map +1 -0
- package/dist/export/ownership.js +89 -0
- package/dist/export/ownership.js.map +1 -0
- package/dist/export/path_index.d.ts +7 -0
- package/dist/export/path_index.d.ts.map +1 -0
- package/dist/export/path_index.js +21 -0
- package/dist/export/path_index.js.map +1 -0
- package/dist/export/paths.d.ts +4 -0
- package/dist/export/paths.d.ts.map +1 -0
- package/dist/export/paths.js +52 -0
- package/dist/export/paths.js.map +1 -0
- package/dist/export/public_files.d.ts +4 -0
- package/dist/export/public_files.d.ts.map +1 -0
- package/dist/export/public_files.js +32 -0
- package/dist/export/public_files.js.map +1 -0
- package/dist/export/references.d.ts +4 -0
- package/dist/export/references.d.ts.map +1 -0
- package/dist/export/references.js +86 -0
- package/dist/export/references.js.map +1 -0
- package/dist/export/rename.d.ts +3 -0
- package/dist/export/rename.d.ts.map +1 -0
- package/dist/export/rename.js +65 -0
- package/dist/export/rename.js.map +1 -0
- package/dist/export/reservation.d.ts +9 -0
- package/dist/export/reservation.d.ts.map +1 -0
- package/dist/export/reservation.js +63 -0
- package/dist/export/reservation.js.map +1 -0
- package/dist/export/resource_policy.d.ts +8 -0
- package/dist/export/resource_policy.d.ts.map +1 -0
- package/dist/export/resource_policy.js +55 -0
- package/dist/export/resource_policy.js.map +1 -0
- package/dist/export/run.d.ts +5 -0
- package/dist/export/run.d.ts.map +1 -0
- package/dist/export/run.js +66 -0
- package/dist/export/run.js.map +1 -0
- package/dist/export/shell_metadata.d.ts +16 -0
- package/dist/export/shell_metadata.d.ts.map +1 -0
- package/dist/export/shell_metadata.js +76 -0
- package/dist/export/shell_metadata.js.map +1 -0
- package/dist/export/site.d.ts +13 -0
- package/dist/export/site.d.ts.map +1 -0
- package/dist/export/site.js +122 -0
- package/dist/export/site.js.map +1 -0
- package/dist/export/stage.d.ts +5 -0
- package/dist/export/stage.d.ts.map +1 -0
- package/dist/export/stage.js +24 -0
- package/dist/export/stage.js.map +1 -0
- package/dist/export/transaction.d.ts +26 -0
- package/dist/export/transaction.d.ts.map +1 -0
- package/dist/export/transaction.js +105 -0
- package/dist/export/transaction.js.map +1 -0
- package/dist/export/types.d.ts +28 -0
- package/dist/export/types.d.ts.map +1 -0
- package/dist/export/types.js +2 -0
- package/dist/export/types.js.map +1 -0
- package/dist/html_link_validation.d.ts +16 -0
- package/dist/html_link_validation.d.ts.map +1 -0
- package/dist/html_link_validation.js +35 -0
- package/dist/html_link_validation.js.map +1 -0
- package/dist/html_references.d.ts +15 -0
- package/dist/html_references.d.ts.map +1 -0
- package/dist/html_references.js +99 -0
- package/dist/html_references.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/navigation/delivery.d.ts +18 -0
- package/dist/navigation/delivery.d.ts.map +1 -0
- package/dist/navigation/delivery.js +69 -0
- package/dist/navigation/delivery.js.map +1 -0
- package/dist/navigation/logical.d.ts +20 -0
- package/dist/navigation/logical.d.ts.map +1 -0
- package/dist/navigation/logical.js +36 -0
- package/dist/navigation/logical.js.map +1 -0
- package/dist/navigation/reserved_attributes.d.ts +17 -0
- package/dist/navigation/reserved_attributes.d.ts.map +1 -0
- package/dist/navigation/reserved_attributes.js +85 -0
- package/dist/navigation/reserved_attributes.js.map +1 -0
- package/dist/navigation/target.d.ts +20 -0
- package/dist/navigation/target.d.ts.map +1 -0
- package/dist/navigation/target.js +32 -0
- package/dist/navigation/target.js.map +1 -0
- package/dist/publication/files.d.ts +24 -0
- package/dist/publication/files.d.ts.map +1 -0
- package/dist/publication/files.js +114 -0
- package/dist/publication/files.js.map +1 -0
- package/dist/publication/options.d.ts +16 -0
- package/dist/publication/options.d.ts.map +1 -0
- package/dist/publication/options.js +59 -0
- package/dist/publication/options.js.map +1 -0
- package/dist/publication/resources.d.ts +5 -0
- package/dist/publication/resources.d.ts.map +1 -0
- package/dist/publication/resources.js +73 -0
- package/dist/publication/resources.js.map +1 -0
- package/dist/registry/catalogue_index.d.ts +14 -0
- package/dist/registry/catalogue_index.d.ts.map +1 -0
- package/dist/registry/catalogue_index.js +32 -0
- package/dist/registry/catalogue_index.js.map +1 -0
- package/dist/registry/changed_routes.d.ts +5 -0
- package/dist/registry/changed_routes.d.ts.map +1 -0
- package/dist/registry/changed_routes.js +91 -0
- package/dist/registry/changed_routes.js.map +1 -0
- package/dist/registry/changes.d.ts +22 -0
- package/dist/registry/changes.d.ts.map +1 -0
- package/dist/registry/changes.js +22 -0
- package/dist/registry/changes.js.map +1 -0
- package/dist/registry/dependency_paths.d.ts +4 -0
- package/dist/registry/dependency_paths.d.ts.map +1 -0
- package/dist/registry/dependency_paths.js +6 -0
- package/dist/registry/dependency_paths.js.map +1 -0
- package/dist/registry/entry_validation.d.ts +8 -0
- package/dist/registry/entry_validation.d.ts.map +1 -0
- package/dist/registry/entry_validation.js +171 -0
- package/dist/registry/entry_validation.js.map +1 -0
- package/dist/registry/hierarchy.d.ts +29 -0
- package/dist/registry/hierarchy.d.ts.map +1 -0
- package/dist/registry/hierarchy.js +155 -0
- package/dist/registry/hierarchy.js.map +1 -0
- package/dist/registry/manifest.d.ts +28 -0
- package/dist/registry/manifest.d.ts.map +1 -0
- package/dist/registry/manifest.js +145 -0
- package/dist/registry/manifest.js.map +1 -0
- package/dist/registry/manifest_capabilities.d.ts +4 -0
- package/dist/registry/manifest_capabilities.d.ts.map +1 -0
- package/dist/registry/manifest_capabilities.js +5 -0
- package/dist/registry/manifest_capabilities.js.map +1 -0
- package/dist/registry/manifest_entries.d.ts +5 -0
- package/dist/registry/manifest_entries.d.ts.map +1 -0
- package/dist/registry/manifest_entries.js +155 -0
- package/dist/registry/manifest_entries.js.map +1 -0
- package/dist/registry/manifest_relationships.d.ts +3 -0
- package/dist/registry/manifest_relationships.d.ts.map +1 -0
- package/dist/registry/manifest_relationships.js +44 -0
- package/dist/registry/manifest_relationships.js.map +1 -0
- package/dist/registry/manifest_validation.d.ts +6 -0
- package/dist/registry/manifest_validation.d.ts.map +1 -0
- package/dist/registry/manifest_validation.js +132 -0
- package/dist/registry/manifest_validation.js.map +1 -0
- package/dist/registry/manifest_values.d.ts +11 -0
- package/dist/registry/manifest_values.d.ts.map +1 -0
- package/dist/registry/manifest_values.js +28 -0
- package/dist/registry/manifest_values.js.map +1 -0
- package/dist/registry/prepare.d.ts +5 -0
- package/dist/registry/prepare.d.ts.map +1 -0
- package/dist/registry/prepare.js +90 -0
- package/dist/registry/prepare.js.map +1 -0
- package/dist/registry/relationships.d.ts +7 -0
- package/dist/registry/relationships.d.ts.map +1 -0
- package/dist/registry/relationships.js +64 -0
- package/dist/registry/relationships.js.map +1 -0
- package/dist/registry/types.d.ts +113 -0
- package/dist/registry/types.d.ts.map +1 -0
- package/dist/registry/types.js +2 -0
- package/dist/registry/types.js.map +1 -0
- package/dist/registry/views.d.ts +14 -0
- package/dist/registry/views.d.ts.map +1 -0
- package/dist/registry/views.js +8 -0
- package/dist/registry/views.js.map +1 -0
- package/dist/renderer/default.d.ts +4 -0
- package/dist/renderer/default.d.ts.map +1 -0
- package/dist/renderer/default.js +23 -0
- package/dist/renderer/default.js.map +1 -0
- package/dist/renderer/sentinels.d.ts +3 -0
- package/dist/renderer/sentinels.d.ts.map +1 -0
- package/dist/renderer/sentinels.js +22 -0
- package/dist/renderer/sentinels.js.map +1 -0
- package/dist/renderer/types.d.ts +23 -0
- package/dist/renderer/types.d.ts.map +1 -0
- package/dist/renderer/types.js +2 -0
- package/dist/renderer/types.js.map +1 -0
- package/dist/review/artifact.d.ts +7 -0
- package/dist/review/artifact.d.ts.map +1 -0
- package/dist/review/artifact.js +48 -0
- package/dist/review/artifact.js.map +1 -0
- package/dist/review/asset_references.d.ts +5 -0
- package/dist/review/asset_references.d.ts.map +1 -0
- package/dist/review/asset_references.js +56 -0
- package/dist/review/asset_references.js.map +1 -0
- package/dist/review/assets.d.ts +45 -0
- package/dist/review/assets.d.ts.map +1 -0
- package/dist/review/assets.js +171 -0
- package/dist/review/assets.js.map +1 -0
- package/dist/review/base_manifest.d.ts +8 -0
- package/dist/review/base_manifest.d.ts.map +1 -0
- package/dist/review/base_manifest.js +26 -0
- package/dist/review/base_manifest.js.map +1 -0
- package/dist/review/changed_paths.d.ts +5 -0
- package/dist/review/changed_paths.d.ts.map +1 -0
- package/dist/review/changed_paths.js +32 -0
- package/dist/review/changed_paths.js.map +1 -0
- package/dist/review/compare.d.ts +8 -0
- package/dist/review/compare.d.ts.map +1 -0
- package/dist/review/compare.js +58 -0
- package/dist/review/compare.js.map +1 -0
- package/dist/review/component_affected.d.ts +6 -0
- package/dist/review/component_affected.d.ts.map +1 -0
- package/dist/review/component_affected.js +96 -0
- package/dist/review/component_affected.js.map +1 -0
- package/dist/review/component_classification.d.ts +17 -0
- package/dist/review/component_classification.d.ts.map +1 -0
- package/dist/review/component_classification.js +202 -0
- package/dist/review/component_classification.js.map +1 -0
- package/dist/review/component_compare.d.ts +8 -0
- package/dist/review/component_compare.d.ts.map +1 -0
- package/dist/review/component_compare.js +40 -0
- package/dist/review/component_compare.js.map +1 -0
- package/dist/review/component_metadata.d.ts +29 -0
- package/dist/review/component_metadata.d.ts.map +1 -0
- package/dist/review/component_metadata.js +107 -0
- package/dist/review/component_metadata.js.map +1 -0
- package/dist/review/component_pairing.d.ts +9 -0
- package/dist/review/component_pairing.d.ts.map +1 -0
- package/dist/review/component_pairing.js +18 -0
- package/dist/review/component_pairing.js.map +1 -0
- package/dist/review/component_resources.d.ts +14 -0
- package/dist/review/component_resources.d.ts.map +1 -0
- package/dist/review/component_resources.js +50 -0
- package/dist/review/component_resources.js.map +1 -0
- package/dist/review/component_result_sources.d.ts +5 -0
- package/dist/review/component_result_sources.d.ts.map +1 -0
- package/dist/review/component_result_sources.js +94 -0
- package/dist/review/component_result_sources.js.map +1 -0
- package/dist/review/component_types.d.ts +78 -0
- package/dist/review/component_types.d.ts.map +1 -0
- package/dist/review/component_types.js +2 -0
- package/dist/review/component_types.js.map +1 -0
- package/dist/review/component_view.d.ts +20 -0
- package/dist/review/component_view.d.ts.map +1 -0
- package/dist/review/component_view.js +76 -0
- package/dist/review/component_view.js.map +1 -0
- package/dist/review/evidence_assets.d.ts +17 -0
- package/dist/review/evidence_assets.d.ts.map +1 -0
- package/dist/review/evidence_assets.js +66 -0
- package/dist/review/evidence_assets.js.map +1 -0
- package/dist/review/git.d.ts +49 -0
- package/dist/review/git.d.ts.map +1 -0
- package/dist/review/git.js +142 -0
- package/dist/review/git.js.map +1 -0
- package/dist/review/git_batch.d.ts +4 -0
- package/dist/review/git_batch.d.ts.map +1 -0
- package/dist/review/git_batch.js +207 -0
- package/dist/review/git_batch.js.map +1 -0
- package/dist/review/git_process.d.ts +2 -0
- package/dist/review/git_process.d.ts.map +1 -0
- package/dist/review/git_process.js +79 -0
- package/dist/review/git_process.js.map +1 -0
- package/dist/review/ignore.d.ts +13 -0
- package/dist/review/ignore.d.ts.map +1 -0
- package/dist/review/ignore.js +148 -0
- package/dist/review/ignore.js.map +1 -0
- package/dist/review/markdown.d.ts +5 -0
- package/dist/review/markdown.d.ts.map +1 -0
- package/dist/review/markdown.js +17 -0
- package/dist/review/markdown.js.map +1 -0
- package/dist/review/materiality.d.ts +7 -0
- package/dist/review/materiality.d.ts.map +1 -0
- package/dist/review/materiality.js +10 -0
- package/dist/review/materiality.js.map +1 -0
- package/dist/review/page_baselines.d.ts +7 -0
- package/dist/review/page_baselines.d.ts.map +1 -0
- package/dist/review/page_baselines.js +16 -0
- package/dist/review/page_baselines.js.map +1 -0
- package/dist/review/paths.d.ts +6 -0
- package/dist/review/paths.d.ts.map +1 -0
- package/dist/review/paths.js +13 -0
- package/dist/review/paths.js.map +1 -0
- package/dist/review/resource_graph.d.ts +13 -0
- package/dist/review/resource_graph.d.ts.map +1 -0
- package/dist/review/resource_graph.js +27 -0
- package/dist/review/resource_graph.js.map +1 -0
- package/dist/review/result_helpers.d.ts +15 -0
- package/dist/review/result_helpers.d.ts.map +1 -0
- package/dist/review/result_helpers.js +85 -0
- package/dist/review/result_helpers.js.map +1 -0
- package/dist/review/result_records.d.ts +5 -0
- package/dist/review/result_records.d.ts.map +1 -0
- package/dist/review/result_records.js +191 -0
- package/dist/review/result_records.js.map +1 -0
- package/dist/review/result_validation.d.ts +4 -0
- package/dist/review/result_validation.d.ts.map +1 -0
- package/dist/review/result_validation.js +142 -0
- package/dist/review/result_validation.js.map +1 -0
- package/dist/review/run.d.ts +7 -0
- package/dist/review/run.d.ts.map +1 -0
- package/dist/review/run.js +17 -0
- package/dist/review/run.js.map +1 -0
- package/dist/review/screen_compare.d.ts +6 -0
- package/dist/review/screen_compare.d.ts.map +1 -0
- package/dist/review/screen_compare.js +111 -0
- package/dist/review/screen_compare.js.map +1 -0
- package/dist/review/screen_views.d.ts +16 -0
- package/dist/review/screen_views.d.ts.map +1 -0
- package/dist/review/screen_views.js +73 -0
- package/dist/review/screen_views.js.map +1 -0
- package/dist/review/selected.d.ts +12 -0
- package/dist/review/selected.d.ts.map +1 -0
- package/dist/review/selected.js +78 -0
- package/dist/review/selected.js.map +1 -0
- package/dist/review/selection_result.d.ts +7 -0
- package/dist/review/selection_result.d.ts.map +1 -0
- package/dist/review/selection_result.js +28 -0
- package/dist/review/selection_result.js.map +1 -0
- package/dist/review/selection_types.d.ts +25 -0
- package/dist/review/selection_types.d.ts.map +1 -0
- package/dist/review/selection_types.js +2 -0
- package/dist/review/selection_types.js.map +1 -0
- package/dist/review/types.d.ts +50 -0
- package/dist/review/types.d.ts.map +1 -0
- package/dist/review/types.js +2 -0
- package/dist/review/types.js.map +1 -0
- package/dist/review/write.d.ts +5 -0
- package/dist/review/write.d.ts.map +1 -0
- package/dist/review/write.js +60 -0
- package/dist/review/write.js.map +1 -0
- package/dist/server/browser_assets.d.ts +15 -0
- package/dist/server/browser_assets.d.ts.map +1 -0
- package/dist/server/browser_assets.js +44 -0
- package/dist/server/browser_assets.js.map +1 -0
- package/dist/server/catalogue.d.ts +26 -0
- package/dist/server/catalogue.d.ts.map +1 -0
- package/dist/server/catalogue.js +51 -0
- package/dist/server/catalogue.js.map +1 -0
- package/dist/server/catalogue_snapshot.d.ts +25 -0
- package/dist/server/catalogue_snapshot.d.ts.map +1 -0
- package/dist/server/catalogue_snapshot.js +53 -0
- package/dist/server/catalogue_snapshot.js.map +1 -0
- package/dist/server/changed.d.ts +14 -0
- package/dist/server/changed.d.ts.map +1 -0
- package/dist/server/changed.js +45 -0
- package/dist/server/changed.js.map +1 -0
- package/dist/server/changed_content.d.ts +11 -0
- package/dist/server/changed_content.d.ts.map +1 -0
- package/dist/server/changed_content.js +116 -0
- package/dist/server/changed_content.js.map +1 -0
- package/dist/server/changed_resources.d.ts +16 -0
- package/dist/server/changed_resources.d.ts.map +1 -0
- package/dist/server/changed_resources.js +57 -0
- package/dist/server/changed_resources.js.map +1 -0
- package/dist/server/child.d.ts +5 -0
- package/dist/server/child.d.ts.map +1 -0
- package/dist/server/child.js +107 -0
- package/dist/server/child.js.map +1 -0
- package/dist/server/child_lifecycle.d.ts +37 -0
- package/dist/server/child_lifecycle.d.ts.map +1 -0
- package/dist/server/child_lifecycle.js +167 -0
- package/dist/server/child_lifecycle.js.map +1 -0
- package/dist/server/child_process.d.ts +25 -0
- package/dist/server/child_process.d.ts.map +1 -0
- package/dist/server/child_process.js +65 -0
- package/dist/server/child_process.js.map +1 -0
- package/dist/server/client_modules.d.ts +9 -0
- package/dist/server/client_modules.d.ts.map +1 -0
- package/dist/server/client_modules.js +101 -0
- package/dist/server/client_modules.js.map +1 -0
- package/dist/server/component_changes.d.ts +49 -0
- package/dist/server/component_changes.d.ts.map +1 -0
- package/dist/server/component_changes.js +129 -0
- package/dist/server/component_changes.js.map +1 -0
- package/dist/server/confined_file.d.ts +2 -0
- package/dist/server/confined_file.d.ts.map +1 -0
- package/dist/server/confined_file.js +49 -0
- package/dist/server/confined_file.js.map +1 -0
- package/dist/server/controls/http.d.ts +6 -0
- package/dist/server/controls/http.d.ts.map +1 -0
- package/dist/server/controls/http.js +86 -0
- package/dist/server/controls/http.js.map +1 -0
- package/dist/server/controls/queue.d.ts +19 -0
- package/dist/server/controls/queue.d.ts.map +1 -0
- package/dist/server/controls/queue.js +107 -0
- package/dist/server/controls/queue.js.map +1 -0
- package/dist/server/controls/runtime_ipc.d.ts +27 -0
- package/dist/server/controls/runtime_ipc.d.ts.map +1 -0
- package/dist/server/controls/runtime_ipc.js +122 -0
- package/dist/server/controls/runtime_ipc.js.map +1 -0
- package/dist/server/controls/service.d.ts +17 -0
- package/dist/server/controls/service.d.ts.map +1 -0
- package/dist/server/controls/service.js +47 -0
- package/dist/server/controls/service.js.map +1 -0
- package/dist/server/controls/store.d.ts +19 -0
- package/dist/server/controls/store.d.ts.map +1 -0
- package/dist/server/controls/store.js +73 -0
- package/dist/server/controls/store.js.map +1 -0
- package/dist/server/controls/transient.d.ts +7 -0
- package/dist/server/controls/transient.d.ts.map +1 -0
- package/dist/server/controls/transient.js +37 -0
- package/dist/server/controls/transient.js.map +1 -0
- package/dist/server/controls/transient_assets.d.ts +17 -0
- package/dist/server/controls/transient_assets.d.ts.map +1 -0
- package/dist/server/controls/transient_assets.js +55 -0
- package/dist/server/controls/transient_assets.js.map +1 -0
- package/dist/server/controls/transient_links.d.ts +2 -0
- package/dist/server/controls/transient_links.d.ts.map +1 -0
- package/dist/server/controls/transient_links.js +36 -0
- package/dist/server/controls/transient_links.js.map +1 -0
- package/dist/server/controls/worker.d.ts +2 -0
- package/dist/server/controls/worker.d.ts.map +1 -0
- package/dist/server/controls/worker.js +21 -0
- package/dist/server/controls/worker.js.map +1 -0
- package/dist/server/controls/worker_client.d.ts +16 -0
- package/dist/server/controls/worker_client.d.ts.map +1 -0
- package/dist/server/controls/worker_client.js +51 -0
- package/dist/server/controls/worker_client.js.map +1 -0
- package/dist/server/demand/activity.d.ts +8 -0
- package/dist/server/demand/activity.d.ts.map +1 -0
- package/dist/server/demand/activity.js +22 -0
- package/dist/server/demand/activity.js.map +1 -0
- package/dist/server/demand/background.d.ts +18 -0
- package/dist/server/demand/background.d.ts.map +1 -0
- package/dist/server/demand/background.js +89 -0
- package/dist/server/demand/background.js.map +1 -0
- package/dist/server/demand/background_worker.d.ts +2 -0
- package/dist/server/demand/background_worker.d.ts.map +1 -0
- package/dist/server/demand/background_worker.js +38 -0
- package/dist/server/demand/background_worker.js.map +1 -0
- package/dist/server/demand/generation.d.ts +26 -0
- package/dist/server/demand/generation.d.ts.map +1 -0
- package/dist/server/demand/generation.js +92 -0
- package/dist/server/demand/generation.js.map +1 -0
- package/dist/server/demand/git_host.d.ts +15 -0
- package/dist/server/demand/git_host.d.ts.map +1 -0
- package/dist/server/demand/git_host.js +49 -0
- package/dist/server/demand/git_host.js.map +1 -0
- package/dist/server/demand/git_messages.d.ts +16 -0
- package/dist/server/demand/git_messages.d.ts.map +1 -0
- package/dist/server/demand/git_messages.js +2 -0
- package/dist/server/demand/git_messages.js.map +1 -0
- package/dist/server/demand/git_references.d.ts +19 -0
- package/dist/server/demand/git_references.d.ts.map +1 -0
- package/dist/server/demand/git_references.js +73 -0
- package/dist/server/demand/git_references.js.map +1 -0
- package/dist/server/demand/git_worker.d.ts +16 -0
- package/dist/server/demand/git_worker.d.ts.map +1 -0
- package/dist/server/demand/git_worker.js +54 -0
- package/dist/server/demand/git_worker.js.map +1 -0
- package/dist/server/demand/http.d.ts +6 -0
- package/dist/server/demand/http.d.ts.map +1 -0
- package/dist/server/demand/http.js +38 -0
- package/dist/server/demand/http.js.map +1 -0
- package/dist/server/demand/observation.d.ts +6 -0
- package/dist/server/demand/observation.d.ts.map +1 -0
- package/dist/server/demand/observation.js +25 -0
- package/dist/server/demand/observation.js.map +1 -0
- package/dist/server/demand/resources.d.ts +17 -0
- package/dist/server/demand/resources.d.ts.map +1 -0
- package/dist/server/demand/resources.js +47 -0
- package/dist/server/demand/resources.js.map +1 -0
- package/dist/server/demand/service.d.ts +36 -0
- package/dist/server/demand/service.d.ts.map +1 -0
- package/dist/server/demand/service.js +157 -0
- package/dist/server/demand/service.js.map +1 -0
- package/dist/server/demand/worker.d.ts +2 -0
- package/dist/server/demand/worker.d.ts.map +1 -0
- package/dist/server/demand/worker.js +20 -0
- package/dist/server/demand/worker.js.map +1 -0
- package/dist/server/factory.d.ts +11 -0
- package/dist/server/factory.d.ts.map +1 -0
- package/dist/server/factory.js +8 -0
- package/dist/server/factory.js.map +1 -0
- package/dist/server/fragments.d.ts +10 -0
- package/dist/server/fragments.d.ts.map +1 -0
- package/dist/server/fragments.js +59 -0
- package/dist/server/fragments.js.map +1 -0
- package/dist/server/http.d.ts +43 -0
- package/dist/server/http.d.ts.map +1 -0
- package/dist/server/http.js +182 -0
- package/dist/server/http.js.map +1 -0
- package/dist/server/http_routes.d.ts +12 -0
- package/dist/server/http_routes.d.ts.map +1 -0
- package/dist/server/http_routes.js +68 -0
- package/dist/server/http_routes.js.map +1 -0
- package/dist/server/pages.d.ts +11 -0
- package/dist/server/pages.d.ts.map +1 -0
- package/dist/server/pages.js +20 -0
- package/dist/server/pages.js.map +1 -0
- package/dist/server/ports.d.ts +4 -0
- package/dist/server/ports.d.ts.map +1 -0
- package/dist/server/ports.js +48 -0
- package/dist/server/ports.js.map +1 -0
- package/dist/server/resource_watcher.d.ts +22 -0
- package/dist/server/resource_watcher.d.ts.map +1 -0
- package/dist/server/resource_watcher.js +119 -0
- package/dist/server/resource_watcher.js.map +1 -0
- package/dist/server/respond.d.ts +11 -0
- package/dist/server/respond.d.ts.map +1 -0
- package/dist/server/respond.js +57 -0
- package/dist/server/respond.js.map +1 -0
- package/dist/server/review_generations.d.ts +43 -0
- package/dist/server/review_generations.d.ts.map +1 -0
- package/dist/server/review_generations.js +170 -0
- package/dist/server/review_generations.js.map +1 -0
- package/dist/server/review_responses.d.ts +9 -0
- package/dist/server/review_responses.d.ts.map +1 -0
- package/dist/server/review_responses.js +40 -0
- package/dist/server/review_responses.js.map +1 -0
- package/dist/server/review_routes.d.ts +41 -0
- package/dist/server/review_routes.d.ts.map +1 -0
- package/dist/server/review_routes.js +200 -0
- package/dist/server/review_routes.js.map +1 -0
- package/dist/server/selected_review_routes.d.ts +22 -0
- package/dist/server/selected_review_routes.d.ts.map +1 -0
- package/dist/server/selected_review_routes.js +171 -0
- package/dist/server/selected_review_routes.js.map +1 -0
- package/dist/server/serve.d.ts +31 -0
- package/dist/server/serve.d.ts.map +1 -0
- package/dist/server/serve.js +56 -0
- package/dist/server/serve.js.map +1 -0
- package/dist/server/serve_lifecycle.d.ts +22 -0
- package/dist/server/serve_lifecycle.d.ts.map +1 -0
- package/dist/server/serve_lifecycle.js +77 -0
- package/dist/server/serve_lifecycle.js.map +1 -0
- package/dist/server/serve_watched.d.ts +4 -0
- package/dist/server/serve_watched.d.ts.map +1 -0
- package/dist/server/serve_watched.js +193 -0
- package/dist/server/serve_watched.js.map +1 -0
- package/dist/server/shell/assets/fonts/Inter-OFL.txt +92 -0
- package/dist/server/shell/assets/fonts/InterVariable.woff2 +0 -0
- package/dist/server/shell/component_stage.d.ts +7 -0
- package/dist/server/shell/component_stage.d.ts.map +1 -0
- package/dist/server/shell/component_stage.js +10 -0
- package/dist/server/shell/component_stage.js.map +1 -0
- package/dist/server/shell/context.d.ts +34 -0
- package/dist/server/shell/context.d.ts.map +1 -0
- package/dist/server/shell/context.js +9 -0
- package/dist/server/shell/context.js.map +1 -0
- package/dist/server/shell/css.d.ts +5 -0
- package/dist/server/shell/css.d.ts.map +1 -0
- package/dist/server/shell/css.js +22 -0
- package/dist/server/shell/css.js.map +1 -0
- package/dist/server/shell/css_chrome.d.ts +6 -0
- package/dist/server/shell/css_chrome.d.ts.map +1 -0
- package/dist/server/shell/css_chrome.js +416 -0
- package/dist/server/shell/css_chrome.js.map +1 -0
- package/dist/server/shell/css_details.d.ts +6 -0
- package/dist/server/shell/css_details.d.ts.map +1 -0
- package/dist/server/shell/css_details.js +188 -0
- package/dist/server/shell/css_details.js.map +1 -0
- package/dist/server/shell/css_nav.d.ts +11 -0
- package/dist/server/shell/css_nav.d.ts.map +1 -0
- package/dist/server/shell/css_nav.js +502 -0
- package/dist/server/shell/css_nav.js.map +1 -0
- package/dist/server/shell/css_nav_resize.d.ts +4 -0
- package/dist/server/shell/css_nav_resize.d.ts.map +1 -0
- package/dist/server/shell/css_nav_resize.js +66 -0
- package/dist/server/shell/css_nav_resize.js.map +1 -0
- package/dist/server/shell/css_nav_status.d.ts +3 -0
- package/dist/server/shell/css_nav_status.d.ts.map +1 -0
- package/dist/server/shell/css_nav_status.js +46 -0
- package/dist/server/shell/css_nav_status.js.map +1 -0
- package/dist/server/shell/css_review.d.ts +4 -0
- package/dist/server/shell/css_review.d.ts.map +1 -0
- package/dist/server/shell/css_review.js +103 -0
- package/dist/server/shell/css_review.js.map +1 -0
- package/dist/server/shell/css_tokens.d.ts +4 -0
- package/dist/server/shell/css_tokens.d.ts.map +1 -0
- package/dist/server/shell/css_tokens.js +89 -0
- package/dist/server/shell/css_tokens.js.map +1 -0
- package/dist/server/shell/css_views.d.ts +5 -0
- package/dist/server/shell/css_views.d.ts.map +1 -0
- package/dist/server/shell/css_views.js +338 -0
- package/dist/server/shell/css_views.js.map +1 -0
- package/dist/server/shell/css_workspace.d.ts +3 -0
- package/dist/server/shell/css_workspace.d.ts.map +1 -0
- package/dist/server/shell/css_workspace.js +113 -0
- package/dist/server/shell/css_workspace.js.map +1 -0
- package/dist/server/shell/details.d.ts +12 -0
- package/dist/server/shell/details.d.ts.map +1 -0
- package/dist/server/shell/details.js +57 -0
- package/dist/server/shell/details.js.map +1 -0
- package/dist/server/shell/diffs.d.ts +10 -0
- package/dist/server/shell/diffs.d.ts.map +1 -0
- package/dist/server/shell/diffs.js +12 -0
- package/dist/server/shell/diffs.js.map +1 -0
- package/dist/server/shell/document.d.ts +6 -0
- package/dist/server/shell/document.d.ts.map +1 -0
- package/dist/server/shell/document.js +21 -0
- package/dist/server/shell/document.js.map +1 -0
- package/dist/server/shell/frames.d.ts +12 -0
- package/dist/server/shell/frames.d.ts.map +1 -0
- package/dist/server/shell/frames.js +12 -0
- package/dist/server/shell/frames.js.map +1 -0
- package/dist/server/shell/head.d.ts +27 -0
- package/dist/server/shell/head.d.ts.map +1 -0
- package/dist/server/shell/head.js +42 -0
- package/dist/server/shell/head.js.map +1 -0
- package/dist/server/shell/icons.d.ts +54 -0
- package/dist/server/shell/icons.d.ts.map +1 -0
- package/dist/server/shell/icons.js +53 -0
- package/dist/server/shell/icons.js.map +1 -0
- package/dist/server/shell/inspector.d.ts +8 -0
- package/dist/server/shell/inspector.d.ts.map +1 -0
- package/dist/server/shell/inspector.js +25 -0
- package/dist/server/shell/inspector.js.map +1 -0
- package/dist/server/shell/nav.d.ts +8 -0
- package/dist/server/shell/nav.d.ts.map +1 -0
- package/dist/server/shell/nav.js +69 -0
- package/dist/server/shell/nav.js.map +1 -0
- package/dist/server/shell/nav_filter.d.ts +9 -0
- package/dist/server/shell/nav_filter.d.ts.map +1 -0
- package/dist/server/shell/nav_filter.js +17 -0
- package/dist/server/shell/nav_filter.js.map +1 -0
- package/dist/server/shell/nav_guides.d.ts +8 -0
- package/dist/server/shell/nav_guides.d.ts.map +1 -0
- package/dist/server/shell/nav_guides.js +43 -0
- package/dist/server/shell/nav_guides.js.map +1 -0
- package/dist/server/shell/nav_resize.d.ts +4 -0
- package/dist/server/shell/nav_resize.d.ts.map +1 -0
- package/dist/server/shell/nav_resize.js +7 -0
- package/dist/server/shell/nav_resize.js.map +1 -0
- package/dist/server/shell/nav_tree.d.ts +41 -0
- package/dist/server/shell/nav_tree.d.ts.map +1 -0
- package/dist/server/shell/nav_tree.js +82 -0
- package/dist/server/shell/nav_tree.js.map +1 -0
- package/dist/server/shell/stages.d.ts +15 -0
- package/dist/server/shell/stages.d.ts.map +1 -0
- package/dist/server/shell/stages.js +71 -0
- package/dist/server/shell/stages.js.map +1 -0
- package/dist/server/shell/status_bar.d.ts +3 -0
- package/dist/server/shell/status_bar.d.ts.map +1 -0
- package/dist/server/shell/status_bar.js +23 -0
- package/dist/server/shell/status_bar.js.map +1 -0
- package/dist/server/shell/tags.d.ts +18 -0
- package/dist/server/shell/tags.d.ts.map +1 -0
- package/dist/server/shell/tags.js +28 -0
- package/dist/server/shell/tags.js.map +1 -0
- package/dist/server/shell/target.d.ts +13 -0
- package/dist/server/shell/target.d.ts.map +1 -0
- package/dist/server/shell/target.js +9 -0
- package/dist/server/shell/target.js.map +1 -0
- package/dist/server/shell/views.d.ts +24 -0
- package/dist/server/shell/views.d.ts.map +1 -0
- package/dist/server/shell/views.js +74 -0
- package/dist/server/shell/views.js.map +1 -0
- package/dist/server/shell/workspace.d.ts +10 -0
- package/dist/server/shell/workspace.d.ts.map +1 -0
- package/dist/server/shell/workspace.js +22 -0
- package/dist/server/shell/workspace.js.map +1 -0
- package/dist/server/shell/workspace_controls.d.ts +4 -0
- package/dist/server/shell/workspace_controls.d.ts.map +1 -0
- package/dist/server/shell/workspace_controls.js +7 -0
- package/dist/server/shell/workspace_controls.js.map +1 -0
- package/dist/server/shell/workspace_data.d.ts +62 -0
- package/dist/server/shell/workspace_data.d.ts.map +1 -0
- package/dist/server/shell/workspace_data.js +172 -0
- package/dist/server/shell/workspace_data.js.map +1 -0
- package/dist/server/shell/workspace_icons.d.ts +5 -0
- package/dist/server/shell/workspace_icons.d.ts.map +1 -0
- package/dist/server/shell/workspace_icons.js +7 -0
- package/dist/server/shell/workspace_icons.js.map +1 -0
- package/dist/server/static_routes.d.ts +7 -0
- package/dist/server/static_routes.d.ts.map +1 -0
- package/dist/server/static_routes.js +47 -0
- package/dist/server/static_routes.js.map +1 -0
- package/dist/server/supervisor.d.ts +50 -0
- package/dist/server/supervisor.d.ts.map +1 -0
- package/dist/server/supervisor.js +162 -0
- package/dist/server/supervisor.js.map +1 -0
- package/dist/server/update_messages.d.ts +46 -0
- package/dist/server/update_messages.d.ts.map +1 -0
- package/dist/server/update_messages.js +84 -0
- package/dist/server/update_messages.js.map +1 -0
- package/dist/server/versioned_document.d.ts +4 -0
- package/dist/server/versioned_document.d.ts.map +1 -0
- package/dist/server/versioned_document.js +13 -0
- package/dist/server/versioned_document.js.map +1 -0
- package/dist/server/view_routes.d.ts +8 -0
- package/dist/server/view_routes.d.ts.map +1 -0
- package/dist/server/view_routes.js +44 -0
- package/dist/server/view_routes.js.map +1 -0
- package/dist/server/watch_classification.d.ts +18 -0
- package/dist/server/watch_classification.d.ts.map +1 -0
- package/dist/server/watch_classification.js +47 -0
- package/dist/server/watch_classification.js.map +1 -0
- package/dist/server/watch_events.d.ts +54 -0
- package/dist/server/watch_events.d.ts.map +1 -0
- package/dist/server/watch_events.js +228 -0
- package/dist/server/watch_events.js.map +1 -0
- package/dist/server/watch_notifications.d.ts +13 -0
- package/dist/server/watch_notifications.d.ts.map +1 -0
- package/dist/server/watch_notifications.js +43 -0
- package/dist/server/watch_notifications.js.map +1 -0
- package/dist/server/watch_resources.d.ts +13 -0
- package/dist/server/watch_resources.d.ts.map +1 -0
- package/dist/server/watch_resources.js +70 -0
- package/dist/server/watch_resources.js.map +1 -0
- package/dist/server/watcher.d.ts +26 -0
- package/dist/server/watcher.d.ts.map +1 -0
- package/dist/server/watcher.js +63 -0
- package/dist/server/watcher.js.map +1 -0
- package/package.json +104 -0
package/README.md
ADDED
|
@@ -0,0 +1,815 @@
|
|
|
1
|
+
# Mokly
|
|
2
|
+
|
|
3
|
+
Mokly turns React-authored mobile and desktop mockups into committed static
|
|
4
|
+
HTML, exports complete catalogues for hosting, serves them during development, and compares screens
|
|
5
|
+
with their Git baseline on demand. It is app-independent: product screens, component libraries,
|
|
6
|
+
themes, styles, and compatibility adapters stay in the consuming repository.
|
|
7
|
+
|
|
8
|
+
The public [npm package](https://www.npmjs.com/package/@mokly/mokly) is
|
|
9
|
+
`@mokly/mokly`; its executable remains `mokly`. Releases remain pre-1.0 while
|
|
10
|
+
the consumer contract settles.
|
|
11
|
+
|
|
12
|
+
Shared components can have their own pages, saved variants and editable props in
|
|
13
|
+
local Serve. Screens record their actual component usage for inspection and
|
|
14
|
+
highlighting. Component implementation edits appear once in Changes; consumers
|
|
15
|
+
are listed as affected, while changes to their supplied props remain screen
|
|
16
|
+
changes. See the [component authoring guide](./src/components/README.md).
|
|
17
|
+
|
|
18
|
+
## Use Mokly
|
|
19
|
+
|
|
20
|
+
Install Mokly and its React peers in the repository that owns the screens:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install --save-dev @mokly/mokly react react-dom
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Create `mokly.config.ts`:
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import { defineConfig } from "@mokly/mokly";
|
|
30
|
+
|
|
31
|
+
export default defineConfig({
|
|
32
|
+
colorSchemes: ["light", "dark"],
|
|
33
|
+
repoRoot: ".",
|
|
34
|
+
entriesDir: "docs/mockups/src/entries",
|
|
35
|
+
mockupsDir: "docs/mockups",
|
|
36
|
+
renderer: "docs/mockups/src/renderer.tsx",
|
|
37
|
+
stylesheets: [{ match: "app/**/*.html", stylesheets: ["app.css"] }],
|
|
38
|
+
review: {
|
|
39
|
+
base: "origin/main",
|
|
40
|
+
outDir: ".context/mokly-review",
|
|
41
|
+
sharedImpact: ["src/components/**", "src/tokens/**"],
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
An entry module ends in `.mockup.ts` or `.mockup.tsx` and exports `mockups`:
|
|
47
|
+
|
|
48
|
+
```tsx
|
|
49
|
+
import { defineCollection, defineScreen, MockLink } from "@mokly/mokly";
|
|
50
|
+
|
|
51
|
+
export const mockups = [
|
|
52
|
+
defineCollection({
|
|
53
|
+
id: "account",
|
|
54
|
+
title: "Account",
|
|
55
|
+
description: "Account product screens.",
|
|
56
|
+
childIds: ["account-home"],
|
|
57
|
+
relatedDocs: ["docs/account.md"],
|
|
58
|
+
dependencies: ["src/account"],
|
|
59
|
+
}),
|
|
60
|
+
defineScreen({
|
|
61
|
+
id: "account-home",
|
|
62
|
+
title: "Account home",
|
|
63
|
+
description: "The account landing screen.",
|
|
64
|
+
route: "account/home.html",
|
|
65
|
+
mobile: (
|
|
66
|
+
<MockLink fragment="summary" to="account-detail">
|
|
67
|
+
Details
|
|
68
|
+
</MockLink>
|
|
69
|
+
),
|
|
70
|
+
desktop: (
|
|
71
|
+
<MockLink fragment="summary" to="account-detail">
|
|
72
|
+
Details
|
|
73
|
+
</MockLink>
|
|
74
|
+
),
|
|
75
|
+
relatedDocs: ["docs/account.md"],
|
|
76
|
+
dependencies: ["src/account/home.tsx"],
|
|
77
|
+
useCaseIds: [],
|
|
78
|
+
}),
|
|
79
|
+
];
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`mobile` and `desktop` accept any React node; real screens usually wrap their
|
|
83
|
+
content in a `<main>` landmark because each fragment is generated as its own
|
|
84
|
+
standalone page. Collection membership is also the navigation hierarchy:
|
|
85
|
+
Mokly infers the screen's `Account` breadcrumb from `childIds`, so authors
|
|
86
|
+
do not maintain a separate breadcrumb path.
|
|
87
|
+
|
|
88
|
+
`MockLink` accepts a lowercase kebab-case entry id and an optional bare HTML id
|
|
89
|
+
through its separate `fragment` prop. The equivalent string helper is
|
|
90
|
+
`mockLink(id, fragment?)`; both produce `mock:<id>[#fragment]`. Raw complete
|
|
91
|
+
logical values remain available for an HTML/SVG link `href`, while
|
|
92
|
+
`data-nav-href="mock:<id>[#fragment]"` records metadata without inventing an
|
|
93
|
+
interaction. Generated files retain portable relative links, so standalone and
|
|
94
|
+
comparison snapshots continue to work. In Browse, an eligible link opens the
|
|
95
|
+
destination's canonical catalogue page, carries its fragment, and reveals the
|
|
96
|
+
active item in the navigation tree. Untyped JavaScript calls are validated at
|
|
97
|
+
runtime as well: ids and fragments must be strings before their respective
|
|
98
|
+
grammars are applied.
|
|
99
|
+
|
|
100
|
+
```tsx
|
|
101
|
+
import { mockLink } from "@mokly/mokly";
|
|
102
|
+
|
|
103
|
+
const detailsHref = mockLink("account-detail", "summary");
|
|
104
|
+
// "mock:account-detail#summary"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
To use a styled control as a catalogue link, opt into `MockLink asChild`:
|
|
108
|
+
|
|
109
|
+
```tsx
|
|
110
|
+
<MockLink asChild to="account-detail">
|
|
111
|
+
<button className="primary-action">View account</button>
|
|
112
|
+
</MockLink>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Mokly adapts that one rendered control into a native link during the build,
|
|
116
|
+
preserving its classes, inline styles, label, and icons. Custom components may
|
|
117
|
+
render an HTML `a`, `button`, `div`, or `span`; put attributes on the child,
|
|
118
|
+
which must have no interactive descendants. Disabled or busy controls remain
|
|
119
|
+
inactive, and adapted links receive a visible keyboard focus outline. The
|
|
120
|
+
default `MockLink` behavior and documents without child links keep their bytes.
|
|
121
|
+
Navigation works in Browse, use-case frames, standalone files, and Review
|
|
122
|
+
snapshots through the existing link mechanism, without a consumer click script.
|
|
123
|
+
|
|
124
|
+
Keep any props your component requires to render enabled; Mokly handles the
|
|
125
|
+
destination through the generated link. Native browser button chrome and
|
|
126
|
+
JavaScript-driven hover/pressed effects are not reproduced by static adaptation.
|
|
127
|
+
See the [styled link controls contract](./docs/protocol/mokly-link-controls.md)
|
|
128
|
+
for supported markup, inactive states, and validation rules.
|
|
129
|
+
|
|
130
|
+
Color-scheme adoption has two steps: enable `colorSchemes: ["light", "dark"]`
|
|
131
|
+
in the config, then select the consumer theme from `input.colorScheme` in the
|
|
132
|
+
configured renderer. Mokly re-renders the same mobile and desktop nodes for
|
|
133
|
+
dark output; authors do not duplicate screen trees. A deliberately light-only
|
|
134
|
+
screen opts out in either `defineScreen` or a nested `screen` marker:
|
|
135
|
+
|
|
136
|
+
```tsx
|
|
137
|
+
defineScreen({
|
|
138
|
+
// Other screen fields stay unchanged.
|
|
139
|
+
colorSchemes: ["light"],
|
|
140
|
+
});
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Light-only catalogues omit `colorSchemes`, keep their existing renderer, and
|
|
144
|
+
produce the same fragment names and manifest bytes as before.
|
|
145
|
+
|
|
146
|
+
After installing, run the local CLI with npx:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
npx mokly # browse immediately, render on demand, and watch
|
|
150
|
+
npx mokly serve --no-watch --port 0
|
|
151
|
+
npx mokly serve --debug-timings
|
|
152
|
+
npx mokly build
|
|
153
|
+
npx mokly check
|
|
154
|
+
npx mokly export --out .context/mokly-site
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Options follow the command, so an explicit config is
|
|
158
|
+
`npx mokly build --config path/to/mokly.config.ts`. With a local
|
|
159
|
+
development dependency, `npx --no-install mokly` guarantees npm does not
|
|
160
|
+
fall back to the registry. A clean machine may use
|
|
161
|
+
`npx --package @mokly/mokly mokly` without adding a dependency. The unscoped
|
|
162
|
+
name is not a package alias; imports also use `@mokly/mokly`.
|
|
163
|
+
|
|
164
|
+
| Command | Outcome |
|
|
165
|
+
| --------------------------- | --------------------------------------------------------- |
|
|
166
|
+
| `mokly` | Browse on demand and watch using a stable development URL |
|
|
167
|
+
| `mokly serve` | Serve the catalogue and on-demand diffs; watch by default |
|
|
168
|
+
| `mokly build` | Validate and transactionally write generated output |
|
|
169
|
+
| `mokly check` | Compare expected and committed bytes without writing |
|
|
170
|
+
| `mokly export --out <path>` | Build a complete static catalogue for your host |
|
|
171
|
+
| `mokly --help` | Show commands and their supported options |
|
|
172
|
+
| `mokly --version` | Print the installed package version |
|
|
173
|
+
|
|
174
|
+
Serve starts at port `4173`. If that port, or a concrete `--port` value, is
|
|
175
|
+
already occupied, Mokly tries each following port in order until one is
|
|
176
|
+
free. `--port 0` instead asks the operating system to choose a free port.
|
|
177
|
+
Watched Serve keeps the first resolved port for later child restarts so its URL
|
|
178
|
+
stays stable.
|
|
179
|
+
|
|
180
|
+
For slow startup, add `--debug-timings` to any command. It writes structured
|
|
181
|
+
phase timings and aggregate catalogue sizes to stderr while leaving normal
|
|
182
|
+
output and generated files unchanged. It separates bundling, rendering,
|
|
183
|
+
validation, file writes, watcher setup, child readiness, and background Changes.
|
|
184
|
+
Parent timings include child phases; overlapping timings must not be added
|
|
185
|
+
together. See the [diagnostic contract](./docs/protocol/mokly-timings.md).
|
|
186
|
+
|
|
187
|
+
To investigate scale locally, first run `npm run fixture:large`. This explicitly
|
|
188
|
+
prepares a synthetic 1,410-route catalogue with 5,550 documents and an isolated Git
|
|
189
|
+
baseline. Then run `npm run dev:large -- --debug-timings` or
|
|
190
|
+
`npm run benchmark:large`; neither repeats setup. The browser benchmark requires
|
|
191
|
+
searchable navigation and a real preview within five seconds for both a fresh
|
|
192
|
+
process and a warm restart, exercises Props, themes, viewports and pages, and
|
|
193
|
+
waits for Changes separately. Use matching `--areas 2 --screens 10 --rows 6`
|
|
194
|
+
options for smaller setup and benchmark runs. Fixtures stay under `.context`.
|
|
195
|
+
See the [large fixture guide](./tests/fixtures/large/README.md).
|
|
196
|
+
|
|
197
|
+
Serve validates a lightweight catalogue index and makes navigation and local Props
|
|
198
|
+
controls available without rendering every document. A worker renders and validates
|
|
199
|
+
each requested preview, caching it for the current source generation. Props edits
|
|
200
|
+
render only the selected variant and view. An unrelated renderer failure does not
|
|
201
|
+
prevent valid previews from opening. Catalogue-wide Usage is explicitly unavailable
|
|
202
|
+
until the background check finishes; it is not shown as zero consumers.
|
|
203
|
+
|
|
204
|
+
Full generated output and Git-based Changes finish in the background, with preview
|
|
205
|
+
and Props work taking priority between background documents. Build, Check and Export
|
|
206
|
+
remain exhaustive. Replacing or stopping background work cancels and drains its Git
|
|
207
|
+
subprocesses before terminating the worker, including when that worker is unresponsive.
|
|
208
|
+
All and Changes are visible from the first live shell. Changes shows a spinner
|
|
209
|
+
instead of an uncomputed count; selecting it shows a loading sidebar without
|
|
210
|
+
moving the tabs or tree. A failed check keeps the tabs with an explicit unavailable
|
|
211
|
+
state, while a completed empty result shows zero. Versioned updates publish complete
|
|
212
|
+
usage and then Changes. Shell requests never repeat that repository work.
|
|
213
|
+
|
|
214
|
+
These background updates preserve the mounted page, previews, search, folder
|
|
215
|
+
choices, focus, scroll and temporary props, including when All is selected.
|
|
216
|
+
Authored content changes still reload; reconnects catch up to the latest evidence
|
|
217
|
+
without replaying navigation recovery. See [live evidence updates](./docs/protocol/mokly-live-evidence.md).
|
|
218
|
+
|
|
219
|
+
Baseline views are read in batches, not one Git process per view. Watched Serve also observes
|
|
220
|
+
Git ref changes off the request path. `--no-watch` uses the same fast startup but
|
|
221
|
+
does not observe later source, resource or Git edits. Unavailable history omits
|
|
222
|
+
change evidence while current previews remain accessible. See [on-demand Serve](./docs/protocol/mokly-on-demand.md).
|
|
223
|
+
|
|
224
|
+
`build` writes one fragment per effective viewport and color-scheme view plus
|
|
225
|
+
`mokly-manifest.json` under `mockupsDir`. `check` calculates those bytes
|
|
226
|
+
without writing and reports missing, stale, or orphan generated files. The
|
|
227
|
+
manifest stays internal: its source inventory is unavailable through HTTP,
|
|
228
|
+
published assets, and comparison resources. Ordinary public JSON remains
|
|
229
|
+
supported. Browse
|
|
230
|
+
serves the package-owned Mokly shell — resizable desktop catalogue
|
|
231
|
+
navigation with separate collapsible Pages and Components sections, folder and
|
|
232
|
+
entry-kind icons, and an All/Changes filter, search that
|
|
233
|
+
narrows the tree by page ID, title, route, and `tag:` terms that the field's tag
|
|
234
|
+
picker and the details inspector's chips enter for you, hierarchy-derived
|
|
235
|
+
breadcrumbs with hash-prefixed copyable ID chips, realistic browser chrome with
|
|
236
|
+
an expand-to-overlay toggle, phone chrome whose screen reserves a clock,
|
|
237
|
+
signal, Wi-Fi, and battery status band above the mobile fragment, header
|
|
238
|
+
viewport controls, a Light/Dark switch when the catalogue has dark fragments,
|
|
239
|
+
use-case flows, a collapsed-by-default details inspector that remembers its
|
|
240
|
+
disclosure across routes and reloads, id redirects, and watched updates. The
|
|
241
|
+
Changes filter compares
|
|
242
|
+
an explicit projection of route-level manifest metadata, collection ancestry,
|
|
243
|
+
generated fragments, and their rendered local resources with the branch
|
|
244
|
+
point shared by `HEAD` and the configured Git base. Collection ancestry comes
|
|
245
|
+
from real `childIds` relationships; compatibility-only `navPath` labels are
|
|
246
|
+
excluded. Commits added only to the base branch after divergence do not appear
|
|
247
|
+
as branch changes; staged, unstaged, and untracked workspace edits still do.
|
|
248
|
+
A source or dependency edit does not add screens whose output and reviewable
|
|
249
|
+
metadata remain unchanged. Source locations and dependency declarations are
|
|
250
|
+
evidence, so reorganizing them alone does not fill Changes. Generated fragments
|
|
251
|
+
use the comparison engine's paired ignore rules: excluded chrome-only edits
|
|
252
|
+
stay out, while material keys and changes to screen content remain reviewable.
|
|
253
|
+
Linked CSS, fonts, images, and transitive local resources still mark the screens
|
|
254
|
+
that reference them; unrelated shared files do not mark the whole catalogue.
|
|
255
|
+
For public file and directory aliases, edits to the target also mark consuming
|
|
256
|
+
screens and pages, even when the alias itself is unchanged.
|
|
257
|
+
The filter validates referenced public files, including changed stylesheets and
|
|
258
|
+
their imports. Invalid resources make Changes unavailable until repaired;
|
|
259
|
+
verified deletions still identify affected screens, while All remains accessible.
|
|
260
|
+
Serve automatically watches those referenced local resources, including nested
|
|
261
|
+
CSS imports, and refreshes its watch set when their references change.
|
|
262
|
+
Lightweight watched updates immediately clear stale Changes evidence and notify
|
|
263
|
+
the browser without restarting the server child. A sequence-checked background
|
|
264
|
+
classification publishes a later update with the complete replacement snapshot;
|
|
265
|
+
failed or superseded calculations cannot restore stale rows.
|
|
266
|
+
Served `/static/` files use `Cache-Control: no-store`, so a watched reload reads
|
|
267
|
+
the rebuilt fragments and resources even when their URLs remain unchanged.
|
|
268
|
+
Changed screens and changed or removed saved component variants offer
|
|
269
|
+
Current / Side by side / Overlay / Difference beneath the heading. The controls
|
|
270
|
+
are available from All and Changes, and start in Current. Known unchanged views
|
|
271
|
+
show Unmodified without a comparison band; unknown evidence has no status badge.
|
|
272
|
+
During development, Mokly generates comparison snapshots only after a diff
|
|
273
|
+
option is selected; browsing, filtering, and watched reloads do not trigger
|
|
274
|
+
generation. Opening a diff reuses completed background evidence and captures only
|
|
275
|
+
the selected screen or saved variant and its referenced assets, without rebuilding
|
|
276
|
+
or snapshotting the entire catalogue. Checked-input fingerprints prevent later
|
|
277
|
+
output edits from silently changing a comparison. See the
|
|
278
|
+
[selected comparison contract](./docs/protocol/mokly-selected-comparisons.md).
|
|
279
|
+
Changing viewport, theme or comparison mode renews the loaded snapshots before
|
|
280
|
+
using them. After an idle comparison expires, Mokly automatically reacquires
|
|
281
|
+
the same screen or saved variant. Available snapshots reuse their loaded result;
|
|
282
|
+
published catalogues need no renewal requests.
|
|
283
|
+
Published catalogues with Changes enabled prepare snapshots during publishing, then load
|
|
284
|
+
and render them only after a diff option is selected. Comparisons
|
|
285
|
+
stay in the same screen, with mobile/desktop and light/dark controls, secondary
|
|
286
|
+
impact evidence, and a refresh option. Loading and failure states keep the
|
|
287
|
+
catalogue available and offer a retry. Navigation and reload return to Current.
|
|
288
|
+
Added entries show their current preview and Added status without comparison
|
|
289
|
+
controls because there is no earlier version to compare. Removed screens show
|
|
290
|
+
their Removed status and an explicit current empty state without comparison
|
|
291
|
+
controls; removed component variants retain an explicit missing current side.
|
|
292
|
+
Affected consumers can show their real before/after differences without entering Changes. Comparison,
|
|
293
|
+
shared-impact, and declared-dependency evidence stays in the Details inspector.
|
|
294
|
+
Evidence remains available independently of comparison controls. Links and
|
|
295
|
+
incoming comparison URLs are checked against the selected saved view, so a
|
|
296
|
+
current-only Added or Removed screen cannot activate a hidden comparison;
|
|
297
|
+
Removed component variants can still open their retained baseline.
|
|
298
|
+
|
|
299
|
+
The comparison engine retains the Git branch-point baseline, ignored-region
|
|
300
|
+
rules, and isolated snapshot dependencies. Its private diagnostic summary counts
|
|
301
|
+
screens with output changes separately from dependency evidence and ignored-only
|
|
302
|
+
edits. Each count includes a screen once across all viewports and color schemes;
|
|
303
|
+
these screen counts differ from the catalogue's screen, page, and flow count.
|
|
304
|
+
Overlays use 50% opacity; Difference
|
|
305
|
+
uses CSS blending, without inventing pixel measurements. Immutable generations
|
|
306
|
+
keep snapshots coherent during refresh, retain replaced resources briefly, and
|
|
307
|
+
drain generation work before shutdown. The former Review tab, standalone report,
|
|
308
|
+
`mokly review` command, and its report-output option have been removed.
|
|
309
|
+
`--out` is supported only by the separate `export` command.
|
|
310
|
+
|
|
311
|
+
Consumer documents run in sandboxed frames. Comparisons keep unmodified base/head
|
|
312
|
+
documents in separate snapshot trees and copies their referenced local CSS,
|
|
313
|
+
fonts, and images so comparison artifacts do not depend on the live workspace.
|
|
314
|
+
Served comparison snapshots reject symbolic links at the file, ancestor-directory,
|
|
315
|
+
and retained-root boundaries, and serve only regular files.
|
|
316
|
+
Filesystem-backed Browse and comparison routes reject malformed encoding,
|
|
317
|
+
traversal segments, absolute paths, and forward or backslash separators
|
|
318
|
+
introduced by decoding one original URL segment before resolving a consumer
|
|
319
|
+
file.
|
|
320
|
+
Base resources must use portable relative URLs or explicit HTTP(S)/data URLs;
|
|
321
|
+
root-absolute, protocol-relative, and unsupported-scheme URLs fail comparison.
|
|
322
|
+
Browse authenticates catalogue-link metadata only on current manifest-owned
|
|
323
|
+
generated fragments and whole-document pages. It reads only each shell-owned frame's
|
|
324
|
+
immediate same-origin document, while scripts, forms, downloads, popups, and
|
|
325
|
+
top navigation remain unavailable to consumer content and nested frames.
|
|
326
|
+
Copied base resources must be regular Git files outside configured source roots.
|
|
327
|
+
Inside a fragment, use `MockLink` for catalogue destinations; root-absolute and
|
|
328
|
+
logical screen routes are not portable links in generated static files. Build
|
|
329
|
+
and check rewrite and validate every supported `href` and `data-nav-href`, plus
|
|
330
|
+
local HTML resource attributes and transitive CSS URLs. Watched Serve keeps its
|
|
331
|
+
resolved port, transactionally reloads a changed consumer config with a ready
|
|
332
|
+
replacement watcher, and serially replaces a child that exits unexpectedly
|
|
333
|
+
after readiness. A watched child also closes its server when the parent IPC
|
|
334
|
+
channel disconnects. Header-proven generated output plus package-owned
|
|
335
|
+
dependency, build, test, comparison, and transaction paths are pruned even when a
|
|
336
|
+
custom rule watches the repository root; an unowned public HTML file can still
|
|
337
|
+
use an explicit watch rule, and configured stylesheets and referenced resources
|
|
338
|
+
retain reload precedence. Shutdown interrupts replacement-watcher readiness and
|
|
339
|
+
active Git classification, closes the
|
|
340
|
+
candidate before draining the remaining lifecycle, and waits for child exit
|
|
341
|
+
through graceful, terminate, and force-kill stages. Failed startup, child
|
|
342
|
+
transport errors, and unexpected IPC disconnection use the same cleanup;
|
|
343
|
+
disconnection is detected immediately even if the child remains alive and no
|
|
344
|
+
further update is sent. A replacement waits until the previous process has
|
|
345
|
+
stopped. Concurrent shutdown requests share that wait, and late readiness
|
|
346
|
+
messages cannot revive a closing child. Startup allows a watched child up to five
|
|
347
|
+
minutes to become ready before cleanup begins. Every served catalogue shell
|
|
348
|
+
records the update version captured when its request begins. Open shell pages compare that
|
|
349
|
+
snapshot with the versioned event stream and reload after a newer build or
|
|
350
|
+
asset version arrives, including when the build completes before the initial
|
|
351
|
+
stream connection. Publishing a reload-only watch update invalidates the comparison cache; another
|
|
352
|
+
explicit diff selection regenerates it. A
|
|
353
|
+
watched reload restores Browse search, filter, current and pre-filter collection
|
|
354
|
+
disclosures, viewport, drawer, and scroll state once on the same durable URL.
|
|
355
|
+
Browse also retains each history entry's latest document position for Back and
|
|
356
|
+
Forward. Skip links and same-document fragment history preserve the current view
|
|
357
|
+
and native focus without reloading it; route and saved-variant query changes
|
|
358
|
+
still restore the matching page. While Changes filtering is active, route changes preserve collections
|
|
359
|
+
the user collapsed and open only the destination's ancestor path. Editing the
|
|
360
|
+
search or filter reveals its current matches. Clearing all filtering restores
|
|
361
|
+
the earlier disclosures, except that a navigated destination's path stays open.
|
|
362
|
+
A rejected config, index, or replacement watcher leaves the last-good generation
|
|
363
|
+
active. A later background render/write failure preserves the previous generated
|
|
364
|
+
output and withholds complete evidence; valid on-demand previews remain usable.
|
|
365
|
+
|
|
366
|
+
## Configuration
|
|
367
|
+
|
|
368
|
+
Mokly discovers `mokly.config.ts`, `.mts`, `.js`, or `.mjs` by walking
|
|
369
|
+
upward from the current directory. Every filesystem path is relative to that
|
|
370
|
+
file and confined to `repoRoot`.
|
|
371
|
+
|
|
372
|
+
Transitive authoring imports must also remain inside that root. Config, entry,
|
|
373
|
+
renderer, transformer, and page-helper imports outside it fail with the offending
|
|
374
|
+
path instead of creating an incomplete source inventory. Move shared authoring
|
|
375
|
+
code inside the root or explicitly configure a common root containing it;
|
|
376
|
+
installed dependencies remain supported outside the root.
|
|
377
|
+
All bundler file inputs are protected authoring sources, including images or
|
|
378
|
+
data imported through asset loaders. Editing them rebuilds the catalogue.
|
|
379
|
+
Assets referenced only by public HTML/CSS URLs remain public resources.
|
|
380
|
+
|
|
381
|
+
- `entriesDir` and `mockupsDir` select structured source and generated output.
|
|
382
|
+
- `colorSchemes` defaults to `["light"]`; `["light", "dark"]` enables dark
|
|
383
|
+
fragments catalogue-wide, with per-screen light-only opt-outs.
|
|
384
|
+
- `renderer` and ordered `stylesheets` keep product themes and CSS
|
|
385
|
+
consumer-owned. A stylesheet rule may append `lightStylesheets` or
|
|
386
|
+
`darkStylesheets` after its shared list for the matching output.
|
|
387
|
+
- `moduleResolution` configures package roots, aliases, export conditions,
|
|
388
|
+
package fields, file extensions, and esbuild loaders for cross-platform
|
|
389
|
+
component trees.
|
|
390
|
+
- `legacy` configuration has been removed. Register complete documents with
|
|
391
|
+
`definePage` or nested `page`; imported helpers remain protected source inputs.
|
|
392
|
+
- `watch` classifies additional consumer inputs after proven package-owned
|
|
393
|
+
ignores, configured stylesheets, and referenced resources; this includes
|
|
394
|
+
unrelated authored static HTML under `mockupsDir`. `review` selects the Git
|
|
395
|
+
base ref used to find the branch point,
|
|
396
|
+
internal snapshot directory, and shared-impact globs.
|
|
397
|
+
- `compatibility.readManifestV2` permits a historical v2 Git baseline only when
|
|
398
|
+
its canonical manifest is absent. Current output always requires v5. A temporary `compatibility.transformer` may deterministically
|
|
399
|
+
repair already-authored documents during a consumer cutover; final links,
|
|
400
|
+
resources, and the comment-safe generated source proof are still validated.
|
|
401
|
+
|
|
402
|
+
Use `MockLink` for catalogue destinations. Raw relative links remain suitable
|
|
403
|
+
for real static assets and complete documents, but logical screen/use-case routes
|
|
404
|
+
do not name generated files in schema v5.
|
|
405
|
+
|
|
406
|
+
## Whole-document pages
|
|
407
|
+
|
|
408
|
+
Use a page for an existing complete HTML document without inventing device
|
|
409
|
+
variants. Add its ID to the owning collection's `childIds`:
|
|
410
|
+
|
|
411
|
+
```tsx
|
|
412
|
+
import { definePage } from "@mokly/mokly";
|
|
413
|
+
import { source } from "../pages/handbook.source.js";
|
|
414
|
+
|
|
415
|
+
export const mockups = [
|
|
416
|
+
definePage({
|
|
417
|
+
id: "handbook",
|
|
418
|
+
title: "Handbook",
|
|
419
|
+
description: "Product reference notes.",
|
|
420
|
+
route: "handbook.html",
|
|
421
|
+
dependencies: ["docs/mockups/src/pages/handbook.source.tsx"],
|
|
422
|
+
relatedDocs: [],
|
|
423
|
+
tags: ["documents"],
|
|
424
|
+
render: source,
|
|
425
|
+
}),
|
|
426
|
+
];
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
The synchronous callback runs once and returns one complete HTML document at
|
|
430
|
+
the exact route. Pages share IDs, ancestry, links, tags, Changes, source guards,
|
|
431
|
+
and safe output transactions with screens. Page titles and collection membership
|
|
432
|
+
do not rewrite explicit routes. Nested `page({ slug, ... })` definitions derive
|
|
433
|
+
routes from `defineRoot.path`, collection segments, and their slug.
|
|
434
|
+
|
|
435
|
+
This is a breaking upgrade: current output requires manifest v5, and legacy
|
|
436
|
+
configuration, discovery, comment expansion, aliases, and lint settings are
|
|
437
|
+
removed. The [migration guide](./docs/protocol/mokly-page-migration.md)
|
|
438
|
+
explains source-preserving registration and safe regeneration of old artifacts.
|
|
439
|
+
Source folders and route folders never create additional navigation groups.
|
|
440
|
+
Historical v2/v3 documents pair with registered pages only at exact preserved
|
|
441
|
+
routes, using the same material-content, paired-ignore, and resource rules.
|
|
442
|
+
New IDs and collection metadata can still put migrated pages in Changes;
|
|
443
|
+
unmatched historical documents never become removed catalogue entries.
|
|
444
|
+
|
|
445
|
+
## Rendering Boundary
|
|
446
|
+
|
|
447
|
+
The default renderer produces neutral static HTML. A consumer renderer can wrap
|
|
448
|
+
the React node in its theme/context and return a complete document. Accounting,
|
|
449
|
+
for example, will keep React Native Web style collection in that adapter rather
|
|
450
|
+
than making React Native Web a Mokly dependency.
|
|
451
|
+
|
|
452
|
+
Entries, the renderer, and imported document helpers are bundled into one
|
|
453
|
+
build-time graph. React and React DOM resolve from the consumer config location,
|
|
454
|
+
which prevents duplicate React instances even when the executable came from an
|
|
455
|
+
npx cache. See [the build pipeline](./docs/architecture/build-pipeline.md) for
|
|
456
|
+
the complete raw-React-to-static-HTML flow.
|
|
457
|
+
|
|
458
|
+
The configuration module itself is also bundled from its own directory, so
|
|
459
|
+
imports of consumer workspace packages resolve before the temporary config
|
|
460
|
+
module is evaluated.
|
|
461
|
+
|
|
462
|
+
Consumer module-resolution overrides are explicit and contain no React Native
|
|
463
|
+
or app defaults. `packageRoots` must identify in-repository directories with a
|
|
464
|
+
`package.json`; Mokly searches their `node_modules` directories while still
|
|
465
|
+
forcing React peers to the consumer's one runtime.
|
|
466
|
+
|
|
467
|
+
## Troubleshooting
|
|
468
|
+
|
|
469
|
+
- **Node crashes in `cjs_lexer::Parse`:** upgrade to a patched Node LTS release.
|
|
470
|
+
Node 24.14.1 has an [upstream native-loader crash](https://github.com/nodejs/node/issues/63323)
|
|
471
|
+
that can surface during worker startup/shutdown. Node 24.21.0 includes the fix;
|
|
472
|
+
this is separate from a Mokly render or validation error.
|
|
473
|
+
- **No config found:** run from the consumer repository or pass `--config`
|
|
474
|
+
after the command.
|
|
475
|
+
- **A generated file is stale:** run `mokly build`, inspect the diff, then
|
|
476
|
+
rerun `mokly check`.
|
|
477
|
+
- **Mokly refuses an overwrite:** the existing HTML lacks a valid Mokly
|
|
478
|
+
ownership header. Current headers encode their source identity so every valid
|
|
479
|
+
repository filename remains safe inside an HTML comment. Move an unowned file
|
|
480
|
+
or choose a non-colliding route; the tool will not delete authored output.
|
|
481
|
+
- **A package or React peer cannot resolve:** install React/React DOM in the
|
|
482
|
+
consumer and configure the correct `moduleResolution.packageRoots` for a
|
|
483
|
+
nested npm workspace.
|
|
484
|
+
- **A link fails validation:** use `MockLink` for an entry id and a relative URL
|
|
485
|
+
for a real generated/static file. Root-absolute and source-tree links are not
|
|
486
|
+
portable.
|
|
487
|
+
- **A watched edit fails:** fix the reported candidate build/config error. The
|
|
488
|
+
last-good server remains active and adopts the next valid change.
|
|
489
|
+
- **Export cannot find its baseline:** fetch the configured base with enough
|
|
490
|
+
Git history and retain its committed manifest/fragments. Export never fetches
|
|
491
|
+
history and does not silently omit comparisons.
|
|
492
|
+
- **Export refuses its destination:** choose a missing/empty directory outside
|
|
493
|
+
source, generated, dependency, and comparison roots. Keep unrelated files out
|
|
494
|
+
of owned exports. For a retained reservation, confirm no export is running,
|
|
495
|
+
inspect its stage/backup, and recover the previous site before moving an
|
|
496
|
+
abandoned reservation. Never delete a live writer's reservation.
|
|
497
|
+
|
|
498
|
+
## Developer Setup
|
|
499
|
+
|
|
500
|
+
The repository requires Node.js 22.14 or newer, npm 11, and Rust 1.95 for its
|
|
501
|
+
repository tasks.
|
|
502
|
+
|
|
503
|
+
```bash
|
|
504
|
+
npm ci
|
|
505
|
+
npm run build
|
|
506
|
+
npm test
|
|
507
|
+
npm run test:browser
|
|
508
|
+
npm run example:build
|
|
509
|
+
npm run example:check
|
|
510
|
+
cargo xtask check
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
For local development after installing dependencies, run:
|
|
514
|
+
|
|
515
|
+
```bash
|
|
516
|
+
npm run dev
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
This builds the local CLI and starts the example catalogue with watching enabled.
|
|
520
|
+
Open the printed URL, starting at `http://127.0.0.1:4173`. Edits to example
|
|
521
|
+
entries, the renderer, and configured stylesheets update the catalogue
|
|
522
|
+
automatically; generated HTML is written to `examples/basic/generated/`.
|
|
523
|
+
Use `npm run dev -- --port 0` to let the operating system choose a free port.
|
|
524
|
+
Restart the command after changing Mokly's own `src/` files; the CLI is rebuilt on every start.
|
|
525
|
+
|
|
526
|
+
`npm run test:browser` drives the catalogue shell and on-demand screen comparisons
|
|
527
|
+
in Chromium via Playwright. Comparison tests await the real generation response
|
|
528
|
+
before asserting the rendered UI. Static preview fixtures use ephemeral
|
|
529
|
+
inspector ports to isolate concurrent workspaces. The suite uses the installed
|
|
530
|
+
Chrome channel by default and honors `PLAYWRIGHT_CHANNEL` for an alternative
|
|
531
|
+
browser install. Parallel
|
|
532
|
+
workspaces can set `MOKLY_PLAYWRIGHT_PORT` to an available port.
|
|
533
|
+
After activating an in-frame design link, assert the outer catalogue URL before
|
|
534
|
+
using the destination's controls. Frame-link enhancement updates the outer shell
|
|
535
|
+
asynchronously; the click alone can return while the previous frame is visible.
|
|
536
|
+
Before checking controls or visibility inside a newly navigated preview, use
|
|
537
|
+
`expectFrameLoaded` from `tests/browser/workspace_actions.ts` to wait for the
|
|
538
|
+
target frame URL and completed document together. The outer URL and active
|
|
539
|
+
navigation row can update before the frame's stylesheets finish loading;
|
|
540
|
+
`expectFrameSource` alone checks navigation, not rendering readiness. Keep
|
|
541
|
+
strict visibility and control assertions after the readiness check.
|
|
542
|
+
Real Git-backed comparison fixtures wait for completed Changes classification.
|
|
543
|
+
The shared browser example also waits for terminal Changes in global setup
|
|
544
|
+
before tests begin, so comparison and navigation assertions start with complete
|
|
545
|
+
evidence. Loading-state and continuity tests own explicit pending fixtures to
|
|
546
|
+
exercise evidence completion during browsing and editing.
|
|
547
|
+
Run the full browser suite separately from other top-level
|
|
548
|
+
checks: publication fixtures rebuild shared package and example output.
|
|
549
|
+
Watched tests that assert a stable update version also wait for final Changes
|
|
550
|
+
status before capturing their baseline; Usage completion alone can precede
|
|
551
|
+
another background publication.
|
|
552
|
+
Comparison tests await their final JSON response before applying UI assertion
|
|
553
|
+
deadlines. Cold snapshot generation has a bounded
|
|
554
|
+
30-second wait tied to the newly triggered request, refresh intent, and its
|
|
555
|
+
redirect chain; stale/background responses cannot satisfy it. The existing UI
|
|
556
|
+
assertions retain their default deadlines.
|
|
557
|
+
Snapshot-link tests await the selected frame's load and native navigation events
|
|
558
|
+
before checking destination content; a parsed link alone does not mean its
|
|
559
|
+
resources have finished loading. CI uses the Playwright-installed Chromium, and
|
|
560
|
+
retains browser traces and error context when verification fails.
|
|
561
|
+
Pages preview setup timeouts belong in the setup hook, so build time is
|
|
562
|
+
separate from browser assertions.
|
|
563
|
+
Resource-watch tests that replace a file in multiple steps use
|
|
564
|
+
`waitForChangedCount` to wait for the expected Changes count. A newer version
|
|
565
|
+
alone may describe the temporary removal; the helper keeps a bounded wait for
|
|
566
|
+
recovery and reports the last published state if it times out.
|
|
567
|
+
|
|
568
|
+
`cargo xtask check` is the authoritative local gate. It starts with a live
|
|
569
|
+
dependency audit (`npm run dependencies:check`), then includes formatting,
|
|
570
|
+
lint, typechecking, unit/integration tests, the committed example, package
|
|
571
|
+
allowlist and license checks, clean packed ESM/NodeNext/npx/Accounting/Juno
|
|
572
|
+
consumers, Chromium tests, and all Rust checks. It also audits the freshly
|
|
573
|
+
resolved packed consumer's production dependencies. Registry access is required;
|
|
574
|
+
known advisories or registry errors fail verification. See the
|
|
575
|
+
[dependency security contract](./docs/protocol/dependency-security.md).
|
|
576
|
+
`npm test` limits test-file parallelism to four workers to keep subprocess-heavy
|
|
577
|
+
fixtures within their existing startup deadlines on shared developer machines.
|
|
578
|
+
All tests still run, including their explicit concurrent-writer and race cases.
|
|
579
|
+
Watcher tests use `tests/helpers/watched_catalogue.ts` to await a newer version
|
|
580
|
+
and the expected Changes state within the existing deadline. Multi-operation
|
|
581
|
+
edits can publish intermediate states; the first newer version alone does not
|
|
582
|
+
prove that an entire replacement or repair has completed.
|
|
583
|
+
|
|
584
|
+
## Export And Publish A Consumer Build
|
|
585
|
+
|
|
586
|
+
From the consumer repository, run:
|
|
587
|
+
|
|
588
|
+
```bash
|
|
589
|
+
npx mokly export --out .context/mokly-site
|
|
590
|
+
# For a config under tools/, write tools/site/ and select another Git base:
|
|
591
|
+
npx mokly export --config tools/mokly.config.ts --out site --base main
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
Export builds first, then packages the complete catalogue, real id aliases,
|
|
595
|
+
assets, and Git comparisons. `--out` is required and config-relative, not
|
|
596
|
+
working-directory-relative; absolute paths must remain inside `repoRoot`.
|
|
597
|
+
`--base` overrides `review.base` (default `origin/main`). The Git branch point
|
|
598
|
+
must contain the committed manifest and required fragments/assets; CI should
|
|
599
|
+
check out full history. Normal build validation, including nonempty registry
|
|
600
|
+
requirements, still applies.
|
|
601
|
+
|
|
602
|
+
Configured package roots nested inside `mockupsDir` are excluded from both
|
|
603
|
+
current assets and comparison snapshots. A package root equal to `mockupsDir`
|
|
604
|
+
is rejected; use a separate public output directory. Local navigation links
|
|
605
|
+
must also target existing document anchors.
|
|
606
|
+
|
|
607
|
+
Deploy the directory's contents with your own hosting provider. Mokly does
|
|
608
|
+
not upload files or manage hosting credentials. Serve it at the HTTP(S) origin
|
|
609
|
+
root with correct MIME types and directory indexes; no Mokly process, Git,
|
|
610
|
+
source tree, or rewrite rules are needed there. Subpath hosting and `file://`
|
|
611
|
+
catalogue browsing are unsupported. Configure shell and mutable-asset revalidation and comparison
|
|
612
|
+
`Cache-Control: no-store` / `X-Content-Type-Options: nosniff` headers, and deploy
|
|
613
|
+
atomically to avoid mixed builds. External HTTP(S) resources stay external, so
|
|
614
|
+
not every catalogue is offline-capable.
|
|
615
|
+
|
|
616
|
+
Comparisons load only after selection. Refresh reads the same exported
|
|
617
|
+
generation; deploy a new export and reload the page for new results. Re-export
|
|
618
|
+
replaces only owned output and restores the previous site on pre-install
|
|
619
|
+
failure when recovery is safe. If another process recreates the destination,
|
|
620
|
+
both it and the captured backup are preserved for manual recovery. Generated
|
|
621
|
+
fragments already written by the build step remain updated
|
|
622
|
+
if the later export fails. See the [export contract](./docs/protocol/mokly-export.md)
|
|
623
|
+
and [hosting contract](./docs/protocol/mokly-export-delivery.md).
|
|
624
|
+
|
|
625
|
+
Output must retain the directory identity inspected before the build. Even an
|
|
626
|
+
empty or correctly marked directory created later is left untouched. Capture,
|
|
627
|
+
installation, and recovery use OS-enforced exclusive moves on Linux, macOS,
|
|
628
|
+
and Windows. Keep optional platform dependencies installed for the native
|
|
629
|
+
bridge; unsupported platforms or filesystems fail without a replacing fallback.
|
|
630
|
+
|
|
631
|
+
Each complete export has its own content-derived deployment identity, separate
|
|
632
|
+
from comparison generations. Navigation from an old tab performs a full reload
|
|
633
|
+
when the deployed catalogue, assets, or host aliases change, even if the
|
|
634
|
+
comparison files are unchanged. Within one deployment, navigation remains
|
|
635
|
+
progressive. Hosting must revalidate mutable files so that reload can fetch them.
|
|
636
|
+
|
|
637
|
+
Concurrent exports to filesystem aliases of the same destination share one
|
|
638
|
+
reservation. The internal `.mokly-export-reservations` directory retains
|
|
639
|
+
small ownership metadata after cleanup; keep authored files out of it. Old
|
|
640
|
+
hashed reservations require explicit recovery after confirming no writer is
|
|
641
|
+
active. Unlisted files inside an exported site remain eligible for configured
|
|
642
|
+
watch rules and prevent replacement until moved elsewhere.
|
|
643
|
+
|
|
644
|
+
Backup cleanup deletes only validated files. Unexpected additions stop cleanup
|
|
645
|
+
and remain available for recovery; the newly installed site stays in place.
|
|
646
|
+
Errors report both the original failure and any cleanup failure, including the
|
|
647
|
+
remaining paths. A partially cleaned backup may no longer contain every old
|
|
648
|
+
generated file. See the [recovery contract](./docs/protocol/mokly-export-recovery.md).
|
|
649
|
+
|
|
650
|
+
`npm test` runs at most two suites concurrently so Git-heavy watcher and
|
|
651
|
+
publication scenarios remain responsive alongside other development work.
|
|
652
|
+
Long resource-watch scenarios allow three minutes for their complete sequence;
|
|
653
|
+
production child-startup and individual watched-update deadlines stay separate.
|
|
654
|
+
|
|
655
|
+
## Preview Deployments
|
|
656
|
+
|
|
657
|
+
`npm run preview:build` exports the current `examples/basic` catalogue to
|
|
658
|
+
`.context/mokly-preview`, including navigation, search, tags, metadata,
|
|
659
|
+
viewport/color choices, ID redirects, resources, and whole-document pages.
|
|
660
|
+
It works without Git history. Both publication options omit live updates,
|
|
661
|
+
watch-only modules, events endpoints, and stale comparison artifacts.
|
|
662
|
+
Both options share the consumer exporter's output transaction, artifact validation,
|
|
663
|
+
and static delivery metadata. They use one validated catalogue snapshot for navigation, captured pages,
|
|
664
|
+
and redirects. Input fingerprints retain the exact manifest bytes used by the
|
|
665
|
+
snapshot and are checked again after capture; a change aborts publication and
|
|
666
|
+
keeps the previous artifact.
|
|
667
|
+
Output stays beneath `.context`, whose resolved location must remain inside the
|
|
668
|
+
real repository root. In-repository symlinks are supported; escaping context,
|
|
669
|
+
parent, or output symlinks are rejected before any publication writes.
|
|
670
|
+
Input capture hashes link text without reading outside or unresolved targets.
|
|
671
|
+
Safe public file and directory aliases are exported as regular files at their
|
|
672
|
+
logical routes; source and internal-metadata aliases remain private. The builder
|
|
673
|
+
requires every current page and screen fragment and checks exported resource
|
|
674
|
+
references before replacing the previous artifact.
|
|
675
|
+
|
|
676
|
+
To include Changes, removed-entry states, and frozen screen comparisons:
|
|
677
|
+
|
|
678
|
+
```bash
|
|
679
|
+
npm run preview:build -- --include-changes
|
|
680
|
+
npm run preview:build -- --include-changes --base origin/main
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
The base defaults to `config.review.base`. The builder pins one merge base for
|
|
684
|
+
impact and comparisons and rejects inputs changing during capture. Visitors
|
|
685
|
+
load immutable packaged comparisons only after selecting a diff; refresh reads
|
|
686
|
+
the same result. Pages participate in Changes but have no visual comparisons.
|
|
687
|
+
Invalid options, unavailable requested history, and capture failures preserve
|
|
688
|
+
the previous owned artifact. See the [publication contract](./docs/protocol/mokly-publication.md).
|
|
689
|
+
The repository builder and its artifact are not part of the npm package.
|
|
690
|
+
|
|
691
|
+
The preview adapter's extensionless URLs must not collide with another file,
|
|
692
|
+
directory, or alias, including case-only differences. A collision stops export
|
|
693
|
+
before replacing the previous site; choose distinct routes or public-file names.
|
|
694
|
+
Preview output must remain below `.context` in both lexical and resolved paths.
|
|
695
|
+
A symlinked scratch root is supported within the repository's safe boundaries,
|
|
696
|
+
but an inner symlink cannot redirect output elsewhere. The same checks run before
|
|
697
|
+
generation and before installation, and the resolved destination is pinned.
|
|
698
|
+
|
|
699
|
+
The Preview workflow keeps deploying `main` to the existing Cloudflare Pages
|
|
700
|
+
project `mokabook` at `https://mokabook.pages.dev`. The infrastructure name is
|
|
701
|
+
retained so the package migration does not interrupt previews. Same-repository,
|
|
702
|
+
non-release pull requests use
|
|
703
|
+
the stable `pr-<number>` branch alias at
|
|
704
|
+
`https://pr-<number>.mokabook.pages.dev`; a sticky `<!-- mokly-preview -->`
|
|
705
|
+
comment reports the deployment status and link. Preview checkouts retain full
|
|
706
|
+
Git history so `origin/main` and route-level changes can be resolved. Closing a
|
|
707
|
+
pull request marks that comment inactive and attempts to remove its
|
|
708
|
+
deployments. Fork pull requests do not receive Cloudflare credentials, and
|
|
709
|
+
Release Please pull requests are skipped because their source changes were
|
|
710
|
+
already previewed.
|
|
711
|
+
|
|
712
|
+
Maintainers must create the direct-upload Pages project with `main` as its
|
|
713
|
+
production branch, then configure repository variable `CLOUDFLARE_ACCOUNT_ID`
|
|
714
|
+
and repository secret `CLOUDFLARE_PAGES_API_TOKEN` (or
|
|
715
|
+
`CLOUDFLARE_API_TOKEN`). The token needs Pages write access for deploy and
|
|
716
|
+
cleanup operations.
|
|
717
|
+
|
|
718
|
+
```bash
|
|
719
|
+
npx --no-install wrangler pages project create mokabook --production-branch main
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
## Releasing
|
|
723
|
+
|
|
724
|
+
Changes use Conventional Commits. On `main`, release-please maintains the
|
|
725
|
+
reviewed version/changelog PR; merging that PR creates an immutable `vX.Y.Z`
|
|
726
|
+
release. The same [Release workflow](./.github/workflows/release.yml) checks the
|
|
727
|
+
tag, reruns the full gate, packs and smoke-tests the exact tarball, guards an
|
|
728
|
+
already-published version, and publishes through npm trusted publishing. A
|
|
729
|
+
bounded post-publish check tolerates npm metadata, tarball, dist-tag, and
|
|
730
|
+
signature propagation before proving the registry artifact. A manual
|
|
731
|
+
`publish_ref` retries only an existing tag. See the
|
|
732
|
+
[release protocol](./docs/protocol/npm-release.md) for the current release/retry
|
|
733
|
+
procedure and maintainer settings. Package versions are release-managed;
|
|
734
|
+
complete the one-time [Mokly registry bootstrap](./docs/protocol/npm-bootstrap.md)
|
|
735
|
+
before the first release, then do not repeat it. Its dedicated
|
|
736
|
+
`node scripts/release/bootstrap.mjs <reviewed-full-commit-sha> <new-output-dir>`
|
|
737
|
+
command builds an isolated checkout and records the source SHA alongside the
|
|
738
|
+
tarball hashes. Verify the [GitHub publishing protections](./docs/protocol/npm-github-protections.md)
|
|
739
|
+
with an authorized maintainer account. Do not add an npm write token to GitHub.
|
|
740
|
+
|
|
741
|
+
The synthetic fixture at [`examples/basic`](./examples/basic/README.md) proves
|
|
742
|
+
custom rendering, stylesheets, id links, collections, use cases, and
|
|
743
|
+
Review-ignore markers without importing an application. Its screens use
|
|
744
|
+
`@firna/ui` through a react-native-web renderer adapter, so the example also
|
|
745
|
+
proves the consumer contract against a real cross-platform component stack.
|
|
746
|
+
Its `Design` catalogue holds the approved catalogue and Changes mockups
|
|
747
|
+
recorded by the
|
|
748
|
+
[shell design contract](./docs/protocol/mokly-shell-design.md).
|
|
749
|
+
The [component design catalogue](./docs/protocol/mokly-component-design.md)
|
|
750
|
+
provides the canonical mobile and desktop inventory for component pages, screen
|
|
751
|
+
inspection, a collapsible icon inspector, and the complete prop-controls states.
|
|
752
|
+
The [controls designs](./docs/protocol/mokly-component-controls-design.md) show
|
|
753
|
+
saved variants and temporary edits, implemented by the local rendering service. The catalogue hierarchy reaches each design without
|
|
754
|
+
adding navigation footers to the artboards. The [workspace designs](./docs/protocol/mokly-component-workspace-design.md) add working viewport/theme/highlight controls, a fixed shell with a resizable inspector, entry change-status badges, and comparison evidence inside Details. Unmodified examples and ordinary Browse/tag-picker designs omit comparison tabs;
|
|
755
|
+
eligible comparisons retain an opaque toolbar. The desktop grip sits on its
|
|
756
|
+
divider line.
|
|
757
|
+
|
|
758
|
+
All 56 design screens reuse the 15 registered components in
|
|
759
|
+
**Components → Design → Shared components**, including the footer tabs panel. The library
|
|
760
|
+
provides 56 saved variants, local prop controls, real usage and component-owned
|
|
761
|
+
change attribution. See the [shared design library guide](./examples/basic/entries/design/library/README.md).
|
|
762
|
+
|
|
763
|
+
The design mockups use `MockLink` for supported navigation and state transitions;
|
|
764
|
+
the two example buttons demonstrate `MockLink asChild`. See the
|
|
765
|
+
[design mockup links contract](./docs/protocol/mokly-design-links.md) for
|
|
766
|
+
canonical destinations and the controls that remain visual depictions.
|
|
767
|
+
|
|
768
|
+
### Key Code
|
|
769
|
+
|
|
770
|
+
- [`src/index.ts`](./src/index.ts) — supported public authoring API.
|
|
771
|
+
- [`src/config`](./src/config) — config discovery, loading, and confinement.
|
|
772
|
+
- [`src/build`](./src/build) — single-graph bundling, compilation, links, check,
|
|
773
|
+
and transactional writes.
|
|
774
|
+
- [`src/server`](./src/server) — manifest-backed HTTP, the responsive shell,
|
|
775
|
+
and the watched child lifecycle.
|
|
776
|
+
- [`src/client`](./src/client) — progressive Browse navigation and versioned
|
|
777
|
+
live updates served to the browser.
|
|
778
|
+
- [`src/navigation`](./src/navigation) and [`src/browse`](./src/browse) — shared
|
|
779
|
+
logical-target grammar and ownership-aware HTML adaptation.
|
|
780
|
+
- [`src/review`](./src/review) — Git extraction, comparison, ignore normalization,
|
|
781
|
+
and isolated comparison snapshots.
|
|
782
|
+
- [`src/build/source_inventory.ts`](./src/build/source_inventory.ts) — resolved
|
|
783
|
+
authoring inputs; [`src/config/public_files.ts`](./src/config/public_files.ts)
|
|
784
|
+
applies the shared source and internal-metadata policy to public resources.
|
|
785
|
+
- [`src/server/catalogue_snapshot.ts`](./src/server/catalogue_snapshot.ts) —
|
|
786
|
+
one validated generation for serving and publication; HTTP dispatch lives in
|
|
787
|
+
[`src/server/http_routes.ts`](./src/server/http_routes.ts).
|
|
788
|
+
- [`src/components`](./src/components) — public component definitions, schemas,
|
|
789
|
+
captured input ownership, and manifest-v5 validation.
|
|
790
|
+
- [`examples/basic/entries/design/library`](./examples/basic/entries/design/library/README.md)
|
|
791
|
+
— shared components used by the design catalogue itself.
|
|
792
|
+
- [`xtask`](./xtask/README.md) — full repository verification.
|
|
793
|
+
|
|
794
|
+
### Related Docs
|
|
795
|
+
|
|
796
|
+
The [registered components contract](./docs/protocol/mokly-components.md)
|
|
797
|
+
links to the [change attribution](./docs/protocol/mokly-component-changes.md),
|
|
798
|
+
[pages and inspection](./docs/protocol/mokly-component-explorer.md), and
|
|
799
|
+
[local prop controls](./docs/protocol/mokly-component-controls.md) contracts.
|
|
800
|
+
Registration, saved fragments, validated props, change attribution, inspector
|
|
801
|
+
pages, and local editable controls are implemented. Static exports retain saved
|
|
802
|
+
variants, comparisons and read-only inspection. Development plans are indexed
|
|
803
|
+
in the [plans index](./plans/README.md).
|
|
804
|
+
|
|
805
|
+
- [Protocol index](./docs/protocol/README.md)
|
|
806
|
+
- [Package ownership boundary](./docs/architecture/package-boundary.md)
|
|
807
|
+
- [Accounting migration inventory](./docs/migration/accounting-framework-inventory.md)
|
|
808
|
+
- [Styled control migration guide](./docs/migration/accounting-link-controls.md)
|
|
809
|
+
- [Implementation review prompt](./docs/implementation-review-prompt.md)
|
|
810
|
+
- [Implementation plans](./plans/README.md)
|
|
811
|
+
- [Unified catalogue pages](./docs/protocol/mokly-pages.md) and
|
|
812
|
+
[required breaking upgrade](./docs/protocol/mokly-page-migration.md)
|
|
813
|
+
- [Authoring source protection](./docs/protocol/mokly-source-protection.md) and
|
|
814
|
+
[catalogue change metadata](./docs/protocol/mokly-catalogue-changes.md)
|
|
815
|
+
- [Versioned Accounting page migration](./docs/migration/accounting-page-entries.md)
|