{"_id":"@arrai-innovations/commitlint-config","_rev":"7-010fced14c071b4a2e137c9976476630","name":"@arrai-innovations/commitlint-config","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.0":{"name":"@arrai-innovations/commitlint-config","version":"1.0.0","author":{"name":"Arrai Innovations Inc."},"license":"BSD-3-Clause","_id":"@arrai-innovations/commitlint-config@1.0.0","maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"homepage":"https://github.com/arrai-innovations/commitlint-config#readme","bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"dist":{"shasum":"a43d4e190f0853f7c784007b37e9e37abdd8fb55","tarball":"https://registry.npmjs.org/@arrai-innovations/commitlint-config/-/commitlint-config-1.0.0.tgz","fileCount":4,"integrity":"sha512-5p87t2VwNWVL6xlnCehANGmv7RUzX5zXadVse2PXY9gDUGxsS9OMTSCsuxryg18CU3YaRgGy4uuIDpysZL61wQ==","signatures":[{"sig":"MEQCICab57dyxq/nEPL3z/l5ehvI3bwXJoGbGJ7RSWX3EIM9AiB3WSFmvJJ9bdFQwUlWPRcreikZYJZq36d/Trvi+iNoSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGJBDCRA9TVsSAnZWagAARzQP/0W5oNSK68Yq+yrimRyM\nCDaaly0I+xUCIcLYrk5i/hIZ1rDI8ceVbj59OMwAUpVVfuEuLT6jvVgDukf1\nKmfi4qrN4m3lAvDi5brDXyRodEgRda83VMPdbaEHlHui7QkyHYNG0+Fbx7Rv\nmTncfGgRD2SuI52qjLSG5m+N1OXP6wFBPAhzoguqdXOiesOqG4CMY+/0Gry7\na3Lcid/sZ8uOccPT3BK9eZvJkn9NGf4n75BWMq/DdLg5iM/gOPQaEpVbxJMC\nidzAnW1OBz0LO2eKLIvhrliDGfFxAkxvY4X6hWAZ9qQ4KgazRFornbpGpnaA\nYRYY4+sw/zSp0rYsLELmfZwv6XYHTRCj8FYFQSVUuqP+nAUqSm0OqRiJbfV6\nOIMewPyaF+/ZWLsoiv4pG9Wits5sdW4LtELha0FfBJ3eFaSFedT7hfbs5TgM\nrIsvCHs+ePs0p4j6Xw9hR2DnfsF7kYoKPw1VXwVdb1rdYpxVfr8HV5X0i7sQ\nHcWmKd5FJDoV+VrlqGccRSHpMlnXHCBuC+nffLNxDXtysTAIoKTEIlvGXoNT\nD2prvmqkQuTCJzGCKPFbcx/r+fUaqBbftEOvFNHy370uOvnkVBp2uC9NRClU\nr/ywADp+kGma/bSuPiN+S1h7yW/nVpD1QcOYvBuGAYWCXy1cKdROgWglC+rn\n5z7l\r\n=8y7t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"342eca6931c6278f7c51eae214f772b054a4d5f1","scripts":{},"_npmUser":{"name":"arrai-developers","email":"developers@arrai.com"},"repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"_npmVersion":"6.14.11","description":"Arrai Innovation's shareable configuration for commitlint.","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commitlint-config_1.0.0_1612222530875_0.21394631344480208","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@arrai-innovations/commitlint-config","version":"1.1.0","author":{"name":"Arrai Innovations Inc."},"license":"BSD-3-Clause","_id":"@arrai-innovations/commitlint-config@1.1.0","maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"homepage":"https://github.com/arrai-innovations/commitlint-config#readme","bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"dist":{"shasum":"b93d597cdd18c678c74bd21ceca9ab0e70a36a75","tarball":"https://registry.npmjs.org/@arrai-innovations/commitlint-config/-/commitlint-config-1.1.0.tgz","fileCount":5,"integrity":"sha512-7R60X1wNNmFCmVCy6K+K+/R7G/XbeV/HQuu3AIFn0KrK8oPsnNm6Dph0fWPWGfjd2kudj3/IvNSdpobk9HwSvQ==","signatures":[{"sig":"MEUCIHy/JbL2z/wRr+/U7KiL62kqngz1Vxhko5RtemXYjSImAiEAkjdKmwtoZD6Rs5g20n+DvC6L7wSlNA0SUno3Hu3lmNo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP+JbCRA9TVsSAnZWagAAhhIP/R047NsLWTEHh+z6RJhu\npJJgaDZ0P3lrgnaMGXTW6Oy2ibjgfG5awggUAtmTUjTeIwFr+ireJngd42Sv\njns6ctMsZmYsJwQY7QPv9bEfpZKbanZJfyTTBy6OEwYcMSKgKs2mUi4S4e8d\nAkwKjEAtVjxIMviZi80FVpKQS/WR2fCafTEGhvWbCn5VWOJVDJZFUyEbEhK9\n9jf98Eng9qMPs/c3GX3kQB4QK2mcz2JW5pbuaLJvv1QPr5Jsj0Zysk7IQ8L0\nYq/DMZMK3gw6nD9WOxwi/Me4rec27LGVVNJ2/56+D4NOuwwF0XPNwqj+7z+Q\nCmKOA+1PiwSaE8VpV5Y2J2aaqqw7GUaNmZGUq28wlkLF5kPZyP/qCQWvSW3/\nxudotX2LntOEGxbuOyrDZ/oYX2ojFA5RxrdX1RgCHK1aewV/bSPy3SuhH/L/\nbqQXxKsDS7uMJwIGlFqXG/2K52XGAQhvn3gHwr/cYeSF/SzzR1EOjcq/g/Sq\n+s7OiQWcNyypipfi37OTwaG3k1KWqN4y4seBMzjUWmXhSiwtb+KfTXWSmjuQ\ngPTgJ0IS93lYsDtmJK5JsVvJW6EKOw5Gmhmpb7U5wxYjPqeIj49pO2nZ6/G+\nHcj0DK8OAy9/dAexhYRWSecyRb2EY0RJopIgys1Lxti+6U0k5HITrn9tE7rY\nhVmM\r\n=pmla\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"04d69c9134cc39d8a4fba62f06d1fde72cc059b1","scripts":{},"_npmUser":{"name":"arrai-developers","email":"developers@arrai.com"},"repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"_npmVersion":"6.14.11","description":"Arrai Innovation's shareable configuration for commitlint.","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commitlint-config_1.1.0_1614799450274_0.9796857289070504","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@arrai-innovations/commitlint-config","version":"2.0.0","author":{"name":"Arrai Innovations Inc."},"license":"BSD-3-Clause","_id":"@arrai-innovations/commitlint-config@2.0.0","maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"homepage":"https://github.com/arrai-innovations/commitlint-config#readme","bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"dist":{"shasum":"3aa91b99688dbca5e619d5a8cda9a3fb48d58de4","tarball":"https://registry.npmjs.org/@arrai-innovations/commitlint-config/-/commitlint-config-2.0.0.tgz","fileCount":4,"integrity":"sha512-gsd6WeZ9MErcvpsHM0Z7zTtFqzRgHfD/+Ka2ycKIC8DAs8mYAvMTs6361cqLLE8koCcPvOjkRD5biFN026UrmA==","signatures":[{"sig":"MEQCIHxq1vZNyUv31I6dDzHM1NiLmtFOHNFosObnS82vtCNYAiB8zwDcIsv3J8YFETQyClEF/wz/c8Uv67m8xmTBx4FjEQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5563},"main":"index.js","gitHead":"0ed0d0f24f7a5b7501fd99d6272a7cb0b2ce09f0","scripts":{},"_npmUser":{"name":"arrai-developers","email":"developers@arrai.com"},"repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"_npmVersion":"11.1.0","description":"Arrai Innovation's shareable configuration for commitlint.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@commitlint/config-conventional":"^19.8.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commitlint-config_2.0.0_1741972355938_0.16670616461485488","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@arrai-innovations/commitlint-config","version":"2.1.0","author":{"name":"Arrai Innovations Inc."},"license":"BSD-3-Clause","_id":"@arrai-innovations/commitlint-config@2.1.0","maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"homepage":"https://github.com/arrai-innovations/commitlint-config#readme","bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"dist":{"shasum":"5779f3a0f9630294805ca73b1fee6375be4001b5","tarball":"https://registry.npmjs.org/@arrai-innovations/commitlint-config/-/commitlint-config-2.1.0.tgz","fileCount":4,"integrity":"sha512-+sgs7R5aV7TcVZrw9297OEIcTANSCGOlzFCkAmfLlgtxK1UIm6lIFBEtB3hzat6qzmy4pzVe1rgSKP7r3dquyQ==","signatures":[{"sig":"MEUCIBloTfn/z8mHzri/UZSXKiWw3zZVNjF97wsM1ps0Zf7qAiEA4IZ+v7JvHfwzOvsx1KFajqoLN02erIi99tV0xmzaCUY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5741},"main":"index.js","gitHead":"4c38ef767de8617025217908d7eb3a66c056a8e2","scripts":{},"_npmUser":{"name":"arrai-developers","email":"developers@arrai.com"},"repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"_npmVersion":"11.4.0","description":"Arrai Innovation's shareable configuration for commitlint.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"@commitlint/config-conventional":"^19.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commitlint-config_2.1.0_1748014025967_0.5781460203505815","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@arrai-innovations/commitlint-config","version":"3.0.0","author":"Arrai Innovations Inc.","license":"BSD-3-Clause","_id":"@arrai-innovations/commitlint-config@3.0.0","maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"homepage":"https://github.com/arrai-innovations/commitlint-config#readme","bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"dist":{"shasum":"b68cef741656d2d51231b6727d84f00c703841a7","tarball":"https://registry.npmjs.org/@arrai-innovations/commitlint-config/-/commitlint-config-3.0.0.tgz","fileCount":4,"integrity":"sha512-xUzoGCvmqEq/nVm1/9sezx65sLJIcCx+6mYN1uPseycrbkyjxEg+DAjZ/Oz0SIfTfu/uF57QH0qD1kzqbFh5IA==","signatures":[{"sig":"MEUCIHDkjfklPB2//ZR8lPhtuQ6qTAdqsC40nwlrC8d7Ek4YAiEArKNbz4Nx0V6a+eUmrjTZZy92L4yFWp4Arq4Msa7gtZY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6072},"main":"index.js","engines":{"node":">=22.12.0"},"scripts":{},"_npmUser":{"name":"arrai-developers","email":"developers@arrai.com"},"repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"description":"Arrai Innovation's shareable configuration for commitlint.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@commitlint/config-conventional":"^21.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commitlint-config_3.0.0_1785950545837_0.18605086633300205","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"_id":"@arrai-innovations/commitlint-config@3.1.0","bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"dist":{"shasum":"d1824a3cef0f63fdedbda6cfc56a1ea67e58610f","tarball":"https://registry.npmjs.org/@arrai-innovations/commitlint-config/-/commitlint-config-3.1.0.tgz","fileCount":4,"integrity":"sha512-ChUisH0BSbaWmXbiU7I25AklmlY0AKwGVgHN/5RetWEKz6l2Sz8n30XN2yhvyb+OdZEgGrh7XLl95iwkT2rnyg==","signatures":[{"sig":"MEYCIQCEU7HY8MuHlmbRVTg3wID34pRdEgUJ4Z1/S6sx+szn5wIhAIobPpangqFywCv7E/gj6rH6qqeujgrzTZeG+DpZJMnu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIADBGI8gPCFLrPL53MiLWYMaeuQo1p2uwIRgAxazGYxKAiEA90MYEAWr9kEkjyyDiALbc1UJR7NqRSXLni1nuWxfuSc="}],"unpackedSize":8809},"main":"index.js","name":"@arrai-innovations/commitlint-config","author":"Arrai Innovations Inc.","engines":{"node":">=22.12.0"},"license":"BSD-3-Clause","scripts":{},"version":"3.1.0","_npmUser":{"name":"arrai-developers","email":"developers@arrai.com"},"homepage":"https://github.com/arrai-innovations/commitlint-config#readme","repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"description":"Arrai Innovation's shareable configuration for commitlint.","directories":{},"maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"_nodeVersion":"26.0.0","dependencies":{"@commitlint/config-conventional":"^21.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commitlint-config_3.1.0_1789670699959_0.34544919740629343"}}},"time":{"created":"2021-02-01T23:35:30.669Z","modified":"2026-09-17T18:45:00.289Z","1.0.0":"2021-02-01T23:35:31.009Z","1.1.0":"2021-03-03T19:24:10.637Z","2.0.0":"2025-03-14T17:12:36.128Z","2.1.0":"2025-05-23T15:27:06.152Z","3.0.0":"2026-08-05T17:22:25.987Z","3.1.0":"2026-09-17T18:45:00.051Z"},"bugs":{"url":"https://github.com/arrai-innovations/commitlint-config/issues"},"author":"Arrai Innovations Inc.","license":"BSD-3-Clause","homepage":"https://github.com/arrai-innovations/commitlint-config#readme","repository":{"url":"git+https://github.com/arrai-innovations/commitlint-config.git","type":"git"},"description":"Arrai Innovation's shareable configuration for commitlint.","maintainers":[{"name":"arrai-developers","email":"developers@arrai.com"}],"readme":"# commitlint-config\n\nArrai Innovation's shareable configuration for [commitlint](https://commitlint.js.org).\n\n- [Requirements](#requirements)\n- [Use with pre-commit](#use-with-pre-commit)\n- [Use with Husky](#use-with-husky)\n- [Publishing](#publishing)\n\n## Requirements\n\n- Node.js 22.12.0 or newer, the floor set by `@commitlint/config-conventional` 21.\n- commitlint 21 (`@commitlint/cli@^21`). Commitlint 19 and 20 also load this configuration, but both depend on the\n  deprecated `git-raw-commits` package.\n\n## Use with pre-commit\n\n1. Install pre-commit: https://pre-commit.com\n\n1. Install the `commit-msg` hook type:\n\n   ```console\n   $ pre-commit install --hook-type commit-msg\n   pre-commit installed at .git/hooks/commit-msg\n   ```\n\n1. Create a `.pre-commit-config.yaml` file at the root of your repo:\n\n   ```yaml\n   default_stages: [commit]\n   fail_fast: true\n   \n   repos:\n       - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook\n         rev: v4.1.0\n         hooks:\n           - id: commitlint\n             stages: [ commit-msg ]\n             additional_dependencies: [ \"@arrai-innovations/commitlint-config\" ]\n   ```\n\n   It contains a pre-commit hook for commitlint using [commitlint-pre-commit-hook](https://github.com/alessandrojcm/commitlint-pre-commit-hook) with this repo's configuration as a dependency.\n\n1. Add a `.commitlintrc.json` or other commitlint configuration file (see [Install commitlint](https://commitlint.js.org/#/guides-local-setup?id=install-commitlint)) to the root of your repo:\n\n   ```json\n   {\n       \"extends\": [\"@arrai-innovations/commitlint-config\"]\n   }\n   ```\n\n## Use with Husky\n\n1. Install Husky: https://typicode.github.io/husky/\n\n   ```console\n   $ npm install --save-dev \"husky@^5\"\n   ```\n\n1. Install commitlint/cli: https://www.npmjs.com/package/@commitlint/cli\n\n   ```console\n   $ npm install --save-dev @commitlint/cli\n   ```\n\n1. Create a `.husky/commit-msg` file at the root of your repo to run commitlint:\n\n   ```bash\n   #!/usr/bin/env bash\n   npx --no-install commitlint --edit \"$1\"\n   ```\n   \n   Husky changed formats in version 5. Version 4 Husky used to have it's hooks configured in `package.json`.\n\n1. Add scripts to `package.json` to install Husky hooks when a user runs `npm install` while developing our package:\n\n   ```console\n   $ npm install --save-dev is-ci pinst\n   ```\n\n   ```json\n   {\n      ...\n      \"scripts\": {\n         ...,\n         \"postinstall\": \"is-ci || husky install\",\n         \"prepublishOnly\": \"pinst --disable\",\n         \"postpublish\": \"pinst --enable\"\n      },\n      ...\n   }\n   ```\n   \n   The `is-ci` module helps us not install hooks uselessly on ci builds. The `pisnt` module helps us not install hooks when users install this package as a dependency.\n\n1. Install this repo's configuration:\n\n   ```console\n   $ npm install --save-dev @arrai-innovations/commitlint-config\n   ```\n\n1. Add a `.commitlintrc.json` or other commitlint configuration file (see [Install commitlint](https://commitlint.js.org/#/guides-local-setup?id=install-commitlint)) to the root of your repo:\n\n   ```json\n   {\n       \"extends\": [\"@arrai-innovations/commitlint-config\"]\n   }\n   ```\n\n## Publishing\n\nFor maintainers. This package is published to the public npm registry by hand; the repository has no CI.\n\n1. Add the release to `CHANGELOG.md`, set the new `version` in `package.json`, and run `npm install` so\n   `package-lock.json` records the same version.\n\n1. Commit, tag, and push. `pnpm publish` checks that the branch is clean and up to date with its remote, so push before\n   publishing:\n\n   ```console\n   $ git tag -a 3.0.0 -m \"3.0.0\"\n   $ git push origin main\n   $ git push origin refs/tags/3.0.0\n   ```\n\n1. Confirm both the contents and the destination:\n\n   ```console\n   $ pnpm publish --dry-run\n   📦 @arrai-innovations/commitlint-config@3.0.0 → https://registry.npmjs.org/\n   ```\n\n   The registry on that line must read `registry.npmjs.org`. If it reads anything else, stop and see below.\n\n1. Publish:\n\n   ```console\n   $ pnpm publish\n   ```\n\n   Pass `--otp=<code>` if npm asks for a one-time password. `--access public` is unnecessary, since\n   `publishConfig.access` already sets it.\n\n### Why `publishConfig.registry` is in `package.json`\n\nDeveloper `~/.npmrc` files map the whole `@arrai-innovations` scope to Arrai's internal registry, which is correct for\ninstalling private packages but wrong for publishing this public one. The `registry` entry under `publishConfig`\nredirects publishing back to the public registry, and it applies only to publishing. Leave it in place. Without it,\n`pnpm publish` targets the internal registry and stops with a `403 Forbidden`.\n\nTo override the scope for a single command instead, without editing your `~/.npmrc`:\n\n```console\n$ pnpm publish --@arrai-innovations:registry=https://registry.npmjs.org/\n```\n\nA registry line naming one package, such as `@arrai-innovations/commitlint-config:registry=...`, has no effect. npm and\npnpm resolve registry mappings per scope only.\n\n","readmeFilename":""}