Skip to content

Commit

Permalink
Merge pull request #44 from jcam1/develop
Browse files Browse the repository at this point in the history
Release 2024-08-26 23:14:27 +0900
  • Loading branch information
SeiyaKobayashi authored Aug 26, 2024
2 parents 1085d57 + 619bd60 commit 6cec26c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 19 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,16 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/v1
working-directory: ./
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies
- name: Compile
run: yarn run compile:sdk
run: |
yarn workspace @jpyc/sdk-core run compile
yarn workspace @jpyc/sdk-v1 run compile:sdk
- name: Lint
run: yarn run lint:dry-run
run: yarn workspace @jpyc/sdk-v1 run lint:dry-run
- name: Format
run: yarn run format:dry-run
run: yarn workspace @jpyc/sdk-v1 run format:dry-run
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,15 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/v1
working-directory: ./
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies
- name: Build package
run: |
yarn workspace @jpyc/sdk-core run compile
yarn workspace @jpyc/sdk-v1 run compile:sdk
- uses: ./.github/actions/publish-package
with:
working-directory: ./packages/v1
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,4 @@ out
# Misc
.DS_Store
.vscode
tsconfig.tsbuildinfo
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"repository": "https://github.com/jcam1/sdks.git",
"license": "MIT",
"version": "1.5.0",
"version": "1.6.0",
"engines": {
"node": "^20.12.0",
"yarn": "^1.22.22"
Expand Down
2 changes: 1 addition & 1 deletion packages/v1/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JPYC V1 SDK

![build](https://github.com/jcam1/sdks/actions/workflows/check.yml/badge.svg)
[![Node version](https://img.shields.io/node/v/@jpyc/sdk-v1.svg?style=flat)](https://nodejs.org/download/)
[![npm version](https://badge.fury.io/js/@jpyc%2Fsdk-v1.svg)](https://badge.fury.io/js/@jpyc%2Fsdk-v1)

JPYC V1 SDK implements an interface to interact with [JPYCv2 contracts](https://github.com/jcam1/JPYCv2) on different chains. Supported chains are Ethereum, Polygon, Gnosis, Avalanche, and Astar. Please note that **Shiden Network is not yet supported**.

Expand Down
5 changes: 0 additions & 5 deletions packages/v1/index.ts

This file was deleted.

10 changes: 8 additions & 2 deletions packages/v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
"description": "SDK v1 for JPYC v2 protocol",
"repository": "https://github.com/jcam1/sdks.git",
"license": "MIT",
"version": "1.0.0",
"version": "1.1.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^20.12.0",
"yarn": "^1.22.22"
},
"main": "dist/src",
"types": "dist/types/src",
"files": [
"dist"
],
"scripts": {
"docs": "typedoc",
"env": "cp .env.example .env",
Expand All @@ -35,7 +40,8 @@
},
"dependencies": {
"@ethersproject/abi": "5.7.0",
"@ethersproject/solidity": "5.7.0"
"@ethersproject/solidity": "5.7.0",
"@jpyc/sdk-core": "1.3.0"
},
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "3.0.6",
Expand Down
6 changes: 1 addition & 5 deletions packages/v1/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@
// misc
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"paths": {
"@jpyc/sdk-core/*": ["../core/"],
"@jpyc/sdk-v1/*": ["./src/"]
}
"emitDecoratorMetadata": true
},
"ts-node": {
"require": ["tsconfig-paths/register"]
Expand Down

0 comments on commit 6cec26c

Please sign in to comment.