Skip to content

Commit

Permalink
Aggregator build bug (#1091)
Browse files Browse the repository at this point in the history
* Build fix

* Changeset version files
  • Loading branch information
0xp3gasus authored Mar 21, 2024
1 parent 7fb867c commit 85fada5
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-bears-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@xchainjs/xchain-aggregator': patch
---

Build bug fix
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-typescript": "11.1.6",
"@types/jest": "^29.2.5",
"@types/rollup-plugin-peer-deps-external": "2.2.1",
"@typescript-eslint/eslint-plugin": "^5.48.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/xchain-aggregator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Protocol aggregator to make actions in different protocols with the aim to opera
## Install

```sh
yarn install @xchainjs/xchain-aggregator
yarn install @xchainjs/xchain-aggregator @xchainjs/xchain-mayachain-amm @xchainjs/xchain-thorchain-amm
```

## Supported protocols
Expand All @@ -20,3 +20,4 @@ The current supported protocols are:
The current supported actions are:

- Swap
- Get swap history
10 changes: 6 additions & 4 deletions packages/xchain-aggregator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@
"dependencies": {
"@xchainjs/xchain-client": "0.16.2",
"@xchainjs/xchain-mayachain": "1.0.1",
"@xchainjs/xchain-mayachain-amm": "1.0.14",
"@xchainjs/xchain-mayachain-query": "0.1.9",
"@xchainjs/xchain-thorchain": "1.0.4",
"@xchainjs/xchain-thorchain-amm": "1.0.5",
"@xchainjs/xchain-thorchain-query": "0.7.7",
"@xchainjs/xchain-util": "0.13.3",
"@xchainjs/xchain-wallet": "0.1.8"
"@xchainjs/xchain-util": "0.13.3"
},
"devDependencies": {
"@xchainjs/xchain-avax": "0.4.6",
Expand All @@ -45,5 +42,10 @@
"@xchainjs/xchain-ethereum": "0.31.6",
"@xchainjs/xchain-kujira": "0.1.12",
"axios-mock-adapter": "1.20.0"
},
"peerDependencies": {
"@xchainjs/xchain-mayachain-amm": "1.0.14",
"@xchainjs/xchain-thorchain-amm": "1.0.5",
"@xchainjs/xchain-wallet": "0.1.8"
}
}
17 changes: 13 additions & 4 deletions packages/xchain-aggregator/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import commonjs from '@rollup/plugin-commonjs'
import typescript from '@rollup/plugin-typescript'
import json from '@rollup/plugin-json'
import resolve from '@rollup/plugin-node-resolve'
import external from 'rollup-plugin-peer-deps-external'
import typescript from 'rollup-plugin-typescript2'

import pkg from './package.json'

Expand All @@ -20,10 +23,16 @@ export default {
},
],
plugins: [
external(),
json(),
resolve({ preferBuiltins: true, browser: true }),
typescript({
tsconfig: './tsconfig.json',
declarationDir: '.',
tsconfig: 'tsconfig.json',
exclude: '__tests__/**',
}),
commonjs({
include: /node_modules/,
exclude: '**/*.json',
}),
commonjs(),
],
}
17 changes: 0 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2729,14 +2729,6 @@
is-module "^1.0.0"
resolve "^1.22.1"

"@rollup/[email protected]":
version "11.1.6"
resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-11.1.6.tgz#724237d5ec12609ec01429f619d2a3e7d4d1b22b"
integrity sha512-R92yOmIACgYdJ7dJ97p4K69I8gg6IEHt8M7dUBxN3W6nrO8uUxX5ixl0yU/N3aZTi8WhPuICvOHXQvF6FaykAA==
dependencies:
"@rollup/pluginutils" "^5.1.0"
resolve "^1.22.1"

"@rollup/pluginutils@^4.1.2":
version "4.2.1"
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d"
Expand All @@ -2754,15 +2746,6 @@
estree-walker "^2.0.2"
picomatch "^2.3.1"

"@rollup/pluginutils@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.1.0.tgz#7e53eddc8c7f483a4ad0b94afb1f7f5fd3c771e0"
integrity sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==
dependencies:
"@types/estree" "^1.0.0"
estree-walker "^2.0.2"
picomatch "^2.3.1"

"@scure/[email protected]":
version "1.1.5"
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157"
Expand Down

0 comments on commit 85fada5

Please sign in to comment.