From 437d26904484e1036e1cc4fc7737b97ceb6ade9f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Dec 2024 08:29:32 +0000 Subject: [PATCH] Version Packages --- .changeset/cuddly-news-kneel.md | 5 ----- .changeset/long-walls-kneel.md | 5 ----- .changeset/loud-pans-sit.md | 22 ---------------------- packages/mdx/CHANGELOG.md | 6 ++++++ packages/mdx/package.json | 2 +- packages/renoun/CHANGELOG.md | 29 +++++++++++++++++++++++++++++ packages/renoun/package.json | 2 +- 7 files changed, 37 insertions(+), 34 deletions(-) delete mode 100644 .changeset/cuddly-news-kneel.md delete mode 100644 .changeset/long-walls-kneel.md delete mode 100644 .changeset/loud-pans-sit.md diff --git a/.changeset/cuddly-news-kneel.md b/.changeset/cuddly-news-kneel.md deleted file mode 100644 index 15cac5fd7..000000000 --- a/.changeset/cuddly-news-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@renoun/mdx': patch ---- - -Fixes inline code language inference by considering language aliases. diff --git a/.changeset/long-walls-kneel.md b/.changeset/long-walls-kneel.md deleted file mode 100644 index 794c4e100..000000000 --- a/.changeset/long-walls-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'renoun': minor ---- - -Marks the `.duplicate` method as private since this was previously only exposed for `EntryGroup` which no longer requires a new instance to be created. diff --git a/.changeset/loud-pans-sit.md b/.changeset/loud-pans-sit.md deleted file mode 100644 index 698e88d5d..000000000 --- a/.changeset/loud-pans-sit.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'renoun': minor ---- - -Removes `getEditPath` in favor of `getRepositoryUrl` and `getEditorUri` for a more explicit API. Prior, the `getEditPath` method switched between the editor and the git provider source based on the environment. This was confusing and not always the desired behavior. Now you can explicitly choose the behavior you want. - -### Breaking Changes - -The `getEditPath` method has been removed. Use `getRepositoryUrl` and `getEditorUri` instead. - -To get the same behavior as `getEditPath` you can use both `getRepositoryUrl` and `getEditorUri` together: - -```ts -import { Directory } from 'renoun/file-system' - -const directory = new Directory('src/components') -const file = directory.getFileOrThrow('Button', 'tsx') -const editUrl = - process.env.NODE_ENV === 'development' - ? file.getEditorUri() - : file.getRepositoryUrl({ type: 'edit' }) -``` diff --git a/packages/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index 5f34fe2b7..a17f76e43 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # @renoun/mdx +## 1.2.2 + +### Patch Changes + +- ece3cc2: Fixes inline code language inference by considering language aliases. + ## 1.2.1 ### Patch Changes diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 04b2d8660..39f802deb 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "@renoun/mdx", - "version": "1.2.1", + "version": "1.2.2", "description": "MDX plugins for renoun", "author": "Travis Arnold", "license": "MIT", diff --git a/packages/renoun/CHANGELOG.md b/packages/renoun/CHANGELOG.md index 5225bae50..7c9b93a5e 100644 --- a/packages/renoun/CHANGELOG.md +++ b/packages/renoun/CHANGELOG.md @@ -1,5 +1,34 @@ # renoun +## 7.9.0 + +### Minor Changes + +- 80ae7f2: Marks the `.duplicate` method as private since this was previously only exposed for `EntryGroup` which no longer requires a new instance to be created. +- 1f6603d: Removes `getEditPath` in favor of `getRepositoryUrl` and `getEditorUri` for a more explicit API. Prior, the `getEditPath` method switched between the editor and the git provider source based on the environment. This was confusing and not always the desired behavior. Now you can explicitly choose the behavior you want. + + ### Breaking Changes + + The `getEditPath` method has been removed. Use `getRepositoryUrl` and `getEditorUri` instead. + + To get the same behavior as `getEditPath` you can use both `getRepositoryUrl` and `getEditorUri` together: + + ```ts + import { Directory } from 'renoun/file-system' + + const directory = new Directory('src/components') + const file = directory.getFileOrThrow('Button', 'tsx') + const editUrl = + process.env.NODE_ENV === 'development' + ? file.getEditorUri() + : file.getRepositoryUrl({ type: 'edit' }) + ``` + +### Patch Changes + +- Updated dependencies [ece3cc2] + - @renoun/mdx@1.2.2 + ## 7.8.0 ### Minor Changes diff --git a/packages/renoun/package.json b/packages/renoun/package.json index aa5ba12ac..7be8f6264 100644 --- a/packages/renoun/package.json +++ b/packages/renoun/package.json @@ -1,6 +1,6 @@ { "name": "renoun", - "version": "7.8.0", + "version": "7.9.0", "description": "The Technical Content Toolkit for React", "author": "Travis Arnold", "license": "AGPL-3.0-or-later",