Skip to content

Commit

Permalink
CI: Use Different Package JSON For Library
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Feb 28, 2024
1 parent 5853ee8 commit 2a63cae
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
35 changes: 35 additions & 0 deletions package.lib.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 2a63cae

Please sign in to comment.