{"id":13533926,"url":"https://github.com/woovibr/codemods","last_synced_at":"2026-01-16T05:39:33.263Z","repository":{"id":36984749,"uuid":"99704948","full_name":"woovibr/codemods","owner":"woovibr","description":"Node.js/Javascript codemods used at @entria","archived":false,"fork":false,"pushed_at":"2025-05-11T13:54:53.000Z","size":1305,"stargazers_count":44,"open_issues_count":0,"forks_count":3,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-11-01T04:05:11.044Z","etag":null,"topics":["codemod"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woovibr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-08T14:58:01.000Z","updated_at":"2025-10-08T17:36:18.000Z","dependencies_parsed_at":"2023-11-29T13:41:12.703Z","dependency_job_id":null,"html_url":"https://github.com/woovibr/codemods","commit_stats":null,"previous_names":["woovibr/codemods"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woovibr/codemods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woovibr%2Fcodemods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woovibr%2Fcodemods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woovibr%2Fcodemods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woovibr%2Fcodemods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woovibr","download_url":"https://codeload.github.com/woovibr/codemods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woovibr%2Fcodemods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codemod"],"created_at":"2024-08-01T07:01:24.378Z","updated_at":"2026-01-16T05:39:33.257Z","avatar_url":"https://github.com/woovibr.png","language":"TypeScript","readme":"## @woovibr/codemods\n\nCollection of codemods for Node.js / Javascript used here at Woovi\n\n### How to run\n\n```bash\nnpm i -g jscodeshift\ngit clone https://github.com/entria/js-codemods.git \u0026\u0026 cd js-codemods\njscodeshift -t transforms/\u003ccodemod-script\u003e \u003cfile-to-transform\u003e\n```\n\nUse the `-d` option for a dry-run and use `-p` to print the output for\ncomparison.\n\n### Included Transforms\n\n#### GraphQL Server based on entria boilerplate\n\n##### import-loaders-from-index\n\nChanges from\n\n```js\nimport MyLoaderA from './loader/MyLoaderA';\nimport MyLoaderB from './loader/MyLoaderB';\n```\n\nto\n\n```js\nimport { MyLoaderA, MyLoaderB } from './loader';\n```\n\n```bash\njscodeshift -t transforms/graphql-server/import-loaders-from-index.js \u003cfile\u003e\n```\n\n#### move-static-loader-methods-to-direct-export\n\nConvert from old boilerplate format (where the loader functions were static methods of the Loader class) to the new format (where each loader function is exported individually).\n\n```bash\njscodeshift -t transforms/graphql-server/move-static-loader-methods-to-direct-export.js \u003cfile\u003e\n```\n","funding_links":[],"categories":["Misc","TypeScript"],"sub_categories":["ant-design"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoovibr%2Fcodemods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoovibr%2Fcodemods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoovibr%2Fcodemods/lists"}