diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ef9f0b3..020d46c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,18 +46,4 @@ jobs: - name: Publish to npm run: npm publish --provenance --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Create release announcement - uses: actions/github-script@v7 - with: - script: | - const release = context.payload.release; - if (release) { - github.rest.repos.createCommitComment({ - owner: context.repo.owner, - repo: context.repo.repo, - commit_sha: context.sha, - body: `🎉 Published version ${release.tag_name} to npm!` - }); - } \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index e8d5f11..20210f9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Official Node.js SDK for the [ZipTax API](https://www.zip-tax.com/) - Get accurate sales and use tax rates for any US address. -[![npm version](https://badge.fury.io/js/ziptax.svg)](https://www.npmjs.com/package/ziptax) +[![npm version](https://badge.fury.io/js/%40ziptax%2Fnode-sdk.svg)](https://www.npmjs.com/package/@ziptax/node-sdk) [![Test](https://github.com/ziptax/ziptax-node/actions/workflows/test.yml/badge.svg)](https://github.com/ziptax/ziptax-node/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/ziptax/ziptax-node/branch/main/graph/badge.svg)](https://codecov.io/gh/ziptax/ziptax-node) @@ -20,13 +20,13 @@ Official Node.js SDK for the [ZipTax API](https://www.zip-tax.com/) - Get accura ## Installation ```bash -npm install ziptax +npm install @ziptax/node-sdk ``` ## Quick Start ```typescript -import { ZiptaxClient } from 'ziptax'; +import { ZiptaxClient } from '@ziptax/node-sdk'; // Initialize the client with your API key const client = new ZiptaxClient({ @@ -144,7 +144,7 @@ import { ZiptaxValidationError, ZiptaxNetworkError, ZiptaxRateLimitError, -} from 'ziptax'; +} from '@ziptax/node-sdk'; try { const result = await client.getSalesTaxByAddress({ @@ -288,7 +288,7 @@ MIT License - see [LICENSE](./LICENSE) file for details. ## Links -- [npm package](https://www.npmjs.com/package/ziptax) +- [npm package](https://www.npmjs.com/package/@ziptax/node-sdk) - [GitHub repository](https://github.com/ziptax/ziptax-node) - [ZipTax API Documentation](https://www.zip-tax.com/documentation) - [Changelog](./CHANGELOG.md) \ No newline at end of file diff --git a/docs/spec.yaml b/docs/spec.yaml index a974bb8..2b04522 100644 --- a/docs/spec.yaml +++ b/docs/spec.yaml @@ -7,7 +7,7 @@ # Project Metadata # ----------------------------------------------------------------------------- project: - name: "ziptax-node" + name: "@ziptax/node-sdk" language: "typescript" version: "1.0.0" description: "Official Node.js SDK for the ZipTax API" @@ -55,7 +55,7 @@ api: # ----------------------------------------------------------------------------- sdk: # Package/module naming - package_name: "ziptax" + package_name: "@ziptax/node-sdk" namespace: "Ziptax" # SDK structure approach diff --git a/package.json b/package.json index 2e8d584..29a4f77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ziptax/node-sdk", - "version": "0.1.2-beta", + "version": "0.1.4-beta", "description": "Official Node.js SDK for the ZipTax API", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",