diff --git a/.changeset/khaki-rice-tickle.md b/.changeset/khaki-rice-tickle.md deleted file mode 100644 index af7ec58ca..000000000 --- a/.changeset/khaki-rice-tickle.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'renoun': minor ---- - -Adds `shouldFormat` prop to `CodeBlock` component to allow disabling code formatting. This is useful for MDX code blocks that are already formatted by an IDE or CI environment. - -```tsx -export function useMDXComponents() { - return { - pre: (props) => { - return - }, - } -} -``` diff --git a/.changeset/ninety-schools-dance.md b/.changeset/ninety-schools-dance.md deleted file mode 100644 index a8e4d34f3..000000000 --- a/.changeset/ninety-schools-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': patch ---- - -Fixes File System `recursive` options not calculating the appropriate relative paths. diff --git a/.changeset/strong-moons-rule.md b/.changeset/strong-moons-rule.md deleted file mode 100644 index 9e3c6cf4f..000000000 --- a/.changeset/strong-moons-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': minor ---- - -Adds support for passing an array to `isFileWithExtension` and `.hasExtension`. diff --git a/.changeset/warm-colts-invent.md b/.changeset/warm-colts-invent.md deleted file mode 100644 index 3a677790e..000000000 --- a/.changeset/warm-colts-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': patch ---- - -Explicitly sets the prettier `parser` option instead of relying on inference from `filepath` to avoid false-positive errors when parsing code blocks without a provided `filename`. diff --git a/packages/renoun/CHANGELOG.md b/packages/renoun/CHANGELOG.md index de79f3a6a..3b63df2ce 100644 --- a/packages/renoun/CHANGELOG.md +++ b/packages/renoun/CHANGELOG.md @@ -1,5 +1,28 @@ # renoun +## 7.4.0 + +### Minor Changes + +- e71de2f: Adds `shouldFormat` prop to `CodeBlock` component to allow disabling code formatting. This is useful for MDX code blocks that are already formatted by an IDE or CI environment. + + ```tsx + export function useMDXComponents() { + return { + pre: (props) => { + return + }, + } + } + ``` + +- f44b9c5: Adds support for passing an array to `isFileWithExtension` and `.hasExtension`. + +### Patch Changes + +- bf0c510: Fixes File System `recursive` options not calculating the appropriate relative paths. +- eab583f: Explicitly sets the prettier `parser` option instead of relying on inference from `filepath` to avoid false-positive errors when parsing code blocks without a provided `filename`. + ## 7.3.0 ### Minor Changes diff --git a/packages/renoun/package.json b/packages/renoun/package.json index 08363fd22..ccb44e15c 100644 --- a/packages/renoun/package.json +++ b/packages/renoun/package.json @@ -1,6 +1,6 @@ { "name": "renoun", - "version": "7.3.0", + "version": "7.4.0", "description": "The Technical Content Toolkit for React", "author": "Travis Arnold", "license": "AGPL-3.0-or-later",