{"id":20610904,"url":"https://github.com/darkroomengineering/codemods","last_synced_at":"2026-04-17T23:07:18.921Z","repository":{"id":235856893,"uuid":"791398741","full_name":"darkroomengineering/codemods","owner":"darkroomengineering","description":"codemods for when we mess it and rename","archived":false,"fork":false,"pushed_at":"2024-06-13T14:30:07.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-31T14:19:03.197Z","etag":null,"topics":["codemod","codemods"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/darkroomengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["darkroomengineering"],"polar":"darkroomengineering"}},"created_at":"2024-04-24T16:42:43.000Z","updated_at":"2024-06-26T11:24:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"3100036c-0e3d-45f9-bfe9-fcdd5ea13344","html_url":"https://github.com/darkroomengineering/codemods","commit_stats":null,"previous_names":["darkroomengineering/codemods"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darkroomengineering/codemods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fcodemods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fcodemods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fcodemods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fcodemods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkroomengineering","download_url":"https://codeload.github.com/darkroomengineering/codemods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fcodemods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31949438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","codemods"],"created_at":"2024-11-16T10:18:19.259Z","updated_at":"2026-04-17T23:07:18.888Z","avatar_url":"https://github.com/darkroomengineering.png","language":"JavaScript","funding_links":["https://github.com/sponsors/darkroomengineering","https://polar.sh/darkroomengineering"],"categories":[],"sub_categories":[],"readme":"# @darkroom.engineering/codemods\n\nThis package provides a codemod script to assist with renaming and updating dependencies in JavaScript projects. It is designed to help migrate from @studio-freight packages to @darkroom.engineering packages.And from @studio-freight/lenis to lenis. Keep in mind that this codemod is not a silver bullet and may require manual intervention in some cases.\nLast, this codemod will update the modified dependencies to the latest available versions. If you want to pin the dependencies to a specific version, you will need to do so manually after running the codemod.\n\n## Usage\n\nTo run the codemod, use the following command in your project's root directory:\n\n```bash\nnpx @darkroom.engineering/codemods\n```\n\n## The codemod will:\n\n- Detect the package manager (npm, Yarn, or pnpm).\n\n- Update the dependencies in package.json:\n\n- Replace @studio-freight/lenis and @studio-freight/react-lenis with lenis.\n\n- Update other @studio-freight/ dependencies to @darkroom.engineering/.\n\n- Remove @studio-freight packages from the lockfile.\n  \n- Install the updated dependencies.\n\n- Process JavaScript files, renaming package imports according to the updated dependencies.i.e.:\n\n`@studio-freight/lenis -\u003e lenis`\n\n`@studio-freight/react-lenis -\u003e lenis/react`\n\n`@studio-freight/... -\u003e @darkroom.engineering/...`\n\n## The codemod won't:\n\n-  Make you breakfast\n\nBefore running the codemod, it is recommended to backup your project files and ensure your project is under version control.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Fcodemods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkroomengineering%2Fcodemods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Fcodemods/lists"}