From 42b2337370e33b9f09274151779cb8ced959a960 Mon Sep 17 00:00:00 2001 From: valiantlynx Date: Mon, 8 Apr 2024 16:29:27 +0200 Subject: [PATCH 1/2] registry --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 89975ea9..24765733 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "@valiantlynx/svelte-rich-text", "version": "0.2.4", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/" }, "description": "Rich text editor as a svelte component", "homepage": "https://svelte-rich-text.valiantlynx.com", From 5a7cbf880304ca5431f7302be7831a0d01691b75 Mon Sep 17 00:00:00 2001 From: valiantlynx Date: Mon, 8 Apr 2024 17:03:50 +0200 Subject: [PATCH 2/2] provenace --- .github/workflows/changeset.yaml | 7 +++++-- package.json | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml index bc6ad754..0fe82493 100644 --- a/.github/workflows/changeset.yaml +++ b/.github/workflows/changeset.yaml @@ -14,6 +14,9 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - name: Checkout Repo uses: actions/checkout@v3 @@ -24,7 +27,6 @@ jobs: node-version: '21' registry-url: 'https://registry.npmjs.org/' scope: '@valiantlynx' - node-auth-token: ${{ secrets.NPM_TOKEN }} - name: Install Dependencies run: yarn @@ -41,4 +43,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The NPM_TOKEN is now only necessary if the publish script or any other step explicitly requires it, # but the setup-node action has already configured npm authentication globally for this job. - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 21c1e2b4..9bcab50c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "0.2.5", "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org/" + "registry": "https://registry.npmjs.org/", + "provenance": true }, "description": "Rich text editor as a svelte component", "homepage": "https://svelte-rich-text.valiantlynx.com",