{"_id":"@aggreggator-labs/config-prettier","name":"@aggreggator-labs/config-prettier","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@aggreggator-labs/config-prettier","version":"0.0.1","description":"Shared Prettier options for aggreggator-labs repositories - spread them into a repo-local .prettierrc.mjs and add plugins there","type":"module","main":"index.mjs","types":"index.d.mts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/aggreggator-labs/dotfiles.git","directory":"npm/config-prettier"},"keywords":["prettier","prettier-config","config"],"license":"MIT","peerDependencies":{"prettier":"^3.0.0"},"publishConfig":{"access":"public"},"gitHead":"5e3d070df03f0757a25ca989fd9cc4e48590b8f9","_id":"@aggreggator-labs/config-prettier@0.0.1","bugs":{"url":"https://github.com/aggreggator-labs/dotfiles/issues"},"homepage":"https://github.com/aggreggator-labs/dotfiles#readme","_nodeVersion":"26.8.1","_npmVersion":"11.19.0","dist":{"integrity":"sha512-ouPo+jxtAhCqhmtxltDR6lIOWiub9zkECVTEUBJdY/EVce6Ms7QCmS8NPwHZKgIM9QDOb2u6+pRPCMY5g5KXIA==","shasum":"0cf43bb790272402475dcadcbd4791a3215fd43a","tarball":"https://registry.npmjs.org/@aggreggator-labs/config-prettier/-/config-prettier-0.0.1.tgz","fileCount":4,"unpackedSize":3340,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGa91IUEv/DCy74uPuWvMJqj2sbKLequq61LVtP9J8NcAiEA3YNlG/bWo3jQ7NCtHEhn8vXIp8ymx3cqveSe2FmtKsc="}]},"_npmUser":{"name":"aggreggator-labs","email":"labs-npmjs@aggreggator.de"},"directories":{},"maintainers":[{"name":"aggreggator-labs","email":"labs-npmjs@aggreggator.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/config-prettier_0.0.1_1788576361584_0.5887763572685281"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-05T02:46:01.318Z","0.0.1":"2026-09-05T02:46:01.708Z","modified":"2026-09-05T02:46:01.962Z"},"maintainers":[{"name":"aggreggator-labs","email":"labs-npmjs@aggreggator.de"}],"description":"Shared Prettier options for aggreggator-labs repositories - spread them into a repo-local .prettierrc.mjs and add plugins there","homepage":"https://github.com/aggreggator-labs/dotfiles#readme","keywords":["prettier","prettier-config","config"],"repository":{"type":"git","url":"git+https://github.com/aggreggator-labs/dotfiles.git","directory":"npm/config-prettier"},"bugs":{"url":"https://github.com/aggreggator-labs/dotfiles/issues"},"license":"MIT","readme":"# @aggreggator-labs/config-prettier\n\nThe shared Prettier options for aggreggator-labs repositories.\n`index.mjs` is the source of truth; a repository spreads it into\nits own `.prettierrc.mjs` and adds only its plugins.\n\n## Usage\n\n```bash\nbun add -d @aggreggator-labs/config-prettier prettier\n```\n\nRoot `.prettierrc.mjs`:\n\n```js\nimport shared from '@aggreggator-labs/config-prettier';\n\nexport default {\n  ...shared,\n  plugins: ['prettier-plugin-tailwindcss'],\n};\n```\n\nPlugins are each repository's own: they are installed there, and\na plugin the shared file named would become a dependency of every\nconsumer. A repository without plugins re-exports the object as\nit is.\n\n## Options\n\n- `printWidth` 100, and 65 for Markdown through an override\n- `proseWrap` always - prose is re-wrapped, not reported;\n  markdownlint's `MD013` stays off so exactly one tool has an\n  opinion about line width\n- `singleQuote`, `semi`, `trailingComma` all, `arrowParens`\n  always, `tabWidth` 2\n- `endOfLine` auto - a checkout with a different line-ending\n  setting is not rewritten\n\n## Publishing\n\nReleases are staged, never pushed live by a machine. A push to\n`main` with a new version in `package.json` runs\n`.github/workflows/publish-npm.yml` in the dotfiles repository,\nwhich stages the version on npmjs through trusted publishing\n(GitHub OIDC, no token; no provenance, which npm attaches only\nfor public source repositories). A maintainer then approves it\nwith two-factor authentication - `npm stage approve` or the\npackage page - and only then is it on the registry. An unchanged\nversion stages nothing and says so. Bump the version here to\nrelease; patch bumps (`0.0.x`) by default.\n","readmeFilename":"README.md","_rev":"1-564c317f11e7835de937af48d5e49068"}