From 038bb68b48f14c0cf60b3da664371dee2b5ee7bc Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 25 Oct 2023 11:51:34 +0200 Subject: [PATCH] Refactor some version numbers in docs --- packages/mdx/package.json | 3 +-- packages/mdx/readme.md | 4 ++-- packages/mdx/test/evaluate.js | 6 +++--- packages/preact/readme.md | 4 ++-- packages/react/readme.md | 4 ++-- packages/remark-mdx/readme.md | 4 ++-- packages/rollup/lib/index.js | 2 +- packages/vue/readme.md | 4 ++-- 8 files changed, 15 insertions(+), 16 deletions(-) diff --git a/packages/mdx/package.json b/packages/mdx/package.json index fdf5e50f7..24ae75cac 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -34,8 +34,7 @@ "exports": { ".": "./index.js", "./internal-create-format-aware-processors": "./lib/util/create-format-aware-processors.js", - "./internal-extnames-to-regex": "./lib/util/extnames-to-regex.js", - "./internal-resolve-evaluate-options": "./lib/util/resolve-evaluate-options.js" + "./internal-extnames-to-regex": "./lib/util/extnames-to-regex.js" }, "files": [ "lib/", diff --git a/packages/mdx/readme.md b/packages/mdx/readme.md index f003c5b88..e396bcc1d 100644 --- a/packages/mdx/readme.md +++ b/packages/mdx/readme.md @@ -67,14 +67,14 @@ npm install @mdx-js/mdx In Deno with [`esm.sh`][esmsh]: ```tsx -import {compile} from 'https://esm.sh/@mdx-js/mdx@2' +import {compile} from 'https://esm.sh/@mdx-js/mdx@3' ``` In browsers with [`esm.sh`][esmsh]: ```html ``` diff --git a/packages/mdx/test/evaluate.js b/packages/mdx/test/evaluate.js index d2f261df1..fa3778707 100644 --- a/packages/mdx/test/evaluate.js +++ b/packages/mdx/test/evaluate.js @@ -1,7 +1,7 @@ /** - * @typedef {import('../lib/util/resolve-evaluate-options.js').Fragment} Fragment - * @typedef {import('../lib/util/resolve-evaluate-options.js').Jsx} Jsx - * @typedef {import('../lib/util/resolve-evaluate-options.js').JsxDev} JsxDev + * @typedef {import('@mdx-js/mdx').Fragment} Fragment + * @typedef {import('@mdx-js/mdx').Jsx} Jsx + * @typedef {import('@mdx-js/mdx').JsxDev} JsxDev */ import assert from 'node:assert/strict' diff --git a/packages/preact/readme.md b/packages/preact/readme.md index 224ca65a2..faf280712 100644 --- a/packages/preact/readme.md +++ b/packages/preact/readme.md @@ -52,14 +52,14 @@ npm install @mdx-js/preact In Deno with [`esm.sh`][esmsh]: ```tsx -import {MDXProvider} from 'https://esm.sh/@mdx-js/preact@2' +import {MDXProvider} from 'https://esm.sh/@mdx-js/preact@3' ``` In browsers with [`esm.sh`][esmsh]: ```html ``` diff --git a/packages/react/readme.md b/packages/react/readme.md index 971569ed2..cc5c89712 100644 --- a/packages/react/readme.md +++ b/packages/react/readme.md @@ -56,14 +56,14 @@ npm install @mdx-js/react In Deno with [`esm.sh`][esmsh]: ```tsx -import {MDXProvider} from 'https://esm.sh/@mdx-js/react@2' +import {MDXProvider} from 'https://esm.sh/@mdx-js/react@3' ``` In browsers with [`esm.sh`][esmsh]: ```html ``` diff --git a/packages/remark-mdx/readme.md b/packages/remark-mdx/readme.md index 9473b9082..f91af14e8 100644 --- a/packages/remark-mdx/readme.md +++ b/packages/remark-mdx/readme.md @@ -73,14 +73,14 @@ npm install remark-mdx In Deno with [`esm.sh`][esmsh]: ```tsx -import remarkMdx from 'https://esm.sh/remark-mdx@2' +import remarkMdx from 'https://esm.sh/remark-mdx@3' ``` In browsers with [`esm.sh`][esmsh]: ```html ``` diff --git a/packages/rollup/lib/index.js b/packages/rollup/lib/index.js index a4eab0b13..c73103c4d 100644 --- a/packages/rollup/lib/index.js +++ b/packages/rollup/lib/index.js @@ -1,6 +1,6 @@ /** - * @typedef {import('@mdx-js/mdx').CompileOptions} CompileOptions * @typedef {import('@mdx-js/mdx/internal-create-format-aware-processors').FormatAwareProcessors} FormatAwareProcessors + * @typedef {import('@mdx-js/mdx').CompileOptions} CompileOptions * @typedef {import('@rollup/pluginutils').FilterPattern} FilterPattern * @typedef {import('rollup').SourceDescription} SourceDescription */ diff --git a/packages/vue/readme.md b/packages/vue/readme.md index 7ab5c6d4e..fde02e23d 100644 --- a/packages/vue/readme.md +++ b/packages/vue/readme.md @@ -51,14 +51,14 @@ npm install @mdx-js/vue In Deno with [`esm.sh`][esmsh]: ```tsx -import {MDXProvider} from 'https://esm.sh/@mdx-js/vue@2' +import {MDXProvider} from 'https://esm.sh/@mdx-js/vue@3' ``` In browsers with [`esm.sh`][esmsh]: ```html ```