Skip to content

Commit

Permalink
0.3.2 (#37)
Browse files Browse the repository at this point in the history
* 0.3.2

* fix unit test
  • Loading branch information
mfix-stripe authored Aug 17, 2023
1 parent 42f67e3 commit db73338
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@markdoc/next.js",
"version": "0.3.1",
"version": "0.3.2",
"author": "Stripe, Inc.",
"description": "Markdoc plugin for Next.js",
"license": "MIT",
Expand Down
6 changes: 0 additions & 6 deletions tests/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,8 @@ async function getMarkdocData(context = {}) {
}
export const dynamic = frontmatter.nextjs?.dynamic;
export const dynamicParams = frontmatter.nextjs?.dynamicParams;
export const fetchCache = frontmatter.nextjs?.fetchCache;
export const maxDuration = frontmatter.nextjs?.maxDuration;
export const metadata = frontmatter.nextjs?.metadata;
export const preferredRegion = frontmatter.nextjs?.preferredRegion;
export const revalidate = frontmatter.nextjs?.revalidate;
export const runtime = frontmatter.nextjs?.runtime;
export default async function MarkdocComponent(props) {
const markdoc = await getMarkdocData();
// Only execute HMR code in development
Expand Down

0 comments on commit db73338

Please sign in to comment.