From 418319d70acd798591044d1f5ca0b9e0e3d0f28c Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 10 Sep 2026 15:54:56 -0500 Subject: [PATCH] fix(sdk): pin the remaining example apps to 1.2.0 instead of floating latest PRs #37475/#37476 pinned examples/nextjs on this branch, leaving angular, astro and vuejs still on "latest". Those three resolve whatever the npm "latest" dist-tag points at today -- currently a 26.x SDK against a 25.07.10 LTS server -- which is the same defect the customer hit in Freshdesk #38677, just in the apps nobody had reported yet. Pinned to the same 1.2.0 the nextjs pin uses, so all four example apps on this branch now agree. Every package involved (@dotcms/angular, client, react, types, uve) is published at 1.2.0; verified against the registry. The CI guardrail added in #37477 cannot catch this: it lives in cicd_5-lts.yml on main and this branch runs its own July 2025 workflows. Refs #36891 Co-Authored-By: Claude Opus 5 (1M context) --- examples/angular/package.json | 8 ++++---- examples/astro/package.json | 8 ++++---- examples/vuejs/package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/angular/package.json b/examples/angular/package.json index 2b6ab8b0337a..b04af7f27071 100644 --- a/examples/angular/package.json +++ b/examples/angular/package.json @@ -18,10 +18,10 @@ "@angular/platform-browser": "^17.1.0", "@angular/platform-browser-dynamic": "^17.1.0", "@angular/router": "^17.1.0", - "@dotcms/angular": "latest", - "@dotcms/client": "latest", - "@dotcms/types": "latest", - "@dotcms/uve": "latest", + "@dotcms/angular": "1.2.0", + "@dotcms/client": "1.2.0", + "@dotcms/types": "1.2.0", + "@dotcms/uve": "1.2.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.2" diff --git a/examples/astro/package.json b/examples/astro/package.json index 78e3bc2c042c..c8f9516b0d54 100644 --- a/examples/astro/package.json +++ b/examples/astro/package.json @@ -14,10 +14,10 @@ "@astrojs/react": "^3.6.2", "@astrojs/ts-plugin": "^1.10.4", "@astrojs/vercel": "^7.8.0", - "@dotcms/client": "latest", - "@dotcms/react": "latest", - "@dotcms/types": "latest", - "@dotcms/uve": "latest", + "@dotcms/client": "1.2.0", + "@dotcms/react": "1.2.0", + "@dotcms/types": "1.2.0", + "@dotcms/uve": "1.2.0", "@tailwindcss/typography": "^0.5.16", "@tailwindcss/vite": "^4.1.10", "@tinymce/tinymce-react": "6.2.1", diff --git a/examples/vuejs/package.json b/examples/vuejs/package.json index 037da86a3a10..ee5c5f5ab62c 100644 --- a/examples/vuejs/package.json +++ b/examples/vuejs/package.json @@ -11,7 +11,7 @@ "format": "prettier --write src/" }, "dependencies": { - "@dotcms/client": "latest", + "@dotcms/client": "1.2.0", "vue": "^3.4.15", "vue-router": "^4.2.5" },