File tree Expand file tree Collapse file tree 7 files changed +16
-12
lines changed Expand file tree Collapse file tree 7 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 14
14
"postinstall" : " yarn symlink"
15
15
},
16
16
"devDependencies" : {
17
- "@types/jest-in-case" : " ^1.0.2" ,
18
17
"@types/jest" : " ^29.5.11" ,
18
+ "@types/jest-in-case" : " ^1.0.2" ,
19
19
"@types/mkdirp" : " 1.0.2" ,
20
20
"@types/node" : " ^20.12.7" ,
21
21
"@typescript-eslint/eslint-plugin" : " ^7.10.0" ,
22
22
"@typescript-eslint/parser" : " ^7.10.0" ,
23
23
"copyfiles" : " ^2.4.1" ,
24
+ "eslint" : " ^8.56.0" ,
24
25
"eslint-config-prettier" : " ^9.1.0" ,
25
26
"eslint-plugin-simple-import-sort" : " ^12.1.0" ,
26
27
"eslint-plugin-unused-imports" : " ^4.0.0" ,
27
- "eslint" : " ^8.56.0" ,
28
28
"glob" : " 8.0.3" ,
29
- "jest-in-case" : " ^1.0.2" ,
30
29
"jest" : " ^29.6.2" ,
30
+ "jest-in-case" : " ^1.0.2" ,
31
31
"lerna" : " ^6" ,
32
32
"mkdirp" : " 1.0.2" ,
33
33
"prettier" : " ^3.0.2" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import dargs from 'dargs';
3
3
import * as shell from 'shelljs' ;
4
4
5
5
import { prompt } from '../utils/prompt' ;
6
+
6
7
const glob = require ( 'glob' ) . sync ;
7
8
const fs = require ( 'fs' ) ;
8
9
const path = require ( 'path' ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { readFileSync } from 'fs';
3
3
4
4
import { cli } from './cli' ;
5
5
import { prompt } from './utils/prompt' ;
6
+
6
7
const argv = require ( 'minimist' ) ( process . argv . slice ( 2 ) ) ;
7
8
8
9
const question = [
Original file line number Diff line number Diff line change 4
4
RenderContext ,
5
5
RenderContextBase ,
6
6
RenderOptions ,
7
- UtilMapping } from '@cosmwasm/ts-codegen-ast' ;
7
+ UtilMapping
8
+ } from '@cosmwasm/ts-codegen-ast' ;
8
9
import { pascal } from 'case' ;
9
10
10
11
import { BuilderFileType } from '../builder' ;
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
import { cli } from './cli' ;
3
+
3
4
let argv = require ( 'minimist' ) ( process . argv . slice ( 2 ) ) ;
4
5
5
6
( async ( ) => {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { filter } from 'fuzzy';
3
3
import { prompt as inquirerer } from 'inquirerer' ;
4
4
5
5
export const getFuzzySearch = ( list ) => {
6
- return ( answers , input ) => {
6
+ return ( _answers , input ) => {
7
7
input = input || '' ;
8
8
return new Promise ( function ( resolve ) {
9
9
setTimeout ( function ( ) {
@@ -19,16 +19,16 @@ export const getFuzzySearch = (list) => {
19
19
} ;
20
20
21
21
export const getFuzzySearchNames = ( nameValueItemList ) => {
22
- const list = nameValueItemList . map ( ( { name, value } ) => name ) ;
23
- return ( answers , input ) => {
22
+ const list = nameValueItemList . map ( ( { name, value : _value } ) => name ) ;
23
+ return ( _answers , input ) => {
24
24
input = input || '' ;
25
25
return new Promise ( function ( resolve ) {
26
26
setTimeout ( function ( ) {
27
27
const fuzzyResult = filter ( input , list ) ;
28
28
resolve (
29
29
fuzzyResult . map ( function ( el ) {
30
30
return nameValueItemList . find (
31
- ( { name, value } ) => el . original == name
31
+ ( { name, value : _value } ) => el . original == name
32
32
) ;
33
33
} )
34
34
) ;
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { sync as glob } from 'glob';
7
7
import { cleanse } from './cleanse' ;
8
8
import { parser } from './parse' ;
9
9
interface ReadSchemaOpts {
10
- schemaDir : string ;
11
- clean ?: boolean ;
10
+ schemaDir : string ;
11
+ clean ?: boolean ;
12
12
} ;
13
13
14
14
export const readSchemas = async ( {
@@ -39,8 +39,8 @@ export const readSchemas = async ({
39
39
40
40
const idlObject : Partial < IDLObject > = schemas [ 0 ] as Partial < IDLObject > ;
41
41
const {
42
- contract_name,
43
- contract_version,
42
+ // contract_name,
43
+ // contract_version,
44
44
idl_version,
45
45
responses,
46
46
instantiate,
You can’t perform that action at this time.
0 commit comments