Skip to content

Commit

Permalink
Workspace release fix (#1154)
Browse files Browse the repository at this point in the history
* Workspace release fix

* Release build
  • Loading branch information
0xp3gasus authored May 15, 2024
1 parent 13123b2 commit 15181f4
Show file tree
Hide file tree
Showing 38 changed files with 185 additions and 69 deletions.
38 changes: 38 additions & 0 deletions .changeset/tender-elephants-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
'@xchainjs/xchain-aggregator': patch
'@xchainjs/xchain-arbitrum': patch
'@xchainjs/xchain-avax': patch
'@xchainjs/xchain-binance': patch
'@xchainjs/xchain-bitcoin': patch
'@xchainjs/xchain-bitcoincash': patch
'@xchainjs/xchain-bsc': patch
'@xchainjs/xchain-client': patch
'@xchainjs/xchain-cosmos': patch
'@xchainjs/xchain-cosmos-sdk': patch
'@xchainjs/xchain-crypto': patch
'@xchainjs/xchain-dash': patch
'@xchainjs/xchain-doge': patch
'@xchainjs/xchain-ethereum': patch
'@xchainjs/xchain-evm': patch
'@xchainjs/xchain-evm-providers': patch
'@xchainjs/xchain-kujira': patch
'@xchainjs/xchain-litecoin': patch
'@xchainjs/xchain-mayachain': patch
'@xchainjs/xchain-mayachain-amm': patch
'@xchainjs/xchain-mayachain-query': patch
'@xchainjs/xchain-mayamidgard': patch
'@xchainjs/xchain-mayamidgard-query': patch
'@xchainjs/xchain-mayanode': patch
'@xchainjs/xchain-midgard': patch
'@xchainjs/xchain-midgard-query': patch
'@xchainjs/xchain-thorchain': patch
'@xchainjs/xchain-thorchain-amm': patch
'@xchainjs/xchain-thorchain-query': patch
'@xchainjs/xchain-thornode': patch
'@xchainjs/xchain-util': patch
'@xchainjs/xchain-utxo': patch
'@xchainjs/xchain-utxo-providers': patch
'@xchainjs/xchain-wallet': patch
---

Release fix
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ packages/xchain-client/yarn-error.log
packages/*/lib
packages/*/yarn.lock

packages/*/release/package

.env
*.txt
!LICENSE.txt
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"clean": "turbo run clean && rm -rf ./.turbo",
"clean:nodemodules": "rm -rf ./packages/*/node_modules && rm -rf ./node_modules",
"build": "turbo run build --cache-dir=.turbo --filter='./packages/*'",
"build:release": "turbo run build:release --cache-dir=.turbo --filter='./packages/*'",
"build:examples": "turbo run build --cache-dir=.turbo --filter='./examples/*'",
"build:tools": "turbo run build --cache-dir=.turbo --filter='./tools/*'",
"test": "turbo run test --cache-dir=.turbo",
Expand All @@ -23,7 +24,7 @@
"lint": "turbo run lint",
"update-packages": "yarn changeset",
"increase-packages": "yarn changeset version",
"publish-packages": "turbo run build test --cache-dir=.turbo && yarn increase-packages && yarn changeset publish",
"publish-packages": "turbo run build:release test --cache-dir=.turbo && yarn increase-packages && yarn changeset publish",
"notification:prepare": "ts-node scripts/notification.ts"
},
"husky": {
Expand Down Expand Up @@ -67,4 +68,4 @@
"weighted": "^1.0.0",
"yarn-audit-ci": "^1.2.0"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-aggregator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"e2e": "jest --config jest.config.e2e.js",
"test": "jest"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@xchainjs/xchain-client": "workspace:*",
Expand All @@ -46,4 +48,4 @@
"axios": "1.3.6",
"axios-mock-adapter": "1.20.0"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-arbitrum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest --passWithNoTests",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@xchainjs/xchain-client": "workspace:*",
Expand All @@ -40,4 +42,4 @@
"@xchainjs/xchain-util": "workspace:*",
"ethers": "5.7.2"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-avax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest --passWithNoTests",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@ledgerhq/hw-transport": "6.30.6",
Expand All @@ -44,4 +46,4 @@
"devDependencies": {
"@ledgerhq/hw-transport-node-hid": "6.28.6"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-binance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest",
"compile": "tsc -p tsconfig.build.json",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0"
Expand All @@ -43,6 +44,7 @@
"nock": "13.0.5"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-bitcoin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
Expand All @@ -48,6 +49,7 @@
"axios-mock-adapter": "1.20.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-bitcoincash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__,__mocks__}/**/*.ts\" --fix --max-warnings 0",
Expand All @@ -50,6 +51,7 @@
"axios-mock-adapter": "1.20.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-bsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest --passWithNoTests",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@ledgerhq/hw-transport": "6.30.6",
Expand All @@ -41,4 +43,4 @@
"@xchainjs/xchain-util": "workspace:*",
"ethers": "5.7.2"
}
}
}
3 changes: 2 additions & 1 deletion packages/xchain-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"compile": "tsc -p tsconfig.build.json",
"test": "jest --passWithNoTests"
},
Expand All @@ -22,4 +23,4 @@
"@xchainjs/xchain-util": "workspace:*",
"axios": "1.3.6"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-cosmos-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest --passWithNoTests",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@cosmjs/crypto": "0.31.1",
Expand All @@ -49,4 +51,4 @@
"devDependencies": {
"@types/secp256k1": "^4.0.3"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0"
Expand Down Expand Up @@ -53,6 +54,7 @@
"@ledgerhq/hw-transport-node-hid": "6.28.6"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
"test": "jest --coverage"
},
Expand Down Expand Up @@ -62,6 +63,7 @@
"uuid": "^9.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-dash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
Expand All @@ -50,6 +51,7 @@
"axios-mock-adapter": "1.20.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-doge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
Expand All @@ -48,6 +49,7 @@
"axios-mock-adapter": "1.20.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
"scripts": {
"clean": "rm -rf .turbo && rm -rf lib",
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"test": "jest --passWithNoTests",
"e2e": "jest --config jest.config.e2e.js",
"lint": "eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@ledgerhq/hw-transport": "6.30.6",
Expand All @@ -41,4 +43,4 @@
"@xchainjs/xchain-util": "workspace:*",
"ethers": "5.7.2"
}
}
}
6 changes: 4 additions & 2 deletions packages/xchain-evm-providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
},
"scripts": {
"build": "yarn clean && rollup -c",
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
"clean": "rm -rf .turbo && rm -rf lib",
"e2e": "jest --config jest.config.e2e.js",
"test": "jest --passWithNoTests"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "release/package"
},
"dependencies": {
"@supercharge/promise-pool": "2.4.0",
Expand All @@ -32,4 +34,4 @@
"axios": "1.3.6",
"ethers": "5.7.2"
}
}
}
Loading

0 comments on commit 15181f4

Please sign in to comment.