From 2a63cae4269790eccff864616426846919aef1a9 Mon Sep 17 00:00:00 2001 From: imsk17 Date: Wed, 28 Feb 2024 18:21:23 +0530 Subject: [PATCH] CI: Use Different Package JSON For Library --- .github/workflows/build.yml | 5 ++++- package.lib.json | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 package.lib.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4faf5f61..98778291 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,10 @@ jobs: run: npx typedoc --out docs src/index.ts - name: prepare package - run: mkdir out && mv package.json out && mv dist out && mv README.md out && mv LICENSE out && mv docs out + run: mkdir out && mv package.lib.json out && mv dist out && mv README.md out && mv LICENSE out && mv docs out + + - name: Rename Package JSON + run: mv out/package.lib.json out/package.json - name: Prepare Production Release uses: s0/git-publish-subdir-action@develop diff --git a/package.lib.json b/package.lib.json new file mode 100644 index 00000000..37f8ca5c --- /dev/null +++ b/package.lib.json @@ -0,0 +1,35 @@ +{ + "name": "xp-decentralized-sdk", + "version": "1.0.0", + "main": "dist/index.js", + "author": "imsk17", + "types": "dist/index.d.ts", + "license": "MIT", + "scripts": { + "build": "tsc", + "format": "npx @biomejs/biome format src/ --write", + "lint": "npx @biomejs/biome lint src/ " + }, + "devDependencies": { + "@biomejs/biome": "1.5.3", + "@types/node": "^20.11.15", + "lefthook": "^1.6.1", + "typedoc": "^0.25.7", + "typescript": "^5.3.3" + }, + "dependencies": { + "@multiversx/sdk-core": "^12.18.0", + "@multiversx/sdk-network-providers": "^2.2.1", + "@multiversx/sdk-wallet": "^4.3.0", + "@taquito/taquito": "^19.0.0", + "@taquito/tzip16": "^19.0.0", + "@taquito/utils": "^19.0.0", + "@ton/core": "^0.54.0", + "@ton/crypto": "^3.2.0", + "@ton/ton": "^13.9.0", + "@tzkt/sdk-api": "^2.2.1", + "axios": "^1.6.7", + "ethers": "^6.10.0", + "secretjs": "=1.12.4" + } +}