From 0aa7bf0ad2a9ade2b3512280774d0b03fa081e0b Mon Sep 17 00:00:00 2001 From: Robert Lyall Date: Thu, 10 Aug 2023 10:24:26 +0100 Subject: [PATCH] feat: publish to npm --- .github/workflows/commit.yaml | 5 ++--- package.json | 6 +----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 4128aab..f775d91 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -32,8 +32,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 16 - registry-url: "https://npm.pkg.github.com" - scope: "@krystal" + registry-url: "https://registry.npmjs.org" - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 94ff917..009273c 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,7 @@ "./src/**/*.js" ], "main": "src/index.js", - "name": "@krystal/shard-tailwind", - "publishConfig": { - "registry": "https://npm.pkg.github.com", - "scope": "@krystal" - }, + "name": "krystal-shard-tailwind", "repository": { "type": "git", "url": "https://github.com/krystal/shard-tailwind.git"