{"id":21220797,"url":"https://github.com/aspeddro/rescript-camelcase-to-snake_case","last_synced_at":"2026-07-14T07:32:00.514Z","repository":{"id":230581117,"uuid":"779713136","full_name":"aspeddro/rescript-camelCase-to-snake_case","owner":"aspeddro","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-30T15:17:21.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-01T10:39:30.309Z","etag":null,"topics":[],"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/aspeddro.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,"dei":null}},"created_at":"2024-03-30T15:14:26.000Z","updated_at":"2024-03-30T15:14:41.000Z","dependencies_parsed_at":"2024-03-30T16:29:00.275Z","dependency_job_id":"9563c12f-a2d8-4688-9baa-1e2af55801db","html_url":"https://github.com/aspeddro/rescript-camelCase-to-snake_case","commit_stats":null,"previous_names":["aspeddro/rescript-camelcase-to-snake_case"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aspeddro/rescript-camelCase-to-snake_case","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspeddro%2Frescript-camelCase-to-snake_case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspeddro%2Frescript-camelCase-to-snake_case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspeddro%2Frescript-camelCase-to-snake_case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspeddro%2Frescript-camelCase-to-snake_case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aspeddro","download_url":"https://codeload.github.com/aspeddro/rescript-camelCase-to-snake_case/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspeddro%2Frescript-camelCase-to-snake_case/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35451878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-20T22:14:07.282Z","updated_at":"2026-07-14T07:32:00.493Z","avatar_url":"https://github.com/aspeddro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReScript: camelCase to snake_case\n\n1. First, create a branch on rescript-compiler folder\n\n2. Install deps:\n\n```sh\nnpm i\n```\n\n3. Run script\n```sh\nnode main.js /path/to/rescript-compiler\n```\n\n4. Run `dune build -w` on rescript-compiler folder. Dune will report two erros on file `jscomp/frontend/ppx_entry.ml`\n\n```\nFile \"jscomp/frontend/ppx_entry.ml\", line 34, characters 10-24:\n34 |       let open Js_config in\n               ^^^^^^^^^^^^^^\nWarning 44 [open-shadow-identifier]: this open statement shadows the value identifier jsx_version (which is later used)\nFile \"jscomp/frontend/ppx_entry.ml\", line 35, characters 43-54:\n35 |       let jsx_version = int_of_jsx_version jsx_version in\n                                                ^^^^^^^^^^^\nError: This expression has type jsx_version option ref\n       but an expression was expected of type jsx_version\nHad 2 errors, waiting for filesystem changes...    \n```\n\nRename `jsx_version` to `jsx_version_`\n\n```diff\n-   | Some jsx_version -\u003e\n+   | Some jsx_version_ -\u003e\n      let open Js_config in\n-     let jsx_version = int_of_jsx_version jsx_version in\n+     let jsx_version = int_of_jsx_version jsx_version_ in\n```\n\n5. Commit changes.\n\n6. Run dune fmt `dune build @fmt --auto-promote`\n\n7. Some renames were not good, they are few and can be done by the editor manually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspeddro%2Frescript-camelcase-to-snake_case","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspeddro%2Frescript-camelcase-to-snake_case","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspeddro%2Frescript-camelcase-to-snake_case/lists"}