Skip to content

Commit 44d6afd

Browse files
authored
chore: remove unused packages and update ci (#96)
1 parent b47189e commit 44d6afd

File tree

10 files changed

+595
-1659
lines changed

10 files changed

+595
-1659
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
jobs:
1212
ci:
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 60
1415
steps:
1516
- uses: actions/checkout@v4
1617
- name: Set alternate npm integrity keys
@@ -23,9 +24,11 @@ jobs:
2324
with:
2425
node-version: 22
2526
cache: "pnpm"
26-
- run: |
27+
- name: Create .env file
28+
run: |
2729
touch .env
2830
echo GH_COMMIT_SHA="${{ github.event.pull_request.head.sha }}" >> .env
31+
echo AGENT_PRIVATE_KEY="${{ secrets.AGENT_PRIVATE_KEY }}" >> .env
2932
- name: Install dependencies
3033
run: |
3134
pnpm install
@@ -46,5 +49,4 @@ jobs:
4649
pnpm test
4750
- name: e2e Test
4851
run: |
49-
pnpm test:e2e
50-
52+
pnpm test:e2e

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
"engines": {
3838
"node": ">=22"
3939
},
40+
"resolutions": {
41+
"@polkadot/types-codec": "16.4.6",
42+
"@polkadot/api": "16.4.6",
43+
"@polkadot/types": "16.4.6",
44+
"react-is": "19.0.0",
45+
"@crypto-dex-sdk/chain": "0.1.2"
46+
},
4047
"scripts": {
4148
"compile": "turbo run compile",
4249
"format:check": "turbo run format:check",
@@ -58,8 +65,5 @@
5865
"version-packages": "changeset version",
5966
"publish-packages": "turbo run build && changeset publish"
6067
},
61-
"packageManager": "pnpm@10.6.5",
62-
"dependencies": {
63-
"polkadot-api": "^1.10.0"
64-
}
68+
"packageManager": "pnpm@10.6.5"
6569
}

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@langchain/core": "^0.3.40",
4949
"@langchain/ollama": "^0.2.2",
5050
"langchain": "^0.1.21",
51-
"@galacticcouncil/api-augment": "^0.3.0"
51+
"@galacticcouncil/api-augment": "^0.6.0"
5252
},
5353
"devDependencies": {
5454
"@babel/plugin-syntax-import-attributes": "^7.26.9",

packages/common/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
"test:watch": "vitest"
3939
},
4040
"dependencies": {
41-
"@noble/curves": "^1.6.0",
42-
"@noble/hashes": "^1.5.0",
43-
"@subsquid/ss58": "^2.0.2",
4441
"polkadot-api": "^1.9.13"
4542
},
4643
"devDependencies": {

packages/core/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
"@paraspell/sdk": "^10.10.7",
4242
"@polkadot-agent-kit/common": "workspace:*",
4343
"@subsquid/ss58": "^2.0.2",
44-
"polkadot-api": "^1.9.13",
45-
"rxjs": "^7.8.2",
44+
"polkadot-api": "^1.14.1",
4645
"@paraspell/xcm-router": "^10.10.3",
4746
"@paraspell/assets": "^10.10.3"
4847
},

packages/llm/package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,13 @@
4141
"@polkadot-agent-kit/common": "workspace:*",
4242
"@polkadot-agent-kit/core": "workspace:*",
4343
"@langchain/core": "^0.3.40",
44-
"@langchain/langgraph": "^0.2.33",
45-
"@noble/curves": "^1.6.0",
46-
"@polkadot-labs/hdkd": "^0.0.13",
47-
"@polkadot-labs/hdkd-helpers": "^0.0.13",
48-
"@subsquid/ss58": "^2.0.2",
49-
"polkadot-api": "^1.9.13",
44+
"polkadot-api": "^1.14.1",
5045
"zod": "^3.24.3"
5146
},
5247
"devDependencies": {
5348
"@babel/plugin-syntax-import-attributes": "^7.26.0",
5449
"@babel/preset-env": "^7.26.9",
5550
"@codecov/rollup-plugin": "^1.9.0",
56-
"@polkadot/types": "^15.8.1",
5751
"@rollup/plugin-babel": "^6.0.4",
5852
"@rollup/plugin-json": "^6.1.0",
5953
"@rollup/plugin-typescript": "^12.1.2",

packages/mcp/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
"@modelcontextprotocol/sdk": "^1.6.1",
3939
"@polkadot-agent-kit/llm": "workspace:*",
4040
"@polkadot-agent-kit/sdk": "workspace:*",
41-
"dotenv": "^16.5.0",
42-
"zod": "^3.22.4",
4341
"zod-to-json-schema": "^3.24.3"
4442
},
4543
"devDependencies": {

packages/sdk/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@
4141
},
4242
"dependencies": {
4343
"@langchain/core": "^0.3.40",
44-
"@noble/curves": "^1.6.0",
45-
"@paraspell/sdk": "^10.10.7",
4644
"@polkadot-agent-kit/common": "workspace:*",
4745
"@polkadot-agent-kit/core": "workspace:*",
4846
"@polkadot-agent-kit/llm": "workspace:*",
4947
"@polkadot-labs/hdkd": "^0.0.13",
5048
"@polkadot-labs/hdkd-helpers": "^0.0.13",
5149
"@subsquid/ss58": "^2.0.2",
52-
"polkadot-api": "^1.9.13",
50+
"polkadot-api": "^1.14.1",
5351
"zod": "^3.24.3"
5452
},
5553
"devDependencies": {

packages/sdk/tests/integration-tests/ollamaAgent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class OllamaAgent {
1818
const llm = new ChatOllama({
1919
model: this.model,
2020
temperature: 0,
21+
2122
});
2223

2324

0 commit comments

Comments
 (0)