{"_id":"@ctrliq/quantic-prettier-config","_rev":"3-63c3b72012f4fd0256cfabf64464ad64","name":"@ctrliq/quantic-prettier-config","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"@ctrliq/quantic-prettier-config","version":"0.0.0","license":"ISC","_id":"@ctrliq/quantic-prettier-config@0.0.0","maintainers":[{"name":"jvciq","email":"jvilar@ciq.com"}],"dist":{"shasum":"08f161f901b1934348522d1a69e06b3614fddba4","tarball":"https://registry.npmjs.org/@ctrliq/quantic-prettier-config/-/quantic-prettier-config-0.0.0.tgz","fileCount":3,"integrity":"sha512-JP7HAwQPgJSiN3pmoOx89fN8igwN7Mb41NokHGzZMvhGvmqfFJn4L2J+2jLNguneITPus7A/iv/DqR3rCduD1g==","signatures":[{"sig":"MEQCIEJ1VEx7ORy9O4GYim2CAfz3AR+ucdVIhWnPyzDoS6QnAiA37LVxMjzTK+vumphBlr5ndiFQPloWSxSq9eMm3cfKuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2988},"type":"module","exports":{".":"./base.js"},"scripts":{"test":"vitest run","release":"semantic-release","typecheck":"echo 'No types to check'"},"_npmUser":{"name":"jvciq","email":"jvilar@ciq.com"},"_npmVersion":"11.16.0","description":"Shared Prettier config for Quantic design system consumers","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"catalog:"},"peerDependencies":{"prettier":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/quantic-prettier-config_0.0.0_1787982882552_0.4623902880504078","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@ctrliq/quantic-prettier-config","version":"1.0.0","license":"ISC","_id":"@ctrliq/quantic-prettier-config@1.0.0","maintainers":[{"name":"jvciq","email":"jvilar@ciq.com"}],"dist":{"shasum":"8066e9327cfa1505ae41c72b6e5b792201c845c3","tarball":"https://registry.npmjs.org/@ctrliq/quantic-prettier-config/-/quantic-prettier-config-1.0.0.tgz","fileCount":3,"integrity":"sha512-Z9UEaOH8RsO1R/NMbBIGp/EbLocsIU+eC2xR1+tcIpxe5ILTJorMkZ/qcgBwnFH4rAHF7t9ZULu7fC0q9RwQYg==","signatures":[{"sig":"MEUCIHw0bvueKIPI1i/2lLvBnzSr97r80/y+s8kfGEOP4ixiAiEApcRvhiFnUO6xQasBs57/1ClPPJ8NChrcclNiJUJQUf8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3022},"type":"module","exports":{".":"./base.js"},"scripts":{"test":"vitest run","release":"semantic-release","typecheck":"echo 'No types to check'"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f6e27740-f8f2-40d4-a490-a79feae01dba"}},"description":"Shared Prettier config for Quantic design system consumers","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.7"},"peerDependencies":{"prettier":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/quantic-prettier-config_1.0.0_1788245155024_0.174116024446058","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ctrliq/quantic-prettier-config","version":"1.0.1","description":"Shared Prettier config for Quantic design system consumers","type":"module","exports":{".":"./base.js","./astro":"./astro.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"peerDependencies":{"prettier":"^3.0.0","prettier-plugin-astro":"^0.14.0"},"peerDependenciesMeta":{"prettier-plugin-astro":{"optional":true}},"license":"ISC","devDependencies":{"prettier":"3.9.5","prettier-plugin-astro":"0.14.1","vitest":"3.2.7"},"scripts":{"test":"vitest run","typecheck":"echo 'No types to check'","release":"semantic-release"},"_nodeVersion":"24.19.0","_id":"@ctrliq/quantic-prettier-config@1.0.1","dist":{"integrity":"sha512-iydWTl3riGb+gm4Wt5+G9PElLE2easHYx/xOJlFR1P6cK6SvM6kRRFIDhhrS78YETndohOoLm2n4/5CM3ltiCQ==","shasum":"5a5608e4f7f322e4449c4154c9a3dbcfd0190860","tarball":"https://registry.npmjs.org/@ctrliq/quantic-prettier-config/-/quantic-prettier-config-1.0.1.tgz","fileCount":4,"unpackedSize":4081,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDrdhbdsqm0eFsoZlvvv7Fy/rJt8lFHVNvV9tajBBFBiAiEA8OnFtgWSLbtPWz8ar4sLGpfuo9uM4aoByQqNPPTrZcY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f6e27740-f8f2-40d4-a490-a79feae01dba"}},"directories":{},"maintainers":[{"name":"jvciq","email":"jvilar@ciq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quantic-prettier-config_1.0.1_1788504535380_0.7499372531352142"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-29T05:54:42.444Z","modified":"2026-09-04T06:48:55.752Z","0.0.0":"2026-08-29T05:54:42.674Z","1.0.0":"2026-09-01T06:45:55.170Z","1.0.1":"2026-09-04T06:48:55.510Z"},"license":"ISC","description":"Shared Prettier config for Quantic design system consumers","maintainers":[{"name":"jvciq","email":"jvilar@ciq.com"}],"readme":"# @ctrliq/quantic-prettier-config\n\nShared Prettier config for Quantic design system consumers.\n\nCompletes the shared config set alongside [`@ctrliq/quantic-eslint-config`](../eslint-config),\n[`@ctrliq/quantic-stylelint-config`](../stylelint-config) and\n[`@ctrliq/quantic-tsconfig`](../tsconfig). Formatting was the one decision still copied by\nhand into every generated project.\n\n## Requirements\n\n- Prettier `^3.0.0`\n\n## Install\n\n```sh\npnpm add -D @ctrliq/quantic-prettier-config prettier\n```\n\n## Usage\n\nReference the package from `package.json`:\n\n```jsonc\n{\n  \"prettier\": \"@ctrliq/quantic-prettier-config\"\n}\n```\n\nOr from a `.prettierrc`:\n\n```json\n\"@ctrliq/quantic-prettier-config\"\n```\n\nTo override a value, import and spread it:\n\n```js\n// prettier.config.js\nimport quantic from '@ctrliq/quantic-prettier-config';\n\nexport default {\n  ...quantic,\n  printWidth: 80,\n};\n```\n\n## Astro projects\n\n`.astro` files need `prettier-plugin-astro` to parse at all; without it Prettier silently\nskips them rather than erroring, so a project can look format-clean while never actually\nchecking its `.astro` source. Use the `/astro` export instead of the bare package, and\ninstall the plugin yourself:\n\n```sh\npnpm add -D @ctrliq/quantic-prettier-config prettier prettier-plugin-astro\n```\n\n```json\n\"@ctrliq/quantic-prettier-config/astro\"\n```\n\nThe plugin is a peer the consumer installs, not a dependency of this package, so a React\nor plain project pulling in the base config never installs an Astro parser it does not\nneed. Omitting `prettier-plugin-astro` while referencing `/astro` fails at load time.\n\n## What it sets\n\nFour keys, and only four. Each is a decision that Quantic codebases have disagreed on;\neverything else is left at Prettier's own defaults so upstream can evolve them.\n\n| Key | Value |\n| --- | --- |\n| `printWidth` | `100` |\n| `singleQuote` | `true` |\n| `trailingComma` | `'all'` |\n| `semi` | `true` |\n\n`printWidth`, `singleQuote` and `trailingComma` are the values both project generators\npreviously inlined into `templates/base/.prettierrc`. Those files now reference this package\ninstead, so a formatting decision changed here reaches projects on their next dependency\nupdate rather than being frozen at scaffold time.\n\n`semi` is stated rather than inherited because it is the one key where existing consumers\ndisagree: some Quantic projects run `semi: false`. Adopting this config in such a project\nadds semicolons throughout, so expect a formatting commit and land it on its own.\n\n## Adopting in a project that has never run Prettier\n\nRun the formatter once, as a single commit that changes nothing but formatting, then add\nthe revision to `.git-blame-ignore-revs` so `git blame` skips it:\n\n```sh\npnpm exec prettier --write .\ngit commit -am 'chore: format with the shared Prettier config'\ngit rev-parse HEAD >> .git-blame-ignore-revs\ngit config blame.ignoreRevsFile .git-blame-ignore-revs\n```\n\nDo this when no long-lived branches are open. A whole-repo reformat conflicts with every\npull request that touches a reformatted file.\n","readmeFilename":""}