diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 26281f7..04c349a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -44,4 +44,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} && npm publish + run: | + echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc + npm publish diff --git a/package.json b/package.json index 4e62368..7b20bef 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,14 @@ }, "repository": { "type": "git", - "url": "https://github.com/dashscope/claude-code-config.git" + "url": "git+https://github.com/dashscope/claude-code-config.git" }, "name": "@dashscope-js/claude-code-config", - "version": "0.1.2", + "version": "0.1.3", "description": "Default configuration for claude-code-router with DashScope support", "main": "index.js", "bin": { - "ccr-dashscope": "./bin/claude-code-router-config.js" + "ccr-dashscope": "bin/claude-code-router-config.js" }, "scripts": { "lint": "echo lint",