Skip to content

Commit

Permalink
Feature/evm dependencies (#150)
Browse files Browse the repository at this point in the history
* Moved peer dependencies to standard dependencies so that users don't have to install multiple packages

* Added changeset

* Adjusted github actions to not use peer dependencies

* Adjusted dependencies

* Removed redundand dev dependencies and redundant wagmi and viem in root package.json
  • Loading branch information
codebycarson authored Apr 9, 2024
1 parent e64e618 commit 7d9b382
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 315 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-birds-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sei-js/evm": patch
---

Moved peer dependencies to standard dependencies to avoid needing multiple packages installed
4 changes: 0 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
- uses: browser-actions/setup-chrome@v1
- run: chrome --version
- run: yarn

- name: Install Peer Dependencies
run: yarn add -W [email protected] wagmi

- run: yarn lint:all
- run: yarn build:all
- run: yarn test:all
3 changes: 0 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Install Peer Dependencies
run: yarn add -W [email protected] wagmi

- name: Build packages
run: yarn build:all

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploydocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Install Peer Dependencies
run: yarn add -W [email protected] wagmi @sei-js/proto

- name: Build all packages
run: yarn build:all

Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
"ts-node": "10.9.1",
"typedoc": "^0.25.12",
"typedoc-material-theme": "^1.0.2",
"typescript": "5.4.4",
"viem": "2.x",
"wagmi": "^2.5.17"
"typescript": "5.4.4"
}
}
7 changes: 1 addition & 6 deletions packages/cosmjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,10 @@
},
"peerDependencies": {},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@types/elliptic": "^6.4.18",
"@types/jest": "^29.5.5",
"@types/sha.js": "^2.4.4",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"ts-jest": "^29.1.1"
"prettier": "^3.0.3"
},
"exports": {
".": {
Expand Down
15 changes: 5 additions & 10 deletions packages/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,13 @@
"publishConfig": {
"access": "public"
},
"dependencies": {},
"peerDependencies": {
"dependencies": {
"ethers": "^6.0.0",
"viem": "2.x"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"ethers": "^6.11.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.1"
"viem": "^2.0.0",
"wagmi": "^2.5.19"
},
"peerDependencies": {},
"devDependencies": {},
"exports": {
".": {
"import": "./dist/esm/index.js",
Expand Down
7 changes: 1 addition & 6 deletions packages/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@types/jest": "^29.5.5",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.1"
},
"devDependencies": {},
"exports": {
".": {
"import": "./dist/esm/index.js",
Expand Down
Loading

0 comments on commit 7d9b382

Please sign in to comment.