{"id":31842661,"url":"https://github.com/byk/sentry-codemods","last_synced_at":"2025-10-12T06:48:57.573Z","repository":{"id":311188974,"uuid":"1042813464","full_name":"BYK/sentry-codemods","owner":"BYK","description":"Sentry SDK migration codemods","archived":false,"fork":false,"pushed_at":"2025-09-22T23:41:37.000Z","size":664,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T01:16:55.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BYK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-22T16:06:54.000Z","updated_at":"2025-09-22T23:45:01.000Z","dependencies_parsed_at":"2025-09-07T00:23:18.435Z","dependency_job_id":"86859376-b78e-4112-9570-b8adf0f22653","html_url":"https://github.com/BYK/sentry-codemods","commit_stats":null,"previous_names":["codemod/sentry-codemods","alexbit-codemod/sentry-codemods"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/BYK/sentry-codemods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsentry-codemods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsentry-codemods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsentry-codemods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsentry-codemods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BYK","download_url":"https://codeload.github.com/BYK/sentry-codemods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsentry-codemods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010531,"owners_count":26084759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":"2025-10-12T06:48:56.509Z","updated_at":"2025-10-12T06:48:57.568Z","avatar_url":"https://github.com/BYK.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg\n  src=\".github/assets/sentry-codemods.png\"\n  alt=\"Sentry SDK Migration Codemods\"\n/\u003e\n\n\u003e **REMOEV THIS SECTION ONCE THE REPO IS SET UP.**\n\u003e \n\u003e Sentry team: This repo comes with a one-time setup guide, utilities, and a GitHub Action to help you and your community build and publish codemods with ease.\n\u003e ## One-time Setup\n\u003e NOTE: You need repo creation privileges in your org and permission to install GitHub apps on repos. If you don’t, you can request access from your org admin during setup.\n\u003e 1. Use this template and create a codemods repo in your org.\n\u003e 2. Sign up at [Codemod](https://app.codemod.com) with your GitHub account.  \n\u003e 3. Install the Codemod GitHub app:\n\u003e    1. Click your profile photo (top left) and select \"Add organization\"\n\u003e    2. Pick GitHub, choose your org and the new codemods repo. This installs the Codemod GitHub App and reserves a **scope** with your org name. \n\u003e     - Benefit: Only members of the `getsentry` org can publish codemods under `@getsentry`.\n\u003e     - **Important**: In `codemod.yaml`, the name must start with your `@scope`, otherwise it won’t appear when users filter for `@getsentry` in the registry.\n\u003e 4. In Codemod, switch from personal account to org account and generate a [Codemod API key](https://app.codemod.com/api-keys).\n\u003e 5. In your GitHub repo: **Settings → Secrets \u0026 variables → actions**  \n\u003e    1. Create a repository secret.    \n\u003e      - Name: `CODEMOD_API_KEY`  \n\u003e      - Value: the key from step 1.  \n\u003e\n\u003e ✅ Done! Now, after a codemod PR is merged, you can trigger a GitHub Action to auto-publish it to the [Codemod Registry](https://app.codemod.com/registry) under your org scope. See [Node.js codemods](https://codemod.link/nodejs-official) for an example.\n\u003e \n\u003e To build a codemod, clone your new repo locally and use [Codemod MCP](https://docs.codemod.com/more-resources/codemod-mcp) in your IDE to replace the boilerplate with a codemod generated using AI. You can also run `npx codemod@latest init` for the initial scaffolding, or use [Codemod Studio](https://codemod.studio) for its live codemod runner and AST viewer.\n---\n\n\nSentry codemods to help users adopt new features and handle breaking changes with ease.\n\nCommunity contributions are welcome and appreciated! Check open issues for codemods to build, or open a new one if something’s missing. See the [contribution guide](./CONTRIBUTING.md) for details.\n\n## Running codemods\n\u003e [!CAUTION]\n\u003e Caution: Codemods modify code! Run them only on Git-tracked files, and commit or stash changes first.\n### From the registry \nRecommended for better UX, downloads the package from [registry](https://app.codemod.com/registry).\n\n```bash\nnpx codemod@latest \u003ccodemod-name\u003e\n```\nFor example: \n```\nnpx codemod@latest flatten-experiments-config\n```\n### From the source \n```bash\nnpx codemod workflow run -w /path/to/folder/containing/workflow.yaml\n```\n\n\u003e [!NOTE]\n\u003e By default, codemods run in the current folder. Add `-t /target/path` to your command to change it.\n\nSee the [Codemod docs](https://go.codemod.com/cli-docs) for all CLI commands and options.\n  \n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyk%2Fsentry-codemods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyk%2Fsentry-codemods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyk%2Fsentry-codemods/lists"}