You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`transformation` - name of transformation, see available transformations below. Or you can provide a path to a custom transformation module.
14
-
-`path` - files or directory to transform
15
-
- use the `--dry` options for a dry-run
13
+
-`transformation` (required) - name of transformation, see available transformations below; or you can provide a path to a custom transformation module.
14
+
-`path` (required) - files or directory to transform.
15
+
-`--params` (optional) - additional transformation specific args .
16
+
- use the `--dry` options for a dry-run.
16
17
17
-
## TODOs
18
+
## Programmatic API
19
+
20
+
TODO
21
+
22
+
## Roadmap
18
23
19
24
(Sort by priority)
20
25
21
-
-[ ] Basic testing setup and an MVP
26
+
-[ ] Basic testing setup and a dummy CLI
27
+
-[ ] Support applying `jscodeshift` codemods to `.vue` files
28
+
-[ ] Provide a programmatic interface for usage in `vue-cli-plugin-vue-next`
22
29
-[ ] Define an interface for transformation of template blocks
23
-
-[ ] Automatically apply transformations to `.vue` file without explicitly depending on `vue-jscodeshift-adapter` (should open source this repo after finishing this one)
24
30
-[ ] A playground for writing transformations
25
31
-[ ] Implement more transformations for [active RFCs](https://github.com/vuejs/rfcs/tree/master/active-rfcs)
26
-
-[ ] Support `.ts` and `<script lang="ts">`
27
32
28
33
## Included Transformations
29
34
30
-
### rfc-0009
31
-
32
-
Alias of [`new-vue-to-create-app`](#new-vue-to-create-app)
33
-
34
-
### rfc-0013
35
-
36
-
**WIP**
37
-
Runs [`object-to-composition-api`](#object-to-composition-api) and [`remove-composition-api-plugin`](#remove-composition-api-plugin)
38
-
39
-
### new-vue-to-create-app
40
-
41
-
Implements [RFC-0009 Global API Change](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0009-global-api-change.md).
42
-
Converts `new Vue(...).$mount('#app')` calls to `createApp(...).mount(App, '#app')`.
0 commit comments