Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
issues
  • Loading branch information
cgilbe27 committed Jan 5, 2024
1 parent b01852d commit fd6747a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 330 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-ts-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ jobs:

- name: "Run examples"
run: |
yarn run tsx examples/examples.test.ts
cd examples
yarn run:examples
cd ..
# tsx is a TS script executor similar to ts-node, except it runs more
# consistently and has a more lightweight implementation.
Expand Down
8 changes: 5 additions & 3 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"engines": {
"node": ">=18"
},
"scripts": {
"run:examples": "tsx ./examples.test.ts"
},
"dependencies": {
"@cosmjs/amino": "^0.32.1",
"@cosmjs/proto-signing": "^0.32.1",
"@nibiruchain/nibijs": "0.21.43"
"@cosmjs/amino": "^0.31.0",
"@cosmjs/proto-signing": "^0.31.0"
},
"devDependencies": {
"es-main": "^1.3.0",
Expand Down
13 changes: 13 additions & 0 deletions examples/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "ES6",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"rootDir": "./",
"outDir": "./dist",
"baseUrl": "./"
},
"include": ["./examples.test.ts"],
"exclude": ["node_modules", "dist"]
}
Loading

0 comments on commit fd6747a

Please sign in to comment.