Skip to content

Commit 19a8088

Browse files
chore: bump version to 26.4.0 across all packages and add version bump script
1 parent cb72185 commit 19a8088

File tree

9 files changed

+114
-25
lines changed

9 files changed

+114
-25
lines changed

bump-version.sh

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
echo "📦 Monorepo Version Bump (pnpm + Maven)"
6+
7+
# Ask for version
8+
read -p "👉 Enter the new version (e.g. 26.4.0): " VERSION
9+
10+
# Basic validation
11+
if [ -z "$VERSION" ]; then
12+
echo "❌ Version cannot be empty"
13+
exit 1
14+
fi
15+
16+
echo "🚀 Updating pnpm workspace packages to $VERSION..."
17+
18+
pnpm -r exec npm version "$VERSION" --no-git-tag-version
19+
20+
echo "🔄 Syncing internal dependencies (optional)..."
21+
22+
if command -v syncpack &> /dev/null
23+
then
24+
pnpm -r exec syncpack set-version "$VERSION"
25+
else
26+
echo "⚠️ syncpack not found, skipping dependency sync"
27+
fi
28+
29+
# --- Maven part ---
30+
if [ -f "pom.xml" ]; then
31+
echo "☕ Updating Maven project version to $VERSION..."
32+
33+
mvn versions:set -DnewVersion="$VERSION" -DgenerateBackupPoms=false
34+
35+
echo "🔧 Ensuring child modules are updated..."
36+
mvn versions:update-child-modules
37+
else
38+
echo "⚠️ No pom.xml found at root, skipping Maven step"
39+
fi
40+
41+
echo "✅ Done. Everything is now at version $VERSION"

extensions/entity-files/packages/files-sdk/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dynamia-tools/files-sdk",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"website": "https://dynamia.tools",
55
"description": "TypeScript/JavaScript client SDK for the Dynamia Entity Files extension REST API",
66
"keywords": [
@@ -73,4 +73,3 @@
7373
"@vitest/coverage-v8": "^3.0.0"
7474
}
7575
}
76-

extensions/reports/packages/reports-sdk/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dynamia-tools/reports-sdk",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"website": "https://dynamia.tools",
55
"description": "TypeScript/JavaScript client SDK for the Dynamia Reports extension REST API",
66
"keywords": [
@@ -71,4 +71,3 @@
7171
"@vitest/coverage-v8": "^3.0.0"
7272
}
7373
}
74-

extensions/saas/packages/saas-sdk/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dynamia-tools/saas-sdk",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"website": "https://dynamia.tools",
55
"description": "TypeScript/JavaScript client SDK for the Dynamia SaaS extension REST API",
66
"keywords": [
@@ -72,4 +72,3 @@
7272
"@vitest/coverage-v8": "^3.0.0"
7373
}
7474
}
75-

platform/packages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dynamia-tools/platform-packages",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"private": true,
55
"description": "Platform packages workspace sub-directory (not a workspace root — see framework/package.json)",
66
"license": "Apache-2.0"

