File tree 3 files changed +14
-4
lines changed
packages/create-interchain-app
3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 62
62
"typescript" : " ^5.1.6"
63
63
},
64
64
"dependencies" : {
65
+ "@cosmology/telescope" : " ^1.12.4" ,
65
66
"ansi-colors" : " 4.1.3" ,
66
67
"dargs" : " 7.0.0" ,
67
68
"fuzzy" : " 0.1.3" ,
Original file line number Diff line number Diff line change 1
1
import { CIA_URL } from "./constants" ;
2
2
import { createGitApp } from "./git-cia-template" ;
3
+ import protodCommand from '@cosmology/telescope/main/commands/download'
3
4
export const cli = async ( argv , version ) => {
4
- const repo = argv . repo ?? CIA_URL ;
5
- const createCosmosApp = createGitApp ( repo , version ) ;
6
- await createCosmosApp ( argv ) ;
5
+ switch ( argv . _ [ 0 ] ) {
6
+ case 'protod' :
7
+ await protodCommand ( argv ) ;
8
+ break ;
9
+ default : {
10
+ const repo = argv . repo ?? CIA_URL ;
11
+ const createCosmosApp = createGitApp ( repo , version ) ;
12
+ await createCosmosApp ( argv ) ;
13
+ break ;
14
+ }
15
+ }
7
16
} ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"baseUrl" : " ." ,
4
- "rootDir" : " src " ,
4
+ "rootDir" : " . " ,
5
5
"skipLibCheck" : true ,
6
6
"emitDeclarationOnly" : false ,
7
7
"declaration" : true ,
You can’t perform that action at this time.
0 commit comments