From 9253809c6d2aa53f99c3a309aacbfb85121372c2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 23 Jun 2024 15:56:54 +0000 Subject: [PATCH] Version Packages --- .changeset/afraid-stingrays-boil.md | 25 ------------------------- packages/basic-elements/CHANGELOG.md | 2 ++ packages/basic-elements/package.json | 4 ++-- packages/code-block/CHANGELOG.md | 26 ++++++++++++++++++++++++++ packages/code-block/package.json | 2 +- packages/plate/CHANGELOG.md | 2 ++ packages/plate/package.json | 6 +++--- 7 files changed, 36 insertions(+), 31 deletions(-) delete mode 100644 .changeset/afraid-stingrays-boil.md diff --git a/.changeset/afraid-stingrays-boil.md b/.changeset/afraid-stingrays-boil.md deleted file mode 100644 index 1fc216dd55..0000000000 --- a/.changeset/afraid-stingrays-boil.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@udecode/plate-code-block": major ---- - -Make the dependency on prismjs optional - -New usage: - -```ts -// Import Prism with your supported languages -import Prism from 'prismjs'; - -import 'prismjs/components/prism-antlr4.js'; -import 'prismjs/components/prism-bash.js'; -import 'prismjs/components/prism-c.js'; -// ... - -const plugins = createPlugins([ - createCodeBlockPlugin({ - options: { - prism: Prism, - }, - }), -]); -``` diff --git a/packages/basic-elements/CHANGELOG.md b/packages/basic-elements/CHANGELOG.md index ce53b8420b..94e3d90ec8 100644 --- a/packages/basic-elements/CHANGELOG.md +++ b/packages/basic-elements/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-basic-elements +## 35.0.0 + ## 34.0.7 ## 34.0.0 diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index b6a3af7d05..5cc8da2136 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-basic-elements", - "version": "34.0.7", + "version": "35.0.0", "description": "Basic elements plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -40,7 +40,7 @@ }, "dependencies": { "@udecode/plate-block-quote": "34.0.0", - "@udecode/plate-code-block": "34.0.0", + "@udecode/plate-code-block": "35.0.0", "@udecode/plate-heading": "34.0.7", "@udecode/plate-paragraph": "34.0.0" }, diff --git a/packages/code-block/CHANGELOG.md b/packages/code-block/CHANGELOG.md index bd81bc368e..dc089e8615 100644 --- a/packages/code-block/CHANGELOG.md +++ b/packages/code-block/CHANGELOG.md @@ -1,5 +1,31 @@ # @udecode/plate-code-block +## 35.0.0 + +### Major Changes + +- [#3282](https://github.com/udecode/plate/pull/3282) by [@12joan](https://github.com/12joan) – Make the dependency on prismjs optional + + New usage: + + ```ts + // Import Prism with your supported languages + import Prism from "prismjs"; + + import "prismjs/components/prism-antlr4.js"; + import "prismjs/components/prism-bash.js"; + import "prismjs/components/prism-c.js"; + // ... + + const plugins = createPlugins([ + createCodeBlockPlugin({ + options: { + prism: Prism, + }, + }), + ]); + ``` + ## 34.0.0 ### Patch Changes diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 62719775e1..f89cccb647 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-code-block", - "version": "34.0.0", + "version": "35.0.0", "description": "Code block plugin for Plate", "keywords": [ "plate", diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index dc1b6da2c6..621910816c 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 35.0.0 + ## 34.1.1 ## 34.1.0 diff --git a/packages/plate/package.json b/packages/plate/package.json index 9e9d3b6256..8307c1538a 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "34.1.1", + "version": "35.0.0", "description": "Plate – a plugin system for slate", "license": "MIT", "homepage": "https://platejs.org", @@ -44,11 +44,11 @@ "dependencies": { "@udecode/plate-alignment": "34.0.0", "@udecode/plate-autoformat": "34.0.0", - "@udecode/plate-basic-elements": "34.0.7", + "@udecode/plate-basic-elements": "35.0.0", "@udecode/plate-basic-marks": "34.0.0", "@udecode/plate-block-quote": "34.0.0", "@udecode/plate-break": "34.0.0", - "@udecode/plate-code-block": "34.0.0", + "@udecode/plate-code-block": "35.0.0", "@udecode/plate-combobox": "34.0.8", "@udecode/plate-comments": "34.0.0", "@udecode/plate-common": "34.0.5",