From 5391d764c335e3ae8c5ceb466eeaaaa6b710b97d Mon Sep 17 00:00:00 2001 From: da730 Date: Wed, 24 Apr 2024 13:22:41 +0800 Subject: [PATCH 1/2] fix: pre release script --- common/scripts/set-prerelease-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/scripts/set-prerelease-version.js b/common/scripts/set-prerelease-version.js index 6b8e50f2..1646012c 100644 --- a/common/scripts/set-prerelease-version.js +++ b/common/scripts/set-prerelease-version.js @@ -40,7 +40,7 @@ function writePrereleaseVersion(nextBump, preReleaseName, nextVersionStr, buildN let nextVersion = nextVersionStr ? nextVersionStr : `${curVersion.major}.${curVersion.minor}.${curVersion.patch}`; - if (preReleaseName) { + if (preReleaseName && preReleaseName !== 'none') { nextVersion = `${nextVersion}-${preReleaseName}`; } From c7184d031bf39c4e2d95d5c9a655a8d65125094b Mon Sep 17 00:00:00 2001 From: da730 Date: Wed, 24 Apr 2024 05:25:46 +0000 Subject: [PATCH 2/2] build: prelease version 1.2.11 --- common/config/rush/pnpm-lock.yaml | 4 ++-- common/config/rush/version-policies.json | 2 +- packages/calculator/package.json | 2 +- packages/chart-advisor/package.json | 2 +- packages/vmind/CHANGELOG.json | 6 ++++++ packages/vmind/CHANGELOG.md | 7 ++++++- packages/vmind/package.json | 6 +++--- 7 files changed, 20 insertions(+), 9 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 135425c1..958062ed 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -149,8 +149,8 @@ importers: '@types/react-dom': ^18.0.0 '@typescript-eslint/eslint-plugin': 5.30.0 '@typescript-eslint/parser': 5.30.0 - '@visactor/calculator': workspace:1.2.10-none - '@visactor/chart-advisor': workspace:1.2.10-none + '@visactor/calculator': workspace:1.2.11 + '@visactor/chart-advisor': workspace:1.2.11 '@visactor/vchart': ^1.10.4 '@visactor/vdataset': ~0.17.4 '@visactor/vrender-core': ^0.17.23 diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 07e9aed3..95ed6369 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -2,7 +2,7 @@ { "definitionName": "lockStepVersion", "policyName": "vmindMin", - "version": "1.2.10", + "version": "1.2.11", "mainProject": "@visactor/vmind", "nextBump": "patch" } diff --git a/packages/calculator/package.json b/packages/calculator/package.json index 3fbd6033..46c77c4e 100644 --- a/packages/calculator/package.json +++ b/packages/calculator/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/calculator", - "version": "1.2.10-none", + "version": "1.2.11", "description": "SQL-like query executor with DSL", "main": "lib", "module": "es", diff --git a/packages/chart-advisor/package.json b/packages/chart-advisor/package.json index 112573dc..cca32045 100644 --- a/packages/chart-advisor/package.json +++ b/packages/chart-advisor/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/chart-advisor", - "version": "1.2.10-none", + "version": "1.2.11", "description": "图表推荐模块", "main": "lib", "module": "es", diff --git a/packages/vmind/CHANGELOG.json b/packages/vmind/CHANGELOG.json index 1e1a0763..598f0281 100644 --- a/packages/vmind/CHANGELOG.json +++ b/packages/vmind/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@visactor/vmind", "entries": [ + { + "version": "1.2.11", + "tag": "@visactor/vmind_v1.2.11", + "date": "Wed, 24 Apr 2024 05:24:53 GMT", + "comments": {} + }, { "version": "1.2.10", "tag": "@visactor/vmind_v1.2.10", diff --git a/packages/vmind/CHANGELOG.md b/packages/vmind/CHANGELOG.md index ed451d84..0eac20f5 100644 --- a/packages/vmind/CHANGELOG.md +++ b/packages/vmind/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @visactor/vmind -This log was last generated on Wed, 24 Apr 2024 04:55:20 GMT and should not be manually modified. +This log was last generated on Wed, 24 Apr 2024 05:24:53 GMT and should not be manually modified. + +## 1.2.11 +Wed, 24 Apr 2024 05:24:53 GMT + +_Version update only_ ## 1.2.10 Wed, 24 Apr 2024 04:55:20 GMT diff --git a/packages/vmind/package.json b/packages/vmind/package.json index f999562a..1571e340 100644 --- a/packages/vmind/package.json +++ b/packages/vmind/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vmind", - "version": "1.2.10-none", + "version": "1.2.11", "main": "cjs/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", @@ -87,7 +87,7 @@ "canvas": "^2.11.2" }, "dependencies": { - "@visactor/chart-advisor": "workspace:1.2.10-none", + "@visactor/chart-advisor": "workspace:1.2.11", "@visactor/vdataset": "~0.17.4", "@visactor/vutils": "~0.17.4", "axios": "^1.4.0", @@ -96,7 +96,7 @@ "json5": "~2.2.3", "dayjs": "~1.11.10", "js-yaml": "~4.1.0", - "@visactor/calculator": "workspace:1.2.10-none", + "@visactor/calculator": "workspace:1.2.11", "alasql": "~4.3.2" } }