From 823be5aa85a816cce9dc2be3c6016c4082685f92 Mon Sep 17 00:00:00 2001 From: Ronan McCarter <63772591+rpmccarter@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:50:29 -0800 Subject: [PATCH 1/2] fix import --- packages/mdx/src/client/rsc.tsx | 2 +- packages/mdx/tsconfig.json | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/mdx/src/client/rsc.tsx b/packages/mdx/src/client/rsc.tsx index 4d11331..3b627ed 100644 --- a/packages/mdx/src/client/rsc.tsx +++ b/packages/mdx/src/client/rsc.tsx @@ -5,7 +5,7 @@ import remarkGfm from 'remark-gfm'; import remarkMath from 'remark-math'; import remarkSmartypants from 'remark-smartypants'; -import { rehypeSyntaxHighlighting } from '../plugins'; +import { rehypeSyntaxHighlighting } from '../plugins/index.js'; export async function MDXRemote({ source, diff --git a/packages/mdx/tsconfig.json b/packages/mdx/tsconfig.json index 79edba3..2d215f5 100644 --- a/packages/mdx/tsconfig.json +++ b/packages/mdx/tsconfig.json @@ -6,9 +6,7 @@ "target": "ES2021", "outDir": "dist", "declaration": true, - "moduleResolution": "node", - "module": "esnext", - "allowJs": true + "module": "Node16" }, "include": ["**/*.ts", "**/*.tsx"], "exclude": ["node_modules", "dist"] From 050d1282911d390954717023098dd07e793a4820 Mon Sep 17 00:00:00 2001 From: Ronan McCarter <63772591+rpmccarter@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:50:59 -0800 Subject: [PATCH 2/2] bump version --- packages/mdx/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mdx/package.json b/packages/mdx/package.json index e50572c..76fdb2c 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "@mintlify/mdx", - "version": "1.0.0", + "version": "1.0.1", "description": "Markdown parser from Mintlify", "main": "./dist/index.js", "types": "./dist/index.d.ts",