From eb4eafcb736ed402623fa39944de9dab8a957250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6tz?= Date: Thu, 16 Apr 2026 11:46:27 +0200 Subject: [PATCH] fix: npm package publishing --- .github/workflows/release.yml | 3 +-- packages/core/package.json | 2 +- packages/firebase/package.json | 2 +- packages/gridstack/package.json | 2 +- packages/leaflet/package.json | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5179a8ac..ffa9ed19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,6 +90,7 @@ jobs: permissions: contents: read packages: write + id-token: write steps: - uses: actions/checkout@v6 with: @@ -115,8 +116,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Publish To NPM Packages run: npx nx release publish --registry https://registry.npmjs.org - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} publish-documentation: needs: [build] diff --git a/packages/core/package.json b/packages/core/package.json index 6ec64967..f0eacc72 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -9,7 +9,7 @@ ], "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org" + "provenance": true }, "repository": { "type": "git", diff --git a/packages/firebase/package.json b/packages/firebase/package.json index 129a12b6..6517d3a2 100644 --- a/packages/firebase/package.json +++ b/packages/firebase/package.json @@ -9,7 +9,7 @@ ], "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org" + "provenance": true }, "repository": { "type": "git", diff --git a/packages/gridstack/package.json b/packages/gridstack/package.json index 119a2b43..713f0c5c 100644 --- a/packages/gridstack/package.json +++ b/packages/gridstack/package.json @@ -9,7 +9,7 @@ ], "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org" + "provenance": true }, "repository": { "type": "git", diff --git a/packages/leaflet/package.json b/packages/leaflet/package.json index dd8f12f5..6b84e23c 100644 --- a/packages/leaflet/package.json +++ b/packages/leaflet/package.json @@ -9,7 +9,7 @@ ], "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org" + "provenance": true }, "repository": { "type": "git",