From 59be18b8d08d26351810d108aa9e1aa1b45885f5 Mon Sep 17 00:00:00 2001 From: Col0ring <1561999073@qq.com> Date: Fri, 19 Apr 2024 11:30:47 +0800 Subject: [PATCH] chore: update versions --- .changeset/modern-chairs-wait.md | 5 ----- .changeset/pink-news-drum.md | 5 ----- .github/workflows/publish.yaml | 7 ++++--- CHANGELOG.md | 8 ++++++++ config/changelog/CHANGELOG.md | 5 +++++ config/changelog/package.json | 2 +- config/lint-config/CHANGELOG.md | 5 +++++ config/lint-config/package.json | 2 +- docs/requirements.txt | 2 +- frontend/Chatbot/CHANGELOG.md | 7 +++++++ frontend/Chatbot/package.json | 2 +- frontend/Flow/CHANGELOG.md | 7 +++++++ frontend/Flow/package.json | 2 +- frontend/Markdown/CHANGELOG.md | 7 +++++++ frontend/Markdown/package.json | 2 +- frontend/MultimodalInput/CHANGELOG.md | 5 +++++ frontend/MultimodalInput/package.json | 2 +- frontend/WaterfallGallery/CHANGELOG.md | 5 +++++ frontend/WaterfallGallery/package.json | 2 +- frontend/compiled/CHANGELOG.md | 5 +++++ frontend/compiled/package.json | 2 +- package.json | 5 +++-- pyproject.toml | 2 +- 23 files changed, 71 insertions(+), 25 deletions(-) delete mode 100644 .changeset/modern-chairs-wait.md delete mode 100644 .changeset/pink-news-drum.md create mode 100644 CHANGELOG.md create mode 100644 config/changelog/CHANGELOG.md create mode 100644 config/lint-config/CHANGELOG.md create mode 100644 frontend/Chatbot/CHANGELOG.md create mode 100644 frontend/Flow/CHANGELOG.md create mode 100644 frontend/Markdown/CHANGELOG.md create mode 100644 frontend/MultimodalInput/CHANGELOG.md create mode 100644 frontend/WaterfallGallery/CHANGELOG.md create mode 100644 frontend/compiled/CHANGELOG.md diff --git a/.changeset/modern-chairs-wait.md b/.changeset/modern-chairs-wait.md deleted file mode 100644 index 586b87bd..00000000 --- a/.changeset/modern-chairs-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'modelscope_studio': minor ---- - -feat: update the timing of onMount call and new onUpdate lifecycle of custom component diff --git a/.changeset/pink-news-drum.md b/.changeset/pink-news-drum.md deleted file mode 100644 index 732ab78e..00000000 --- a/.changeset/pink-news-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'modelscope_studio': minor ---- - -feat: add Flow component diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4b33a6b0..2c40bbd3 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,9 +1,10 @@ name: publish on: - push: - branches: - - main + # disabled for now + # push: + # branches: + # - main env: CI: true diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..57bda55a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +# modelscope_studio + +## 0.2.0 + +### Features + +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`96e1682`](https://github.com/modelscope/modelscope-studio/commit/96e1682b7cb63907aafba06afb820f55d7df8ff0) - add Flow component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/config/changelog/CHANGELOG.md b/config/changelog/CHANGELOG.md new file mode 100644 index 00000000..28610bf4 --- /dev/null +++ b/config/changelog/CHANGELOG.md @@ -0,0 +1,5 @@ +# @modelscope-studio/changelog + +## 0.2.0 + +No significant changes to this package were made in this release. diff --git a/config/changelog/package.json b/config/changelog/package.json index 6004a6fc..e390d7e0 100644 --- a/config/changelog/package.json +++ b/config/changelog/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/changelog", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Studio Changelog", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/config/lint-config/CHANGELOG.md b/config/lint-config/CHANGELOG.md new file mode 100644 index 00000000..50229aa0 --- /dev/null +++ b/config/lint-config/CHANGELOG.md @@ -0,0 +1,5 @@ +# @modelscope-studio/lint-config + +## 0.2.0 + +No significant changes to this package were made in this release. diff --git a/config/lint-config/package.json b/config/lint-config/package.json index 851a2d12..22f372f5 100644 --- a/config/lint-config/package.json +++ b/config/lint-config/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/lint-config", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Studio Lint Config", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/docs/requirements.txt b/docs/requirements.txt index 794f04ad..100e03cf 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ modelscope_studio -modelscope_studio-0.1.7-py3-none-any.whl +modelscope_studio-0.2.0-py3-none-any.whl diff --git a/frontend/Chatbot/CHANGELOG.md b/frontend/Chatbot/CHANGELOG.md new file mode 100644 index 00000000..07dc3b95 --- /dev/null +++ b/frontend/Chatbot/CHANGELOG.md @@ -0,0 +1,7 @@ +# @modelscope-studio/chatbot + +## 0.2.0 + +### Features + +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/Chatbot/package.json b/frontend/Chatbot/package.json index deee4715..58725092 100644 --- a/frontend/Chatbot/package.json +++ b/frontend/Chatbot/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/chatbot", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/frontend/Flow/CHANGELOG.md b/frontend/Flow/CHANGELOG.md new file mode 100644 index 00000000..692a9a8a --- /dev/null +++ b/frontend/Flow/CHANGELOG.md @@ -0,0 +1,7 @@ +# @modelscope-studio/flow + +## 0.2.0 + +### Features + +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`96e1682`](https://github.com/modelscope/modelscope-studio/commit/96e1682b7cb63907aafba06afb820f55d7df8ff0) - add Flow component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/Flow/package.json b/frontend/Flow/package.json index 9216630a..fe14505f 100644 --- a/frontend/Flow/package.json +++ b/frontend/Flow/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/flow", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/frontend/Markdown/CHANGELOG.md b/frontend/Markdown/CHANGELOG.md new file mode 100644 index 00000000..24498407 --- /dev/null +++ b/frontend/Markdown/CHANGELOG.md @@ -0,0 +1,7 @@ +# @modelscope-studio/markdown + +## 0.2.0 + +### Features + +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/Markdown/package.json b/frontend/Markdown/package.json index 755796db..768931af 100644 --- a/frontend/Markdown/package.json +++ b/frontend/Markdown/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/markdown", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/frontend/MultimodalInput/CHANGELOG.md b/frontend/MultimodalInput/CHANGELOG.md new file mode 100644 index 00000000..657c40a8 --- /dev/null +++ b/frontend/MultimodalInput/CHANGELOG.md @@ -0,0 +1,5 @@ +# @modelscope-studio/multimodal-input + +## 0.2.0 + +No significant changes to this package were made in this release. diff --git a/frontend/MultimodalInput/package.json b/frontend/MultimodalInput/package.json index 743569d2..3e0bb257 100644 --- a/frontend/MultimodalInput/package.json +++ b/frontend/MultimodalInput/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/multimodal-input", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/frontend/WaterfallGallery/CHANGELOG.md b/frontend/WaterfallGallery/CHANGELOG.md new file mode 100644 index 00000000..9d9e510c --- /dev/null +++ b/frontend/WaterfallGallery/CHANGELOG.md @@ -0,0 +1,5 @@ +# @modelscope-studio/waterfall-gallery + +## 0.2.0 + +No significant changes to this package were made in this release. diff --git a/frontend/WaterfallGallery/package.json b/frontend/WaterfallGallery/package.json index 3e371d79..b50c025d 100644 --- a/frontend/WaterfallGallery/package.json +++ b/frontend/WaterfallGallery/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/waterfall-gallery", - "version": "0.1.7", + "version": "0.2.0", "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", "license": "Apache-2.0", diff --git a/frontend/compiled/CHANGELOG.md b/frontend/compiled/CHANGELOG.md new file mode 100644 index 00000000..57076af6 --- /dev/null +++ b/frontend/compiled/CHANGELOG.md @@ -0,0 +1,5 @@ +# @modelscope-studio/compiled + +## 0.2.0 + +No significant changes to this package were made in this release. diff --git a/frontend/compiled/package.json b/frontend/compiled/package.json index a7f44374..fe4aed5f 100644 --- a/frontend/compiled/package.json +++ b/frontend/compiled/package.json @@ -1,6 +1,6 @@ { "name": "@modelscope-studio/compiled", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", diff --git a/package.json b/package.json index 568c9966..2a332c40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modelscope_studio", - "version": "0.1.7", + "version": "0.2.0", "private": true, "description": "ModelScope Gradio Components", "repository": "git@github.com:modelscope/modelscope-studio.git", @@ -20,9 +20,10 @@ "lint:style": "stylelint --allow-empty-input --cache --fix \"**/*.{less,css}\" ", "changeset": "changeset", "fix-changelog": "node ./config/changelog/dist/fix-changelog.mjs", + "version": "changeset version && pnpm run fix-changelog", "ci:create-tag-n-release": "tsx ./scripts/create-tag-n-release.ts", "ci:publish": "tsx ./scripts/publish-to-pypi.ts", - "ci:version": "pnpm -F '@modelscope-studio/changelog' build && changeset version && pnpm run fix-changelog" + "ci:version": "pnpm -F '@modelscope-studio/changelog' build && pnpm run version" }, "devDependencies": { "@actions/core": "^1.10.1", diff --git a/pyproject.toml b/pyproject.toml index 4620cab7..df8be870 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "hatchling.build" [project] name = "modelscope_studio" -version = "0.1.7" +version = "0.2.0" description = "A set of extension component, inluding components for conversational input and display in multimodal scenarios, as well as more components for vertical scenarios." readme = "README.md" license = "Apache-2.0"