diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e92f715..2c86d89 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,6 +18,11 @@ jobs: - run: npm run lint - run: npm run test - run: npm run build - - run: npx -y can-npm-publish && npm publish + - name: publish rx-nostr + run: npx -y can-npm-publish packages/core && npm publish -w packages/core + env: + NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} + - name: publish @rx-nostr/crypto + run: npx -y can-npm-publish packages/crypto && npm publish -w packages/crypto env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} diff --git a/package-lock.json b/package-lock.json index 16fd64c..f774f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4814,7 +4814,7 @@ }, "packages/core": { "name": "rx-nostr", - "version": "2.7.3", + "version": "3.0.0", "license": "MIT", "dependencies": { "nostr-typedef": "^0.8.0", diff --git a/packages/core/package.json b/packages/core/package.json index a506052..26fd391 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "rx-nostr", - "version": "2.7.3", + "version": "3.0.0", "description": "A library based on RxJS, which allows Nostr applications to easily communicate with relays.", "author": "penpenpng", "keywords": [