-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Bump CosmJS for SDK 0.50.0 support
- Loading branch information
1 parent
ccc7d5d
commit 17ebfc2
Showing
6 changed files
with
34 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" }); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" }); | ||
} | ||
} |