From 44b74a38a914da559d8c9501714e8062221f9042 Mon Sep 17 00:00:00 2001 From: Ariel Gentile Date: Fri, 18 Oct 2024 14:11:25 -0300 Subject: [PATCH] ci: fix client publishing setup (#16) Signed-off-by: Ariel Gentile --- .github/workflows/ci.yml | 4 +++- package.json | 4 +--- packages/client/package.json | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 807d26a..75eb4f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,9 @@ jobs: run: yarn install --frozen-lockfile --ignore-scripts - name: Release to NPM - run: npm publish packages/client + run: | + cd packages/client + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 96c4071..b96998d 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,8 @@ { "name": "message-pickup-repository", - "version": "0.0.1", - "description": "DIDComm Message Pickup Repository", - "author": "2060.io", "private": true, "license": "Apache-2.0", + "description": "DIDComm Message Pickup Repository", "workspaces": [ "packages/*" ], diff --git a/packages/client/package.json b/packages/client/package.json index 939810b..bf19f65 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,13 +1,16 @@ { "name": "@2060.io/message-pickup-repository-client", - "version": "0.0.4", - "description": "Message Pickup Repository client module", "main": "build/index", "types": "build/index", - "license": "Apache-2.0", + "version": "0.0.4", "files": [ "build" ], + "publishConfig": { + "access": "public" + }, + "description": "Message Pickup Repository client module", + "license": "Apache-2.0", "homepage": "https://github.com/2060-io/message-pickup-repository/tree/main/packages/client", "repository": { "type": "git", @@ -37,8 +40,5 @@ }, "peerDependencies": { "@credo-ts/core": "^0.5.10" - }, - "publishConfig": { - "access": "public" } }