Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Bump CosmJS for SDK 0.50.0 support #289

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading