Skip to content

Commit

Permalink
feat(sdks): publish all SDK's and add release commands
Browse files Browse the repository at this point in the history
  • Loading branch information
adjkant committed Dec 29, 2023
1 parent b2c7c2c commit bfa2095
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions sdks/permit2-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
- `yarn interop`
- `(cd permit2 && forge build)`
- `forge test`

2 changes: 1 addition & 1 deletion sdks/permit2-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "tsdx build",
"start": "tsdx watch",
"interop": "yarn node writeInterop.js",
"prepublishOnly": "tsdx build"
"release": "semantic-release"
},
"repository": "https://github.com/Uniswap/sdks.git",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions sdks/router-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Pull requests welcome!
# Uniswap Swap Router SDK

This SDK is meant to facilitate interactions with the contracts in [swap-router-contracts](https://github.com/Uniswap/swap-router-contracts).

2 changes: 1 addition & 1 deletion sdks/router-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "tsdx test",
"build": "tsdx build",
"start": "tsdx watch",
"prepublishOnly": "tsdx build"
"release": "semantic-release"
},
"repository": "https://github.com/Uniswap/sdks.git",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions sdks/sdk-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@

This code is shared across Uniswap TypeScript SDKs.


1 change: 1 addition & 0 deletions sdks/uniswapx-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,4 @@ Returns the domain, types, and values used to generate an EIP-712 signature over
**hash()**

Returns the order hash. This is used as a key to track order fulfillment on-chain. It may also be useful as a unique order identifier for off-chain purposes.

1 change: 1 addition & 0 deletions sdks/uniswapx-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"repository": "https://github.com/Uniswap/sdks.git",
"scripts": {
"release": "semantic-release",
"build": "yarn run typechain && tsc -p tsconfig.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
Expand Down
1 change: 1 addition & 0 deletions sdks/universal-router-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,4 @@ yarn symlink # must install git submodules
forge install
yarn test:forge
```
1 change: 1 addition & 0 deletions sdks/universal-router-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"node": ">=14"
},
"scripts": {
"release": "semantic-release",
"test:all": "yarn test:hardhat && yarn test:forge",
"test:hardhat": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test",
"test:forge": "forge test",
Expand Down
1 change: 1 addition & 0 deletions sdks/v2-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v2-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

1 change: 1 addition & 0 deletions sdks/v3-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Pull requests welcome!
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).

2 changes: 1 addition & 1 deletion sdks/v3-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "tsdx build",
"start": "tsdx watch",
"test": "tsdx test",
"prepublishOnly": "tsdx build"
"release": "semantic-release"
},
"dependencies": {
"@ethersproject/abi": "^5.5.0",
Expand Down

0 comments on commit bfa2095

Please sign in to comment.