From 5c59afc1d4c33ae958a8a2c8b98536e51c02f454 Mon Sep 17 00:00:00 2001 From: ash Date: Wed, 28 Aug 2024 01:06:54 +0200 Subject: [PATCH] [chore] switch back to npmjs --- .github/workflows/release-package.yml | 4 ++-- .npmrc | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 2971663..7ef0a0b 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - registry-url: https://npm.pkg.github.com/ + registry-url: https://registry.npmjs.org - name: Install pnpm uses: pnpm/action-setup@v2 with: @@ -54,4 +54,4 @@ jobs: - name: Publish run: pnpm publish --no-git-checks env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.npmrc b/.npmrc index ebd54c2..f90baba 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -@ai-stack:registry=https://npm.pkg.github.com \ No newline at end of file +@ai-stack:registry=https://registry.npmjs.org \ No newline at end of file diff --git a/package.json b/package.json index 086688b..a66db27 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ } }, "main": "./dist/index.js", - "@ai-stack:registry": "https://npm.pkg.github.com", + "@ai-stack:registry": "https://registry.npmjs.org", "types": "./dist/index.d.ts", "access": "public" }