File tree Expand file tree Collapse file tree 6 files changed +348
-392
lines changed Expand file tree Collapse file tree 6 files changed +348
-392
lines changed Original file line number Diff line number Diff line change 1
- # vue-macros- cli
1
+ # @ vue-macros/ cli
2
2
3
- vue-macros- cli is a cli for rewriting at vue macros powered by [ ast-grep] ( https://github.com/ast-grep/ast-grep ) .
3
+ @ vue-macros/ cli is a cli for rewriting at vue macros powered by [ ast-grep] ( https://github.com/ast-grep/ast-grep ) .
4
4
5
5
## Support vue macros
6
6
@@ -11,14 +11,17 @@ vue-macros-cli is a cli for rewriting at vue macros powered by [ast-grep](https:
11
11
- [x] short-v-model
12
12
- [x] setup-sfc
13
13
14
+
14
15
## Usage
15
16
16
17
``` shell
17
18
# install
18
- pnpm add -g vue-macros-cli
19
+ pnpm add -g @vue-macros/cli
20
+ ```
19
21
20
- # run
21
- vue-macros-cli sg ./src
22
+ ### sg
23
+ ``` shell
24
+ @vue-macros/cli sg
22
25
```
23
26
24
27
## License
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " vue-macros- cli" ,
2
+ "name" : " @ vue-macros/ cli" ,
3
3
"type" : " module" ,
4
4
"version" : " 0.0.6" ,
5
5
"description" : " Rewriting at vue macros powered by ast-grep." ,
6
6
"author" : " zhiyuanzmj <zhiyuanzmj@gmail.com>" ,
7
7
"license" : " MIT" ,
8
- "homepage" : " https://github.com/zhiyuanzmj/vue-macros- cli/tree/main#readme" ,
8
+ "homepage" : " https://github.com/zhiyuanzmj/@ vue-macros/ cli/tree/main#readme" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/zhiyuanzmj/vue-macros- cli"
11
+ "url" : " https://github.com/zhiyuanzmj/@ vue-macros/ cli"
12
12
},
13
13
"bugs" : {
14
- "url" : " https://github.com/zhiyuanzmj/vue-macros- cli/issues"
14
+ "url" : " https://github.com/zhiyuanzmj/@ vue-macros/ cli/issues"
15
15
},
16
16
"keywords" : [
17
17
" vue-macros" ,
39
39
"prepublishOnly" : " pnpm run build"
40
40
},
41
41
"dependencies" : {
42
- "@ast-grep/cli" : " ^0.13.2 " ,
42
+ "@ast-grep/cli" : " ^0.14.1 " ,
43
43
"@inquirer/prompts" : " ^3.3.0" ,
44
44
"zx" : " ^7.2.3"
45
45
},
46
46
"devDependencies" : {
47
- "@antfu/eslint-config" : " ^2.1.1 " ,
47
+ "@antfu/eslint-config" : " ^2.1.2 " ,
48
48
"bumpp" : " ^9.2.0" ,
49
49
"typescript" : " ^5.3.2" ,
50
50
"unbuild" : " ^2.0.0" ,
Original file line number Diff line number Diff line change 14
14
"devDependencies" : {
15
15
"@vue-macros/volar" : " ^0.17.4" ,
16
16
"tsx" : " ^4.6.1" ,
17
- "vite" : " ^5.0.2 "
17
+ "vite" : " ^5.0.4 "
18
18
}
19
19
}
You can’t perform that action at this time.
0 commit comments