diff --git a/docs/markdoc/load-all.ts b/docs/markdoc/load-all.ts index 30ca587af79..bc41785a99e 100644 --- a/docs/markdoc/load-all.ts +++ b/docs/markdoc/load-all.ts @@ -1,5 +1,5 @@ import fs from 'fs/promises'; -import globby from 'globby'; +import { globby } from 'globby'; export async function loadAllMarkdoc() { const files = await globby(['pages/docs/**/*.md', 'pages/blog/**/*.md']); diff --git a/docs/pages/blog/[post].tsx b/docs/pages/blog/[post].tsx index c0dd9e5bc01..dd4525ca225 100644 --- a/docs/pages/blog/[post].tsx +++ b/docs/pages/blog/[post].tsx @@ -12,7 +12,7 @@ import Link from 'next/link'; import { useRouter } from 'next/router'; import parse from 'date-fns/parse'; import format from 'date-fns/format'; -import globby from 'globby'; +import { globby } from 'globby'; import { BlogContent, readBlogContent } from '../../markdoc'; import { extractHeadings, Markdoc } from '../../components/Markdoc'; import { BlogPage } from '../../components/Page'; diff --git a/docs/pages/blog/index.tsx b/docs/pages/blog/index.tsx index 3f879e3f227..78160c4744f 100644 --- a/docs/pages/blog/index.tsx +++ b/docs/pages/blog/index.tsx @@ -2,7 +2,7 @@ /** @jsx jsx */ import path from 'path'; import fs from 'fs/promises'; -import globby from 'globby'; +import { globby } from 'globby'; import { InferGetStaticPropsType, GetStaticPropsResult } from 'next'; import Link from 'next/link'; import parse from 'date-fns/parse'; diff --git a/docs/pages/docs/[...rest].tsx b/docs/pages/docs/[...rest].tsx index 2dd53ed3c1e..26d681aa2fa 100644 --- a/docs/pages/docs/[...rest].tsx +++ b/docs/pages/docs/[...rest].tsx @@ -7,7 +7,7 @@ import { InferGetStaticPropsType, } from 'next'; import { useRouter } from 'next/router'; -import globby from 'globby'; +import { globby } from 'globby'; import { DocsContent, readDocsContent } from '../../markdoc'; import { extractHeadings, Markdoc } from '../../components/Markdoc'; import { DocsPage } from '../../components/Page'; diff --git a/docs/scripts/replace-show-next-release/index.ts b/docs/scripts/replace-show-next-release/index.ts index adbce13b6e9..59f30ea3f67 100644 --- a/docs/scripts/replace-show-next-release/index.ts +++ b/docs/scripts/replace-show-next-release/index.ts @@ -1,6 +1,6 @@ import fs from 'fs/promises'; import { ValidateError } from '@markdoc/markdoc'; -import globby from 'globby'; +import { globby } from 'globby'; import { loadAllMarkdoc } from '../../markdoc/load-all'; import { printValidationError } from '../../markdoc'; import { removeNextReleaseConditions } from './markdoc'; diff --git a/docs/scripts/rss.ts b/docs/scripts/rss.ts index cbe482614e1..d3729873e1e 100644 --- a/docs/scripts/rss.ts +++ b/docs/scripts/rss.ts @@ -1,7 +1,7 @@ import path from 'path'; import fs from 'fs/promises'; import RSS from 'rss'; -import globby from 'globby'; +import { globby } from 'globby'; import { extractBlogFrontmatter } from '../markdoc'; import { siteBaseUrl } from '../lib/og-util';