From 5922c1fa465d21fd50a311442d73c955edbef864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Filho?= Date: Thu, 30 Apr 2026 11:11:57 -0300 Subject: [PATCH 1/2] ci(release): handle missing changesets gracefully --- .github/workflows/prereleases.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prereleases.yml b/.github/workflows/prereleases.yml index 01e6e975..4938c8da 100644 --- a/.github/workflows/prereleases.yml +++ b/.github/workflows/prereleases.yml @@ -39,9 +39,19 @@ jobs: - name: Detect changed packages id: changeset run: | - pnpm exec changeset status --output /tmp/status.json + # Run changeset status, but don't fail if there are no changesets + # This allows the workflow to continue gracefully + pnpm exec changeset status --output /tmp/status.json || true + + # Check if the status file was created + if [ -f /tmp/status.json ]; then + RELEASE_COUNT=$(jq '.releases | length' /tmp/status.json) + else + # If changeset failed (no changesets found), treat as 0 releases + RELEASE_COUNT=0 + echo '{}' > /tmp/status.json + fi - RELEASE_COUNT=$(jq '.releases | length' /tmp/status.json) echo "release_count=$RELEASE_COUNT" >> $GITHUB_OUTPUT echo "Found $RELEASE_COUNT packages to release" From ac1e453029b428299db94ae3a9ba277c8750c1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Filho?= Date: Thu, 30 Apr 2026 11:12:26 -0300 Subject: [PATCH 2/2] docs(presets): update package name in installation instructions --- packages/presets/docs/preset-nuxt.md | 2 +- packages/presets/docs/preset-svelte.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/presets/docs/preset-nuxt.md b/packages/presets/docs/preset-nuxt.md index 1b010532..2fe6cc6f 100644 --- a/packages/presets/docs/preset-nuxt.md +++ b/packages/presets/docs/preset-nuxt.md @@ -13,7 +13,7 @@ This preset enables Server-Side Rendering (SSR) and Static Site Generation (SSG) First, install the Azion package in your Nuxt.js project: ```bash -npm install azion +npm install @aziontech/presets ``` ## Configuration SSR diff --git a/packages/presets/docs/preset-svelte.md b/packages/presets/docs/preset-svelte.md index 386043b9..d93aa510 100644 --- a/packages/presets/docs/preset-svelte.md +++ b/packages/presets/docs/preset-svelte.md @@ -13,7 +13,7 @@ This preset enables Server-Side Rendering (SSR) and Static Site Generation (SSG) First, install the Azion package in your SvelteKit project: ```bash -npm install azion +npm install @aziontech/presets ``` ## Configuration SSR