From 11cb7ceb9041b539c87b333b7e032c4c125d6b96 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 02:25:35 -0700 Subject: [PATCH] Version Packages (#203) Co-authored-by: github-actions[bot] --- .changeset/fast-impalas-wink.md | 17 ---------------- .changeset/many-rivers-kiss.md | 5 ----- .changeset/ninety-ducks-hunt.md | 5 ----- .changeset/plenty-ants-move.md | 11 ----------- .changeset/ten-dogs-join.md | 5 ----- packages/renoun/CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++ packages/renoun/package.json | 2 +- 7 files changed, 36 insertions(+), 44 deletions(-) delete mode 100644 .changeset/fast-impalas-wink.md delete mode 100644 .changeset/many-rivers-kiss.md delete mode 100644 .changeset/ninety-ducks-hunt.md delete mode 100644 .changeset/plenty-ants-move.md delete mode 100644 .changeset/ten-dogs-join.md diff --git a/.changeset/fast-impalas-wink.md b/.changeset/fast-impalas-wink.md deleted file mode 100644 index 1677ce56..00000000 --- a/.changeset/fast-impalas-wink.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'renoun': major ---- - -Removes the deprecated `collection` function. - -### Breaking Changes - -The `collection` function has been removed. You can now use the `Collection` class directly to create a collection: - -```tsx -import { Collection } from 'renoun/collections' - -const posts = new Collection({ - filePattern: 'posts/*.mdx', -}) -``` diff --git a/.changeset/many-rivers-kiss.md b/.changeset/many-rivers-kiss.md deleted file mode 100644 index cdb9a226..00000000 --- a/.changeset/many-rivers-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': patch ---- - -Fixes issue with trying to format dynamic imports added to collections from CLI causing issues with linters. Now, formatting will only occur if the workspace has access to `prettier`. diff --git a/.changeset/ninety-ducks-hunt.md b/.changeset/ninety-ducks-hunt.md deleted file mode 100644 index 56f5cbab..00000000 --- a/.changeset/ninety-ducks-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': minor ---- - -Adds `getFileSystemPath` method to `FileSystemSource` and `ExportSource` to allow getting types for a file in `APIReference`. diff --git a/.changeset/plenty-ants-move.md b/.changeset/plenty-ants-move.md deleted file mode 100644 index 384cbaf5..00000000 --- a/.changeset/plenty-ants-move.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'renoun': minor ---- - -Adds the ability to specify the set of languages loaded for syntax highlighting using the `languages` field in the `renoun.json` configuration file. This allows you to reduce the bundle size by only loading the languages you need: - -```json -{ - "languages": ["sh", "ts", "tsx"] -} -``` diff --git a/.changeset/ten-dogs-join.md b/.changeset/ten-dogs-join.md deleted file mode 100644 index f9d424a2..00000000 --- a/.changeset/ten-dogs-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': minor ---- - -Adds support for formatting the `CodeBlock` component source text using `prettier` if it is available to the workspace. diff --git a/packages/renoun/CHANGELOG.md b/packages/renoun/CHANGELOG.md index 8239fc22..a75e65c6 100644 --- a/packages/renoun/CHANGELOG.md +++ b/packages/renoun/CHANGELOG.md @@ -1,5 +1,40 @@ # renoun +## 6.0.0 + +### Major Changes + +- 0e6279a: Removes the deprecated `collection` function. + + ### Breaking Changes + + The `collection` function has been removed. You can now use the `Collection` class directly to create a collection: + + ```tsx + import { Collection } from 'renoun/collections' + + const posts = new Collection({ + filePattern: 'posts/*.mdx', + }) + ``` + +### Minor Changes + +- ebdfb16: Adds `getFileSystemPath` method to `FileSystemSource` and `ExportSource` to allow getting types for a file in `APIReference`. +- 489960a: Adds the ability to specify the set of languages loaded for syntax highlighting using the `languages` field in the `renoun.json` configuration file. This allows you to reduce the bundle size by only loading the languages you need: + + ```json + { + "languages": ["sh", "ts", "tsx"] + } + ``` + +- ed8fb6a: Adds support for formatting the `CodeBlock` component source text using `prettier` if it is available to the workspace. + +### Patch Changes + +- cab837b: Fixes issue with trying to format dynamic imports added to collections from CLI causing issues with linters. Now, formatting will only occur if the workspace has access to `prettier`. + ## 5.5.0 ### Minor Changes diff --git a/packages/renoun/package.json b/packages/renoun/package.json index 35865755..78c12f08 100644 --- a/packages/renoun/package.json +++ b/packages/renoun/package.json @@ -1,6 +1,6 @@ { "name": "renoun", - "version": "5.5.0", + "version": "6.0.0", "description": "The Content & Documentation SDK for React", "author": "Travis Arnold", "license": "AGPL-3.0-or-later",