https://github.com/time-loop/octoherd-script-library-query
https://github.com/time-loop/octoherd-script-library-query
octoherd-script
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/time-loop/octoherd-script-library-query
- Owner: time-loop
- License: isc
- Created: 2023-08-15T17:59:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-07T21:12:11.000Z (7 months ago)
- Last Synced: 2025-12-09T12:46:35.509Z (7 months ago)
- Topics: octoherd-script
- Language: JavaScript
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 35
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# octoherd-script-library-query
[](https://github.com/time-loop/octoherd-script-library-query/actions?query=workflow%3ATest+branch%3Amain)
## Usage
```bash
nvm use v18
node cli.js \
-R time-loop/\*-cdk \
-T ghp_0123456789abcdefghijABCDEFGHIJabcdefgh \
--octoherd-bypass-confirms true \
--library @time-loop/cdk-ecs-fargate \
--versionRequirement \>=5.15.2 | \
tee raw.txt | grep NOT | sort | tee non-compliant.txt && wc -l non-compliant.txt
```
## Options
| option | type | default | description |
| ---------------------- | ------ | ------------------------ | --------------------------------------------------- |
| `--versionRequirement` | string | none | requirement for the library, for example `14.*` |
| `--library` | string | `@time-loop/cdk-library` | full name of the library to be updated via renovate |
See [semver](https://www.npmjs.com/package/semver) for details around specifying the `versionRequirement`.
## Limitations
- Should be re-written in TypeScript, but all examples were JS, and we're tight for time.
- Not projen-ified, which is kinda tragic.
I feel that these two technologies are deeply complementary.
https://github.com/projen/projen/issues/2841
- Not published to npmjs.com, so you have to run it locally.
We use github packages, so... we'll probably never publish this to npmjs.com.
Either way, not a priority right now.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
[ISC](LICENSE.md)