From d831c93be2f1a07aea2377e0d5842e130e104bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Schmitz?= Date: Wed, 12 May 2021 15:28:19 -0300 Subject: [PATCH] chore(publish): v0.1.1-canary.0 --- .changeset/pre.json | 12 ++++++++++++ .changeset/tough-shirts-suffer.md | 13 +++++++++++++ .changeset/warm-bags-lie.md | 6 ++++++ packages/react/CHANGELOG.md | 15 +++++++++++++++ packages/react/package.json | 4 ++-- packages/types/CHANGELOG.md | 8 ++++++++ packages/types/package.json | 2 +- 7 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 .changeset/pre.json create mode 100644 .changeset/tough-shirts-suffer.md create mode 100644 .changeset/warm-bags-lie.md create mode 100644 packages/react/CHANGELOG.md create mode 100644 packages/types/CHANGELOG.md diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000..77901f4 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,12 @@ +{ + "mode": "pre", + "tag": "canary", + "initialVersions": { + "@graphcms/rich-text-react-renderer": "0.1.0", + "@graphcms/rich-text-types": "0.1.0" + }, + "changesets": [ + "tough-shirts-suffer", + "warm-bags-lie" + ] +} diff --git a/.changeset/tough-shirts-suffer.md b/.changeset/tough-shirts-suffer.md new file mode 100644 index 0000000..492b5b2 --- /dev/null +++ b/.changeset/tough-shirts-suffer.md @@ -0,0 +1,13 @@ +--- +'@graphcms/rich-text-react-renderer': patch +--- + +🐛 Bug fixes: + +- fix(react): not rendering list children +- fix(react): fix can't resolve @graphcms/rich-text-types +- fix(react): html and jsx tags not being rendered correctly + +⚡️ Improvements: + +- feat(react): accept both array and object for content diff --git a/.changeset/warm-bags-lie.md b/.changeset/warm-bags-lie.md new file mode 100644 index 0000000..98cf17d --- /dev/null +++ b/.changeset/warm-bags-lie.md @@ -0,0 +1,6 @@ +--- +'@graphcms/rich-text-types': patch +--- + +- Add `list_item_child` to `NodeRendererType`; +- Accept array of `ElementNode` and object with `children` on `RichTextContent`. diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md new file mode 100644 index 0000000..54fcb2e --- /dev/null +++ b/packages/react/CHANGELOG.md @@ -0,0 +1,15 @@ +# @graphcms/rich-text-react-renderer + +## 0.1.1-canary.0 + +### Patch Changes + +🐛 Bug fixes: + +- fix(react): not rendering list children +- fix(react): fix can't resolve @graphcms/rich-text-types +- fix(react): html and jsx tags not being rendered correctly + +⚡️ Improvements: + +- feat(react): accept both array and object for content diff --git a/packages/react/package.json b/packages/react/package.json index b42a3b1..d4883ad 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@graphcms/rich-text-react-renderer", "description": "GraphCMS Rich Text React renderer", - "version": "0.1.0", + "version": "0.1.1-canary.0", "author": "João Pedro Schmitz (https://joaopedro.dev)", "license": "MIT", "scripts": { @@ -15,7 +15,7 @@ "escape-html": "^1.0.3" }, "devDependencies": { - "@graphcms/rich-text-types": "^0.1.0", + "@graphcms/rich-text-types": "^0.1.1-canary.0", "@types/escape-html": "^1.0.1" }, "peerDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md new file mode 100644 index 0000000..f4a7d46 --- /dev/null +++ b/packages/types/CHANGELOG.md @@ -0,0 +1,8 @@ +# @graphcms/rich-text-types + +## 0.1.1-canary.0 + +### Patch Changes + +- Add `list_item_child` to `NodeRendererType`; +- Accept array of `ElementNode` and object with `children` on `RichTextContent`. diff --git a/packages/types/package.json b/packages/types/package.json index 766f91e..50e2844 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { "name": "@graphcms/rich-text-types", "description": "TypeScript definitions for the GraphCMS Rich Text field type.", - "version": "0.1.0", + "version": "0.1.1-canary.0", "author": "João Pedro Schmitz (https://joaopedro.dev)", "license": "MIT", "scripts": {