{"id":24755154,"url":"https://github.com/gravity-ui/uikit-codemod","last_synced_at":"2025-03-23T06:13:46.055Z","repository":{"id":179069227,"uuid":"655725286","full_name":"gravity-ui/uikit-codemod","owner":"gravity-ui","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-05T17:53:02.000Z","size":191,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-28T21:38:22.501Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gravity-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2023-06-19T13:22:32.000Z","updated_at":"2024-03-14T09:47:21.000Z","dependencies_parsed_at":"2024-02-05T17:28:36.470Z","dependency_job_id":"b1d5dbb6-3aa4-49e1-8803-278785a6fe7c","html_url":"https://github.com/gravity-ui/uikit-codemod","commit_stats":null,"previous_names":["gravity-ui/uikit-codemod"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravity-ui%2Fuikit-codemod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravity-ui%2Fuikit-codemod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravity-ui%2Fuikit-codemod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravity-ui%2Fuikit-codemod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gravity-ui","download_url":"https://codeload.github.com/gravity-ui/uikit-codemod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061380,"owners_count":20554563,"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","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-01-28T12:36:35.964Z","updated_at":"2025-03-23T06:13:46.032Z","avatar_url":"https://github.com/gravity-ui.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @gravity-ui/uikit-codemod \u0026middot; [![npm package](https://img.shields.io/npm/v/@gravity-ui/uikit-codemod)](https://www.npmjs.com/package/@gravity-ui/uikit-codemod) [![CI](https://img.shields.io/github/actions/workflow/status/gravity-ui/uikit-codemod/.github/workflows/ci.yml?branch=main\u0026label=CI\u0026logo=github)](https://github.com/gravity-ui/uikit-codemod/actions/workflows/ci.yml?query=branch:main)\n\nScripts that help in migration for newer features in `@gravity-ui/uikit`\n\n## Usage\n`npx @gravity-ui/uikit-codemod \u003ctransform\u003e \u003cpath\u003e [...options]`\n* `transform` - transform name, see the list below\n* `path` - Files or directories to transform\n* use flags `--dry` and `--print` to view transform result in \"preview\" mode (files won't be changed)\n\n## Available transforms\n\n### `6-normal-visitable`\n\nTransform `normal-visitbale` to `normal` of `view` prop and add prop `visitable` without value for Link\n\n### `6-change-side`\n\nChanges the `side` value from `left` to `start` for Button.Icon, Disclosure, ButtonIcon\n\n### `6-toaster-type-to-theme`\n\nTransforms `type` to `theme` in `add` method, and replaces `error` value to `danger` value\n\n### `6-positive-to-success`\n\nChanges the `positive` value to `success` of `theme` prop for Alert and Card components\n\n### `5-move-components`\n\nMove components to `@gravity-ui/components` package\n\n### `5-progress-props`\n\nRemap Progress props\n\n### `5-popup-props`\n\nRemap Popup props\n\n## jscodeshift arguments\nYou can pass jscodeshift arguments directly with the `--jscodeshift=\"...\"` flag. For example:\n```sh\nnpx @gravity-ui/uikit-codemod --jscodeshift=\"--run-in-band --verbose=2\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravity-ui%2Fuikit-codemod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgravity-ui%2Fuikit-codemod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravity-ui%2Fuikit-codemod/lists"}