{"id":13534035,"url":"https://github.com/viewstools/codemods","last_synced_at":"2025-04-04T08:24:12.655Z","repository":{"id":29089967,"uuid":"120194498","full_name":"viewstools/codemods","owner":"viewstools","description":"Helpers to migrate your code to newer versions of Views Tools","archived":false,"fork":false,"pushed_at":"2023-01-27T02:14:12.000Z","size":74,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T19:34:52.826Z","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/viewstools.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}},"created_at":"2018-02-04T14:58:21.000Z","updated_at":"2021-05-07T15:02:01.000Z","dependencies_parsed_at":"2023-02-15T04:16:34.619Z","dependency_job_id":null,"html_url":"https://github.com/viewstools/codemods","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fcodemods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fcodemods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fcodemods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fcodemods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viewstools","download_url":"https://codeload.github.com/viewstools/codemods/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247143747,"owners_count":20891001,"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":"2024-08-01T07:01:25.594Z","updated_at":"2025-04-04T08:24:12.622Z","avatar_url":"https://github.com/viewstools.png","language":"JavaScript","funding_links":[],"categories":["Misc"],"sub_categories":["ant-design"],"readme":"# Views Tools shorthands\n\nHelpers to migrate your code to newer versions of Views Tools.\n\nCopy the files into the root of your Views project and run them with `node file.js`.\nSee the diff it generates with `git diff` and make sure it does what you want :).\n\nImportant: Don't run each codemod more than once!!\n\nWe recommend you run them in this order:\n\n```\nnode codemod-add-new-line-to-every-block.js\nnode codemod-expand-shorthands.js\nnode codemod-use-props-shortcut.js\nnode codemod-onwhen-to-the-top.js\nnode codemod-default-props.js\nnode codemod-extract-complex-props-to-logic.js\nnode codemod-props-to-slots.js\nnode codemod-use-slot-symbol-in-system-scopes.js\n# v12.0.8\nnode codemod-shadowRadius-to-shadowBlur.js\n# v13.0.0\nnode codemod-flex-to-flexGrow.js\n# v13.0.8\nnode codemod-expand-transforms.js\n# v15.0.0\nnode codemod-use-camelCase-props.js\n# v16.0.0\nnode codemod-system-scopes-start-with-is.js\n# v17.0.0\nnode codemod-captures.js\n# v18.0.0\nnode codemod-indent.js\n# v24.0.0\nThe order:\ncodemod-v24.js\ncodemod-v24-validate-required.js\ncodemod-v24-format-out.js\ncodemod-v24-format-validate-source.js\n\nchmod u+x codemod-v24-views-folder.sh\n./codemod-v24-views-folder.sh\n```\n\nLicense BSD-3-Clause\nUXtemple Ltd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewstools%2Fcodemods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviewstools%2Fcodemods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewstools%2Fcodemods/lists"}