@publier/native 0.17.0 → 0.18.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/dist/index.d.mts CHANGED
@@ -151,6 +151,7 @@ interface SearchConfig {
151
151
  enabled: boolean;
152
152
  hotkey: string;
153
153
  versions: 'current' | 'all';
154
+ products: 'current' | 'all';
154
155
  }
155
156
  interface SidebarConfig {
156
157
  defaultOpenLevel: number;
@@ -268,7 +269,7 @@ interface SkillMdOptions {
268
269
  export declare function generateSkillMd(options: SkillMdOptions): string;
269
270
  export declare function getSlug(filePath: string, baseDir: string): string;
270
271
  declare namespace index_d_exports {
271
- export { NativeHeadStats, NativePreloadStats, NativeTailwindResolvedTheme, NativeTailwindThemeError, __napiBindingTarget, analyticsGenerateBodyScripts$1 as analyticsGenerateBodyScripts, analyticsGenerateScripts$1 as analyticsGenerateScripts, asyncapiSourceBuild$1 as asyncapiSourceBuild, blogFilterByTag$1 as blogFilterByTag, blogFilterPublished$1 as blogFilterPublished, blogReadingTime$1 as blogReadingTime, blogSortByDate$1 as blogSortByDate, blogTagCounts$1 as blogTagCounts, buildHook$1 as buildHook, configResolvePublierConfig$1 as configResolvePublierConfig, configResolveShellConfig$1 as configResolveShellConfig, configShouldRenderPage$1 as configShouldRenderPage, contentGenerateLlmsTxt$1 as contentGenerateLlmsTxt, contentGenerateOgImageMarkup$1 as contentGenerateOgImageMarkup, contentGenerateRobotsTxt$1 as contentGenerateRobotsTxt, contentGenerateSkillMd$1 as contentGenerateSkillMd, contentGenerateTwitterMeta$1 as contentGenerateTwitterMeta, contentGetSlug$1 as contentGetSlug, navigationActiveIndex$1 as navigationActiveIndex, navigationBuildSidebar$1 as navigationBuildSidebar, navigationMatchNavPath$1 as navigationMatchNavPath, openapiBuildCustomSampleMap$1 as openapiBuildCustomSampleMap, openapiBuildInstanceId$1 as openapiBuildInstanceId, openapiDecodePlaceholders$1 as openapiDecodePlaceholders, openapiExtractEndpoints$1 as openapiExtractEndpoints, openapiGenerateFiles$1 as openapiGenerateFiles, openapiGetMediaTypeExample$1 as openapiGetMediaTypeExample, openapiGetSnippetClient$1 as openapiGetSnippetClient, openapiHarFromOperation$1 as openapiHarFromOperation, openapiMergeSpecs$1 as openapiMergeSpecs, openapiNavigationBuild$1 as openapiNavigationBuild, openapiParseAsyncApiSpec$1 as openapiParseAsyncApiSpec, openapiParseOpenapiSpec$1 as openapiParseOpenapiSpec, openapiRenderApiPage$1 as openapiRenderApiPage, openapiRenderApiPlayground$1 as openapiRenderApiPlayground, openapiRenderApiReference$1 as openapiRenderApiReference, openapiRenderApiReferenceShell$1 as openapiRenderApiReferenceShell, openapiRenderAsyncChannel$1 as openapiRenderAsyncChannel, openapiRenderAsyncMessage$1 as openapiRenderAsyncMessage, openapiRenderCodeSamples$1 as openapiRenderCodeSamples, openapiRenderCollapsibleSection$1 as openapiRenderCollapsibleSection, openapiRenderMethodBadge$1 as openapiRenderMethodBadge, openapiRenderParamField$1 as openapiRenderParamField, openapiRenderRequestExample$1 as openapiRenderRequestExample, openapiRenderResponseExample$1 as openapiRenderResponseExample, openapiRenderResponseField$1 as openapiRenderResponseField, openapiRenderSchemaRow$1 as openapiRenderSchemaRow, openapiRenderSchemaView$1 as openapiRenderSchemaView, openapiResolveBaseUrl$1 as openapiResolveBaseUrl, openapiResolveRefs$1 as openapiResolveRefs, openapiSourceBuild$1 as openapiSourceBuild, pluginHook$1 as pluginHook, primitivesColorSwatchScript$1 as primitivesColorSwatchScript, primitivesColorSwatchStyle$1 as primitivesColorSwatchStyle, primitivesCopyButtonScript$1 as primitivesCopyButtonScript, primitivesCopyButtonStyle$1 as primitivesCopyButtonStyle, primitivesRenderAccordion$1 as primitivesRenderAccordion, primitivesRenderAccordionItem$1 as primitivesRenderAccordionItem, primitivesRenderColorSwatch$1 as primitivesRenderColorSwatch, primitivesRenderCopyButton$1 as primitivesRenderCopyButton, primitivesRenderImageZoom$1 as primitivesRenderImageZoom, primitivesRenderTabPanel$1 as primitivesRenderTabPanel, primitivesRenderTabs$1 as primitivesRenderTabs, primitivesRenderTooltip$1 as primitivesRenderTooltip, primitivesRenderViewAnimation$1 as primitivesRenderViewAnimation, primitivesTabsScript$1 as primitivesTabsScript, primitivesViewAnimationScript$1 as primitivesViewAnimationScript, primitivesViewAnimationStyle$1 as primitivesViewAnimationStyle, remarkCollectSections$1 as remarkCollectSections, remarkResolveSnippet$1 as remarkResolveSnippet, remarkTransformAsides$1 as remarkTransformAsides, remarkVarsSubstitute$1 as remarkVarsSubstitute, rssGenerateFeed$1 as rssGenerateFeed, searchEntryToPage$1 as searchEntryToPage, searchExtractStructuredData$1 as searchExtractStructuredData, searchReadMetaYaml$1 as searchReadMetaYaml, shellAnnouncementBannerScript$1 as shellAnnouncementBannerScript, shellBuildBannerInitScript$1 as shellBuildBannerInitScript, shellBuildGlobPattern$1 as shellBuildGlobPattern, shellBuildHeaders$1 as shellBuildHeaders, shellBuildLicenseErrorMessage$1 as shellBuildLicenseErrorMessage, shellBuildThemeInitScript$1 as shellBuildThemeInitScript, shellCacheControl$1 as shellCacheControl, shellCollectTailwindClassTokens$1 as shellCollectTailwindClassTokens, shellComposeTailwindEntry$1 as shellComposeTailwindEntry, shellGenerateId$1 as shellGenerateId, shellInjectBodyScripts$1 as shellInjectBodyScripts, shellInjectHeadScripts$1 as shellInjectHeadScripts, shellLazyUpgradeScript$1 as shellLazyUpgradeScript, shellListThemes$1 as shellListThemes, shellNavActiveUpdateScript$1 as shellNavActiveUpdateScript, shellOpenInAiScript$1 as shellOpenInAiScript, shellPlanDefaultRoutes$1 as shellPlanDefaultRoutes, shellPlanDocsSlug$1 as shellPlanDocsSlug, shellPlanRehypePlugins$1 as shellPlanRehypePlugins, shellPlanRemarkPlugins$1 as shellPlanRemarkPlugins, shellRenderAnnouncementBanner$1 as shellRenderAnnouncementBanner, shellRenderAside$1 as shellRenderAside, shellRenderBadge$1 as shellRenderBadge, shellRenderBaseLayout$1 as shellRenderBaseLayout, shellRenderBlogIndex$1 as shellRenderBlogIndex, shellRenderBlogSlug$1 as shellRenderBlogSlug, shellRenderBreadcrumbs$1 as shellRenderBreadcrumbs, shellRenderCard$1 as shellRenderCard, shellRenderCardGrid$1 as shellRenderCardGrid, shellRenderChangelogEntry$1 as shellRenderChangelogEntry, shellRenderChangelogFooter$1 as shellRenderChangelogFooter, shellRenderChangelogHeader$1 as shellRenderChangelogHeader, shellRenderCodeGroup$1 as shellRenderCodeGroup, shellRenderColumns$1 as shellRenderColumns, shellRenderDocsLayout$1 as shellRenderDocsLayout, shellRenderDocsSlug$1 as shellRenderDocsSlug, shellRenderFileTree$1 as shellRenderFileTree, shellRenderFileTreeNode$1 as shellRenderFileTreeNode, shellRenderIcon$1 as shellRenderIcon, shellRenderLastModified$1 as shellRenderLastModified, shellRenderLinkButton$1 as shellRenderLinkButton, shellRenderLinkCard$1 as shellRenderLinkCard, shellRenderNotFound$1 as shellRenderNotFound, shellRenderOpenInAi$1 as shellRenderOpenInAi, shellRenderPackageInstall$1 as shellRenderPackageInstall, shellRenderPanels$1 as shellRenderPanels, shellRenderProductDirectory$1 as shellRenderProductDirectory, shellRenderSearchButton$1 as shellRenderSearchButton, shellRenderSidebar$1 as shellRenderSidebar, shellRenderSkipLink$1 as shellRenderSkipLink, shellRenderSteps$1 as shellRenderSteps, shellRenderTableOfContents$1 as shellRenderTableOfContents, shellRenderTabs$1 as shellRenderTabs, shellRenderThemeToggle$1 as shellRenderThemeToggle, shellRenderTile$1 as shellRenderTile, shellRenderTileGrid$1 as shellRenderTileGrid, shellRenderTopNav$1 as shellRenderTopNav, shellRenderTopNavMobile$1 as shellRenderTopNavMobile, shellRenderUpdateBadge$1 as shellRenderUpdateBadge, shellRenderVersionSwitcher$1 as shellRenderVersionSwitcher, shellResolvePrefetch$1 as shellResolvePrefetch, shellResolveSnippetsConfig$1 as shellResolveSnippetsConfig, shellRewriteHead$1 as shellRewriteHead, shellRewriteModulepreload$1 as shellRewriteModulepreload, shellSearchButtonScript$1 as shellSearchButtonScript, shellSearchDialogCss$1 as shellSearchDialogCss, shellSearchDialogInnerHtml$1 as shellSearchDialogInnerHtml, shellSearchDialogScript$1 as shellSearchDialogScript, shellSidebarHeightInitScript$1 as shellSidebarHeightInitScript, shellSidebarScrollInitScript$1 as shellSidebarScrollInitScript, shellTableOfContentsScript$1 as shellTableOfContentsScript, tailwindComposeThemeCss$1 as tailwindComposeThemeCss, tailwindReadPresetCss$1 as tailwindReadPresetCss, tailwindResolveTheme$1 as tailwindResolveTheme, verifyLicense$1 as verifyLicense };
272
+ export { NativeHeadStats, NativePreloadStats, NativeTailwindResolvedTheme, NativeTailwindThemeError, __napiBindingTarget, analyticsGenerateBodyScripts$1 as analyticsGenerateBodyScripts, analyticsGenerateScripts$1 as analyticsGenerateScripts, asyncapiSourceBuild$1 as asyncapiSourceBuild, blogFilterByTag$1 as blogFilterByTag, blogFilterPublished$1 as blogFilterPublished, blogReadingTime$1 as blogReadingTime, blogSortByDate$1 as blogSortByDate, blogTagCounts$1 as blogTagCounts, buildHook$1 as buildHook, configResolvePublierConfig$1 as configResolvePublierConfig, configResolveShellConfig$1 as configResolveShellConfig, configShouldRenderPage$1 as configShouldRenderPage, contentGenerateLlmsTxt$1 as contentGenerateLlmsTxt, contentGenerateOgImageMarkup$1 as contentGenerateOgImageMarkup, contentGenerateRobotsTxt$1 as contentGenerateRobotsTxt, contentGenerateSkillMd$1 as contentGenerateSkillMd, contentGenerateTwitterMeta$1 as contentGenerateTwitterMeta, contentGetSlug$1 as contentGetSlug, navigationActiveIndex$1 as navigationActiveIndex, navigationBuildSidebar$1 as navigationBuildSidebar, navigationMatchNavPath$1 as navigationMatchNavPath, openapiBuildCustomSampleMap$1 as openapiBuildCustomSampleMap, openapiBuildInstanceId$1 as openapiBuildInstanceId, openapiDecodePlaceholders$1 as openapiDecodePlaceholders, openapiExtractEndpoints$1 as openapiExtractEndpoints, openapiGenerateFiles$1 as openapiGenerateFiles, openapiGetMediaTypeExample$1 as openapiGetMediaTypeExample, openapiGetSnippetClient$1 as openapiGetSnippetClient, openapiHarFromOperation$1 as openapiHarFromOperation, openapiMergeSpecs$1 as openapiMergeSpecs, openapiNavigationBuild$1 as openapiNavigationBuild, openapiParseAsyncApiSpec$1 as openapiParseAsyncApiSpec, openapiParseOpenapiSpec$1 as openapiParseOpenapiSpec, openapiRenderApiPage$1 as openapiRenderApiPage, openapiRenderApiPlayground$1 as openapiRenderApiPlayground, openapiRenderApiReference$1 as openapiRenderApiReference, openapiRenderApiReferenceShell$1 as openapiRenderApiReferenceShell, openapiRenderAsyncChannel$1 as openapiRenderAsyncChannel, openapiRenderAsyncMessage$1 as openapiRenderAsyncMessage, openapiRenderCodeSamples$1 as openapiRenderCodeSamples, openapiRenderCollapsibleSection$1 as openapiRenderCollapsibleSection, openapiRenderMethodBadge$1 as openapiRenderMethodBadge, openapiRenderParamField$1 as openapiRenderParamField, openapiRenderRequestExample$1 as openapiRenderRequestExample, openapiRenderResponseExample$1 as openapiRenderResponseExample, openapiRenderResponseField$1 as openapiRenderResponseField, openapiRenderSchemaRow$1 as openapiRenderSchemaRow, openapiRenderSchemaView$1 as openapiRenderSchemaView, openapiResolveBaseUrl$1 as openapiResolveBaseUrl, openapiResolveRefs$1 as openapiResolveRefs, openapiSourceBuild$1 as openapiSourceBuild, pluginHook$1 as pluginHook, primitivesColorSwatchScript$1 as primitivesColorSwatchScript, primitivesColorSwatchStyle$1 as primitivesColorSwatchStyle, primitivesCopyButtonScript$1 as primitivesCopyButtonScript, primitivesCopyButtonStyle$1 as primitivesCopyButtonStyle, primitivesRenderAccordion$1 as primitivesRenderAccordion, primitivesRenderAccordionItem$1 as primitivesRenderAccordionItem, primitivesRenderColorSwatch$1 as primitivesRenderColorSwatch, primitivesRenderCopyButton$1 as primitivesRenderCopyButton, primitivesRenderImageZoom$1 as primitivesRenderImageZoom, primitivesRenderTabPanel$1 as primitivesRenderTabPanel, primitivesRenderTabs$1 as primitivesRenderTabs, primitivesRenderTooltip$1 as primitivesRenderTooltip, primitivesRenderViewAnimation$1 as primitivesRenderViewAnimation, primitivesTabsScript$1 as primitivesTabsScript, primitivesViewAnimationScript$1 as primitivesViewAnimationScript, primitivesViewAnimationStyle$1 as primitivesViewAnimationStyle, remarkCollectSections$1 as remarkCollectSections, remarkResolveSnippet$1 as remarkResolveSnippet, remarkTransformAsides$1 as remarkTransformAsides, remarkVarsSubstitute$1 as remarkVarsSubstitute, rssGenerateFeed$1 as rssGenerateFeed, searchEntryToPage$1 as searchEntryToPage, searchExtractStructuredData$1 as searchExtractStructuredData, searchReadMetaYaml$1 as searchReadMetaYaml, shellAnnouncementBannerScript$1 as shellAnnouncementBannerScript, shellBuildBannerInitScript$1 as shellBuildBannerInitScript, shellBuildGlobPattern$1 as shellBuildGlobPattern, shellBuildHeaders$1 as shellBuildHeaders, shellBuildLicenseErrorMessage$1 as shellBuildLicenseErrorMessage, shellBuildThemeInitScript$1 as shellBuildThemeInitScript, shellCacheControl$1 as shellCacheControl, shellCheckChangelog$1 as shellCheckChangelog, shellCollectTailwindClassTokens$1 as shellCollectTailwindClassTokens, shellComposeTailwindEntry$1 as shellComposeTailwindEntry, shellGenerateId$1 as shellGenerateId, shellInjectBodyScripts$1 as shellInjectBodyScripts, shellInjectHeadScripts$1 as shellInjectHeadScripts, shellLazyUpgradeScript$1 as shellLazyUpgradeScript, shellListThemes$1 as shellListThemes, shellNavActiveUpdateScript$1 as shellNavActiveUpdateScript, shellOpenInAiScript$1 as shellOpenInAiScript, shellPlanDefaultRoutes$1 as shellPlanDefaultRoutes, shellPlanDocsSlug$1 as shellPlanDocsSlug, shellPlanRehypePlugins$1 as shellPlanRehypePlugins, shellPlanRemarkPlugins$1 as shellPlanRemarkPlugins, shellRenderAnnouncementBanner$1 as shellRenderAnnouncementBanner, shellRenderAside$1 as shellRenderAside, shellRenderBadge$1 as shellRenderBadge, shellRenderBaseLayout$1 as shellRenderBaseLayout, shellRenderBlogIndex$1 as shellRenderBlogIndex, shellRenderBlogSlug$1 as shellRenderBlogSlug, shellRenderBreadcrumbs$1 as shellRenderBreadcrumbs, shellRenderCard$1 as shellRenderCard, shellRenderCardGrid$1 as shellRenderCardGrid, shellRenderChangelogEntry$1 as shellRenderChangelogEntry, shellRenderChangelogFooter$1 as shellRenderChangelogFooter, shellRenderChangelogHeader$1 as shellRenderChangelogHeader, shellRenderChangelogPage$1 as shellRenderChangelogPage, shellRenderCodeGroup$1 as shellRenderCodeGroup, shellRenderColumns$1 as shellRenderColumns, shellRenderDeprecationsPage$1 as shellRenderDeprecationsPage, shellRenderDocsLayout$1 as shellRenderDocsLayout, shellRenderDocsSlug$1 as shellRenderDocsSlug, shellRenderFileTree$1 as shellRenderFileTree, shellRenderFileTreeNode$1 as shellRenderFileTreeNode, shellRenderIcon$1 as shellRenderIcon, shellRenderLastModified$1 as shellRenderLastModified, shellRenderLinkButton$1 as shellRenderLinkButton, shellRenderLinkCard$1 as shellRenderLinkCard, shellRenderNotFound$1 as shellRenderNotFound, shellRenderOpenInAi$1 as shellRenderOpenInAi, shellRenderPackageInstall$1 as shellRenderPackageInstall, shellRenderPanels$1 as shellRenderPanels, shellRenderProductDirectory$1 as shellRenderProductDirectory, shellRenderSearchButton$1 as shellRenderSearchButton, shellRenderSidebar$1 as shellRenderSidebar, shellRenderSkipLink$1 as shellRenderSkipLink, shellRenderSteps$1 as shellRenderSteps, shellRenderTableOfContents$1 as shellRenderTableOfContents, shellRenderTabs$1 as shellRenderTabs, shellRenderThemeToggle$1 as shellRenderThemeToggle, shellRenderTile$1 as shellRenderTile, shellRenderTileGrid$1 as shellRenderTileGrid, shellRenderTopNav$1 as shellRenderTopNav, shellRenderTopNavMobile$1 as shellRenderTopNavMobile, shellRenderUpdateBadge$1 as shellRenderUpdateBadge, shellRenderVersionSwitcher$1 as shellRenderVersionSwitcher, shellResolvePrefetch$1 as shellResolvePrefetch, shellResolveSnippetsConfig$1 as shellResolveSnippetsConfig, shellRewriteHead$1 as shellRewriteHead, shellRewriteModulepreload$1 as shellRewriteModulepreload, shellSearchButtonScript$1 as shellSearchButtonScript, shellSearchDialogCss$1 as shellSearchDialogCss, shellSearchDialogInnerHtml$1 as shellSearchDialogInnerHtml, shellSearchDialogScript$1 as shellSearchDialogScript, shellSidebarHeightInitScript$1 as shellSidebarHeightInitScript, shellSidebarScrollInitScript$1 as shellSidebarScrollInitScript, shellTableOfContentsScript$1 as shellTableOfContentsScript, tailwindComposeThemeCss$1 as tailwindComposeThemeCss, tailwindReadPresetCss$1 as tailwindReadPresetCss, tailwindResolveTheme$1 as tailwindResolveTheme, verifyLicense$1 as verifyLicense };
272
273
  }
273
274
  declare const __napiBindingTarget: 'native' | 'wasm32-wasi' | 'wasm32-wasip1';
274
275
  declare function analyticsGenerateBodyScripts$1(analyticsJson: string): string;
@@ -377,6 +378,7 @@ declare function shellBuildHeaders$1(): string;
377
378
  declare function shellBuildLicenseErrorMessage$1(rawErr: string): string | null;
378
379
  declare function shellBuildThemeInitScript$1(defaultScheme: string, strict: boolean): string;
379
380
  declare function shellCacheControl$1(path: string): string;
381
+ declare function shellCheckChangelog$1(inputJson: string): string;
380
382
  declare function shellCollectTailwindClassTokens$1(): string;
381
383
  declare function shellComposeTailwindEntry$1(sourceDirsJson: string, katexCssPath?: string | undefined | null): string;
382
384
  declare function shellGenerateId$1(entry: string): string;
@@ -401,9 +403,11 @@ declare function shellRenderCard$1(title: string, variant: string, customClass:
401
403
  declare function shellRenderCardGrid$1(minColumnWidth: string, customClass: string | undefined | null, slotHtml: string): string;
402
404
  declare function shellRenderChangelogEntry$1(inputJson: string): string;
403
405
  declare function shellRenderChangelogFooter$1(): string;
404
- declare function shellRenderChangelogHeader$1(): string;
406
+ declare function shellRenderChangelogHeader$1(inputJson: string): string;
407
+ declare function shellRenderChangelogPage$1(inputJson: string): string;
405
408
  declare function shellRenderCodeGroup$1(itemsJson: string, syncKey: string | undefined | null, id: string): string;
406
409
  declare function shellRenderColumns$1(cols: number | undefined | null, gap: string | undefined | null, className: string | undefined | null, slotHtml: string): string;
410
+ declare function shellRenderDeprecationsPage$1(inputJson: string): string;
407
411
  declare function shellRenderDocsLayout$1(inputJson: string): string;
408
412
  declare function shellRenderDocsSlug$1(inputJson: string): string;
409
413
  declare function shellRenderFileTree$1(treeJson: string, label: string, customClass?: string | undefined | null): string;
@@ -437,7 +441,7 @@ declare function shellRewriteModulepreload$1(distDir: string, pathnames: Array<s
437
441
  declare function shellSearchButtonScript$1(): string;
438
442
  declare function shellSearchDialogCss$1(): string;
439
443
  declare function shellSearchDialogInnerHtml$1(): string;
440
- declare function shellSearchDialogScript$1(hotkey?: string | undefined | null, versions?: string | undefined | null): string;
444
+ declare function shellSearchDialogScript$1(hotkey?: string | undefined | null, versions?: string | undefined | null, products?: string | undefined | null, hasArchived?: boolean | undefined | null): string;
441
445
  declare function shellSidebarHeightInitScript$1(): string;
442
446
  declare function shellSidebarScrollInitScript$1(): string;
443
447
  declare function shellTableOfContentsScript$1(): string;
@@ -529,6 +533,7 @@ export declare const shellBuildHeaders: typeof shellBuildHeaders$1;
529
533
  export declare const shellBuildLicenseErrorMessage: typeof shellBuildLicenseErrorMessage$1;
530
534
  export declare const shellBuildThemeInitScript: typeof shellBuildThemeInitScript$1;
531
535
  export declare const shellCacheControl: typeof shellCacheControl$1;
536
+ export declare const shellCheckChangelog: typeof shellCheckChangelog$1;
532
537
  export declare const shellCollectTailwindClassTokens: typeof shellCollectTailwindClassTokens$1;
533
538
  export declare const shellComposeTailwindEntry: typeof shellComposeTailwindEntry$1;
534
539
  export declare const shellGenerateId: typeof shellGenerateId$1;
@@ -554,8 +559,10 @@ export declare const shellRenderCardGrid: typeof shellRenderCardGrid$1;
554
559
  export declare const shellRenderChangelogEntry: typeof shellRenderChangelogEntry$1;
555
560
  export declare const shellRenderChangelogFooter: typeof shellRenderChangelogFooter$1;
556
561
  export declare const shellRenderChangelogHeader: typeof shellRenderChangelogHeader$1;
562
+ export declare const shellRenderChangelogPage: typeof shellRenderChangelogPage$1;
557
563
  export declare const shellRenderCodeGroup: typeof shellRenderCodeGroup$1;
558
564
  export declare const shellRenderColumns: typeof shellRenderColumns$1;
565
+ export declare const shellRenderDeprecationsPage: typeof shellRenderDeprecationsPage$1;
559
566
  export declare const shellRenderDocsLayout: typeof shellRenderDocsLayout$1;
560
567
  export declare const shellRenderDocsSlug: typeof shellRenderDocsSlug$1;
561
568
  export declare const shellRenderFileTree: typeof shellRenderFileTree$1;
package/dist/index.mjs CHANGED
@@ -2,4 +2,4 @@ import{createRequire as e}from"node:module";const t=e(import.meta.url)(`../index
2
2
  /* @vite-ignore */
3
3
  `satori`)).default}catch{throw Error(`@publier/native (og-image) requires "satori" as a peer dependency. Install it: pnpm add satori`)}try{a=(await import(
4
4
  /* @vite-ignore */
5
- `@resvg/resvg-js`)).Resvg}catch{throw Error(`@publier/native (og-image) requires "@resvg/resvg-js" as a peer dependency. Install it: pnpm add @resvg/resvg-js`)}let o=JSON.parse(t.contentGenerateOgImageMarkup(JSON.stringify(e))),s=await i(o,{width:n,height:r,fonts:e.fonts??[]});return new a(s,{fitTo:{mode:`width`,value:n}}).render().asPng()}const p=[`docs`,`blog`,`landing`,`press`,`about`,`team`,`contact`,`careers`,`changelog`,`status`,`knowledge-base`,`404`],m=[`system`,`light`,`dark`];function h(e){return JSON.parse(t.configResolvePublierConfig(JSON.stringify(e)??`null`))}function g(e,n,r){return t.configShouldRenderPage(e,JSON.stringify(n),r)}function _(e={}){return t.contentGenerateRobotsTxt(JSON.stringify(e))}function v(e){return JSON.parse(t.blogFilterPublished(JSON.stringify(e)))}function y(e,n){let r={title:n.title,description:n.description,siteUrl:n.siteUrl,feedUrl:n.feedUrl,language:n.language,buildDate:(n.buildDate??/* @__PURE__ */ new Date).toUTCString()};return t.rssGenerateFeed(JSON.stringify(e),JSON.stringify(r))}function b(e){return t.contentGenerateSkillMd(JSON.stringify(e))}function x(e,n){return t.contentGetSlug(e,n)}var S=t;const C=t.analyticsGenerateBodyScripts,w=t.analyticsGenerateScripts,T=t.asyncapiSourceBuild,E=t.blogFilterByTag,D=t.blogFilterPublished,O=t.blogReadingTime,k=t.blogSortByDate,A=t.blogTagCounts,j=t.buildHook,M=t.configResolvePublierConfig,N=t.configResolveShellConfig,P=t.configShouldRenderPage,F=t.contentGenerateLlmsTxt,I=t.contentGenerateOgImageMarkup,L=t.contentGenerateRobotsTxt,R=t.contentGenerateSkillMd,z=t.contentGenerateTwitterMeta,B=t.contentGetSlug,V=t.navigationActiveIndex,H=t.navigationBuildSidebar,U=t.navigationMatchNavPath,W=t.openapiBuildCustomSampleMap,G=t.openapiBuildInstanceId,K=t.openapiDecodePlaceholders,q=t.openapiExtractEndpoints,J=t.openapiGenerateFiles,Y=t.openapiGetMediaTypeExample,X=t.openapiGetSnippetClient,Z=t.openapiHarFromOperation,Q=t.openapiMergeSpecs,ne=t.openapiNavigationBuild,re=t.openapiParseAsyncApiSpec,ie=t.openapiParseOpenapiSpec,ae=t.openapiRenderApiPage,oe=t.openapiRenderApiPlayground,se=t.openapiRenderApiReference,ce=t.openapiRenderApiReferenceShell,le=t.openapiRenderAsyncChannel,ue=t.openapiRenderAsyncMessage,de=t.openapiRenderCodeSamples,fe=t.openapiRenderCollapsibleSection,pe=t.openapiRenderMethodBadge,me=t.openapiRenderParamField,he=t.openapiRenderRequestExample,ge=t.openapiRenderResponseExample,_e=t.openapiRenderResponseField,ve=t.openapiRenderSchemaRow,ye=t.openapiRenderSchemaView,be=t.openapiResolveBaseUrl,xe=t.openapiResolveRefs,Se=t.openapiSourceBuild,Ce=t.pluginHook,we=t.primitivesColorSwatchScript,Te=t.primitivesColorSwatchStyle,Ee=t.primitivesCopyButtonScript,De=t.primitivesCopyButtonStyle,Oe=t.primitivesRenderAccordion,ke=t.primitivesRenderAccordionItem,Ae=t.primitivesRenderColorSwatch,je=t.primitivesRenderCopyButton,Me=t.primitivesRenderImageZoom,Ne=t.primitivesRenderTabPanel,Pe=t.primitivesRenderTabs,Fe=t.primitivesRenderTooltip,Ie=t.primitivesRenderViewAnimation,Le=t.primitivesTabsScript,Re=t.primitivesViewAnimationScript,ze=t.primitivesViewAnimationStyle,Be=t.remarkCollectSections,Ve=t.remarkResolveSnippet,He=t.remarkTransformAsides,$=t.remarkVarsSubstitute,Ue=t.rssGenerateFeed,We=t.searchEntryToPage,Ge=t.searchExtractStructuredData,Ke=t.searchReadMetaYaml,qe=t.shellAnnouncementBannerScript,Je=t.shellBuildBannerInitScript,Ye=t.shellBuildGlobPattern,Xe=t.shellBuildHeaders,Ze=t.shellBuildLicenseErrorMessage,Qe=t.shellBuildThemeInitScript,$e=t.shellCacheControl,et=t.shellCollectTailwindClassTokens,tt=t.shellComposeTailwindEntry,nt=t.shellGenerateId,rt=t.shellInjectBodyScripts,it=t.shellInjectHeadScripts,at=t.shellLazyUpgradeScript,ot=t.shellListThemes,st=t.shellNavActiveUpdateScript,ct=t.shellOpenInAiScript,lt=t.shellPlanDefaultRoutes,ut=t.shellPlanDocsSlug,dt=t.shellPlanRehypePlugins,ft=t.shellPlanRemarkPlugins,pt=t.shellRenderAnnouncementBanner,mt=t.shellRenderAside,ht=t.shellRenderBadge,gt=t.shellRenderBaseLayout,_t=t.shellRenderBlogIndex,vt=t.shellRenderBlogSlug,yt=t.shellRenderBreadcrumbs,bt=t.shellRenderCard,xt=t.shellRenderCardGrid,St=t.shellRenderChangelogEntry,Ct=t.shellRenderChangelogFooter,wt=t.shellRenderChangelogHeader,Tt=t.shellRenderCodeGroup,Et=t.shellRenderColumns,Dt=t.shellRenderDocsLayout,Ot=t.shellRenderDocsSlug,kt=t.shellRenderFileTree,At=t.shellRenderFileTreeNode,jt=t.shellRenderIcon,Mt=t.shellRenderLastModified,Nt=t.shellRenderLinkButton,Pt=t.shellRenderLinkCard,Ft=t.shellRenderNotFound,It=t.shellRenderOpenInAi,Lt=t.shellRenderPackageInstall,Rt=t.shellRenderPanels,zt=t.shellRenderProductDirectory,Bt=t.shellRenderSearchButton,Vt=t.shellRenderSidebar,Ht=t.shellRenderSkipLink,Ut=t.shellRenderSteps,Wt=t.shellRenderTableOfContents,Gt=t.shellRenderTabs,Kt=t.shellRenderThemeToggle,qt=t.shellRenderTile,Jt=t.shellRenderTileGrid,Yt=t.shellRenderTopNav,Xt=t.shellRenderTopNavMobile,Zt=t.shellRenderUpdateBadge,Qt=t.shellRenderVersionSwitcher,$t=t.shellResolvePrefetch,en=t.shellResolveSnippetsConfig,tn=t.shellRewriteHead,nn=t.shellRewriteModulepreload,rn=t.shellSearchButtonScript,an=t.shellSearchDialogCss,on=t.shellSearchDialogInnerHtml,sn=t.shellSearchDialogScript,cn=t.shellSidebarHeightInitScript,ln=t.shellSidebarScrollInitScript,un=t.shellTableOfContentsScript,dn=t.tailwindComposeThemeCss,fn=t.tailwindReadPresetCss,pn=t.tailwindResolveTheme,mn=t.verifyLicense;export{m as APPEARANCE_DEFAULTS,l as MAX_DESCRIPTION_LEN,u as MAX_SITENAME_LEN,c as MAX_TITLE_LEN,p as TOGGLEABLE_PAGES,C as analyticsGenerateBodyScripts,w as analyticsGenerateScripts,T as asyncapiSourceBuild,E as blogFilterByTag,D as blogFilterPublished,O as blogReadingTime,k as blogSortByDate,A as blogTagCounts,j as buildHook,d as clamp,M as configResolvePublierConfig,N as configResolveShellConfig,P as configShouldRenderPage,F as contentGenerateLlmsTxt,I as contentGenerateOgImageMarkup,L as contentGenerateRobotsTxt,R as contentGenerateSkillMd,z as contentGenerateTwitterMeta,B as contentGetSlug,S as default,o as filterByTag,v as filterPublishedPages,r as generateAnalyticsBodyScripts,n as generateAnalyticsScripts,ee as generateLlmsTxt,f as generateOgImage,_ as generateRobotsTxt,y as generateRssFeed,b as generateSkillMd,te as generateTwitterMeta,s as getReadingTime,x as getSlug,a as getTagCounts,V as navigationActiveIndex,H as navigationBuildSidebar,U as navigationMatchNavPath,W as openapiBuildCustomSampleMap,G as openapiBuildInstanceId,K as openapiDecodePlaceholders,q as openapiExtractEndpoints,J as openapiGenerateFiles,Y as openapiGetMediaTypeExample,X as openapiGetSnippetClient,Z as openapiHarFromOperation,Q as openapiMergeSpecs,ne as openapiNavigationBuild,re as openapiParseAsyncApiSpec,ie as openapiParseOpenapiSpec,ae as openapiRenderApiPage,oe as openapiRenderApiPlayground,se as openapiRenderApiReference,ce as openapiRenderApiReferenceShell,le as openapiRenderAsyncChannel,ue as openapiRenderAsyncMessage,de as openapiRenderCodeSamples,fe as openapiRenderCollapsibleSection,pe as openapiRenderMethodBadge,me as openapiRenderParamField,he as openapiRenderRequestExample,ge as openapiRenderResponseExample,_e as openapiRenderResponseField,ve as openapiRenderSchemaRow,ye as openapiRenderSchemaView,be as openapiResolveBaseUrl,xe as openapiResolveRefs,Se as openapiSourceBuild,Ce as pluginHook,we as primitivesColorSwatchScript,Te as primitivesColorSwatchStyle,Ee as primitivesCopyButtonScript,De as primitivesCopyButtonStyle,Oe as primitivesRenderAccordion,ke as primitivesRenderAccordionItem,Ae as primitivesRenderColorSwatch,je as primitivesRenderCopyButton,Me as primitivesRenderImageZoom,Ne as primitivesRenderTabPanel,Pe as primitivesRenderTabs,Fe as primitivesRenderTooltip,Ie as primitivesRenderViewAnimation,Le as primitivesTabsScript,Re as primitivesViewAnimationScript,ze as primitivesViewAnimationStyle,Be as remarkCollectSections,Ve as remarkResolveSnippet,He as remarkTransformAsides,$ as remarkVarsSubstitute,h as resolvePublierConfig,Ue as rssGenerateFeed,We as searchEntryToPage,Ge as searchExtractStructuredData,Ke as searchReadMetaYaml,qe as shellAnnouncementBannerScript,Je as shellBuildBannerInitScript,Ye as shellBuildGlobPattern,Xe as shellBuildHeaders,Ze as shellBuildLicenseErrorMessage,Qe as shellBuildThemeInitScript,$e as shellCacheControl,et as shellCollectTailwindClassTokens,tt as shellComposeTailwindEntry,nt as shellGenerateId,rt as shellInjectBodyScripts,it as shellInjectHeadScripts,at as shellLazyUpgradeScript,ot as shellListThemes,st as shellNavActiveUpdateScript,ct as shellOpenInAiScript,lt as shellPlanDefaultRoutes,ut as shellPlanDocsSlug,dt as shellPlanRehypePlugins,ft as shellPlanRemarkPlugins,pt as shellRenderAnnouncementBanner,mt as shellRenderAside,ht as shellRenderBadge,gt as shellRenderBaseLayout,_t as shellRenderBlogIndex,vt as shellRenderBlogSlug,yt as shellRenderBreadcrumbs,bt as shellRenderCard,xt as shellRenderCardGrid,St as shellRenderChangelogEntry,Ct as shellRenderChangelogFooter,wt as shellRenderChangelogHeader,Tt as shellRenderCodeGroup,Et as shellRenderColumns,Dt as shellRenderDocsLayout,Ot as shellRenderDocsSlug,kt as shellRenderFileTree,At as shellRenderFileTreeNode,jt as shellRenderIcon,Mt as shellRenderLastModified,Nt as shellRenderLinkButton,Pt as shellRenderLinkCard,Ft as shellRenderNotFound,It as shellRenderOpenInAi,Lt as shellRenderPackageInstall,Rt as shellRenderPanels,zt as shellRenderProductDirectory,Bt as shellRenderSearchButton,Vt as shellRenderSidebar,Ht as shellRenderSkipLink,Ut as shellRenderSteps,Wt as shellRenderTableOfContents,Gt as shellRenderTabs,Kt as shellRenderThemeToggle,qt as shellRenderTile,Jt as shellRenderTileGrid,Yt as shellRenderTopNav,Xt as shellRenderTopNavMobile,Zt as shellRenderUpdateBadge,Qt as shellRenderVersionSwitcher,$t as shellResolvePrefetch,en as shellResolveSnippetsConfig,tn as shellRewriteHead,nn as shellRewriteModulepreload,rn as shellSearchButtonScript,an as shellSearchDialogCss,on as shellSearchDialogInnerHtml,sn as shellSearchDialogScript,cn as shellSidebarHeightInitScript,ln as shellSidebarScrollInitScript,un as shellTableOfContentsScript,g as shouldRenderPage,i as sortByDate,dn as tailwindComposeThemeCss,fn as tailwindReadPresetCss,pn as tailwindResolveTheme,mn as verifyLicense};
5
+ `@resvg/resvg-js`)).Resvg}catch{throw Error(`@publier/native (og-image) requires "@resvg/resvg-js" as a peer dependency. Install it: pnpm add @resvg/resvg-js`)}let o=JSON.parse(t.contentGenerateOgImageMarkup(JSON.stringify(e))),s=await i(o,{width:n,height:r,fonts:e.fonts??[]});return new a(s,{fitTo:{mode:`width`,value:n}}).render().asPng()}const p=[`docs`,`blog`,`landing`,`press`,`about`,`team`,`contact`,`careers`,`changelog`,`status`,`knowledge-base`,`404`],m=[`system`,`light`,`dark`];function h(e){return JSON.parse(t.configResolvePublierConfig(JSON.stringify(e)??`null`))}function g(e,n,r){return t.configShouldRenderPage(e,JSON.stringify(n),r)}function _(e={}){return t.contentGenerateRobotsTxt(JSON.stringify(e))}function v(e){return JSON.parse(t.blogFilterPublished(JSON.stringify(e)))}function y(e,n){let r={title:n.title,description:n.description,siteUrl:n.siteUrl,feedUrl:n.feedUrl,language:n.language,buildDate:(n.buildDate??/* @__PURE__ */ new Date).toUTCString()};return t.rssGenerateFeed(JSON.stringify(e),JSON.stringify(r))}function b(e){return t.contentGenerateSkillMd(JSON.stringify(e))}function x(e,n){return t.contentGetSlug(e,n)}var S=t;const C=t.analyticsGenerateBodyScripts,w=t.analyticsGenerateScripts,T=t.asyncapiSourceBuild,E=t.blogFilterByTag,D=t.blogFilterPublished,O=t.blogReadingTime,k=t.blogSortByDate,A=t.blogTagCounts,j=t.buildHook,M=t.configResolvePublierConfig,N=t.configResolveShellConfig,P=t.configShouldRenderPage,F=t.contentGenerateLlmsTxt,I=t.contentGenerateOgImageMarkup,L=t.contentGenerateRobotsTxt,R=t.contentGenerateSkillMd,z=t.contentGenerateTwitterMeta,B=t.contentGetSlug,V=t.navigationActiveIndex,H=t.navigationBuildSidebar,U=t.navigationMatchNavPath,W=t.openapiBuildCustomSampleMap,G=t.openapiBuildInstanceId,K=t.openapiDecodePlaceholders,q=t.openapiExtractEndpoints,J=t.openapiGenerateFiles,Y=t.openapiGetMediaTypeExample,X=t.openapiGetSnippetClient,Z=t.openapiHarFromOperation,Q=t.openapiMergeSpecs,ne=t.openapiNavigationBuild,re=t.openapiParseAsyncApiSpec,ie=t.openapiParseOpenapiSpec,ae=t.openapiRenderApiPage,oe=t.openapiRenderApiPlayground,se=t.openapiRenderApiReference,ce=t.openapiRenderApiReferenceShell,le=t.openapiRenderAsyncChannel,ue=t.openapiRenderAsyncMessage,de=t.openapiRenderCodeSamples,fe=t.openapiRenderCollapsibleSection,pe=t.openapiRenderMethodBadge,me=t.openapiRenderParamField,he=t.openapiRenderRequestExample,ge=t.openapiRenderResponseExample,_e=t.openapiRenderResponseField,ve=t.openapiRenderSchemaRow,ye=t.openapiRenderSchemaView,be=t.openapiResolveBaseUrl,xe=t.openapiResolveRefs,Se=t.openapiSourceBuild,Ce=t.pluginHook,we=t.primitivesColorSwatchScript,Te=t.primitivesColorSwatchStyle,Ee=t.primitivesCopyButtonScript,De=t.primitivesCopyButtonStyle,Oe=t.primitivesRenderAccordion,ke=t.primitivesRenderAccordionItem,Ae=t.primitivesRenderColorSwatch,je=t.primitivesRenderCopyButton,Me=t.primitivesRenderImageZoom,Ne=t.primitivesRenderTabPanel,Pe=t.primitivesRenderTabs,Fe=t.primitivesRenderTooltip,Ie=t.primitivesRenderViewAnimation,Le=t.primitivesTabsScript,Re=t.primitivesViewAnimationScript,ze=t.primitivesViewAnimationStyle,Be=t.remarkCollectSections,Ve=t.remarkResolveSnippet,He=t.remarkTransformAsides,$=t.remarkVarsSubstitute,Ue=t.rssGenerateFeed,We=t.searchEntryToPage,Ge=t.searchExtractStructuredData,Ke=t.searchReadMetaYaml,qe=t.shellAnnouncementBannerScript,Je=t.shellBuildBannerInitScript,Ye=t.shellBuildGlobPattern,Xe=t.shellBuildHeaders,Ze=t.shellBuildLicenseErrorMessage,Qe=t.shellBuildThemeInitScript,$e=t.shellCacheControl,et=t.shellCheckChangelog,tt=t.shellCollectTailwindClassTokens,nt=t.shellComposeTailwindEntry,rt=t.shellGenerateId,it=t.shellInjectBodyScripts,at=t.shellInjectHeadScripts,ot=t.shellLazyUpgradeScript,st=t.shellListThemes,ct=t.shellNavActiveUpdateScript,lt=t.shellOpenInAiScript,ut=t.shellPlanDefaultRoutes,dt=t.shellPlanDocsSlug,ft=t.shellPlanRehypePlugins,pt=t.shellPlanRemarkPlugins,mt=t.shellRenderAnnouncementBanner,ht=t.shellRenderAside,gt=t.shellRenderBadge,_t=t.shellRenderBaseLayout,vt=t.shellRenderBlogIndex,yt=t.shellRenderBlogSlug,bt=t.shellRenderBreadcrumbs,xt=t.shellRenderCard,St=t.shellRenderCardGrid,Ct=t.shellRenderChangelogEntry,wt=t.shellRenderChangelogFooter,Tt=t.shellRenderChangelogHeader,Et=t.shellRenderChangelogPage,Dt=t.shellRenderCodeGroup,Ot=t.shellRenderColumns,kt=t.shellRenderDeprecationsPage,At=t.shellRenderDocsLayout,jt=t.shellRenderDocsSlug,Mt=t.shellRenderFileTree,Nt=t.shellRenderFileTreeNode,Pt=t.shellRenderIcon,Ft=t.shellRenderLastModified,It=t.shellRenderLinkButton,Lt=t.shellRenderLinkCard,Rt=t.shellRenderNotFound,zt=t.shellRenderOpenInAi,Bt=t.shellRenderPackageInstall,Vt=t.shellRenderPanels,Ht=t.shellRenderProductDirectory,Ut=t.shellRenderSearchButton,Wt=t.shellRenderSidebar,Gt=t.shellRenderSkipLink,Kt=t.shellRenderSteps,qt=t.shellRenderTableOfContents,Jt=t.shellRenderTabs,Yt=t.shellRenderThemeToggle,Xt=t.shellRenderTile,Zt=t.shellRenderTileGrid,Qt=t.shellRenderTopNav,$t=t.shellRenderTopNavMobile,en=t.shellRenderUpdateBadge,tn=t.shellRenderVersionSwitcher,nn=t.shellResolvePrefetch,rn=t.shellResolveSnippetsConfig,an=t.shellRewriteHead,on=t.shellRewriteModulepreload,sn=t.shellSearchButtonScript,cn=t.shellSearchDialogCss,ln=t.shellSearchDialogInnerHtml,un=t.shellSearchDialogScript,dn=t.shellSidebarHeightInitScript,fn=t.shellSidebarScrollInitScript,pn=t.shellTableOfContentsScript,mn=t.tailwindComposeThemeCss,hn=t.tailwindReadPresetCss,gn=t.tailwindResolveTheme,_n=t.verifyLicense;export{m as APPEARANCE_DEFAULTS,l as MAX_DESCRIPTION_LEN,u as MAX_SITENAME_LEN,c as MAX_TITLE_LEN,p as TOGGLEABLE_PAGES,C as analyticsGenerateBodyScripts,w as analyticsGenerateScripts,T as asyncapiSourceBuild,E as blogFilterByTag,D as blogFilterPublished,O as blogReadingTime,k as blogSortByDate,A as blogTagCounts,j as buildHook,d as clamp,M as configResolvePublierConfig,N as configResolveShellConfig,P as configShouldRenderPage,F as contentGenerateLlmsTxt,I as contentGenerateOgImageMarkup,L as contentGenerateRobotsTxt,R as contentGenerateSkillMd,z as contentGenerateTwitterMeta,B as contentGetSlug,S as default,o as filterByTag,v as filterPublishedPages,r as generateAnalyticsBodyScripts,n as generateAnalyticsScripts,ee as generateLlmsTxt,f as generateOgImage,_ as generateRobotsTxt,y as generateRssFeed,b as generateSkillMd,te as generateTwitterMeta,s as getReadingTime,x as getSlug,a as getTagCounts,V as navigationActiveIndex,H as navigationBuildSidebar,U as navigationMatchNavPath,W as openapiBuildCustomSampleMap,G as openapiBuildInstanceId,K as openapiDecodePlaceholders,q as openapiExtractEndpoints,J as openapiGenerateFiles,Y as openapiGetMediaTypeExample,X as openapiGetSnippetClient,Z as openapiHarFromOperation,Q as openapiMergeSpecs,ne as openapiNavigationBuild,re as openapiParseAsyncApiSpec,ie as openapiParseOpenapiSpec,ae as openapiRenderApiPage,oe as openapiRenderApiPlayground,se as openapiRenderApiReference,ce as openapiRenderApiReferenceShell,le as openapiRenderAsyncChannel,ue as openapiRenderAsyncMessage,de as openapiRenderCodeSamples,fe as openapiRenderCollapsibleSection,pe as openapiRenderMethodBadge,me as openapiRenderParamField,he as openapiRenderRequestExample,ge as openapiRenderResponseExample,_e as openapiRenderResponseField,ve as openapiRenderSchemaRow,ye as openapiRenderSchemaView,be as openapiResolveBaseUrl,xe as openapiResolveRefs,Se as openapiSourceBuild,Ce as pluginHook,we as primitivesColorSwatchScript,Te as primitivesColorSwatchStyle,Ee as primitivesCopyButtonScript,De as primitivesCopyButtonStyle,Oe as primitivesRenderAccordion,ke as primitivesRenderAccordionItem,Ae as primitivesRenderColorSwatch,je as primitivesRenderCopyButton,Me as primitivesRenderImageZoom,Ne as primitivesRenderTabPanel,Pe as primitivesRenderTabs,Fe as primitivesRenderTooltip,Ie as primitivesRenderViewAnimation,Le as primitivesTabsScript,Re as primitivesViewAnimationScript,ze as primitivesViewAnimationStyle,Be as remarkCollectSections,Ve as remarkResolveSnippet,He as remarkTransformAsides,$ as remarkVarsSubstitute,h as resolvePublierConfig,Ue as rssGenerateFeed,We as searchEntryToPage,Ge as searchExtractStructuredData,Ke as searchReadMetaYaml,qe as shellAnnouncementBannerScript,Je as shellBuildBannerInitScript,Ye as shellBuildGlobPattern,Xe as shellBuildHeaders,Ze as shellBuildLicenseErrorMessage,Qe as shellBuildThemeInitScript,$e as shellCacheControl,et as shellCheckChangelog,tt as shellCollectTailwindClassTokens,nt as shellComposeTailwindEntry,rt as shellGenerateId,it as shellInjectBodyScripts,at as shellInjectHeadScripts,ot as shellLazyUpgradeScript,st as shellListThemes,ct as shellNavActiveUpdateScript,lt as shellOpenInAiScript,ut as shellPlanDefaultRoutes,dt as shellPlanDocsSlug,ft as shellPlanRehypePlugins,pt as shellPlanRemarkPlugins,mt as shellRenderAnnouncementBanner,ht as shellRenderAside,gt as shellRenderBadge,_t as shellRenderBaseLayout,vt as shellRenderBlogIndex,yt as shellRenderBlogSlug,bt as shellRenderBreadcrumbs,xt as shellRenderCard,St as shellRenderCardGrid,Ct as shellRenderChangelogEntry,wt as shellRenderChangelogFooter,Tt as shellRenderChangelogHeader,Et as shellRenderChangelogPage,Dt as shellRenderCodeGroup,Ot as shellRenderColumns,kt as shellRenderDeprecationsPage,At as shellRenderDocsLayout,jt as shellRenderDocsSlug,Mt as shellRenderFileTree,Nt as shellRenderFileTreeNode,Pt as shellRenderIcon,Ft as shellRenderLastModified,It as shellRenderLinkButton,Lt as shellRenderLinkCard,Rt as shellRenderNotFound,zt as shellRenderOpenInAi,Bt as shellRenderPackageInstall,Vt as shellRenderPanels,Ht as shellRenderProductDirectory,Ut as shellRenderSearchButton,Wt as shellRenderSidebar,Gt as shellRenderSkipLink,Kt as shellRenderSteps,qt as shellRenderTableOfContents,Jt as shellRenderTabs,Yt as shellRenderThemeToggle,Xt as shellRenderTile,Zt as shellRenderTileGrid,Qt as shellRenderTopNav,$t as shellRenderTopNavMobile,en as shellRenderUpdateBadge,tn as shellRenderVersionSwitcher,nn as shellResolvePrefetch,rn as shellResolveSnippetsConfig,an as shellRewriteHead,on as shellRewriteModulepreload,sn as shellSearchButtonScript,cn as shellSearchDialogCss,ln as shellSearchDialogInnerHtml,un as shellSearchDialogScript,dn as shellSidebarHeightInitScript,fn as shellSidebarScrollInitScript,pn as shellTableOfContentsScript,g as shouldRenderPage,i as sortByDate,mn as tailwindComposeThemeCss,hn as tailwindReadPresetCss,gn as tailwindResolveTheme,_n as verifyLicense};
package/index.d.ts CHANGED
@@ -105,6 +105,7 @@ export declare function shellBuildHeaders(): string
105
105
  export declare function shellBuildLicenseErrorMessage(rawErr: string): string | null
106
106
  export declare function shellBuildThemeInitScript(defaultScheme: string, strict: boolean): string
107
107
  export declare function shellCacheControl(path: string): string
108
+ export declare function shellCheckChangelog(inputJson: string): string
108
109
  export declare function shellCollectTailwindClassTokens(): string
109
110
  export declare function shellComposeTailwindEntry(sourceDirsJson: string, katexCssPath?: string | undefined | null): string
110
111
  export declare function shellGenerateId(entry: string): string
@@ -129,9 +130,11 @@ export declare function shellRenderCard(title: string, variant: string, customCl
129
130
  export declare function shellRenderCardGrid(minColumnWidth: string, customClass: string | undefined | null, slotHtml: string): string
130
131
  export declare function shellRenderChangelogEntry(inputJson: string): string
131
132
  export declare function shellRenderChangelogFooter(): string
132
- export declare function shellRenderChangelogHeader(): string
133
+ export declare function shellRenderChangelogHeader(inputJson: string): string
134
+ export declare function shellRenderChangelogPage(inputJson: string): string
133
135
  export declare function shellRenderCodeGroup(itemsJson: string, syncKey: string | undefined | null, id: string): string
134
136
  export declare function shellRenderColumns(cols: number | undefined | null, gap: string | undefined | null, className: string | undefined | null, slotHtml: string): string
137
+ export declare function shellRenderDeprecationsPage(inputJson: string): string
135
138
  export declare function shellRenderDocsLayout(inputJson: string): string
136
139
  export declare function shellRenderDocsSlug(inputJson: string): string
137
140
  export declare function shellRenderFileTree(treeJson: string, label: string, customClass?: string | undefined | null): string
@@ -165,7 +168,7 @@ export declare function shellRewriteModulepreload(distDir: string, pathnames: Ar
165
168
  export declare function shellSearchButtonScript(): string
166
169
  export declare function shellSearchDialogCss(): string
167
170
  export declare function shellSearchDialogInnerHtml(): string
168
- export declare function shellSearchDialogScript(hotkey?: string | undefined | null, versions?: string | undefined | null): string
171
+ export declare function shellSearchDialogScript(hotkey?: string | undefined | null, versions?: string | undefined | null, products?: string | undefined | null, hasArchived?: boolean | undefined | null): string
169
172
  export declare function shellSidebarHeightInitScript(): string
170
173
  export declare function shellSidebarScrollInitScript(): string
171
174
  export declare function shellTableOfContentsScript(): string
package/index.js CHANGED
@@ -93,8 +93,8 @@ function requireNative() {
93
93
  try {
94
94
  const binding = require('@publier/native-android-arm64')
95
95
  const bindingPackageVersion = require('@publier/native-android-arm64/package.json').version
96
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
96
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
98
  }
99
99
  return binding
100
100
  } catch (e) {
@@ -109,8 +109,8 @@ function requireNative() {
109
109
  try {
110
110
  const binding = require('@publier/native-android-arm-eabi')
111
111
  const bindingPackageVersion = require('@publier/native-android-arm-eabi/package.json').version
112
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
113
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
112
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
113
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
114
114
  }
115
115
  return binding
116
116
  } catch (e) {
@@ -130,8 +130,8 @@ function requireNative() {
130
130
  try {
131
131
  const binding = require('@publier/native-win32-x64-gnu')
132
132
  const bindingPackageVersion = require('@publier/native-win32-x64-gnu/package.json').version
133
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
135
135
  }
136
136
  return binding
137
137
  } catch (e) {
@@ -146,8 +146,8 @@ function requireNative() {
146
146
  try {
147
147
  const binding = require('@publier/native-win32-x64-msvc')
148
148
  const bindingPackageVersion = require('@publier/native-win32-x64-msvc/package.json').version
149
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
150
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
149
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
150
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
151
151
  }
152
152
  return binding
153
153
  } catch (e) {
@@ -163,8 +163,8 @@ function requireNative() {
163
163
  try {
164
164
  const binding = require('@publier/native-win32-ia32-msvc')
165
165
  const bindingPackageVersion = require('@publier/native-win32-ia32-msvc/package.json').version
166
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
166
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
168
  }
169
169
  return binding
170
170
  } catch (e) {
@@ -179,8 +179,8 @@ function requireNative() {
179
179
  try {
180
180
  const binding = require('@publier/native-win32-arm64-msvc')
181
181
  const bindingPackageVersion = require('@publier/native-win32-arm64-msvc/package.json').version
182
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
183
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
182
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
183
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
184
184
  }
185
185
  return binding
186
186
  } catch (e) {
@@ -198,8 +198,8 @@ function requireNative() {
198
198
  try {
199
199
  const binding = require('@publier/native-darwin-universal')
200
200
  const bindingPackageVersion = require('@publier/native-darwin-universal/package.json').version
201
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
201
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
203
  }
204
204
  return binding
205
205
  } catch (e) {
@@ -214,8 +214,8 @@ function requireNative() {
214
214
  try {
215
215
  const binding = require('@publier/native-darwin-x64')
216
216
  const bindingPackageVersion = require('@publier/native-darwin-x64/package.json').version
217
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
217
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
219
  }
220
220
  return binding
221
221
  } catch (e) {
@@ -230,8 +230,8 @@ function requireNative() {
230
230
  try {
231
231
  const binding = require('@publier/native-darwin-arm64')
232
232
  const bindingPackageVersion = require('@publier/native-darwin-arm64/package.json').version
233
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
234
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
233
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
234
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
235
235
  }
236
236
  return binding
237
237
  } catch (e) {
@@ -250,8 +250,8 @@ function requireNative() {
250
250
  try {
251
251
  const binding = require('@publier/native-freebsd-x64')
252
252
  const bindingPackageVersion = require('@publier/native-freebsd-x64/package.json').version
253
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
253
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
255
  }
256
256
  return binding
257
257
  } catch (e) {
@@ -266,8 +266,8 @@ function requireNative() {
266
266
  try {
267
267
  const binding = require('@publier/native-freebsd-arm64')
268
268
  const bindingPackageVersion = require('@publier/native-freebsd-arm64/package.json').version
269
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
270
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
269
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
270
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
271
271
  }
272
272
  return binding
273
273
  } catch (e) {
@@ -282,8 +282,8 @@ function requireNative() {
282
282
  try {
283
283
  const binding = require('@publier/native-freebsd-ppc64')
284
284
  const bindingPackageVersion = require('@publier/native-freebsd-ppc64/package.json').version
285
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
286
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
285
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
286
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
287
287
  }
288
288
  return binding
289
289
  } catch (e) {
@@ -303,8 +303,8 @@ function requireNative() {
303
303
  try {
304
304
  const binding = require('@publier/native-linux-x64-musl')
305
305
  const bindingPackageVersion = require('@publier/native-linux-x64-musl/package.json').version
306
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
307
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
306
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
307
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
308
308
  }
309
309
  return binding
310
310
  } catch (e) {
@@ -319,8 +319,8 @@ function requireNative() {
319
319
  try {
320
320
  const binding = require('@publier/native-linux-x64-gnu')
321
321
  const bindingPackageVersion = require('@publier/native-linux-x64-gnu/package.json').version
322
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
323
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
322
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
323
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
324
324
  }
325
325
  return binding
326
326
  } catch (e) {
@@ -337,8 +337,8 @@ function requireNative() {
337
337
  try {
338
338
  const binding = require('@publier/native-linux-arm64-musl')
339
339
  const bindingPackageVersion = require('@publier/native-linux-arm64-musl/package.json').version
340
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
341
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
340
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
341
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
342
  }
343
343
  return binding
344
344
  } catch (e) {
@@ -353,8 +353,8 @@ function requireNative() {
353
353
  try {
354
354
  const binding = require('@publier/native-linux-arm64-gnu')
355
355
  const bindingPackageVersion = require('@publier/native-linux-arm64-gnu/package.json').version
356
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
357
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
356
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
357
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
358
358
  }
359
359
  return binding
360
360
  } catch (e) {
@@ -371,8 +371,8 @@ function requireNative() {
371
371
  try {
372
372
  const binding = require('@publier/native-linux-arm-musleabihf')
373
373
  const bindingPackageVersion = require('@publier/native-linux-arm-musleabihf/package.json').version
374
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
375
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
374
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
375
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
376
376
  }
377
377
  return binding
378
378
  } catch (e) {
@@ -387,8 +387,8 @@ function requireNative() {
387
387
  try {
388
388
  const binding = require('@publier/native-linux-arm-gnueabihf')
389
389
  const bindingPackageVersion = require('@publier/native-linux-arm-gnueabihf/package.json').version
390
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
391
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
390
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
391
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
392
392
  }
393
393
  return binding
394
394
  } catch (e) {
@@ -405,8 +405,8 @@ function requireNative() {
405
405
  try {
406
406
  const binding = require('@publier/native-linux-loong64-musl')
407
407
  const bindingPackageVersion = require('@publier/native-linux-loong64-musl/package.json').version
408
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
409
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
408
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
409
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
410
  }
411
411
  return binding
412
412
  } catch (e) {
@@ -421,8 +421,8 @@ function requireNative() {
421
421
  try {
422
422
  const binding = require('@publier/native-linux-loong64-gnu')
423
423
  const bindingPackageVersion = require('@publier/native-linux-loong64-gnu/package.json').version
424
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
425
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
424
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
425
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
426
426
  }
427
427
  return binding
428
428
  } catch (e) {
@@ -439,8 +439,8 @@ function requireNative() {
439
439
  try {
440
440
  const binding = require('@publier/native-linux-riscv64-musl')
441
441
  const bindingPackageVersion = require('@publier/native-linux-riscv64-musl/package.json').version
442
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
443
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
442
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
443
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
444
444
  }
445
445
  return binding
446
446
  } catch (e) {
@@ -455,8 +455,8 @@ function requireNative() {
455
455
  try {
456
456
  const binding = require('@publier/native-linux-riscv64-gnu')
457
457
  const bindingPackageVersion = require('@publier/native-linux-riscv64-gnu/package.json').version
458
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
459
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
458
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
459
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
460
460
  }
461
461
  return binding
462
462
  } catch (e) {
@@ -472,8 +472,8 @@ function requireNative() {
472
472
  try {
473
473
  const binding = require('@publier/native-linux-ppc64-gnu')
474
474
  const bindingPackageVersion = require('@publier/native-linux-ppc64-gnu/package.json').version
475
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
476
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
475
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
476
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
477
477
  }
478
478
  return binding
479
479
  } catch (e) {
@@ -488,8 +488,8 @@ function requireNative() {
488
488
  try {
489
489
  const binding = require('@publier/native-linux-s390x-gnu')
490
490
  const bindingPackageVersion = require('@publier/native-linux-s390x-gnu/package.json').version
491
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
492
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
491
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
492
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
493
493
  }
494
494
  return binding
495
495
  } catch (e) {
@@ -508,8 +508,8 @@ function requireNative() {
508
508
  try {
509
509
  const binding = require('@publier/native-openharmony-arm64')
510
510
  const bindingPackageVersion = require('@publier/native-openharmony-arm64/package.json').version
511
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
511
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
513
  }
514
514
  return binding
515
515
  } catch (e) {
@@ -524,8 +524,8 @@ function requireNative() {
524
524
  try {
525
525
  const binding = require('@publier/native-openharmony-x64')
526
526
  const bindingPackageVersion = require('@publier/native-openharmony-x64/package.json').version
527
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
528
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
527
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
528
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
529
529
  }
530
530
  return binding
531
531
  } catch (e) {
@@ -540,8 +540,8 @@ function requireNative() {
540
540
  try {
541
541
  const binding = require('@publier/native-openharmony-arm')
542
542
  const bindingPackageVersion = require('@publier/native-openharmony-arm/package.json').version
543
- if (bindingPackageVersion !== '0.16.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
544
- throw new Error(`Native binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
543
+ if (bindingPackageVersion !== '0.17.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
544
+ throw new Error(`Native binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
545
545
  }
546
546
  return binding
547
547
  } catch (e) {
@@ -682,8 +682,8 @@ if (!nativeBinding || forceWasi) {
682
682
  if (!candidateFailed) {
683
683
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
684
684
  const bindingPackageVersion = require('@publier/native-wasm32-wasi/package.json').version
685
- if (bindingPackageVersion !== '0.16.0') {
686
- throw new Error(`WASI binding package version mismatch, expected 0.16.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
685
+ if (bindingPackageVersion !== '0.17.0') {
686
+ throw new Error(`WASI binding package version mismatch, expected 0.17.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
687
687
  }
688
688
  }
689
689
  wasiBinding = require('@publier/native-wasm32-wasi')
@@ -917,6 +917,7 @@ module.exports.shellBuildHeaders = nativeBinding.shellBuildHeaders
917
917
  module.exports.shellBuildLicenseErrorMessage = nativeBinding.shellBuildLicenseErrorMessage
918
918
  module.exports.shellBuildThemeInitScript = nativeBinding.shellBuildThemeInitScript
919
919
  module.exports.shellCacheControl = nativeBinding.shellCacheControl
920
+ module.exports.shellCheckChangelog = nativeBinding.shellCheckChangelog
920
921
  module.exports.shellCollectTailwindClassTokens = nativeBinding.shellCollectTailwindClassTokens
921
922
  module.exports.shellComposeTailwindEntry = nativeBinding.shellComposeTailwindEntry
922
923
  module.exports.shellGenerateId = nativeBinding.shellGenerateId
@@ -942,8 +943,10 @@ module.exports.shellRenderCardGrid = nativeBinding.shellRenderCardGrid
942
943
  module.exports.shellRenderChangelogEntry = nativeBinding.shellRenderChangelogEntry
943
944
  module.exports.shellRenderChangelogFooter = nativeBinding.shellRenderChangelogFooter
944
945
  module.exports.shellRenderChangelogHeader = nativeBinding.shellRenderChangelogHeader
946
+ module.exports.shellRenderChangelogPage = nativeBinding.shellRenderChangelogPage
945
947
  module.exports.shellRenderCodeGroup = nativeBinding.shellRenderCodeGroup
946
948
  module.exports.shellRenderColumns = nativeBinding.shellRenderColumns
949
+ module.exports.shellRenderDeprecationsPage = nativeBinding.shellRenderDeprecationsPage
947
950
  module.exports.shellRenderDocsLayout = nativeBinding.shellRenderDocsLayout
948
951
  module.exports.shellRenderDocsSlug = nativeBinding.shellRenderDocsSlug
949
952
  module.exports.shellRenderFileTree = nativeBinding.shellRenderFileTree
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@publier/native",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Publier native bindings — build, content, and OpenAPI utilities.",
6
6
  "type": "commonjs",
Binary file