@brillout/docpress 0.5.15 → 0.5.17

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.js CHANGED
@@ -316,6 +316,8 @@ var alignable_default = "/assets/alignable-B4QZV4X7.svg";
316
316
 
317
317
  // src/components/Sponsors/sponsorsList.ts
318
318
  var individuals = [
319
+ { username: "AnukarOP" },
320
+ { username: "RoyMcCrain" },
319
321
  { username: "BurdaForward" },
320
322
  { username: "chrisvander" },
321
323
  { username: "EralChen" },
@@ -650,7 +650,7 @@ async function render(pageContextOriginal) {
650
650
  function getOpenGraphTags(url, meta) {
651
651
  const { title, tagline, websiteUrl, twitterHandle, bannerUrl } = meta;
652
652
  assert(url.startsWith("/"));
653
- if (url !== "/" || !bannerUrl)
653
+ if (!bannerUrl)
654
654
  return "";
655
655
  return escapeInject2`
656
656
  <meta property="og:type" content="website">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.5.15",
3
+ "version": "0.5.17",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",
package/types.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
3
  declare module '*.mdx' {
4
- import { FunctionComponent } from 'react'
5
- const value: FunctionComponent
4
+ const value: () => JSX.Element
6
5
  export default value
7
6
  export const headings: { level: number; title: string; id: string; titleAddendum?: string }[]
8
7
  }