@volue/wave-codemod__react 0.2.0 → 0.2.1-next.0

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.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -19,14 +19,20 @@ Downloading and running codemods can be done via `npx @hypermod/cli`.
19
19
 
20
20
  ### Examples
21
21
 
22
+ Running the following command will print a list of all version transforms to choose form:
23
+
24
+ ```sh
25
+ npx @hypermod/cli --experimental-loader --packages @volue/wave-codemod__react /project/src/**/*.tsx
26
+ ```
27
+
22
28
  To run a transform for version `1.0.0` of `@volue/wave-react`, use one of the following commands:
23
29
 
24
30
  ```sh
25
31
  # Transform multiple files
26
- npx @hypermod/cli --packages @volue/wave-codemod__react@1.0.0 /project/src/**/*.tsx
32
+ npx @hypermod/cli --experimental-loader --packages @volue/wave-codemod__react@1.0.0 /project/src/**/*.tsx
27
33
 
28
34
  # Transform single file
29
- npx @hypermod/cli --packages @volue/wave-codemod__react@1.0.0 /project/src/path/to/file
35
+ npx @hypermod/cli --experimental-loader --packages @volue/wave-codemod__react@1.0.0 /project/src/path/to/file
30
36
  ```
31
37
 
32
38
  To run all transforms for `@volue/wave-react` in sequence from version `1.0.0` to the latest, add `--sequence` flag:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volue/wave-codemod__react",
3
- "version": "0.2.0",
3
+ "version": "0.2.1-next.0",
4
4
  "description": "Codemods for Wave React library",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -55,7 +55,7 @@
55
55
  "npm-run-all2": "7.0.2",
56
56
  "pkgroll": "2.12.2",
57
57
  "premove": "4.0.0",
58
- "prettier": "3.5.3",
58
+ "prettier": "3.6.0",
59
59
  "ts-jest": "29.3.4",
60
60
  "typescript": "5.8.3"
61
61
  },