{"id":15679203,"url":"https://github.com/azu/mocha-migrate","last_synced_at":"2025-07-07T11:12:18.505Z","repository":{"id":66143495,"uuid":"250925988","full_name":"azu/mocha-migrate","owner":"azu","description":"Mocha migration script for mocha v7","archived":false,"fork":false,"pushed_at":"2021-08-30T02:21:27.000Z","size":30,"stargazers_count":12,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T22:11:24.477Z","etag":null,"topics":["cli","console","migrate","mocha"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/azu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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},"funding":{"github":"azu"}},"created_at":"2020-03-29T00:57:44.000Z","updated_at":"2023-11-30T03:33:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"de0b1100-7435-4bdb-b28d-97ccc16de9d3","html_url":"https://github.com/azu/mocha-migrate","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.18181818181818177","last_synced_commit":"32e139b4de61a34e8f34942ce5df8fce000aee10"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/azu/mocha-migrate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Fmocha-migrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Fmocha-migrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Fmocha-migrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Fmocha-migrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azu","download_url":"https://codeload.github.com/azu/mocha-migrate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Fmocha-migrate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264067156,"owners_count":23552154,"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":["cli","console","migrate","mocha"],"created_at":"2024-10-03T16:26:44.890Z","updated_at":"2025-07-07T11:12:18.471Z","avatar_url":"https://github.com/azu.png","language":"JavaScript","funding_links":["https://github.com/sponsors/azu"],"categories":[],"sub_categories":[],"readme":"# @azu/mocha-migrate\n\n[Mocha](https://mochajs.org/) migration script from mocha v6 to mocha v7+.\n\n- Migrate `mocha.opts` to `.mocharc.{json,js,yml,yaml}`\n\nThis migration script is based on [@wnghdcjfe](https://github.com/wnghdcjfe) works.\n\n- [Create migrate script to change mocha.opts to \\[json | js | yml | yaml\\] by wnghdcjfe · Pull Request #4069 · mochajs/mocha](https://github.com/mochajs/mocha/pull/4069)\n\n## Usage\n\nUsing [npx](https://www.npmjs.com/package/npx):\n\n    # mocha.opts to .mocharc.json\n    npx @azu/mocha-migrate migrate-opts -file ./test/mocha.opts -type json\n    # mocha.opts to .mocharc.js\n    npx @azu/mocha-migrate migrate-opts -file ./test/mocha.opts -type js\n    # mocha.opts to .mocharc.yml\n    npx @azu/mocha-migrate migrate-opts -file ./test/mocha.opts -type yml\n    # mocha.opts to .mocharc.yaml\n    npx @azu/mocha-migrate migrate-opts -file ./test/mocha.opts -type yaml\n\nGlobal installation:\n\n    npm install --global @azu/mocha-migrate\n    mocha-migrate migrate-opts -file ./test/mocha.opts -type js\n\nAdditional features: `-rm` remove `mocha.opts` after migration\n\n    # migrate and remove mocha.opts\n    npx @azu/mocha-migrate migrate-opts -file ./test/mocha.opts -type json -rm\n\n## Changelog\n\nSee [Releases page](https://github.com/azu/mocha-migrate/releases).\n\n## Contributing\n\nPull requests and stars are always welcome.\n\nFor bugs and feature requests, [please create an issue](https://github.com/azu/mocha-migrate/issues).\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Author\n\n- [github/azu](https://github.com/azu)\n- [twitter/azu_re](https://twitter.com/azu_re)\n\n## License\n\nMIT © azu\n\nThis script includes [Mocha](https://mochajs.org/) and [@wnghdcjfe Pull Request](https://github.com/mochajs/mocha/pull/4069).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Fmocha-migrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazu%2Fmocha-migrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Fmocha-migrate/lists"}