File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
json-imports-to-default-imports
migrate-library-target-to-library-object Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11version : " 1"
22nodes :
3- - id : webpack-json-imports
4- name : Transform webpack JSON named imports to default imports
3+ - id : apply-transforms
4+ name : Apply AST Transformations
55 type : automatic
66 steps :
77 - name : Transform JSON named imports to default imports
88 js-ast-grep :
9- js_file : codemod/main-codemod .ts
9+ js_file : src/workflow .ts
1010 base_path : .
1111 include :
1212 - " **/*.tsx"
Original file line number Diff line number Diff line change 99 "repository" : {
1010 "type" : " git" ,
1111 "url" : " git+https://github.com/akash-kumar-dev/webpack-codemods.git" ,
12- "directory" : " recipes/set- target-to-false-and-update-plugins " ,
12+ "directory" : " recipes/migrate-library- target-to-library-object " ,
1313 "bugs" : " https://github.com/akash-kumar-dev/webpack-codemods/issues"
1414 },
1515 "author" : " akash-kumar-dev" ,
You can’t perform that action at this time.
0 commit comments