diff --git a/.github/workflows/npm-publish-github-packages.yaml b/.github/workflows/npm-publish-github-packages.yaml index a02356c..64cc55e 100644 --- a/.github/workflows/npm-publish-github-packages.yaml +++ b/.github/workflows/npm-publish-github-packages.yaml @@ -31,7 +31,7 @@ jobs: with: node-version: 16 registry-url: 'https://npm.pkg.github.com/' - - run: npm config set registry https://npm.pkg.github.com/ + - run: npm config set registry https://npm.pkg.github.com/@andrewbrg - 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 dd2ed93..d13887b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@andrewbrg/rulepilot", + "name": "rulepilot", "version": "1.1.8", "description": "Rule parsing engine for JSON rules", "main": "dist/index.js", @@ -9,7 +9,10 @@ "build": "rm -rf dist && tsc", "prettier": "prettier --write ." }, - "repository": "https://github.com/andrewbrg/rulepilot.git", + "repository": { + "type": "git", + "url": "https://github.com/andrewbrg/rulepilot.git" + }, "author": "Andrew Borg ", "license": "MIT", "keywords": [