platform/packages/sdk/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platform/packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dynamia-tools/sdk",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"website": "https://dynamia.tools",
55
"description": "Official JavaScript / TypeScript client SDK for Dynamia Platform REST APIs",
66
"keywords": [
Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
{
22
"name": "@dynamia-tools/ui-core",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"description": "Framework-agnostic view/viewer/renderer core for Dynamia Platform",
5-
"keywords": ["dynamia", "ui-core", "viewer", "view", "renderer", "typescript"],
5+
"keywords": [
6+
"dynamia",
7+
"ui-core",
8+
"viewer",
9+
"view",
10+
"renderer",
11+
"typescript"
12+
],
613
"homepage": "https://dynamia.tools",
7-
"repository": {"type": "git", "url": "https://github.com/dynamiatools/framework.git", "directory": "platform/packages/ui-core"},
14+
"repository": {
15+
"type": "git",
16+
"url": "https://github.com/dynamiatools/framework.git",
17+
"directory": "platform/packages/ui-core"
18+
},
819
"license": "Apache-2.0",
920
"author": "Dynamia Soluciones IT SAS",
1021
"type": "module",
@@ -14,19 +25,31 @@
1425
"exports": {
1526
".": {
1627
"development": "./src/index.ts",
17-
"import": {"types": "./dist/index.d.ts", "default": "./dist/index.js"},
18-
"require": {"types": "./dist/index.d.cts", "default": "./dist/index.cjs"}
28+
"import": {
29+
"types": "./dist/index.d.ts",
30+
"default": "./dist/index.js"
31+
},
32+
"require": {
33+
"types": "./dist/index.d.cts",
34+
"default": "./dist/index.cjs"
35+
}
1936
}
2037
},
21-
"files": ["dist", "README.md", "LICENSE"],
38+
"files": [
39+
"dist",
40+
"README.md",
41+
"LICENSE"
42+
],
2243
"scripts": {
2344
"build": "vite build",
2445
"test": "vitest run",
2546
"test:watch": "vitest",
2647
"typecheck": "tsc --noEmit",
2748
"clean": "rm -rf dist"
2849
},
29-
"dependencies": {"@dynamia-tools/sdk": "workspace:*"},
50+
"dependencies": {
51+
"@dynamia-tools/sdk": "workspace:*"
52+
},
3053
"devDependencies": {
3154
"@dynamia-tools/sdk": "workspace:*",
3255
"@types/node": "^22.0.0",
@@ -35,5 +58,8 @@
3558
"vite-plugin-dts": "^4.5.0",
3659
"vitest": "^3.0.0"
3760
},
38-
"publishConfig": {"access": "public", "registry": "https://registry.npmjs.org/"}
61+
"publishConfig": {
62+
"access": "public",
63+
"registry": "https://registry.npmjs.org/"
64+
}
3965
}

platform/packages/vue/package.json

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"name": "@dynamia-tools/vue",
3-
"version": "26.3.2",
3+
"version": "26.4.0",
44
"description": "Vue 3 adapter for Dynamia Platform UI",
5-
"keywords": ["dynamia", "vue", "viewer", "form", "table", "crud", "typescript"],
5+
"keywords": [
6+
"dynamia",
7+
"vue",
8+
"viewer",
9+
"form",
10+
"table",
11+
"crud",
12+
"typescript"
13+
],
614
"homepage": "https://dynamia.tools",
7-
"repository": {"type": "git", "url": "https://github.com/dynamiatools/framework.git", "directory": "platform/packages/vue"},
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/dynamiatools/framework.git",
18+
"directory": "platform/packages/vue"
19+
},
820
"license": "Apache-2.0",
921
"author": "Dynamia Soluciones IT SAS",
1022
"type": "module",
@@ -14,11 +26,21 @@
1426
"exports": {
1527
".": {
1628
"development": "./src/index.ts",
17-
"import": {"types": "./dist/index.d.ts", "default": "./dist/index.js"},
18-
"require": {"types": "./dist/index.d.cts", "default": "./dist/index.cjs"}
29+
"import": {
30+
"types": "./dist/index.d.ts",
31+
"default": "./dist/index.js"
32+
},
33+
"require": {
34+
"types": "./dist/index.d.cts",
35+
"default": "./dist/index.cjs"
36+
}
1937
}
2038
},
21-
"files": ["dist", "README.md", "LICENSE"],
39+
"files": [
40+
"dist",
41+
"README.md",
42+
"LICENSE"
43+
],
2244
"scripts": {
2345
"build": "vite build",
2446
"typecheck": "vue-tsc --noEmit",
@@ -42,5 +64,8 @@
4264
"vue": "^3.4.0",
4365
"vue-tsc": "^2.0.0"
4466
},
45-
"publishConfig": {"access": "public", "registry": "https://registry.npmjs.org/"}
67+
"publishConfig": {
68+
"access": "public",
69+
"registry": "https://registry.npmjs.org/"
70+
}
4671
}

0 commit comments

Comments
 (0)