Skip to content

Commit

Permalink
fix globby imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Apr 18, 2023
1 parent 75bd7e9 commit 13f87ea
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/markdoc/load-all.ts
Original file line number Diff line number Diff line change
@@ -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']);
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/blog/[post].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/blog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/[...rest].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/replace-show-next-release/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/rss.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit 13f87ea

Please sign in to comment.