diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b96e2fa..1f73b05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,16 +24,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: "pnpm" - - - name: Creating .npmrc - run: | - cat << EOF > "$HOME/.npmrc" - //npm.pkg.github.com/:_authToken=$NPM_TOKEN - EOF - env: - NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + cache: 'pnpm' + - run: pnpm i - name: Create Release Pull Request or Publish id: changesets diff --git a/packages/thalaswap-math/Readme.md b/packages/thalaswap-math/Readme.md index 041702f..82a1bf1 100644 --- a/packages/thalaswap-math/Readme.md +++ b/packages/thalaswap-math/Readme.md @@ -4,22 +4,6 @@ SDK to calculate swap amounts and pool price. # install -Edit or add a `.npmrc` file to including following lines: -``` -//npm.pkg.github.com/:_authToken=_authToken -@thalalabs:registry=https://npm.pkg.github.com -``` - -Run command to login: -``` -$ npm login --registry=https://npm.pkg.github.com -> Username: USERNAME -> Password: TOKEN -``` - -USERNAME is you github account username. Get the token from your github settings, see ["Managing your personal access tokens."](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens). - - ``` $ npm i @thalalabs/thalaswap-math ``` diff --git a/packages/thalaswap-math/package.json b/packages/thalaswap-math/package.json index c21c744..cf74ff3 100644 --- a/packages/thalaswap-math/package.json +++ b/packages/thalaswap-math/package.json @@ -30,8 +30,7 @@ "author": "", "license": "MIT", "publishConfig": { - "access": "public", - "registry": "https://npm.pkg.github.com" + "access": "public" }, "repository": { "type": "git", diff --git a/packages/thalaswap-router/README.md b/packages/thalaswap-router/README.md index 7bb0bac..a07c16a 100644 --- a/packages/thalaswap-router/README.md +++ b/packages/thalaswap-router/README.md @@ -4,23 +4,6 @@ SDK to get optimal swap routing for ThalaSwap. Currently, we support finding rou ## Install -Edit or add a `.npmrc` file to including following lines: - -``` -//npm.pkg.github.com/:_authToken=_authToken -@thalalabs:registry=https://npm.pkg.github.com -``` - -Run command to login: - -``` -$ npm login --registry=https://npm.pkg.github.com -> Username: USERNAME -> Password: TOKEN -``` - -USERNAME is you github account username. Get the token from your github settings, see ["Managing your personal access tokens."](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens). - ``` $ npm i @thalalabs/router-sdk ``` diff --git a/packages/thalaswap-router/package.json b/packages/thalaswap-router/package.json index 0b63a9d..51a0f5c 100644 --- a/packages/thalaswap-router/package.json +++ b/packages/thalaswap-router/package.json @@ -13,8 +13,7 @@ "dist" ], "publishConfig": { - "access": "public", - "registry": "https://npm.pkg.github.com" + "access": "public" }, "repository": { "type": "git",