From f265544528eec56c3f0e2079b753e033839e2349 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 19:56:15 +0100 Subject: [PATCH] chore(release): 1.3.0 (#487) * RELEASING: Releasing 2 package(s) Releases: @codeimage/api@0.2.0 @codeimage/app@1.3.0 [skip ci] * chore(release): version packages --------- Co-authored-by: github-actions[bot] --- .changeset/four-mangos-burn.md | 6 ------ apps/api/CHANGELOG.md | 6 ++++++ apps/api/package.json | 2 +- apps/codeimage/CHANGELOG.md | 11 +++++++++++ apps/codeimage/package.json | 2 +- .../src/components/ThemeSwitcher/ThemeSwitcher.tsx | 2 +- package.json | 2 +- 7 files changed, 21 insertions(+), 10 deletions(-) delete mode 100644 .changeset/four-mangos-burn.md diff --git a/.changeset/four-mangos-burn.md b/.changeset/four-mangos-burn.md deleted file mode 100644 index 629142b43..000000000 --- a/.changeset/four-mangos-burn.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@codeimage/api": minor -"@codeimage/app": minor ---- - -feat(app/api): allow to disable ligatures in fonts #483 diff --git a/apps/api/CHANGELOG.md b/apps/api/CHANGELOG.md index 8aa0c23a7..677647573 100644 --- a/apps/api/CHANGELOG.md +++ b/apps/api/CHANGELOG.md @@ -1,5 +1,11 @@ # @codeimage/api +## 0.2.0 + +### Minor Changes + +- [#486](https://github.com/riccardoperra/codeimage/pull/486) [`f5df888f`](https://github.com/riccardoperra/codeimage/commit/f5df888f031b416e0db62863218f2aeb512766c8) Thanks [@riccardoperra](https://github.com/riccardoperra)! - feat(app/api): allow to disable ligatures in fonts #483 + ## 0.1.1 ### Patch Changes diff --git a/apps/api/package.json b/apps/api/package.json index 0c8b4ef49..a9bcf46bf 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,6 +1,6 @@ { "name": "@codeimage/api", - "version": "0.1.1", + "version": "0.2.0", "description": "CodeImage api rest server", "main": "app.ts", "directories": { diff --git a/apps/codeimage/CHANGELOG.md b/apps/codeimage/CHANGELOG.md index 95dc04623..7cb8d226c 100644 --- a/apps/codeimage/CHANGELOG.md +++ b/apps/codeimage/CHANGELOG.md @@ -1,5 +1,16 @@ # @codeimage/app +## 1.3.0 + +### Minor Changes + +- [#486](https://github.com/riccardoperra/codeimage/pull/486) [`f5df888f`](https://github.com/riccardoperra/codeimage/commit/f5df888f031b416e0db62863218f2aeb512766c8) Thanks [@riccardoperra](https://github.com/riccardoperra)! - feat(app/api): allow to disable ligatures in fonts #483 + +### Patch Changes + +- Updated dependencies [[`f5df888f`](https://github.com/riccardoperra/codeimage/commit/f5df888f031b416e0db62863218f2aeb512766c8)]: + - @codeimage/api@0.2.0 + ## 1.2.0 ### Minor Changes diff --git a/apps/codeimage/package.json b/apps/codeimage/package.json index c2bea20c6..dd1ba4b16 100644 --- a/apps/codeimage/package.json +++ b/apps/codeimage/package.json @@ -1,7 +1,7 @@ { "name": "@codeimage/app", "private": true, - "version": "1.2.0", + "version": "1.3.0", "type": "module", "scripts": { "start": "vite", diff --git a/apps/codeimage/src/components/ThemeSwitcher/ThemeSwitcher.tsx b/apps/codeimage/src/components/ThemeSwitcher/ThemeSwitcher.tsx index ce20dd288..d37a383f4 100644 --- a/apps/codeimage/src/components/ThemeSwitcher/ThemeSwitcher.tsx +++ b/apps/codeimage/src/components/ThemeSwitcher/ThemeSwitcher.tsx @@ -43,7 +43,7 @@ export const ThemeSwitcher: ParentComponent = props => { const isSelected = createSelector(() => editor.state.options.themeId); const onSelectTheme = (theme: CustomTheme) => { - dispatchUpdateTheme({theme}); + dispatchUpdateTheme({theme, updateBackground: true}); getUmami().trackEvent(theme.id, `theme-change`); }; const exampleCode = diff --git a/package.json b/package.json index 36df37c32..189cb2c83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeimage", - "version": "1.2.0", + "version": "1.3.0", "description": "Create elegant code screenshots of your source code", "info": "Codeimage is the newest open source tool to help developers to create beautiful screenshots of their code, providing several features to speed up the process to post in social media. It's built on the top of solid-js and has a rich choice of customizations, 15+ custom themes, supports for mobile devices and much more!", "homepage": "https://codeimage.dev/",