File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 7
7
* @author SharkSV <https://github.com/iTzSharkSV>
8
8
*/
9
9
10
- require ( '../Cli/Lib ' ) ;
10
+ require ( '../Cli' ) ;
Original file line number Diff line number Diff line change @@ -4,21 +4,22 @@ import Inquire from './Inquire';
4
4
import Info from './Modules/Info' ;
5
5
import Print from './Modules/Print' ;
6
6
import listTemplates from './Tasks/List' ;
7
- import * as pkg from '../package.json' ;
8
7
import * as updateNotifier from 'update-notifier' ;
9
8
10
9
( async ( ) : Promise < void > => {
11
- const { version } = pkg ;
12
- const ver = version . substring ( 0 , version . length - 2 ) ;
13
-
14
10
Info ( {
15
11
title : 'Hyper' ,
16
12
tagLine : 'by @Shorky' ,
17
13
description : 'A Cli to bootstrap new projects' ,
18
- version : ver ,
14
+ version : 2.4 ,
19
15
clear : true
20
16
} ) ;
21
17
18
+ const pkg = {
19
+ name : '@sharksv/hyper' ,
20
+ version : '2.4.1'
21
+ } ;
22
+
22
23
updateNotifier ( {
23
24
pkg,
24
25
updateCheckInterval : 0
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @sharksv/hyper" ,
3
- "version" : " 2.4.0 " ,
3
+ "version" : " 2.4.1 " ,
4
4
"description" : " A CLI to bootstrap new projects!" ,
5
5
"keywords" : [
6
6
" Cli" ,
Original file line number Diff line number Diff line change 2
2
"compilerOptions" : {
3
3
"target" : " es6" ,
4
4
"outDir" : " Cli" ,
5
- "rootDir" : " . " ,
5
+ "rootDir" : " Lib " ,
6
6
"module" : " CommonJS" ,
7
7
"moduleResolution" : " node" ,
8
8
"resolveJsonModule" : true ,
You can’t perform that action at this time.
0 commit comments