File tree 5 files changed +6
-5
lines changed
5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 8
8
],
9
9
"description" : " Minimalistic doc generator with Vue component based layout system" ,
10
10
"scripts" : {
11
- "bootstrap" : " lerna bootstrap" ,
11
+ "bootstrap" : " lerna bootstrap && yarn tsc " ,
12
12
"boot" : " node scripts/bootstrap.js" ,
13
13
"dev" : " yarn tsc && yarn workspace docs dev" ,
14
14
"build" : " yarn tsc && yarn workspace docs build" ,
Original file line number Diff line number Diff line change 54
54
"optimize-css-assets-webpack-plugin" : " ^4.0.0" ,
55
55
"portfinder" : " ^1.0.13" ,
56
56
"postcss-loader" : " ^2.1.5" ,
57
- "semver" : " ^5.5.0" ,
58
57
"toml" : " ^2.3.3" ,
59
58
"url-loader" : " ^1.0.1" ,
60
59
"vue" : " ^2.5.16" ,
Original file line number Diff line number Diff line change 33
33
"globby" : " ^8.0.1" ,
34
34
"gray-matter" : " ^4.0.1" ,
35
35
"hash-sum" : " ^1.0.2" ,
36
- "upath" : " ^1.1.0"
36
+ "upath" : " ^1.1.0" ,
37
+ "semver" : " ^5.5.0"
37
38
},
38
39
"author" :
" ULIVZ <[email protected] >" ,
39
40
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import path from 'path'
31
31
import globby from 'globby'
32
32
import hash from 'hash-sum'
33
33
import escapeHtml from 'escape-html'
34
+ import semver from 'semver'
34
35
35
36
export {
36
37
codegen ,
@@ -65,4 +66,5 @@ export {
65
66
globby ,
66
67
hash ,
67
68
escapeHtml ,
69
+ semver ,
68
70
}
Original file line number Diff line number Diff line change 4
4
* Module dependencies.
5
5
*/
6
6
7
- const { chalk } = require ( '@vuepress/shared-utils' )
8
- const semver = require ( 'semver' )
7
+ const { chalk, semver } = require ( '@vuepress/shared-utils' )
9
8
10
9
/**
11
10
* Expose handleUnknownCommand function.
You can’t perform that action at this time.
0 commit comments