@cbnventures/docusaurus-preset-nova 0.25.2 → 0.27.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/build/package.json +29 -27
- package/build/src/blocks/app-market-download/index.d.ts +1 -1
- package/build/src/blocks/app-market-download/index.d.ts.map +1 -1
- package/build/src/blocks/blog-preview/index.d.ts +1 -1
- package/build/src/blocks/blog-preview/index.d.ts.map +1 -1
- package/build/src/blocks/canvas/index.d.ts +1 -1
- package/build/src/blocks/canvas/index.d.ts.map +1 -1
- package/build/src/blocks/features/index.d.ts +1 -1
- package/build/src/blocks/features/index.d.ts.map +1 -1
- package/build/src/blocks/hero/index.d.ts +1 -1
- package/build/src/blocks/hero/index.d.ts.map +1 -1
- package/build/src/blocks/install-strip/index.d.ts +1 -1
- package/build/src/blocks/install-strip/index.d.ts.map +1 -1
- package/build/src/blocks/spotlight/index.d.ts +1 -1
- package/build/src/blocks/spotlight/index.d.ts.map +1 -1
- package/build/src/blocks/stats/index.d.ts +1 -1
- package/build/src/blocks/stats/index.d.ts.map +1 -1
- package/build/src/blocks/terminology/index.d.ts +1 -1
- package/build/src/blocks/terminology/index.d.ts.map +1 -1
- package/build/src/blocks/typewriter/index.d.ts +2 -2
- package/build/src/blocks/typewriter/index.d.ts.map +1 -1
- package/build/src/cli/i18n/check.js +12 -16
- package/build/src/cli/i18n/check.js.map +1 -1
- package/build/src/cli/i18n/coverage.js +27 -34
- package/build/src/cli/i18n/coverage.js.map +1 -1
- package/build/src/cli/i18n/sync.js +17 -21
- package/build/src/cli/i18n/sync.js.map +1 -1
- package/build/src/cli/index.js +16 -21
- package/build/src/cli/index.js.map +1 -1
- package/build/src/get-swizzle-config.js +1 -4
- package/build/src/get-swizzle-config.js.map +1 -1
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +76 -65
- package/build/src/index.js.map +1 -1
- package/build/src/lib/bundle-size.js +7 -10
- package/build/src/lib/bundle-size.js.map +1 -1
- package/build/src/lib/code-block-metastring.d.ts +3 -0
- package/build/src/lib/code-block-metastring.d.ts.map +1 -0
- package/build/src/lib/code-block-metastring.js +36 -0
- package/build/src/lib/code-block-metastring.js.map +1 -0
- package/build/src/lib/color.js +3 -7
- package/build/src/lib/color.js.map +1 -1
- package/build/src/lib/compare-preset-theme-files.js +1 -4
- package/build/src/lib/compare-preset-theme-files.js.map +1 -1
- package/build/src/lib/css-generator.js +6 -10
- package/build/src/lib/css-generator.js.map +1 -1
- package/build/src/lib/filter-preset-theme-file.js +1 -4
- package/build/src/lib/filter-preset-theme-file.js.map +1 -1
- package/build/src/lib/google-fonts-url.js +3 -6
- package/build/src/lib/google-fonts-url.js.map +1 -1
- package/build/src/lib/i18n/apply-plan.js +12 -16
- package/build/src/lib/i18n/apply-plan.js.map +1 -1
- package/build/src/lib/i18n/content-scan.js +19 -23
- package/build/src/lib/i18n/content-scan.js.map +1 -1
- package/build/src/lib/i18n/coverage.js +1 -5
- package/build/src/lib/i18n/coverage.js.map +1 -1
- package/build/src/lib/i18n/prompt.js +3 -10
- package/build/src/lib/i18n/prompt.js.map +1 -1
- package/build/src/lib/i18n/reconcile.js +1 -5
- package/build/src/lib/i18n/reconcile.js.map +1 -1
- package/build/src/lib/i18n/report.js +4 -8
- package/build/src/lib/i18n/report.js.map +1 -1
- package/build/src/lib/i18n/site-context.d.ts.map +1 -1
- package/build/src/lib/i18n/site-context.js +28 -31
- package/build/src/lib/i18n/site-context.js.map +1 -1
- package/build/src/lib/module-loader.d.ts +4 -0
- package/build/src/lib/module-loader.d.ts.map +1 -0
- package/build/src/lib/module-loader.js +9 -0
- package/build/src/lib/module-loader.js.map +1 -0
- package/build/src/lib/progress-bar.d.ts +4 -0
- package/build/src/lib/progress-bar.d.ts.map +1 -0
- package/build/src/lib/progress-bar.js +56 -0
- package/build/src/lib/progress-bar.js.map +1 -0
- package/build/src/lib/regex.d.ts +0 -2
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +42 -47
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/rehype-shiki.d.ts.map +1 -1
- package/build/src/lib/rehype-shiki.js +7 -9
- package/build/src/lib/rehype-shiki.js.map +1 -1
- package/build/src/lib/safe-json-ld.js +3 -6
- package/build/src/lib/safe-json-ld.js.map +1 -1
- package/build/src/lib/search/classic-worker.d.ts +3 -0
- package/build/src/lib/search/classic-worker.d.ts.map +1 -0
- package/build/src/lib/search/classic-worker.js +10 -0
- package/build/src/lib/search/classic-worker.js.map +1 -0
- package/build/src/lib/search/indexer.d.ts.map +1 -1
- package/build/src/lib/search/indexer.js +35 -67
- package/build/src/lib/search/indexer.js.map +1 -1
- package/build/src/lib/shiki-themes.js +1 -4
- package/build/src/lib/shiki-themes.js.map +1 -1
- package/build/src/lib/sidebar-mobile-store.js +3 -8
- package/build/src/lib/sidebar-mobile-store.js.map +1 -1
- package/build/src/lib/sticky-layout.js +1 -4
- package/build/src/lib/sticky-layout.js.map +1 -1
- package/build/src/lib/toc-collapsible-store.js +5 -12
- package/build/src/lib/toc-collapsible-store.js.map +1 -1
- package/build/src/lib/translations.js +1 -5
- package/build/src/lib/translations.js.map +1 -1
- package/build/src/lib/use-color-mode-observer.js +4 -7
- package/build/src/lib/use-color-mode-observer.js.map +1 -1
- package/build/src/lib/use-details-dismiss.js +3 -6
- package/build/src/lib/use-details-dismiss.js.map +1 -1
- package/build/src/lib/use-navbar-active-item.js +3 -6
- package/build/src/lib/use-navbar-active-item.js.map +1 -1
- package/build/src/lib/use-navbar-overflow.js +7 -10
- package/build/src/lib/use-navbar-overflow.js.map +1 -1
- package/build/src/lib/use-overlay-panel.js +8 -11
- package/build/src/lib/use-overlay-panel.js.map +1 -1
- package/build/src/lib/webpack-cache.d.ts +3 -0
- package/build/src/lib/webpack-cache.d.ts.map +1 -0
- package/build/src/lib/webpack-cache.js +18 -0
- package/build/src/lib/webpack-cache.js.map +1 -0
- package/build/src/options.d.ts.map +1 -1
- package/build/src/options.js +143 -133
- package/build/src/options.js.map +1 -1
- package/build/src/plugins/bundle-guard/index.js +6 -9
- package/build/src/plugins/bundle-guard/index.js.map +1 -1
- package/build/src/plugins/icons/base-set.js +1 -4
- package/build/src/plugins/icons/base-set.js.map +1 -1
- package/build/src/plugins/icons/generate.d.ts.map +1 -1
- package/build/src/plugins/icons/generate.js +23 -25
- package/build/src/plugins/icons/generate.js.map +1 -1
- package/build/src/plugins/icons/index.js +11 -14
- package/build/src/plugins/icons/index.js.map +1 -1
- package/build/src/plugins/mermaid-tooltip/client.js +1 -2
- package/build/src/plugins/mermaid-tooltip/client.js.map +1 -1
- package/build/src/plugins/mermaid-tooltip/index.d.ts.map +1 -1
- package/build/src/plugins/mermaid-tooltip/index.js +6 -6
- package/build/src/plugins/mermaid-tooltip/index.js.map +1 -1
- package/build/src/preset.d.ts.map +1 -1
- package/build/src/preset.js +35 -31
- package/build/src/preset.js.map +1 -1
- package/build/src/presets/envoy/preset.js +1 -4
- package/build/src/presets/envoy/preset.js.map +1 -1
- package/build/src/presets/foundry/preset.js +1 -4
- package/build/src/presets/foundry/preset.js.map +1 -1
- package/build/src/presets/index.js +14 -17
- package/build/src/presets/index.js.map +1 -1
- package/build/src/presets/lantern/preset.js +1 -4
- package/build/src/presets/lantern/preset.js.map +1 -1
- package/build/src/presets/marshal/preset.js +1 -4
- package/build/src/presets/marshal/preset.js.map +1 -1
- package/build/src/presets/sample/preset.js +1 -4
- package/build/src/presets/sample/preset.js.map +1 -1
- package/build/src/presets/sentinel/preset.js +1 -4
- package/build/src/presets/sentinel/preset.js.map +1 -1
- package/build/src/presets/signal/preset.js +1 -4
- package/build/src/presets/signal/preset.js.map +1 -1
- package/build/src/scripts/announcement-bar-init.js +1 -4
- package/build/src/scripts/announcement-bar-init.js.map +1 -1
- package/build/src/scripts/color-mode-init.js +1 -4
- package/build/src/scripts/color-mode-init.js.map +1 -1
- package/build/src/scripts/data-attribute-query.js +1 -4
- package/build/src/scripts/data-attribute-query.js.map +1 -1
- package/build/src/styles/theme/SearchBar/style.css +12 -34
- package/build/src/tests/cli/i18n/check.test.js +21 -23
- package/build/src/tests/cli/i18n/check.test.js.map +1 -1
- package/build/src/tests/cli/i18n/coverage.test.js +30 -32
- package/build/src/tests/cli/i18n/coverage.test.js.map +1 -1
- package/build/src/tests/cli/i18n/sync.test.js +55 -57
- package/build/src/tests/cli/i18n/sync.test.js.map +1 -1
- package/build/src/tests/config-drift.test.js +29 -2
- package/build/src/tests/config-drift.test.js.map +1 -1
- package/build/src/tests/documentation-dependencies.test.d.ts +2 -0
- package/build/src/tests/documentation-dependencies.test.d.ts.map +1 -0
- package/build/src/tests/documentation-dependencies.test.js +26 -0
- package/build/src/tests/documentation-dependencies.test.js.map +1 -0
- package/build/src/tests/exports-module-format.test.js +15 -11
- package/build/src/tests/exports-module-format.test.js.map +1 -1
- package/build/src/tests/lib/code-block-metastring.test.d.ts +2 -0
- package/build/src/tests/lib/code-block-metastring.test.d.ts.map +1 -0
- package/build/src/tests/lib/code-block-metastring.test.js +27 -0
- package/build/src/tests/lib/code-block-metastring.test.js.map +1 -0
- package/build/src/tests/lib/i18n/apply-plan.test.js +96 -98
- package/build/src/tests/lib/i18n/apply-plan.test.js.map +1 -1
- package/build/src/tests/lib/i18n/content-scan.test.js +63 -65
- package/build/src/tests/lib/i18n/content-scan.test.js.map +1 -1
- package/build/src/tests/lib/i18n/coverage.test.js +24 -26
- package/build/src/tests/lib/i18n/coverage.test.js.map +1 -1
- package/build/src/tests/lib/i18n/reconcile.test.js +129 -131
- package/build/src/tests/lib/i18n/reconcile.test.js.map +1 -1
- package/build/src/tests/lib/i18n/site-context.test.js +24 -26
- package/build/src/tests/lib/i18n/site-context.test.js.map +1 -1
- package/build/src/tests/lib/progress-bar.test.d.ts +2 -0
- package/build/src/tests/lib/progress-bar.test.d.ts.map +1 -0
- package/build/src/tests/lib/progress-bar.test.js +76 -0
- package/build/src/tests/lib/progress-bar.test.js.map +1 -0
- package/build/src/tests/lib/rehype-shiki.test.js +35 -1
- package/build/src/tests/lib/rehype-shiki.test.js.map +1 -1
- package/build/src/tests/lib/search/worker.test.js +25 -7
- package/build/src/tests/lib/search/worker.test.js.map +1 -1
- package/build/src/tests/lib/webpack-cache.test.d.ts +2 -0
- package/build/src/tests/lib/webpack-cache.test.d.ts.map +1 -0
- package/build/src/tests/lib/webpack-cache.test.js +31 -0
- package/build/src/tests/lib/webpack-cache.test.js.map +1 -0
- package/build/src/tests/options.test.js +2 -0
- package/build/src/tests/options.test.js.map +1 -1
- package/build/src/tests/overlay-dismissal.test.d.ts +2 -0
- package/build/src/tests/overlay-dismissal.test.d.ts.map +1 -0
- package/build/src/tests/overlay-dismissal.test.js +53 -0
- package/build/src/tests/overlay-dismissal.test.js.map +1 -0
- package/build/src/tests/preset.test.js +31 -0
- package/build/src/tests/preset.test.js.map +1 -1
- package/build/src/tests/theme/SearchBar/style-minification.test.d.ts +2 -0
- package/build/src/tests/theme/SearchBar/style-minification.test.d.ts.map +1 -0
- package/build/src/tests/theme/SearchBar/style-minification.test.js +37 -0
- package/build/src/tests/theme/SearchBar/style-minification.test.js.map +1 -0
- package/build/src/tests/translation-plurals.test.d.ts +2 -0
- package/build/src/tests/translation-plurals.test.d.ts.map +1 -0
- package/build/src/tests/translation-plurals.test.js +52 -0
- package/build/src/tests/translation-plurals.test.js.map +1 -0
- package/build/src/theme/Admonition/index.d.ts +1 -1
- package/build/src/theme/Admonition/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Components/Author/Socials/index.d.ts +1 -1
- package/build/src/theme/Blog/Components/Author/Socials/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Components/Author/index.d.ts +1 -1
- package/build/src/theme/Blog/Components/Author/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogArchivePage/index.d.ts +1 -1
- package/build/src/theme/BlogArchivePage/index.d.ts.map +1 -1
- package/build/src/theme/BlogLayout/index.d.ts +1 -1
- package/build/src/theme/BlogLayout/index.d.ts.map +1 -1
- package/build/src/theme/BlogListPage/StructuredData/index.d.ts +1 -1
- package/build/src/theme/BlogListPage/StructuredData/index.d.ts.map +1 -1
- package/build/src/theme/BlogListPage/index.d.ts +1 -1
- package/build/src/theme/BlogListPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogListPaginator/index.d.ts +1 -1
- package/build/src/theme/BlogListPaginator/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostItem/index.d.ts +1 -1
- package/build/src/theme/BlogPostItem/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostItems/index.d.ts +1 -1
- package/build/src/theme/BlogPostItems/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostPage/Metadata/index.d.ts +1 -1
- package/build/src/theme/BlogPostPage/Metadata/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostPage/StructuredData/index.d.ts +1 -1
- package/build/src/theme/BlogPostPage/StructuredData/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostPage/index.d.ts +1 -1
- package/build/src/theme/BlogPostPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostPaginator/index.d.ts +1 -1
- package/build/src/theme/BlogPostPaginator/index.d.ts.map +1 -1
- package/build/src/theme/BlogSidebar/index.d.ts +1 -1
- package/build/src/theme/BlogSidebar/index.d.ts.map +1 -1
- package/build/src/theme/BlogSidebarMobile/index.d.ts +1 -1
- package/build/src/theme/BlogSidebarMobile/index.d.ts.map +1 -1
- package/build/src/theme/BlogTagsListPage/index.d.ts +1 -1
- package/build/src/theme/BlogTagsListPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogTagsPostsPage/index.d.ts +1 -1
- package/build/src/theme/BlogTagsPostsPage/index.d.ts.map +1 -1
- package/build/src/theme/CodeBlock/index.d.ts +2 -1
- package/build/src/theme/CodeBlock/index.d.ts.map +1 -1
- package/build/src/theme/CodeBlock/index.js +8 -5
- package/build/src/theme/CodeBlock/index.js.map +1 -1
- package/build/src/theme/CodeBlock/live-editor.d.ts +1 -1
- package/build/src/theme/CodeBlock/live-editor.d.ts.map +1 -1
- package/build/src/theme/CodeInline/index.d.ts +1 -1
- package/build/src/theme/CodeInline/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/Edit/index.d.ts +1 -1
- package/build/src/theme/ContentFooter/Edit/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/Share/index.d.ts +1 -1
- package/build/src/theme/ContentFooter/Share/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/ShareButton/index.d.ts +1 -1
- package/build/src/theme/ContentFooter/ShareButton/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/Tags/index.d.ts +1 -1
- package/build/src/theme/ContentFooter/Tags/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/index.d.ts +1 -1
- package/build/src/theme/ContentFooter/index.d.ts.map +1 -1
- package/build/src/theme/ContentVisibility/index.d.ts +1 -1
- package/build/src/theme/ContentVisibility/index.d.ts.map +1 -1
- package/build/src/theme/DocBreadcrumbs/StructuredData/index.d.ts +1 -1
- package/build/src/theme/DocBreadcrumbs/StructuredData/index.d.ts.map +1 -1
- package/build/src/theme/DocBreadcrumbs/index.d.ts +1 -1
- package/build/src/theme/DocBreadcrumbs/index.d.ts.map +1 -1
- package/build/src/theme/DocCard/index.d.ts +1 -1
- package/build/src/theme/DocCard/index.d.ts.map +1 -1
- package/build/src/theme/DocCardList/index.d.ts +1 -1
- package/build/src/theme/DocCardList/index.d.ts.map +1 -1
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.d.ts +1 -1
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Content/index.d.ts +1 -1
- package/build/src/theme/DocItem/Content/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Footer/index.d.ts +1 -1
- package/build/src/theme/DocItem/Footer/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Layout/index.d.ts +1 -1
- package/build/src/theme/DocItem/Layout/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Metadata/index.d.ts +1 -1
- package/build/src/theme/DocItem/Metadata/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Paginator/index.d.ts +1 -1
- package/build/src/theme/DocItem/Paginator/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/TOC/Desktop/index.d.ts +1 -1
- package/build/src/theme/DocItem/TOC/Desktop/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/TOC/Mobile/index.d.ts +1 -1
- package/build/src/theme/DocItem/TOC/Mobile/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/index.d.ts +1 -1
- package/build/src/theme/DocItem/index.d.ts.map +1 -1
- package/build/src/theme/DocPaginator/index.d.ts +1 -1
- package/build/src/theme/DocPaginator/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/Layout/Main/index.d.ts +1 -1
- package/build/src/theme/DocRoot/Layout/Main/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/Layout/Sidebar/index.d.ts +1 -1
- package/build/src/theme/DocRoot/Layout/Sidebar/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/Layout/index.d.ts +1 -1
- package/build/src/theme/DocRoot/Layout/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/index.d.ts +1 -1
- package/build/src/theme/DocRoot/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebar/index.d.ts +1 -1
- package/build/src/theme/DocSidebar/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/Category/index.d.ts +1 -1
- package/build/src/theme/DocSidebarItem/Category/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/Html/index.d.ts +1 -1
- package/build/src/theme/DocSidebarItem/Html/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/Link/index.d.ts +1 -1
- package/build/src/theme/DocSidebarItem/Link/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/index.d.ts +1 -1
- package/build/src/theme/DocSidebarItem/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItems/index.d.ts +1 -1
- package/build/src/theme/DocSidebarItems/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarMobile/index.d.ts +1 -1
- package/build/src/theme/DocSidebarMobile/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarMobile/panel.d.ts.map +1 -1
- package/build/src/theme/DocSidebarMobile/panel.js +7 -1
- package/build/src/theme/DocSidebarMobile/panel.js.map +1 -1
- package/build/src/theme/DocTagDocListPage/index.d.ts +1 -1
- package/build/src/theme/DocTagDocListPage/index.d.ts.map +1 -1
- package/build/src/theme/DocTagsListPage/index.d.ts +1 -1
- package/build/src/theme/DocTagsListPage/index.d.ts.map +1 -1
- package/build/src/theme/DocVersionBanner/index.d.ts +1 -1
- package/build/src/theme/DocVersionBanner/index.d.ts.map +1 -1
- package/build/src/theme/DocVersionRoot/index.d.ts +1 -1
- package/build/src/theme/DocVersionRoot/index.d.ts.map +1 -1
- package/build/src/theme/DocsRoot/index.d.ts +1 -1
- package/build/src/theme/DocsRoot/index.d.ts.map +1 -1
- package/build/src/theme/EditMetaRow/index.d.ts +1 -1
- package/build/src/theme/EditMetaRow/index.d.ts.map +1 -1
- package/build/src/theme/EditThisPage/index.d.ts +1 -1
- package/build/src/theme/EditThisPage/index.d.ts.map +1 -1
- package/build/src/theme/Error/index.d.ts +1 -1
- package/build/src/theme/Error/index.d.ts.map +1 -1
- package/build/src/theme/ErrorPageContent/index.d.ts +1 -1
- package/build/src/theme/ErrorPageContent/index.d.ts.map +1 -1
- package/build/src/theme/Footer/index.d.ts +1 -1
- package/build/src/theme/Footer/index.d.ts.map +1 -1
- package/build/src/theme/IconExternalLink/index.d.ts +1 -1
- package/build/src/theme/IconExternalLink/index.d.ts.map +1 -1
- package/build/src/theme/LastUpdated/index.d.ts +1 -1
- package/build/src/theme/LastUpdated/index.d.ts.map +1 -1
- package/build/src/theme/Layout/Provider/index.d.ts +1 -1
- package/build/src/theme/Layout/Provider/index.d.ts.map +1 -1
- package/build/src/theme/Layout/index.d.ts +1 -1
- package/build/src/theme/Layout/index.d.ts.map +1 -1
- package/build/src/theme/Loading/index.d.ts +1 -1
- package/build/src/theme/Loading/index.d.ts.map +1 -1
- package/build/src/theme/MDXComponents/index.d.ts +10 -10
- package/build/src/theme/MDXComponents/index.d.ts.map +1 -1
- package/build/src/theme/MDXContent/index.d.ts +1 -1
- package/build/src/theme/MDXContent/index.d.ts.map +1 -1
- package/build/src/theme/MDXPage/index.d.ts +1 -1
- package/build/src/theme/MDXPage/index.d.ts.map +1 -1
- package/build/src/theme/Navbar/index.d.ts +1 -1
- package/build/src/theme/Navbar/index.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/default-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/default-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/doc-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/doc-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/docs-version-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/docs-version-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/dropdown-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/dropdown-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/html-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/html-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/index.d.ts +1 -1
- package/build/src/theme/NavbarItem/index.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/search-navbar-item.d.ts +1 -1
- package/build/src/theme/NavbarItem/search-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NotFound/Content/index.d.ts +1 -1
- package/build/src/theme/NotFound/Content/index.d.ts.map +1 -1
- package/build/src/theme/NotFound/index.d.ts +1 -1
- package/build/src/theme/NotFound/index.d.ts.map +1 -1
- package/build/src/theme/Root/index.d.ts +1 -1
- package/build/src/theme/Root/index.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-input.d.ts +1 -1
- package/build/src/theme/SearchBar/search-input.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-provider.d.ts +1 -1
- package/build/src/theme/SearchBar/search-provider.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-results.d.ts +1 -1
- package/build/src/theme/SearchBar/search-results.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-results.js.map +1 -1
- package/build/src/theme/SearchMetadata/index.d.ts +1 -1
- package/build/src/theme/SearchMetadata/index.d.ts.map +1 -1
- package/build/src/theme/SearchPage/index.d.ts +1 -1
- package/build/src/theme/SearchPage/index.d.ts.map +1 -1
- package/build/src/theme/SiteMetadata/index.d.ts +1 -1
- package/build/src/theme/SiteMetadata/index.d.ts.map +1 -1
- package/build/src/theme/SkipToContent/index.d.ts +1 -1
- package/build/src/theme/SkipToContent/index.d.ts.map +1 -1
- package/build/src/theme/TOC/index.d.ts +1 -1
- package/build/src/theme/TOC/index.d.ts.map +1 -1
- package/build/src/theme/TOCCollapsible/index.d.ts +1 -1
- package/build/src/theme/TOCCollapsible/index.d.ts.map +1 -1
- package/build/src/theme/TOCCollapsible/panel.d.ts.map +1 -1
- package/build/src/theme/TOCCollapsible/panel.js +15 -4
- package/build/src/theme/TOCCollapsible/panel.js.map +1 -1
- package/build/src/theme/TabItem/index.d.ts +1 -1
- package/build/src/theme/TabItem/index.d.ts.map +1 -1
- package/build/src/theme/Tabs/index.d.ts +1 -1
- package/build/src/theme/Tabs/index.d.ts.map +1 -1
- package/build/src/theme/Tag/index.d.ts +1 -1
- package/build/src/theme/Tag/index.d.ts.map +1 -1
- package/build/src/theme/TagsListByLetter/index.d.ts +1 -1
- package/build/src/theme/TagsListByLetter/index.d.ts.map +1 -1
- package/build/src/theme/ThemeProvider/TitleFormatter/index.d.ts +1 -1
- package/build/src/theme/ThemeProvider/TitleFormatter/index.d.ts.map +1 -1
- package/build/src/theme/ThemeProvider/index.d.ts +1 -1
- package/build/src/theme/ThemeProvider/index.d.ts.map +1 -1
- package/build/src/types/index.d.ts +31 -2
- package/build/src/types/lib/code-block-metastring.d.ts +18 -0
- package/build/src/types/lib/module-loader.d.ts +24 -0
- package/build/src/types/lib/progress-bar.d.ts +37 -0
- package/build/src/types/lib/search/classic-worker.d.ts +10 -0
- package/build/src/types/lib/search/indexer.d.ts +2 -0
- package/build/src/types/lib/webpack-cache.d.ts +27 -0
- package/build/src/types/options.d.ts +10 -1
- package/build/src/types/plugins/mermaid-tooltip/index.d.ts +4 -0
- package/build/src/types/preset.d.ts +24 -11
- package/build/src/types/shared.d.ts +89 -0
- package/build/src/types/tests/config-drift.test.d.ts +6 -1
- package/build/src/types/tests/documentation-dependencies.test.d.ts +27 -0
- package/build/src/types/tests/exports-module-format.test.d.ts +29 -31
- package/build/src/types/tests/lib/code-block-metastring.test.d.ts +27 -0
- package/build/src/types/tests/lib/rehype-shiki.test.d.ts +26 -0
- package/build/src/types/tests/lib/search/worker.test.d.ts +40 -6
- package/build/src/types/tests/options.test.d.ts +5 -0
- package/build/src/types/tests/overlay-dismissal.test.d.ts +54 -0
- package/build/src/types/tests/preset.test.d.ts +53 -0
- package/build/src/types/tests/theme/SearchBar/style-minification.test.d.ts +22 -0
- package/build/src/types/tests/translation-plurals.test.d.ts +55 -0
- package/build/src/types/theme/CodeBlock/index.d.ts +2 -0
- package/build/src/types/theme/TOCCollapsible/panel.d.ts +4 -0
- package/build/vitest.setup.js +6 -12
- package/build/vitest.setup.js.map +1 -1
- package/nova-config.d.ts +57 -23
- package/package.json +29 -27
- package/translations/locales/he/theme-nova.json +1 -0
- package/translations/locales/id/theme-nova.json +1 -0
package/nova-config.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
Options as DocusaurusBlogOptions,
|
|
3
|
+
ProcessBlogPostsFn,
|
|
4
|
+
ReadingTimeFunctionOption,
|
|
5
|
+
} from '@docusaurus/plugin-content-blog';
|
|
6
|
+
import type { Options as DocusaurusDocsOptions } from '@docusaurus/plugin-content-docs';
|
|
7
|
+
import type { Options as DocusaurusPagesOptions } from '@docusaurus/plugin-content-pages';
|
|
2
8
|
import type {
|
|
3
9
|
DocusaurusConfig,
|
|
4
10
|
FutureV4Config,
|
|
@@ -157,8 +163,8 @@ export type NovaPresetPluginsDocsConfigShowLastUpdateTime = boolean | undefined;
|
|
|
157
163
|
// Show the author who last updated each doc page. Defaults to false.
|
|
158
164
|
export type NovaPresetPluginsDocsConfigShowLastUpdateAuthor = boolean | undefined;
|
|
159
165
|
|
|
160
|
-
// Parse number prefixes from file names for sidebar ordering.
|
|
161
|
-
export type NovaPresetPluginsDocsConfigNumberPrefixParser =
|
|
166
|
+
// Parse number prefixes from file names for sidebar ordering. Accepts the default toggle or a custom parser. Defaults to true.
|
|
167
|
+
export type NovaPresetPluginsDocsConfigNumberPrefixParser = DocusaurusDocsOptions['numberPrefixParser'];
|
|
162
168
|
|
|
163
169
|
// Show breadcrumb navigation on doc pages. Defaults to true.
|
|
164
170
|
export type NovaPresetPluginsDocsConfigBreadcrumbs = boolean | undefined;
|
|
@@ -196,7 +202,7 @@ export type NovaPresetPluginsDocsConfigVersionOptionsLabel = string | undefined;
|
|
|
196
202
|
// Banner style shown at the top of docs - "none" to hide, or a version status indicator.
|
|
197
203
|
export type NovaPresetPluginsDocsConfigVersionOptionsBanner = 'none' | 'unreleased' | 'unmaintained' | undefined;
|
|
198
204
|
|
|
199
|
-
// Show a badge with the version label at the top of each doc. Defaults to true.
|
|
205
|
+
// Show a badge with the version label at the top of each doc. Defaults to true only when multiple versions are included.
|
|
200
206
|
export type NovaPresetPluginsDocsConfigVersionOptionsBadge = boolean | undefined;
|
|
201
207
|
|
|
202
208
|
// Prevent search engines from indexing this version. Defaults to false.
|
|
@@ -218,7 +224,7 @@ export type NovaPresetPluginsDocsConfigVersionOptions = {
|
|
|
218
224
|
// Per-version configuration keyed by version name (e.g., { "1.0.0": { label: "v1.0", banner: "unmaintained" } }).
|
|
219
225
|
export type NovaPresetPluginsDocsConfigVersions = Record<string, NovaPresetPluginsDocsConfigVersionOptions> | undefined;
|
|
220
226
|
|
|
221
|
-
// Path to the tags file, or false/null to disable (e.g., "tags.yml").
|
|
227
|
+
// Path to the tags file, or false/null to disable (e.g., "tags.yml"). No tags file is configured by default.
|
|
222
228
|
export type NovaPresetPluginsDocsConfigTags = string | false | null | undefined;
|
|
223
229
|
|
|
224
230
|
// Behavior when inline tags are detected. Defaults to "warn".
|
|
@@ -227,8 +233,8 @@ export type NovaPresetPluginsDocsConfigOnInlineTags = ReportingSeverity | undefi
|
|
|
227
233
|
// URL route for the tags section, appended to routeBasePath (e.g., "tags"). Defaults to "tags".
|
|
228
234
|
export type NovaPresetPluginsDocsConfigTagsBasePath = string | undefined;
|
|
229
235
|
|
|
230
|
-
// Enable admonition syntax in Markdown (:::note, :::tip, etc.). Defaults to true.
|
|
231
|
-
export type NovaPresetPluginsDocsConfigAdmonitions =
|
|
236
|
+
// Enable or configure admonition syntax in Markdown (:::note, :::tip, etc.). Defaults to true.
|
|
237
|
+
export type NovaPresetPluginsDocsConfigAdmonitions = DocusaurusDocsOptions['admonitions'];
|
|
232
238
|
|
|
233
239
|
// Remark plugins for Markdown processing.
|
|
234
240
|
export type NovaPresetPluginsDocsConfigRemarkPlugins = unknown[] | undefined;
|
|
@@ -267,7 +273,7 @@ export type NovaPresetPluginsDocsConfigDocTagsListComponent = string | undefined
|
|
|
267
273
|
export type NovaPresetPluginsDocsConfigDocCategoryGeneratedIndexComponent = string | undefined;
|
|
268
274
|
|
|
269
275
|
// Custom callback to generate sidebar items from autogenerated sections.
|
|
270
|
-
export type NovaPresetPluginsDocsConfigSidebarItemsGenerator =
|
|
276
|
+
export type NovaPresetPluginsDocsConfigSidebarItemsGenerator = DocusaurusDocsOptions['sidebarItemsGenerator'];
|
|
271
277
|
|
|
272
278
|
// Docs plugin options - pass-through to @docusaurus/plugin-content-docs.
|
|
273
279
|
export type NovaPresetPluginsDocsConfig = {
|
|
@@ -356,7 +362,7 @@ export type NovaPresetPluginsBlogConfigBlogSidebarTitle = string | undefined;
|
|
|
356
362
|
// Show estimated reading time on blog posts. Defaults to true.
|
|
357
363
|
export type NovaPresetPluginsBlogConfigShowReadingTime = boolean | undefined;
|
|
358
364
|
|
|
359
|
-
// Truncate marker regex for the blog post excerpt. Defaults to
|
|
365
|
+
// Truncate marker regex for the blog post excerpt. Defaults to Docusaurus's HTML-comment and JSX-comment markers.
|
|
360
366
|
export type NovaPresetPluginsBlogConfigTruncateMarker = RegExp | undefined;
|
|
361
367
|
|
|
362
368
|
// Sort order for blog posts. Defaults to "descending".
|
|
@@ -391,27 +397,30 @@ export type NovaPresetPluginsBlogConfigOnInlineAuthors = ReportingSeverity | und
|
|
|
391
397
|
// Behavior when blog posts without a truncate marker are detected. Defaults to "warn".
|
|
392
398
|
export type NovaPresetPluginsBlogConfigOnUntruncatedBlogPosts = ReportingSeverity | undefined;
|
|
393
399
|
|
|
394
|
-
// Path to the tags file, or false/null to disable (e.g., "tags.yml").
|
|
400
|
+
// Path to the tags file, or false/null to disable (e.g., "tags.yml"). No tags file is configured by default.
|
|
395
401
|
export type NovaPresetPluginsBlogConfigTags = string | false | null | undefined;
|
|
396
402
|
|
|
397
403
|
// Behavior when inline tags are detected. Defaults to "warn".
|
|
398
404
|
export type NovaPresetPluginsBlogConfigOnInlineTags = ReportingSeverity | undefined;
|
|
399
405
|
|
|
400
|
-
// Feed format - array of types, single type, "all" for all formats, or null to disable. Defaults to
|
|
406
|
+
// Feed format - array of types, single type, "all" for all formats, or null to disable. Defaults to RSS and Atom.
|
|
401
407
|
export type NovaPresetPluginsBlogConfigFeedOptionsType = ('rss' | 'atom' | 'json')[] | 'all' | 'rss' | 'atom' | 'json' | null | undefined;
|
|
402
408
|
|
|
403
|
-
// Feed title override. Defaults to the site title.
|
|
409
|
+
// Feed title override. Defaults to the site title followed by "Blog".
|
|
404
410
|
export type NovaPresetPluginsBlogConfigFeedOptionsTitle = string | undefined;
|
|
405
411
|
|
|
406
|
-
// Feed description override. Defaults to the site
|
|
412
|
+
// Feed description override. Defaults to the site title followed by "Blog".
|
|
407
413
|
export type NovaPresetPluginsBlogConfigFeedOptionsDescription = string | undefined;
|
|
408
414
|
|
|
409
|
-
// Copyright notice included in the feed.
|
|
415
|
+
// Copyright notice included in the feed. Defaults to an empty string.
|
|
410
416
|
export type NovaPresetPluginsBlogConfigFeedOptionsCopyright = string | undefined;
|
|
411
417
|
|
|
412
|
-
// Language code for the feed (e.g., "en").
|
|
418
|
+
// Language code for the feed (e.g., "en"). Defaults to the current locale.
|
|
413
419
|
export type NovaPresetPluginsBlogConfigFeedOptionsLanguage = string | undefined;
|
|
414
420
|
|
|
421
|
+
// Custom callback to transform the generated feed items.
|
|
422
|
+
export type NovaPresetPluginsBlogConfigFeedOptionsCreateFeedItems = NonNullable<DocusaurusBlogOptions['feedOptions']>['createFeedItems'];
|
|
423
|
+
|
|
415
424
|
// Maximum number of feed items, or false/null for unlimited. Defaults to 20.
|
|
416
425
|
export type NovaPresetPluginsBlogConfigFeedOptionsLimit = number | false | null | undefined;
|
|
417
426
|
|
|
@@ -428,13 +437,14 @@ export type NovaPresetPluginsBlogConfigFeedOptions = {
|
|
|
428
437
|
description?: NovaPresetPluginsBlogConfigFeedOptionsDescription;
|
|
429
438
|
copyright?: NovaPresetPluginsBlogConfigFeedOptionsCopyright;
|
|
430
439
|
language?: NovaPresetPluginsBlogConfigFeedOptionsLanguage;
|
|
440
|
+
createFeedItems?: NovaPresetPluginsBlogConfigFeedOptionsCreateFeedItems;
|
|
431
441
|
limit?: NovaPresetPluginsBlogConfigFeedOptionsLimit;
|
|
432
442
|
xslt?: NovaPresetPluginsBlogConfigFeedOptionsXslt;
|
|
433
443
|
[key: string]: unknown;
|
|
434
444
|
} | undefined;
|
|
435
445
|
|
|
436
|
-
// Enable admonition syntax in Markdown. Defaults to true.
|
|
437
|
-
export type NovaPresetPluginsBlogConfigAdmonitions =
|
|
446
|
+
// Enable or configure admonition syntax in Markdown. Defaults to true.
|
|
447
|
+
export type NovaPresetPluginsBlogConfigAdmonitions = DocusaurusBlogOptions['admonitions'];
|
|
438
448
|
|
|
439
449
|
// Remark plugins for Markdown processing.
|
|
440
450
|
export type NovaPresetPluginsBlogConfigRemarkPlugins = unknown[] | undefined;
|
|
@@ -560,8 +570,8 @@ export type NovaPresetPluginsPagesConfigShowLastUpdateTime = boolean | undefined
|
|
|
560
570
|
// Show the author who last updated each page. Defaults to false.
|
|
561
571
|
export type NovaPresetPluginsPagesConfigShowLastUpdateAuthor = boolean | undefined;
|
|
562
572
|
|
|
563
|
-
// Enable admonition syntax in Markdown. Defaults to true.
|
|
564
|
-
export type NovaPresetPluginsPagesConfigAdmonitions =
|
|
573
|
+
// Enable or configure admonition syntax in Markdown. Defaults to true.
|
|
574
|
+
export type NovaPresetPluginsPagesConfigAdmonitions = DocusaurusPagesOptions['admonitions'];
|
|
565
575
|
|
|
566
576
|
// Remark plugins for Markdown processing.
|
|
567
577
|
export type NovaPresetPluginsPagesConfigRemarkPlugins = unknown[] | undefined;
|
|
@@ -614,10 +624,10 @@ export type NovaPresetPluginsSitemapConfigIgnorePatterns = string[] | undefined;
|
|
|
614
624
|
// Format of the lastmod entry - "date" for YYYY-MM-DD, "datetime" for ISO 8601, or null to omit. Defaults to null.
|
|
615
625
|
export type NovaPresetPluginsSitemapConfigLastmod = 'date' | 'datetime' | null | undefined;
|
|
616
626
|
|
|
617
|
-
// Change frequency hint for search engines, or null to omit. Defaults to
|
|
627
|
+
// Change frequency hint for search engines, or null to omit. Defaults to "weekly".
|
|
618
628
|
export type NovaPresetPluginsSitemapConfigChangefreq = 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'always' | 'never' | null | undefined;
|
|
619
629
|
|
|
620
|
-
// Priority value between 0.0 and 1.0 for search engines, or null to omit. Defaults to
|
|
630
|
+
// Priority value between 0.0 and 1.0 for search engines, or null to omit. Defaults to 0.5.
|
|
621
631
|
export type NovaPresetPluginsSitemapConfigPriority = number | null | undefined;
|
|
622
632
|
|
|
623
633
|
// Sitemap entry with URL, last modified date, change frequency, and priority.
|
|
@@ -688,30 +698,50 @@ export type NovaPresetProgressBarConfigMinimum = number | undefined;
|
|
|
688
698
|
// CSS easing function for the progress animation (e.g., "ease", "linear"). Defaults to "ease".
|
|
689
699
|
export type NovaPresetProgressBarConfigEasing = string | undefined;
|
|
690
700
|
|
|
701
|
+
// Positioning strategy for the progress transform. An empty string lets Nova detect the best strategy. Defaults to "".
|
|
702
|
+
export type NovaPresetProgressBarConfigPositionUsing = '' | 'translate3d' | 'translate' | 'margin' | undefined;
|
|
703
|
+
|
|
691
704
|
// Animation speed in milliseconds (e.g., 200). Defaults to 200.
|
|
692
705
|
export type NovaPresetProgressBarConfigSpeed = number | undefined;
|
|
693
706
|
|
|
694
707
|
// Enable automatic trickle increments. Defaults to true.
|
|
695
708
|
export type NovaPresetProgressBarConfigTrickle = boolean | undefined;
|
|
696
709
|
|
|
697
|
-
//
|
|
710
|
+
// Amount added by each automatic trickle increment. Defaults to 0.02.
|
|
711
|
+
export type NovaPresetProgressBarConfigTrickleRate = number | undefined;
|
|
712
|
+
|
|
713
|
+
// Trickle increment interval in milliseconds. Defaults to 800.
|
|
698
714
|
export type NovaPresetProgressBarConfigTrickleSpeed = number | undefined;
|
|
699
715
|
|
|
700
716
|
// Show the spinner element alongside the progress bar. Defaults to true.
|
|
701
717
|
export type NovaPresetProgressBarConfigShowSpinner = boolean | undefined;
|
|
702
718
|
|
|
719
|
+
// CSS selector used to find the bar element in the template. Defaults to '[role="bar"]'.
|
|
720
|
+
export type NovaPresetProgressBarConfigBarSelector = string | undefined;
|
|
721
|
+
|
|
722
|
+
// CSS selector used to find the spinner element in the template. Defaults to '[role="spinner"]'.
|
|
723
|
+
export type NovaPresetProgressBarConfigSpinnerSelector = string | undefined;
|
|
724
|
+
|
|
703
725
|
// CSS selector for the progress bar parent element (e.g., "body"). Defaults to "body".
|
|
704
726
|
export type NovaPresetProgressBarConfigParent = string | undefined;
|
|
705
727
|
|
|
728
|
+
// HTML template containing the configured bar and spinner selectors.
|
|
729
|
+
export type NovaPresetProgressBarConfigTemplate = string | undefined;
|
|
730
|
+
|
|
706
731
|
// Progress bar appearance and behavior.
|
|
707
732
|
export type NovaPresetProgressBarConfig = {
|
|
708
733
|
minimum?: NovaPresetProgressBarConfigMinimum;
|
|
709
734
|
easing?: NovaPresetProgressBarConfigEasing;
|
|
735
|
+
positionUsing?: NovaPresetProgressBarConfigPositionUsing;
|
|
710
736
|
speed?: NovaPresetProgressBarConfigSpeed;
|
|
711
737
|
trickle?: NovaPresetProgressBarConfigTrickle;
|
|
738
|
+
trickleRate?: NovaPresetProgressBarConfigTrickleRate;
|
|
712
739
|
trickleSpeed?: NovaPresetProgressBarConfigTrickleSpeed;
|
|
713
740
|
showSpinner?: NovaPresetProgressBarConfigShowSpinner;
|
|
741
|
+
barSelector?: NovaPresetProgressBarConfigBarSelector;
|
|
742
|
+
spinnerSelector?: NovaPresetProgressBarConfigSpinnerSelector;
|
|
714
743
|
parent?: NovaPresetProgressBarConfigParent;
|
|
744
|
+
template?: NovaPresetProgressBarConfigTemplate;
|
|
715
745
|
[key: string]: unknown;
|
|
716
746
|
};
|
|
717
747
|
|
|
@@ -782,6 +812,9 @@ export type NovaPresetOptionsPlugins = NovaPresetPlugins | undefined;
|
|
|
782
812
|
// Analytics integrations.
|
|
783
813
|
export type NovaPresetOptionsAnalytics = NovaPresetAnalytics | undefined;
|
|
784
814
|
|
|
815
|
+
// Persist webpack caches to disk during development and production builds. Defaults to false.
|
|
816
|
+
export type NovaPresetOptionsPersistentCache = boolean | undefined;
|
|
817
|
+
|
|
785
818
|
// Show a progress bar during page transitions. Defaults to false.
|
|
786
819
|
export type NovaPresetOptionsProgressBar = NovaPresetProgressBar | undefined;
|
|
787
820
|
|
|
@@ -794,12 +827,13 @@ export type NovaPresetOptionsIconSafelist = string[] | undefined;
|
|
|
794
827
|
// Maximum size in MiB any emitted JavaScript bundle file may reach before the build fails, or false to disable. Defaults to 3.
|
|
795
828
|
export type NovaPresetOptionsMaxBundleFileSize = number | false | undefined;
|
|
796
829
|
|
|
797
|
-
// Nova preset options - identity, overrides, plugins, analytics, progress bar, search, icon safelist, and bundle size guard.
|
|
830
|
+
// Nova preset options - identity, overrides, plugins, analytics, cache policy, progress bar, search, icon safelist, and bundle size guard.
|
|
798
831
|
export type NovaPresetOptions = {
|
|
799
832
|
preset: NovaPresetName;
|
|
800
833
|
overrides?: NovaPresetOptionsOverrides;
|
|
801
834
|
plugins?: NovaPresetOptionsPlugins;
|
|
802
835
|
analytics?: NovaPresetOptionsAnalytics;
|
|
836
|
+
persistentCache?: NovaPresetOptionsPersistentCache;
|
|
803
837
|
progressBar?: NovaPresetOptionsProgressBar;
|
|
804
838
|
search?: NovaPresetOptionsSearch;
|
|
805
839
|
iconSafelist?: NovaPresetOptionsIconSafelist;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cbnventures/docusaurus-preset-nova",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Scripts, templates, and project configuration for the common JavaScript and TypeScript developer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"./types/config": "./nova-config.d.ts",
|
|
56
56
|
"./types/sidebars": "./nova-sidebars.d.ts"
|
|
57
57
|
},
|
|
58
|
+
"type": "module",
|
|
58
59
|
"files": [
|
|
59
60
|
"./assets",
|
|
60
61
|
"./bin",
|
|
@@ -75,6 +76,14 @@
|
|
|
75
76
|
"dev:watch-theme": "tsc --project tsconfig.theme.json --watch",
|
|
76
77
|
"dev:watch-cli": "tsc --project tsconfig.cli.json --watch",
|
|
77
78
|
"dev:fix-shiki-import": "node ../../scripts/fix-shiki-import.mjs --watch",
|
|
79
|
+
"check": "node ../../scripts/nova-run-scripts.mjs --sequential 'check:*'",
|
|
80
|
+
"check:lint": "eslint ./ --max-warnings=0",
|
|
81
|
+
"check:types-plugin": "node ../../scripts/nova-type-check.mjs --project tsconfig.plugin.json",
|
|
82
|
+
"check:types-theme": "node ../../scripts/nova-type-check.mjs --project tsconfig.theme.json",
|
|
83
|
+
"check:types-worker": "node ../../scripts/nova-type-check.mjs --project tsconfig.worker.json",
|
|
84
|
+
"check:types-cli": "node ../../scripts/nova-type-check.mjs --project tsconfig.cli.json",
|
|
85
|
+
"check:types-config": "node ../../scripts/nova-type-check.mjs --project tsconfig.config.json",
|
|
86
|
+
"check:test": "vitest run",
|
|
78
87
|
"build": "node ../../scripts/nova-run-scripts.mjs --sequential 'build:*'",
|
|
79
88
|
"build:transpile-theme": "tsc --project tsconfig.theme.json --outDir ./build --skipLibCheck",
|
|
80
89
|
"build:transpile-plugin": "tsc --project tsconfig.plugin.json --outDir ./build --skipLibCheck",
|
|
@@ -84,14 +93,6 @@
|
|
|
84
93
|
"build:fix-shiki-import": "node ../../scripts/fix-shiki-import.mjs",
|
|
85
94
|
"build:copy-styles": "node ../../scripts/copy-styles.mjs",
|
|
86
95
|
"build:fix-perms": "shx chmod +x ./build/src/cli/index.js",
|
|
87
|
-
"check": "node ../../scripts/nova-run-scripts.mjs --sequential 'check:*'",
|
|
88
|
-
"check:lint": "eslint ./ --max-warnings=0",
|
|
89
|
-
"check:types-plugin": "node ../../scripts/nova-type-check.mjs --project tsconfig.plugin.json",
|
|
90
|
-
"check:types-theme": "node ../../scripts/nova-type-check.mjs --project tsconfig.theme.json",
|
|
91
|
-
"check:types-worker": "node ../../scripts/nova-type-check.mjs --project tsconfig.worker.json",
|
|
92
|
-
"check:types-cli": "node ../../scripts/nova-type-check.mjs --project tsconfig.cli.json",
|
|
93
|
-
"check:types-config": "node ../../scripts/nova-type-check.mjs --project tsconfig.config.json",
|
|
94
|
-
"check:test": "vitest run",
|
|
95
96
|
"clean": "node ../../scripts/nova-run-scripts.mjs --parallel 'clean:*'",
|
|
96
97
|
"clean:build": "shx rm -rf ./build"
|
|
97
98
|
},
|
|
@@ -99,17 +100,17 @@
|
|
|
99
100
|
"node": "^22 || ^24"
|
|
100
101
|
},
|
|
101
102
|
"dependencies": {
|
|
102
|
-
"@cbnventures/nova": "0.
|
|
103
|
+
"@cbnventures/nova": "0.27.0",
|
|
103
104
|
"@codesandbox/sandpack-react": "2.20.0",
|
|
104
|
-
"@docusaurus/plugin-content-blog": "3.10.
|
|
105
|
-
"@docusaurus/plugin-content-docs": "3.10.
|
|
106
|
-
"@docusaurus/plugin-content-pages": "3.10.
|
|
107
|
-
"@docusaurus/plugin-google-tag-manager": "3.10.
|
|
108
|
-
"@docusaurus/plugin-sitemap": "3.10.
|
|
109
|
-
"@docusaurus/plugin-svgr": "3.10.
|
|
110
|
-
"@docusaurus/theme-common": "3.10.
|
|
111
|
-
"@docusaurus/theme-translations": "3.10.
|
|
112
|
-
"@docusaurus/utils-validation": "3.10.
|
|
105
|
+
"@docusaurus/plugin-content-blog": "3.10.2",
|
|
106
|
+
"@docusaurus/plugin-content-docs": "3.10.2",
|
|
107
|
+
"@docusaurus/plugin-content-pages": "3.10.2",
|
|
108
|
+
"@docusaurus/plugin-google-tag-manager": "3.10.2",
|
|
109
|
+
"@docusaurus/plugin-sitemap": "3.10.2",
|
|
110
|
+
"@docusaurus/plugin-svgr": "3.10.2",
|
|
111
|
+
"@docusaurus/theme-common": "3.10.2",
|
|
112
|
+
"@docusaurus/theme-translations": "3.10.2",
|
|
113
|
+
"@docusaurus/utils-validation": "3.10.2",
|
|
113
114
|
"@iconify/json": "2.2.488",
|
|
114
115
|
"@iconify/react": "6.0.2",
|
|
115
116
|
"@mdx-js/react": "3.1.1",
|
|
@@ -119,26 +120,27 @@
|
|
|
119
120
|
"lunr": "2.3.9",
|
|
120
121
|
"lunr-languages": "1.14.0",
|
|
121
122
|
"mark.js": "8.11.1",
|
|
122
|
-
"mermaid": "11.
|
|
123
|
+
"mermaid": "11.16.1",
|
|
123
124
|
"nprogress": "0.2.0",
|
|
124
125
|
"prompts": "2.4.2",
|
|
125
126
|
"rtlcss": "4.3.0",
|
|
126
127
|
"shiki": "4.0.2"
|
|
127
128
|
},
|
|
128
129
|
"devDependencies": {
|
|
129
|
-
"@docusaurus/module-type-aliases": "3.10.
|
|
130
|
-
"@docusaurus/types": "3.10.
|
|
130
|
+
"@docusaurus/module-type-aliases": "3.10.2",
|
|
131
|
+
"@docusaurus/types": "3.10.2",
|
|
131
132
|
"@types/node": "24.9.1",
|
|
132
133
|
"@types/nprogress": "0.2.3",
|
|
133
134
|
"@types/prompts": "2.4.9",
|
|
134
|
-
"@types/react": "19.2.
|
|
135
|
-
"@types/react-dom": "19.2.
|
|
136
|
-
"
|
|
135
|
+
"@types/react": "19.2.18",
|
|
136
|
+
"@types/react-dom": "19.2.4",
|
|
137
|
+
"css-minimizer-webpack-plugin": "5.0.1",
|
|
138
|
+
"eslint": "9.39.5",
|
|
137
139
|
"glob": "13.0.6",
|
|
138
140
|
"hastscript": "9.0.1",
|
|
139
141
|
"shx": "0.4.0",
|
|
140
|
-
"typescript": "
|
|
141
|
-
"vitest": "4.1.
|
|
142
|
+
"typescript": "6.0.3",
|
|
143
|
+
"vitest": "4.1.11"
|
|
142
144
|
},
|
|
143
145
|
"peerDependencies": {
|
|
144
146
|
"@docusaurus/core": "^3",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"theme.blog.post.paginator.navAriaLabel": "ניווט בדף רשומת הבלוג",
|
|
87
87
|
"theme.blog.post.readMore": "קרא עוד",
|
|
88
88
|
"theme.blog.post.readMoreLabel": "קרא עוד על {title}",
|
|
89
|
+
"theme.blog.post.plurals": "רשומה אחת|שתי רשומות|{count} רשומות",
|
|
89
90
|
"theme.blog.post.readingTime.plurals": "דקת קריאה|{readingTime} דקות קריאה|{readingTime} דקות קריאה",
|
|
90
91
|
"theme.blog.sidebar.ariaLabel": "סרגל הצד של הבלוג",
|
|
91
92
|
"theme.blog.sidebar.authorsLabel": "כותבים",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"theme.blog.post.paginator.navAriaLabel": "Navigasi halaman pos blog",
|
|
87
87
|
"theme.blog.post.readMore": "Baca selengkapnya",
|
|
88
88
|
"theme.blog.post.readMoreLabel": "Baca selengkapnya mengenai {title}",
|
|
89
|
+
"theme.blog.post.plurals": "{count} pos",
|
|
89
90
|
"theme.blog.post.readingTime.plurals": "{readingTime} menit membaca",
|
|
90
91
|
"theme.blog.sidebar.ariaLabel": "Bilah sisi blog",
|
|
91
92
|
"theme.blog.sidebar.authorsLabel": "Penulis",
|