{"id":45944228,"url":"https://github.com/time-loop/octoherd-script-renovate-library-major-version-driver","last_synced_at":"2026-02-28T10:59:07.316Z","repository":{"id":185169371,"uuid":"673073868","full_name":"time-loop/octoherd-script-renovate-library-major-version-driver","owner":"time-loop","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-06T22:39:12.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":33,"default_branch":"main","last_synced_at":"2026-02-07T09:38:28.622Z","etag":null,"topics":["octoherd-script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/time-loop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-07-31T20:11:22.000Z","updated_at":"2026-02-06T22:39:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2800668f-8843-4806-9083-823eadb1ad23","html_url":"https://github.com/time-loop/octoherd-script-renovate-library-major-version-driver","commit_stats":null,"previous_names":["time-loop/octoherd-script-renovate-library-major-version-driver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/time-loop/octoherd-script-renovate-library-major-version-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Foctoherd-script-renovate-library-major-version-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Foctoherd-script-renovate-library-major-version-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Foctoherd-script-renovate-library-major-version-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Foctoherd-script-renovate-library-major-version-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/time-loop","download_url":"https://codeload.github.com/time-loop/octoherd-script-renovate-library-major-version-driver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Foctoherd-script-renovate-library-major-version-driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29930947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["octoherd-script"],"created_at":"2026-02-28T10:59:06.462Z","updated_at":"2026-02-28T10:59:07.304Z","avatar_url":"https://github.com/time-loop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octoherd-script-renovate-library-major-version-driver\n\n\u003c!-- [![@latest](https://img.shields.io/npm/v/@octoherd/script-hello-world.svg)](https://www.npmjs.com/package/@octoherd/script-hello-world) --\u003e\n[![Build Status](https://github.com/time-loop/octoherd-script-renovate-library-major-version-driver/workflows/Test/badge.svg)](https://github.com/time-loop/octoherd-script-renovate-library-major-version-driver/actions?query=workflow%3ATest+branch%3Amain)\n\n## Usage\n\n```bash\nnvm use v18\nnode cli.js \\\n  -R time-loop/*-cdk \\\n  -T ghp_0123456789abcdefghijABCDEFGHIJabcdefgh \\\n  --majorVersion v11\n```\n\n## Options\n\n| option            | type    | default | description        |\n| ----------------- | ------- | ------- | ------------------ |\n| `--majorVersion`  | string  | none    | Major version number for the library, for example `v11`. If you provide `all` then it will instead address the `all non-major updates` PR. If you provide `projen`, it will address the `fix(deps): upgrade projen` PR. |\n| `--library`       | string  | `@time-loop/cdk-library` | Full name of library to be updated via renovate |\n| `--maxAgeDays`    | number  | 7 | The maximum age, in days, since when a PR was merge to consider it the relevant PR. Only used by the special cases of `majorVersion` |\n| `--merge`         | boolean | true | Whether to merge PRs. When set to `false` (using `--no-merge`), the script will validate PRs are ready to merge but will not actually merge them |\n\n### PAT Requirements\n\nYou will need a GH PAT with the following scopes (at a minimum):\n\n- `repo` Full control of private repositories\n\n## Special Cases\n\nSetting the `majorVersion` to `all` will support the renovate `all non-major dependencies` updates.\n\nSetting the `majorVersion` to `projen` will support the `projen` native `update-projen-main` workflows.\n\nIn these special cases, the `--library` option is ignored and the `--maxAgeDays` parameter comes into play.\n\n## TODO\n\n- detect and address case where PR is not up-to-date with base branch.\n\n\n## Limitations\n\n- Should be re-written in TypeScript, but all examples were JS, and we're tight for time.\n- Not projen-ified, which is kinda tragic.\n  I feel that these two technologies are deeply complementary.\n  https://github.com/projen/projen/issues/2841\n- Doesn't differentiate between failed status checks which are required vs optional.\n  Or... maybe the rollup does? I haven't checked.\n- Not published to npmjs.com, so you have to run it locally.\n  We use github packages, so... we'll probably never publish this to npmjs.com.\n  Either way, not a priority right now.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftime-loop%2Foctoherd-script-renovate-library-major-version-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftime-loop%2Foctoherd-script-renovate-library-major-version-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftime-loop%2Foctoherd-script-renovate-library-major-version-driver/lists"}