Skip to content

Commit

Permalink
feat: Bump CosmJS for SDK 0.50.0 support (#289)
Browse files Browse the repository at this point in the history
* feat: Bump  CosmJS for SDK 0.50.0 support

* fix: version typo

* feat: Adjust dep locks
  • Loading branch information
clockworkgr authored Dec 5, 2023
1 parent ccc7d5d commit 8553c20
Show file tree
Hide file tree
Showing 9 changed files with 202 additions and 22,732 deletions.
451 changes: 168 additions & 283 deletions package-lock.json

Large diffs are not rendered by default.

12,008 changes: 0 additions & 12,008 deletions packages/react-template/package-lock.json

This file was deleted.

10 changes: 5 additions & 5 deletions packages/react-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"postinstall": "node postinstall.cjs",
"preinstall": "node preinstall.cjs",
"prepare": "node prepare.cjs"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
},
"dependencies": {
"@cosmjs/encoding": "^0.31.1",
"@cosmjs/stargate": "^0.31.1",
"@cosmjs/encoding": "^0.32.1",
"@cosmjs/stargate": "^0.32.1",
"@headlessui/react": "^1.7.3",
"@headlessui/tailwindcss": "^0.1.1",
"@ignt/react-library": "^0.5.1",
Expand All @@ -36,8 +36,8 @@
"react-router-dom": "^6.4.2"
},
"devDependencies": {
"@cosmjs/proto-signing": "^0.31.1",
"@keplr-wallet/types": "^0.11.14",
"@cosmjs/proto-signing": "^0.32.1",
"@keplr-wallet/types": "^0.12.44",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rushstack/eslint-patch": "^1.2.0",
"@types/crypto-js": "^4.1.1",
Expand Down
10 changes: 0 additions & 10 deletions packages/react-template/postinstall.cjs

This file was deleted.

12 changes: 12 additions & 0 deletions packages/react-template/preinstall.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* eslint-env node */
const pkgjson = require("./package.json");
var spawnSync = require("child_process").spawnSync;

for (let pkg in pkgjson.dependencies) {
if (pkgjson.dependencies[pkg].startsWith("file:")) {
let relPath = pkgjson.dependencies[pkg].substring(5);
console.log(`PRE-INSTALL Installing & building ${pkg} prior to webapp install`);
spawnSync("npm", ['install'], {cwd: relPath, stdio: "inherit" });
spawnSync("npm", ['run','build'], {cwd: relPath, stdio: "inherit" });
}
}
Loading

0 comments on commit 8553c20

Please sign in to comment.