File tree Expand file tree Collapse file tree 7 files changed +6
-6
lines changed
createSliceReducerBuilder Expand file tree Collapse file tree 7 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rtk-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
18
18
## Local Usage
19
19
20
20
```
21
- node ./bin/cli.js <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
21
+ node ./bin/cli.mjs <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
22
22
```
23
23
24
24
## Transforms
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
"test:watch" : " vitest --watch" ,
8
8
"test:coverage" : " vitest --coverage"
9
9
},
10
- "bin" : " ./bin/cli.js " ,
10
+ "bin" : " ./bin/cli.mjs " ,
11
11
"files" : [
12
12
" bin/*" ,
13
13
" transforms/**/index.ts" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rtk-codemods createReducerBuilder path/of/files/ or/some**/*glob.js
18
18
## Local Usage
19
19
20
20
```
21
- node ./bin/cli.js createReducerBuilder path/of/files/ or/some**/*glob.js
21
+ node ./bin/cli.mjs createReducerBuilder path/of/files/ or/some**/*glob.js
22
22
```
23
23
24
24
## Input / Output
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rtk-codemods createSliceBuilder path/of/files/ or/some**/*glob.js
18
18
## Local Usage
19
19
20
20
```
21
- node ./bin/cli.js createSliceBuilder path/of/files/ or/some**/*glob.js
21
+ node ./bin/cli.mjs createSliceBuilder path/of/files/ or/some**/*glob.js
22
22
```
23
23
24
24
## Input / Output
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ yarn global add @reduxjs/rtk-codemods
20
20
## Local Usage
21
21
22
22
```
23
- node ./bin/cli.js createSliceReducerBuilder path/of/files/ or/some**/*glob.js
23
+ node ./bin/cli.mjs createSliceReducerBuilder path/of/files/ or/some**/*glob.js
24
24
```
25
25
26
26
## Input / Output
Original file line number Diff line number Diff line change 24
24
"@reduxjs/toolkit/query/react" : [" ../toolkit/src/query/react/index.ts" ] // @remap-prod-remove-line
25
25
}
26
26
},
27
- "include" : [" **/*.ts" , " **/*.tsx" , " bin/cli.js " ]
27
+ "include" : [" **/*.ts" , " **/*.tsx" , " bin/cli.mjs " ]
28
28
}
You can’t perform that action at this time.
0 commit comments