{"id":15640977,"url":"https://github.com/tiagodanin/github-push-global","last_synced_at":"2025-04-27T06:52:15.356Z","repository":{"id":33958792,"uuid":"161344910","full_name":"TiagoDanin/GitHub-Push-Global","owner":"TiagoDanin","description":"Commit in all repositories with a command","archived":false,"fork":false,"pushed_at":"2025-04-23T10:04:06.000Z","size":338,"stargazers_count":2,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-27T06:52:06.733Z","etag":null,"topics":["git","github","github-app","github-tools","global","push"],"latest_commit_sha":null,"homepage":"https://tiagodanin.github.io/GitHub-Push-Global/","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/TiagoDanin.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}},"created_at":"2018-12-11T14:18:58.000Z","updated_at":"2023-07-25T14:22:10.000Z","dependencies_parsed_at":"2024-01-04T05:31:57.592Z","dependency_job_id":"3c3daf78-9869-42ab-8886-9d7a6be581c7","html_url":"https://github.com/TiagoDanin/GitHub-Push-Global","commit_stats":{"total_commits":76,"total_committers":4,"mean_commits":19.0,"dds":0.2894736842105263,"last_synced_commit":"8e96399b03337c7d3007ed173f39f2f427a6afab"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FGitHub-Push-Global","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FGitHub-Push-Global/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FGitHub-Push-Global/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoDanin%2FGitHub-Push-Global/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TiagoDanin","download_url":"https://codeload.github.com/TiagoDanin/GitHub-Push-Global/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251099735,"owners_count":21536153,"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":["git","github","github-app","github-tools","global","push"],"created_at":"2024-10-03T11:40:50.100Z","updated_at":"2025-04-27T06:52:15.335Z","avatar_url":"https://github.com/TiagoDanin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Push Global\n\n[![Travis](https://img.shields.io/travis/TiagoDanin/GitHub-Push-Global.svg?branch=master\u0026style=flat-square)](https://travis-ci.org/TiagoDanin/GitHub-Push-Global) [![XO code style](https://img.shields.io/badge/code%20style-XO-red.svg?style=flat-square)](https://github.com/xojs/xo) [![Node](https://img.shields.io/node/v/github-push-global.svg?style=flat-square)](https://npmjs.org/package/github-push-global) [![Version](https://img.shields.io/npm/v/github-push-global.svg?style=flat-square)](https://npmjs.org/package/github-push-global) [![Downloads](https://img.shields.io/npm/dt/github-push-global.svg?style=flat-square)](https://npmjs.org/package/github-push-global) \n\nCommit in all repositories with a command\n\n## Installation\n\nModule available through the [npm registry](https://www.npmjs.com/). It can be installed using the  [`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) or [`yarn`](https://yarnpkg.com/en/) command line tools.\n\n```sh\n# NPM\nnpm install github-push-global --global\n# Or Using Yarn\nyarn global add github-push-global\n```\n\n## Usage\n\n```sh\n# Show Help\ngithub-push-global --help\n\n# Basic\ngithub-push-global \\\n\t--file=\"code.js\" \\\n\t--to=\"code.js\" \\\n\t--github=\"tiagodanin\" \\\n\t--commit=\"Hello World\" \\\n\t--mode=\"replace\" \\\n\t--token=\"abcdf1234567890\"\n\n# Plugin\ngithub-push-global \\\n\t--plugin=\"examples/trust-packages.js\" \\\n\t--to=\"code.js\" \\\n\t--github=\"tiagodanin\" \\\n\t--commit=\"Hello World\" \\\n\t--mode=\"replace\" \\\n\t--token=\"abcdf1234567890\"\n```\n\n## Documentation\n\n### API Plugin\nSee examples in /examples\n\n`Structure`\n\n```js\nmodule.exports = ctx =\u003e {\n\treturn false // Disable: git push\n\treturn ctx.raw // String: file raw\n\treturn ctx.data // Object: if is .JSON or is .YAML\n}\n```\n\n#### `ctx` example\n```js\nconst ctx = {\n\trepo: {\n\t\towner: 'Tiago Danin',\n\t\tname: 'GitHub-Push-Global'\n\t},\n\tdata: {\n\t\tname: 'GitHub-Push-Global'\n\t\t// ... //\n\t\t// If file is JSON or YML, load data here\n\t},\n\traw: '{\"name\": \"GitHub-Push-Global\"}',\n\targv: {\n\t\top: true\n\t} // Argv CLI\n}\n```\n\n## Tests\n\nTo run the test suite, first install the dependencies, then run `test`:\n\n```sh\n# NPM\nnpm test\n# Or Using Yarn\nyarn test\n```\n\n## Dependencies\n\n- [@octokit/rest](https://ghub.io/@octokit/rest): GitHub REST API client for Node.js\n- [axios](https://ghub.io/axios): Promise based HTTP client for the browser and node.js\n- [js-yaml](https://ghub.io/js-yaml): YAML 1.2 parser and serializer\n- [meow](https://ghub.io/meow): CLI app helper\n- [update-notifier](https://ghub.io/update-notifier): Update notifications for your CLI app\n\n## Dev Dependencies\n\n- [xo](https://ghub.io/xo): JavaScript happiness style linter ❤️\n\n## Contributors\n\nPull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/GitHub-Push-Global/issues). [List of all contributors](https://github.com/TiagoDanin/GitHub-Push-Global/graphs/contributors).\n\n## License\n\n[MIT](LICENSE) © [Tiago Danin](https://TiagoDanin.github.io)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagodanin%2Fgithub-push-global","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagodanin%2Fgithub-push-global","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagodanin%2Fgithub-push-global/lists"}