@volue/wave-codemod__react 0.1.0-next.2 → 0.1.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -4
package/README.md
CHANGED
|
@@ -23,16 +23,16 @@ To run a transform for version `1.0.0` of `@volue/wave-react`, use one of the fo
|
|
|
23
23
|
|
|
24
24
|
```sh
|
|
25
25
|
# Transform multiple files
|
|
26
|
-
npx @hypermod/cli --packages @volue/wave-codemod__react@1.0.0
|
|
26
|
+
npx @hypermod/cli --packages @volue/wave-codemod__react@1.0.0 /project/src/**/*.tsx
|
|
27
27
|
|
|
28
28
|
# Transform single file
|
|
29
|
-
npx @hypermod/cli --packages @volue/wave-codemod__react@1.0.0
|
|
29
|
+
npx @hypermod/cli --packages @volue/wave-codemod__react@1.0.0 /project/src/path/to/file
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
To run all transforms for `@volue/wave-react` in sequence from version `1.0.0` to the latest, add `--sequence` flag:
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
npx @hypermod/cli --sequence --packages @volue/wave-codemod__react@1.0.0
|
|
35
|
+
npx @hypermod/cli --sequence --packages @volue/wave-codemod__react@1.0.0 /project/src/**/*.tsx
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
[See the Hypermod CLI docs for more information and examples](https://www.hypermod.io/docs/tools/cli)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volue/wave-codemod__react",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.3",
|
|
4
4
|
"description": "Codemods for Wave React library",
|
|
5
5
|
"license": "",
|
|
6
6
|
"repository": {
|
|
@@ -63,8 +63,5 @@
|
|
|
63
63
|
"@hypermod/utils": "0.5.0",
|
|
64
64
|
"@types/jscodeshift": "0.12.0",
|
|
65
65
|
"jscodeshift": "17.1.2"
|
|
66
|
-
},
|
|
67
|
-
"overrides": {
|
|
68
|
-
"jscodeshift": "17.1.2"
|
|
69
66
|
}
|
|
70
67
|
}
|