-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into docs/ignite-chain
- Loading branch information
Showing
15 changed files
with
214 additions
and
34 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/// <reference path="./types.d.ts" /> | ||
import { | ||
GeneratedType, | ||
OfflineSigner, | ||
|
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
15 changes: 15 additions & 0 deletions
15
ignite/pkg/cosmosgen/templates/vue-root/local-check.js.tpl
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,15 @@ | ||
/* eslint-env node */ | ||
const pkgjson = require("./package.json"); | ||
|
||
for (let pkg in pkgjson.dependencies) { | ||
if (pkgjson.dependencies[pkg].startsWith("file:")) { | ||
console.error( | ||
"\x1b[31m%s\x1b[0m", | ||
`Package '${pkg}' located at '${pkgjson.dependencies[pkg].replace( | ||
"file:", | ||
"" | ||
)}' needs to be published and your package.json file updated before publishing.` | ||
); | ||
process.exit(1) | ||
} | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "{{ .PackageNS }}-vue", | ||
"name": "{{ .PackageNS }}-vuex", | ||
"version": "0.0.1", | ||
"description": "Autogenerated Vue Utils", | ||
"description": "Autogenerated Vuex Stores", | ||
"author": "Ignite Codegen <[email protected]>", | ||
"license": "Apache-2.0", | ||
"licenses": [ | ||
|
@@ -10,14 +10,21 @@ | |
"url": "http://www.apache.org/licenses/LICENSE-2.0" | ||
} | ||
], | ||
"main": "index.ts", | ||
"scripts": { | ||
"build": "tsc", | ||
"postinstall": "node postinstall.js", | ||
"prepublishOnly": "node local-check.js && tsc" | ||
}, | ||
"main": "./lib/index.js", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"dependencies": { | ||
"{{ .PackageNS }}-client": "0.0.1", | ||
"buffer": "^6.0.3" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.8.4" | ||
}, | ||
"peerDependencies": { | ||
"@cosmjs/proto-signing": "0.27.0", | ||
"@cosmjs/stargate": "0.27.0", | ||
|
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,9 @@ | ||
/* eslint-env node */ | ||
const pkgjson = require("./package.json"); | ||
var exec = require("child_process").exec; | ||
|
||
for (let pkg in pkgjson.dependencies) { | ||
if (pkgjson.dependencies[pkg].startsWith("file:")) { | ||
exec(`cd ./node_modules/${pkg} && npm install`); | ||
} | ||
} |
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,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2020", | ||
"module": "es2020", /* Specify the root folder within your source files. */ | ||
"moduleResolution": "node", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ | ||
"outDir": "./lib", | ||
"esModuleInterop": true, | ||
"strict": false, | ||
"skipLibCheck": true /* Skip type checking all .d.ts files. */ | ||
} | ||
} |
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
Oops, something went wrong.