{"_id":"@amollo-lint/commitlint-plugin-scope-ws","_rev":"3-4dbbf935ed88e5f1d5ed0939bc4bc556","name":"@amollo-lint/commitlint-plugin-scope-ws","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"@amollo-lint/commitlint-plugin-scope-ws","scopeCommitName":"@amollo-lint/cpsw","version":"0.1.0","license":"MIT","description":"recognition and inclusion of the package names of the workspaces","author":{"name":"amollo-ui","email":"amolloui@gmail.com"},"keywords":["commitlint","commitlint-ws","commitlint-scope","commitlint-directory","commitlintplugin","commitlint-plugin","amollo","linter"],"publishConfig":{"access":"public"},"homepage":"https://github.com/amollo-ui/amollo-lint/tree/master/packages/@commitlint/commitlint-plugin-scope-ws#readme","bugs":{"url":"https://github.com/amollo-ui/amollo-lint/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/amollo-ui/amollo-lint.git"},"main":"index.js","scripts":{"lint":"eslint \"./**/*.js\"","lint:fix":"yarn lint --fix","prepublishOnly":"yarn lint:fix && yarn lint"},"devDependencies":{"@amollo-lint/eslint-config-js":"^1.1.0","eslint":"^8.9.0"},"dependencies":{"fast-glob":"^3.2.11"},"gitHead":"65fdd7e173be9922fdb91d966d81b8c5ed233a7d","_id":"@amollo-lint/commitlint-plugin-scope-ws@0.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ecmSzD2V4+1z6vi4P450ehljIyuxkkc/LAneDkyAKETe5Bw8nJgWeTn9m4jsu3NeYXYBnLzOaxB3Oh5L9piqeQ==","shasum":"ee66f5f04ce64c4366e7ce80bdcd783f36e1eac5","tarball":"https://registry.npmjs.org/@amollo-lint/commitlint-plugin-scope-ws/-/commitlint-plugin-scope-ws-0.1.0.tgz","fileCount":7,"unpackedSize":8933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGi3LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp03g//YTmJZRAEsqLe4Epam5s+sVSlXSb202q9zkyt0pKK6Rd9+4TF\r\n32xwy1Te5tLIR0Iofmd2EyafHNE4m0oMHcPh8r0QTjuDPtFULHz3n0YOE1zm\r\nBa0C6/5Re1zbQrW4OzDG5VvGCrdDi5pJBGs3tSap8belzI4PsBQd08X6bs9A\r\ncqk0PY1T0ItS68C257l7hsNCc6MiCXxe4Vnr15STv4sn+2/mB4K9iCxVx8QX\r\nuyQRrBpSQ+gTWmpdW1DqQ1pzuxTYsgC8bWh+FlmtBVrTcwmsaBQLL8hPXzPp\r\nRZVkJCRdUkEFluRxy41p/5gXZuwiRdljayM7e3AlosZKKnPAS04W8/wbDj6g\r\n7RumSFHfmIkwF4Taykhns81ihhv4T1Q1Xqw/qr5uDFiLGJoC3K9AqXl8iDec\r\nIeW3SbuCktkmAeKh2rfq6u8byKSt1C1hX0vKG9m7830aBVssbUEN8xmoxv7g\r\nOnMA8xP69+79iBevR+fX+ViAUNaty8qCEoUgfyhXJ4w/NI4ZfbP6NLl+tSNB\r\nGVzK0hK4QvblxlJp7yGJGwEU315s9NL52urq8s5LYIlYAGiBtqmPcOBR1qF2\r\npMjdPnaLsV+8BP8NlBv6cS/IDi23xvomC0L1RHz+zkI3m//JXc5FlaY6/0KT\r\nukBUb8JKFX14wE5eoG7Lxc0TNkw6MulMezI=\r\n=GMPv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCV0HztErqDvOlTLcfhsLd4pNlZ3KhiFFBA5Azoni06rQIgBG3aqjuoS0nXT0PdiygvfLmavKBwLIhQ1SbuKObjbqo="}]},"_npmUser":{"name":"amollo","email":"amolloui@gmail.com"},"directories":{},"maintainers":[{"name":"amollo","email":"amolloui@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commitlint-plugin-scope-ws_0.1.0_1645882827157_0.6542235782812511"},"_hasShrinkwrap":false},"1.0.0":{"name":"@amollo-lint/commitlint-plugin-scope-ws","scopeCommitName":"@amollo-lint/cpsw","version":"1.0.0","license":"MIT","description":"recognition and inclusion of the package names of the workspaces","author":{"name":"amollo-ui","email":"amolloui@gmail.com"},"keywords":["commitlint","commitlint-ws","commitlint-scope","commitlint-directory","commitlintplugin","commitlint-plugin","amollo","linter"],"publishConfig":{"access":"public"},"homepage":"https://github.com/amollo-ui/amollo-lint/tree/master/packages/@commitlint/commitlint-plugin-scope-ws#readme","bugs":{"url":"https://github.com/amollo-ui/amollo-lint/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/amollo-ui/amollo-lint.git"},"main":"index.js","scripts":{"lint":"eslint \"./**/*.js\"","lint:fix":"yarn lint --fix","prepublishOnly":"yarn lint:fix && yarn lint"},"devDependencies":{"@amollo-lint/eslint-config-js":"^1.1.0","eslint":"^8.9.0"},"dependencies":{"fast-glob":"^3.2.11"},"gitHead":"78cff50b07144b65d0cc05103468a9fa51e33228","_id":"@amollo-lint/commitlint-plugin-scope-ws@1.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-a0fPrV6MyWUmdq0xTYxipKZCq+9pUK4wq7PFGOq227oPpPwoNAjya0odBN0pRct4+nH26PUFr0A5bzGcwqGStg==","shasum":"9fc10aa3fc79170ef2362f8c2811c34dfe8670ce","tarball":"https://registry.npmjs.org/@amollo-lint/commitlint-plugin-scope-ws/-/commitlint-plugin-scope-ws-1.0.0.tgz","fileCount":7,"unpackedSize":9136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGjDEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgKQ//SjJEpJr2zpB/HppzYwgbtbhaskbualUw11MIq6qAeSb0CtoX\r\nX5xlor77QYXDK74wJOqmL+vYsYFbfLdI9C1RipMym8IQ4cv4RNq+uLtMNmnF\r\nb/uc8jzGHHBPjB+TqdaUj5f0mRe+9xSLfGebtjhhXfPjFeOD+tuHDsXtvuJc\r\ndfwMoOajaQV7nopdB7oXqJMEgaJrmbpPDOBhPbJFKn9rAvqo99jYQzDiV83w\r\nOVTqFzzyJ9vkVpK2cqbWjZmpm/uIck7oxVzpD5UldcjBANxp1WwYnriRa/ZO\r\nhpS7rJU7WTqoiU9kOW60ptFuuShvcbIftatGItLj+EIPSASx+k0u5zA93ZJo\r\npjLzRPD2K6WH6/OqEPWo2MB//wxsEeknZVFrxdWe1+hu16mWRADUEq6L8SLL\r\nFBwGYtWiME7nwT37KQigm3WoY/3OAxw/uD8xUe1hIVA7uCd3MtwoZXB3F9fQ\r\nxyp601L5SRRQ56nw2egn8zLELU6YXBAaiwhVn7esWenyhrPKPPA5S7LJT/f4\r\nd1cd83TNJ1h1D9veByRmthUQnGIAga9yep9kW9PUBjD7GwhV659ZwnJAWN4Q\r\ngV14Hmgx79BbKrAE8bVy6Bj0jnmPDGJwCPSRXPYFVte6dwnBaIvSiSpNRR81\r\naYnH3EgUajicFmw7/RGnOmu2Z5KvukpM0dI=\r\n=IUtR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXJiuHL+gYeTKZsqSu4b5XccS+M7ZO2UChQx2lGXG1VwIhAKh497ug9YTDS8B1M+Kcssfhh5RNDM8J8QcR+I3Vt/NM"}]},"_npmUser":{"name":"amollo","email":"amolloui@gmail.com"},"directories":{},"maintainers":[{"name":"amollo","email":"amolloui@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commitlint-plugin-scope-ws_1.0.0_1645883588565_0.19229656082251"},"_hasShrinkwrap":false},"1.1.0":{"name":"@amollo-lint/commitlint-plugin-scope-ws","scopeCommitName":"cpsw","version":"1.1.0","license":"MIT","description":"recognition and inclusion of the package names of the workspaces","author":{"name":"amollo-ui","email":"amolloui@gmail.com"},"keywords":["commitlint","commitlint-ws","commitlint-scope","commitlint-directory","commitlintplugin","commitlint-plugin","amollo","linter"],"publishConfig":{"access":"public"},"homepage":"https://github.com/amollo-ui/amollo-lint/tree/master/packages/@commitlint/commitlint-plugin-scope-ws#readme","bugs":{"url":"https://github.com/amollo-ui/amollo-lint/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/amollo-ui/amollo-lint.git"},"main":"index.js","scripts":{"lint":"eslint \"./**/*.js\"","lint:fix":"yarn lint --fix","prepublishOnly":"yarn lint:fix && yarn lint"},"devDependencies":{"@amollo-lint/eslint-config-js":"^1.1.0","eslint":"^8.9.0"},"dependencies":{"fast-glob":"^3.2.11"},"gitHead":"98df7596992006d3605453e620ef5e1815564160","_id":"@amollo-lint/commitlint-plugin-scope-ws@1.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-E+7h0kpGhcx2Sw/qEyVIGd5YvJ+14pP0WMEoCZTy9JqrKenlIQKDHeJnWP2RHWw9Z9NqYj8USISSqXBHdqZ8iA==","shasum":"7b8302fad933178947d9cf84dc8a01fd0ddcc138","tarball":"https://registry.npmjs.org/@amollo-lint/commitlint-plugin-scope-ws/-/commitlint-plugin-scope-ws-1.1.0.tgz","fileCount":7,"unpackedSize":9155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHr37ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSWBAAl+X1O+YmFP9Yo8PSMA7GzLpP+2Xb887vc/UXxyMIwNUcervg\r\nT+8OPhWXrGnvuoR2BJjqFIMYEikEI97F+BGDaZTyV5ApjZ+VV/4Wshbca45x\r\nNLSPi4v9X9Ol6UA4GvaIO6LnOEVVqEmgEXY1UUZCYhAEZGGZa/MhnSo4Ps0y\r\nTYWy0LvZdnbZ3FT1c5OTgEmoYkFHG9EQFS+i7RnnkRrIROeGTnORg18Y+wkF\r\n7dOKwE27YIcRw+Z5CCpmGlAJbS2xC5dssuxC8ThSEBPWD/1aCK+slEXzNjit\r\nQAX6hcWAXhN1v5fCkQ5rps9GsVKmKDSC/7hGZzMSQhA3AkTjuRoFEyCuxk1V\r\ni3U1yaCRGBC8ahjhDJpSW2YhtE2dCSykWIo3bzM+8QCmh9TYkSTmYWd0FmRE\r\nw65OZrjrqFUggHKwU/wZrXGFLDKEJGzTopHGz+c+y8fYNRvuaZMR8nzRgyH2\r\nFIIztMP7zUOvFhLMb3n5fO8UCpo1YdLEtEfQRC4yGnCet/K1AB33F2aahdJ1\r\n2TKWT3pHRn0/bbVeIVPT6NuZsmi3sB4fl4bPnhnw5W16TqfCi/dkc3zYe4fC\r\nYnSBiDn89EIhn0QDcltIVoNRdVFaX8B4W3QhRm7SYgqZ5vdJRm/sP0dFezO0\r\n/DM6hSVG2t6fNOxtBnGmON9YiHtjHIHkEr0=\r\n=lod9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsD8EfE4g64QwaRHjFpMJqo2z6ElhKeWazbUudgbHw0gIhAJcEaiucD30+YrKjAfDVdmZ46o4CwYkGOZ9rUIlGeebE"}]},"_npmUser":{"name":"amollo","email":"amolloui@gmail.com"},"directories":{},"maintainers":[{"name":"amollo","email":"amolloui@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commitlint-plugin-scope-ws_1.1.0_1646181883624_0.6260320586121639"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-26T13:40:27.090Z","0.1.0":"2022-02-26T13:40:27.320Z","modified":"2022-04-04T13:50:37.327Z","1.0.0":"2022-02-26T13:53:08.694Z","1.1.0":"2022-03-02T00:44:43.863Z"},"maintainers":[{"name":"amollo","email":"amolloui@gmail.com"}],"description":"recognition and inclusion of the package names of the workspaces","homepage":"https://github.com/amollo-ui/amollo-lint/tree/master/packages/@commitlint/commitlint-plugin-scope-ws#readme","keywords":["commitlint","commitlint-ws","commitlint-scope","commitlint-directory","commitlintplugin","commitlint-plugin","amollo","linter"],"repository":{"type":"git","url":"git+ssh://git@github.com/amollo-ui/amollo-lint.git"},"author":{"name":"amollo-ui","email":"amolloui@gmail.com"},"bugs":{"url":"https://github.com/amollo-ui/amollo-lint/issues"},"license":"MIT","readme":"# @amollo-lint/commitlint-plugin-scope-ws\n\n[![MIT License][license-image]][LICENSE]\n[![npm version][npm-img]][npm]\n\n> recognition and inclusion of the package names of the workspaces\n\nPlugin for naming scopes commit headers. The namespace will be assigned from the `package.json` parameter for the inner workspaces and will replace the `/` character with `:` (e.g `@amollo-lint/stylelint` with `@amollo-lint:stylelint`). To shorten the scope name, add the `scopeCommitName` parameter to `package.json`.\n\n## Installation\n- **npm**\n```\nnpm install --save-dev @amollo-lint/commitlint-plugin-scope-ws @commitlint/config-conventional @commitlint/cli\n```\n\n- **yarn**\n```\nyarn add -D @amollo-lint/commitlint-plugin-scope-ws @commitlint/config-conventional @commitlint/cli\n```\n\n## Usage\nSet your commitlint config to:\n```js\n{\n    extends: \"@commitlint/config-conventional\",\n    plugins: [\"@amollo-lint/commitlint-plugin-scope-ws\"],\n    rules: {\n        \"scope-empty\": [2, \"never\"],\n        \"scope-ws\": [\n            2,\n            \"always\",\n            {\n                \"additionalScopes\": [\"root\"]\n            }\n        ]\n    }\n}\n```\n\n### Example\nDeclare a worktree in root scope\n```json\n{\n  \"workspaces\": {\n    \"packages\": [\n      \"packages/*\",\n      \"packages/@eslint/*\",\n      \"packages/@commitlint/*\"\n    ]\n  },\n}\n```\n\nStructure project\n```bash\n.\n├── ....\n├── package.json\n├── packages\n│   ├── @commitlint\n│   │   ├── commitlint-plugin-card-id\n│   │   │   ├── ....\n│   │   │   └── package.json > scopeCommitName: @amollo-lint/cpci\n│   │   └── commitlint-plugin-scope-ws\n│   │       ├── ....\n│   │       └── package.json > scopeCommitName: @amollo-lint/cpsw\n│   ├── @eslint\n│   │   └── eslint-config-js\n│   │       ├── ....\n│   │       └── package.json > name: @amollo-lint/eslint-config-js\n│   └── stylelint\n│       ├── ...\n│       └── package.json > name: @amollo-lint/stylelint\n└── yarn.lock\n```\n\nRecord changes to the repository\n\n```console\n$ git commit -m \"feat(@amollo-lint:cpci): creating ground rules\"\n```\n\n## Options\n### `additionalScopes`\nSet up additional scopes<br/>\n**accept** - `string` or `string[]` <br/>\n**default** - `[]` <br/><br/>\nexample:\n  - **[\"root\"]**\n    - *incorrect*\n        - `\"<type>(incompatibleScope): initial commit\"`\n    - *correct*\n        - `\"<type>(root): initial commit\"`\n\n## Extends\n- `fast-glob`\n\n[license-image]: https://img.shields.io/npm/l/format-message.svg\n[LICENSE]: https://github.com/format-message/format-message/blob/master/LICENSE-MIT\n[npm-img]: https://img.shields.io/npm/v/@amollo-lint/commitlint-plugin-scope-ws.svg?style=flat\n[npm]: https://www.npmjs.com/package/@amollo-lint/commitlint-plugin-scope-ws\n","readmeFilename":"README.md"}