{"_id":"@agrodt/gitlab-cicq","_rev":"3-027e16e7ed7d8bf656ff0f445c85d429","name":"@agrodt/gitlab-cicq","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@agrodt/gitlab-cicq","version":"1.0.0","keywords":["gitlab","eslint","typescript","code-quality","ci","codeclimate"],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","_id":"@agrodt/gitlab-cicq@1.0.0","maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"},{"name":"ponomar","email":"ponomarenkoboris146@gmail.com"}],"homepage":"https://github.com/AgroDT/gitlab-cicq","bugs":{"url":"https://github.com/AgroDT/gitlab-cicq/issues"},"bin":{"gitlab-cicq":"dist/cli.js"},"dist":{"shasum":"4f34be18951a717e0f5964daa8de225f6c639304","tarball":"https://registry.npmjs.org/@agrodt/gitlab-cicq/-/gitlab-cicq-1.0.0.tgz","fileCount":7,"integrity":"sha512-aILbf/cNYrDXFrZHj2rHV12Pd/LyFtzUDj/DU2XaqLzRGE709IEibc/z0mhyNyHugpse5MCfv9nAeQAUoOwXqA==","signatures":[{"sig":"MEYCIQDEBcTELsKEqCoxlHQ5v4YuqdsW3RV4P7VMmsBwR+s3KAIhAJEXdmLf6gGzDSnOaR5gwrebc7X/mSBg7O92+N7rpTQX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agrodt%2fgitlab-cicq@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9991},"type":"module","_from":"file:agrodt-gitlab-cicq-1.0.0.tgz","engines":{"node":">=22"},"scripts":{"lint":"eslint","build":"tsc","check":"stc --noEmit"},"_npmUser":{"name":"mentaljam","email":"petr@tsymbarovich.ru"},"_resolved":"/tmp/f1b3579713834397442819add8bacec8/agrodt-gitlab-cicq-1.0.0.tgz","_integrity":"sha512-aILbf/cNYrDXFrZHj2rHV12Pd/LyFtzUDj/DU2XaqLzRGE709IEibc/z0mhyNyHugpse5MCfv9nAeQAUoOwXqA==","repository":{"url":"git+https://github.com/AgroDT/gitlab-cicq.git","type":"git"},"_npmVersion":"10.9.4","description":"Run ESLint and TypeScript in GitLab CI pipelines and generate a single code quality report.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"commander":"^14.0.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.0","globals":"^16.5.0","@eslint/js":"^9.39.0","typescript":"^5.9.3","@types/node":"^24.9.2","codeclimate-types":"^0.3.1","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","@stylistic/eslint-plugin":"^5.5.0"},"peerDependencies":{"eslint":"^9.38.0","typescript":"^5.9.3"},"peerDependenciesMeta":{"eslint":{"optional":true},"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/gitlab-cicq_1.0.0_1762114204020_0.19728808684726595","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agrodt/gitlab-cicq","version":"1.0.1","keywords":["gitlab","eslint","typescript","code-quality","ci","codeclimate"],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","_id":"@agrodt/gitlab-cicq@1.0.1","maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"},{"name":"ponomar","email":"ponomarenkoboris146@gmail.com"}],"homepage":"https://github.com/AgroDT/gitlab-cicq","bugs":{"url":"https://github.com/AgroDT/gitlab-cicq/issues"},"bin":{"gitlab-cicq":"dist/cli.js"},"dist":{"shasum":"d08c400c2dc2cb61c87c880f2733519524715496","tarball":"https://registry.npmjs.org/@agrodt/gitlab-cicq/-/gitlab-cicq-1.0.1.tgz","fileCount":7,"integrity":"sha512-So6HMsubmIUlB5/n/il1CCEZz/thss0K+3rb0fRhZDWRMEgNZ0U7UVd9QtQAQo8tTDO+zQuqWvTrBOOBrY2d9A==","signatures":[{"sig":"MEYCIQD3g20d9rW+GhFs3EVmik1EWoQnongScljGCCnaj28aqQIhAP+X+MZOZ5JxIWpvsLdsOABqiOGIHlaDohy0wWsgu+mM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agrodt%2fgitlab-cicq@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9941},"type":"module","_from":"file:agrodt-gitlab-cicq-1.0.1.tgz","engines":{"node":">=22"},"scripts":{"lint":"eslint","build":"tsc","check":"stc --noEmit"},"_npmUser":{"name":"mentaljam","email":"petr@tsymbarovich.ru"},"_resolved":"/tmp/9f4eaa479c1c6c127b6dc60b8fb4c493/agrodt-gitlab-cicq-1.0.1.tgz","_integrity":"sha512-So6HMsubmIUlB5/n/il1CCEZz/thss0K+3rb0fRhZDWRMEgNZ0U7UVd9QtQAQo8tTDO+zQuqWvTrBOOBrY2d9A==","repository":{"url":"git+https://github.com/AgroDT/gitlab-cicq.git","type":"git"},"_npmVersion":"10.9.4","description":"Run ESLint and TypeScript in GitLab CI pipelines and generate a single code quality report.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"commander":"^14.0.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.0","globals":"^16.5.0","@eslint/js":"^9.39.0","typescript":"^5.9.3","@types/node":"^24.9.2","codeclimate-types":"^0.3.1","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","@stylistic/eslint-plugin":"^5.5.0"},"peerDependencies":{"eslint":"^9.38.0","typescript":"^5.9.3"},"peerDependenciesMeta":{"eslint":{"optional":true},"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/gitlab-cicq_1.0.1_1762114832767_0.9117011984949543","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@agrodt/gitlab-cicq","version":"1.1.0","description":"Run ESLint and TypeScript in GitLab CI pipelines and generate a single code quality report.","keywords":["gitlab","eslint","typescript","code-quality","ci","codeclimate"],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","type":"module","engines":{"node":">=22"},"repository":{"type":"git","url":"git+https://github.com/AgroDT/gitlab-cicq.git"},"bugs":{"url":"https://github.com/AgroDT/gitlab-cicq/issues"},"homepage":"https://github.com/AgroDT/gitlab-cicq","bin":{"gitlab-cicq":"dist/cli.js"},"dependencies":{"commander":"^14.0.2"},"devDependencies":{"@eslint/js":"^9.39.0","@stylistic/eslint-plugin":"^5.5.0","@types/node":"^24.9.2","codeclimate-types":"^0.3.1","eslint":"^9.39.0","eslint-plugin-import":"^2.32.0","globals":"^16.5.0","typescript":"^5.9.3","typescript-eslint":"^8.46.2"},"peerDependencies":{"eslint":"^9.38.0","typescript":"^5.9.3"},"peerDependenciesMeta":{"eslint":{"optional":true},"typescript":{"optional":true}},"scripts":{"build":"tsc","check":"stc --noEmit","lint":"eslint"},"_id":"@agrodt/gitlab-cicq@1.1.0","_integrity":"sha512-wPcOUgcNXldKSX15BHJjjOeJ/CEZ2Dv+5gp/qBTXxL+erNrjUi+qbWEqUzqTZnRzOs6VolsrZ0PbUJnSplfzgQ==","_resolved":"/tmp/26a48f61078f6b7e9576d405ea4dedf7/agrodt-gitlab-cicq-1.1.0.tgz","_from":"file:agrodt-gitlab-cicq-1.1.0.tgz","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-wPcOUgcNXldKSX15BHJjjOeJ/CEZ2Dv+5gp/qBTXxL+erNrjUi+qbWEqUzqTZnRzOs6VolsrZ0PbUJnSplfzgQ==","shasum":"513c3de011b4746d62f85b695a454f17a6bed0ba","tarball":"https://registry.npmjs.org/@agrodt/gitlab-cicq/-/gitlab-cicq-1.1.0.tgz","fileCount":7,"unpackedSize":10205,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agrodt%2fgitlab-cicq@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEMCIAWqtW4k8OQxb6bEpxK1ykULDsmzD5HHiskqMtjUTTGDAh9iv30JiEpQozLdE00razndg+0OMrFhJfNnHSsKdq/Z"}]},"_npmUser":{"name":"mentaljam","email":"petr@tsymbarovich.ru"},"directories":{},"maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"},{"name":"ponomar","email":"ponomarenkoboris146@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gitlab-cicq_1.1.0_1762167811248_0.7332222359687266"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-02T20:10:03.964Z","modified":"2025-11-03T11:03:31.925Z","1.0.0":"2025-11-02T20:10:04.232Z","1.0.1":"2025-11-02T20:20:32.963Z","1.1.0":"2025-11-03T11:03:31.468Z"},"bugs":{"url":"https://github.com/AgroDT/gitlab-cicq/issues"},"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","homepage":"https://github.com/AgroDT/gitlab-cicq","keywords":["gitlab","eslint","typescript","code-quality","ci","codeclimate"],"repository":{"type":"git","url":"git+https://github.com/AgroDT/gitlab-cicq.git"},"description":"Run ESLint and TypeScript in GitLab CI pipelines and generate a single code quality report.","maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"},{"name":"ponomar","email":"ponomarenkoboris146@gmail.com"}],"readme":"# GitLab CICQ\n\n**GitLab CICQ** is a command-line tool that runs **ESLint** and **TypeScript**\nchecks and generates a single [GitLab Code Quality](https://docs.gitlab.com/ci/testing/code_quality/)\nreport in JSON format. It integrates easily into GitLab CI/CD pipelines for\nautomated code quality reporting.\n\n## Features\n\n- Run ESLint checks with optional file patterns.\n- Run TypeScript type checks on specified directories.\n- Generate a single GitLab-compatible Code Quality report.\n- Configurable output path for reports.\n- Optional `--exit-0` mode to prevent failing CI pipelines.\n\n## Requirements\n\n- **Node.js** >= 22\n- Optional: ESLint and TypeScript (if using `--eslint` or `--typescript`)\n\n## Installation\n\nInstall as a dev dependency:\n\n```sh\nnpm install -D @agrodt/gitlab-cicq\n```\n\n## Usage\n\n### Options\n\nRun the CLI with the --help option to see available commands:\n\n```\n$ gitlab-cicq --help\n\nUsage: gitlab-cicq [options]\n\nRun ESLint and TypeScript checks and output GitLab Code Quality report\n\nOptions:\n  -V, --version               output the version number\n  -e, --eslint [patterns...]  run ESLint (defaults to all files when no patterns are given)\n  -t, --typescript [dirs...]  run TypeScript checks (defaults to current directory when no dirs are given)\n  -o, --output <path>         report path (default: \"codequality.json\")\n  --exit-0                    always exit with 0 (default: false)\n  -h, --help                  display help for command\n```\n\n### Example\n\nRun ESLint on the `src` directory and TypeScript checks in the current\ndirectory:\n\n```sh\ngitlab-cicq --eslint src --typescript --output reports/codequality.json\n```\n\n## Integration in CI/CD\n\nAdd the generated codequality.json report to your GitLab pipeline:\n\n```yaml\ncode_quality:\n  stage: test\n  script:\n    - npm install\n    - gitlab-cicq --eslint --typescript\n  artifacts:\n    reports:\n      codequality: codequality.json\n```\n","readmeFilename":"README.md"}