File tree 3 files changed +20
-8
lines changed
3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,24 @@ pnpm create hexo [path]
27
27
# pnpm dlx create-hexo [path]
28
28
```
29
29
30
- > [ pnpm.io ] ( https://pnpm.io/ )
30
+ > - [ pnpm create ] ( https://pnpm.io/cli/create )
31
31
32
32
### npm
33
33
34
34
``` bash
35
35
npm init hexo [path]
36
36
37
+ # npm create hexo [path]
37
38
# npm exec create-hexo [path]
38
39
# npx create-hexo [path]
39
40
```
40
41
41
- > [ npm init] ( https://docs.npmjs.com/cli/commands/npm-init )
42
+ > - [ npm init] ( https://docs.npmjs.com/cli/commands/npm-init )
42
43
43
- ### Yarn
44
+ ### Yarn 1 (Classic)
44
45
45
46
``` bash
46
47
yarn create hexo [path]
47
48
```
49
+
50
+ > - [ yarn create] ( https://classic.yarnpkg.com/docs/cli/create )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " create-hexo" ,
3
3
"version" : " 0.4.0" ,
4
- "description" : " Hexo site initializer" ,
4
+ "description" : " Hexo site initializer. (`npm create hexo`) " ,
5
5
"keywords" : [
6
6
" hexo" ,
7
- " initializer"
7
+ " initializer" ,
8
+ " npm" ,
9
+ " pnpm" ,
10
+ " yarn" ,
11
+ " script" ,
12
+ " cli" ,
13
+ " create" ,
14
+ " init" ,
15
+ " typescript"
8
16
],
9
17
"homepage" : " https://github.com/hexojs/create-hexo" ,
10
18
"bugs" : {
65
73
"typescript" : " ^5.7.3"
66
74
},
67
75
"engines" : {
68
- "node" : " >=20"
76
+ "node-lts " : " >=20"
69
77
}
70
78
}
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
- echo -n $( cat .git/modules/hexo-starter/refs/heads/master) > hash
3
+ echo -n " $( cat .git/modules/hexo-starter/refs/heads/master) " > ./hash
4
+ echo " starter version: $( cat ./hash) "
You can’t perform that action at this time.
0 commit comments