From 10ae6ee5db8e0e8eb26249e723d8b1b33ecc60c2 Mon Sep 17 00:00:00 2001 From: hoesele Date: Fri, 20 Oct 2023 11:26:58 +0200 Subject: [PATCH] cleanup --- .github/workflows/main.yml | 21 +++++++++++++++++++++ package.json | 2 +- packages/react-sdk/package.json | 10 +++++----- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..5f371e54 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Node.js Package + +on: + push: + branches: + - main + +jobs: + publish-gpr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 16 + registry-url: https://npm.pkg.github.com/ + scope: "@ens-vision-pte-ltd" + - run: npm install + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 5748568b..82d64850 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "xmtp-web", + "name": "xmtp-web-vision", "version": "0.0.0", "private": true, "workspaces": [ diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index a732d36e..5c17609b 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -1,5 +1,5 @@ { - "name": "@xmtp/react-sdk", + "name": "@ens-vision-pte-ltd/xmtp-react-sdk", "description": "XMTP client SDK for React apps written in TypeScript", "version": "2.2.5", "author": "XMTP Labs ", @@ -8,6 +8,9 @@ "main": "lib/index.cjs", "module": "lib/index.js", "types": "lib/index.d.ts", + "publishConfig": { + "registry": "https://npm.pkg.github.com/@ens-vision-pte-ltd" + }, "exports": { ".": { "types": "./lib/index.d.ts", @@ -21,7 +24,7 @@ "sideEffects": false, "repository": { "type": "git", - "url": "git@github.com:xmtp/xmtp-web.git", + "url": "git@github.com:ENS-Vision-PTE-LTD/xmtp-web-vision.git", "directory": "packages/react-sdk" }, "homepage": "https://github.com/xmtp/xmtp-web", @@ -42,9 +45,6 @@ "react-hooks", "hooks" ], - "publishConfig": { - "access": "public" - }, "browserslist": { "production": [ ">0.2%",