File tree Expand file tree Collapse file tree 8 files changed +7
-7
lines changed
createSliceReducerBuilder Expand file tree Collapse file tree 8 files changed +7
-7
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
1818## Local Usage
1919
2020```
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
2222```
2323
2424## Transforms
File renamed without changes.
Original file line number Diff line number Diff line change 77 "test:watch" : " vitest --watch" ,
88 "test:coverage" : " vitest --coverage"
99 },
10- "bin" : " ./bin/cli.js " ,
10+ "bin" : " ./bin/cli.mjs " ,
1111 "files" : [
1212 " bin/*" ,
1313 " 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
1818## Local Usage
1919
2020```
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
2222```
2323
2424## 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
1818## Local Usage
1919
2020```
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
2222```
2323
2424## Input / Output
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ yarn global add @reduxjs/rtk-codemods
2020## Local Usage
2121
2222```
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
2424```
2525
2626## Input / Output
Original file line number Diff line number Diff line change 2424 "@reduxjs/toolkit/query/react" : [" ../toolkit/src/query/react/index.ts" ] // @remap-prod-remove-line
2525 }
2626 },
27- "include" : [" **/*.ts" , " **/*.tsx" , " bin/cli.js " ]
27+ "include" : [" **/*.ts" , " **/*.tsx" , " bin/cli.mjs " ]
2828}
Original file line number Diff line number Diff line change @@ -7438,7 +7438,7 @@ __metadata:
74387438 typescript: ^5.3.3
74397439 vitest: ^1.2.1
74407440 bin:
7441- rtk-codemods: ./bin/cli.js
7441+ rtk-codemods: ./bin/cli.mjs
74427442 languageName: unknown
74437443 linkType: soft
74447444
You can’t perform that action at this time.
0 commit comments