[{"data":1,"prerenderedAt":1327},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Fpackages\u002Fconfigs\u002Freadme":429},{"value":4,"alert":5},"18%",false,[],[8,11,14,17,20],{"label":9,"to":10},"0041 The visitor view becomes its own app, and the portal reads only as a developer platform","\u002Fdecisions\u002F0041-personal-site-splits-from-developer-portal",{"label":12,"to":13},"0040 Visitors land on the front page and toggle to the developer view","\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"label":15,"to":16},"0039 The developer portal is redesigned for visitors, from a twelve-site benchmark","\u002Fdecisions\u002F0039-developer-portal-benchmark",{"label":18,"to":19},"0038 Marina Roustan's discovery","\u002Fdecisions\u002F0038-marina-roustan-discovery",{"label":21,"to":22},"0013 New linters: the robustness gap is tsconfig and enforcement, not plugins","\u002Fdecisions\u002F0013-linter-coverage",[24,29,60,83],{"labelKey":25,"icon":26,"to":27,"badge":28},"app.menu.allProjects","i-lucide-layers","\u002Fprojects","11",{"labelKey":30,"icon":31,"to":32,"badge":33,"children":34},"app.menu.kinds.apps","i-lucide-app-window","\u002Fprojects?kind=apps","5",[35,40,45,50,55],{"label":36,"icon":31,"to":37,"badge":38,"coverage":39},"developer-portal","\u002Fprojects\u002Fdeveloper-portal","94%",94.37,{"label":41,"icon":31,"to":42,"badge":43,"coverage":44},"huella-legal","\u002Fprojects\u002Fhuella-legal","97%",97.48,{"label":46,"icon":31,"to":47,"badge":48,"coverage":49},"marina-roustan","\u002Fprojects\u002Fmarina-roustan","100%",100,{"label":51,"icon":31,"to":52,"badge":53,"coverage":54},"portfolio","\u002Fprojects\u002Fportfolio","91%",91.31,{"label":56,"icon":31,"to":57,"badge":58,"coverage":59},"wp-editor","\u002Fprojects\u002Fwp-editor","50%",49.89,{"labelKey":61,"icon":62,"to":63,"badge":64,"children":65},"app.menu.kinds.packages","i-lucide-package","\u002Fprojects?kind=packages","4",[66,71,75,80],{"label":67,"icon":62,"to":68,"badge":69,"coverage":70},"configs","\u002Fprojects\u002Fconfigs","76%",75.7,{"label":72,"icon":62,"to":73,"badge":48,"coverage":74},"content","\u002Fprojects\u002Fcontent",99.58,{"label":76,"icon":62,"to":77,"badge":78,"coverage":79},"i18n","\u002Fprojects\u002Fi18n","99%",99.08,{"label":81,"icon":62,"to":82,"badge":48,"coverage":49},"observability","\u002Fprojects\u002Fobservability",{"labelKey":84,"icon":85,"to":86,"badge":87,"children":88},"app.menu.kinds.infrastructure","i-lucide-server","\u002Fprojects?kind=infrastructure","2",[89,94],{"label":90,"icon":85,"to":91,"badge":92,"coverage":93},"scripts","\u002Fprojects\u002Fscripts","79%",78.6,{"label":95,"icon":85,"to":96,"badge":97,"coverage":98},"translations","\u002Fprojects\u002Ftranslations","93%",93.33,[100,103,106,109,112],{"label":101,"to":102},"Huella Legal","\u002Fworkflows\u002Fhuella-legal",{"label":104,"to":105},"Marina Roustan","\u002Fworkflows\u002Fmarina-roustan",{"label":107,"to":108},"Developer portal front door","\u002Fworkflows\u002Fdeveloper-portal-front-door",{"label":110,"to":111},"Huella Legal editorial","\u002Fworkflows\u002Fhuella-legal-editorial",{"labelKey":113,"icon":114,"to":115},"app.menu.newProject","i-lucide-plus","\u002Fworkflows\u002Fnew",[117,134,210,255,291,352],{"id":118,"label":119,"icon":120,"blurb":121,"groups":122},"workspace","Workspace","i-lucide-home","The two files at the root, and the generated index of everything the repo can do.",[123],{"key":124,"label":125,"entries":126},"root","The root",[127,131],{"path":128,"label":129,"kind":130},"\u002Freadme","Joinery","readme",{"path":132,"label":133,"kind":130},"\u002Fsecurity","Security policy",{"id":135,"label":136,"icon":137,"blurb":138,"groups":139},"docs","Docs","i-lucide-library","Subjects no single project owns — the models, the procedures, the answered decisions.",[140,150,168,186,192,198,204],{"key":135,"label":141,"entries":142},"Start here",[143,147],{"path":144,"label":145,"kind":146},"\u002Fdocs\u002Freadme","Overview","doc",{"path":148,"label":149,"kind":146},"\u002Fdocs\u002Ffeatures","Features",{"key":151,"label":152,"entries":153},"concepts","Concepts",[154,156,159,162,165],{"path":155,"label":145,"kind":146},"\u002Fdocs\u002Fconcepts\u002Freadme",{"path":157,"label":158,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fversioning","How a version gets derived from a commit",{"path":160,"label":161,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fconventions","Naming and folder conventions",{"path":163,"label":164,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fagent-setup","The agent setup as one inspectable system",{"path":166,"label":167,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fboundaries","Why the boundary system exists",{"key":169,"label":170,"entries":171},"guides","Guides",[172,174,177,180,183],{"path":173,"label":145,"kind":146},"\u002Fdocs\u002Fguides\u002Freadme",{"path":175,"label":176,"kind":146},"\u002Fdocs\u002Fguides\u002Fchange-lifecycle","A change, end to end",{"path":178,"label":179,"kind":146},"\u002Fdocs\u002Fguides\u002Fadding-a-locale","Adding a locale",{"path":181,"label":182,"kind":146},"\u002Fdocs\u002Fguides\u002Ffirst-hour","First hour in this repo",{"path":184,"label":185,"kind":146},"\u002Fdocs\u002Fguides\u002Frepo-secrets","Provisioning the repo secrets",{"key":187,"label":188,"entries":189},"decisions","Decisions",[190],{"path":191,"label":145,"kind":146},"\u002Fdocs\u002Fdecisions\u002Freadme",{"key":193,"label":194,"entries":195},"audits","Audits",[196],{"path":197,"label":145,"kind":146},"\u002Fdocs\u002Faudits\u002Freadme",{"key":199,"label":200,"entries":201},"workflows","Workflows",[202],{"path":203,"label":145,"kind":146},"\u002Fdocs\u002Fworkflows\u002Freadme",{"key":205,"label":206,"entries":207},"benchmarks","Benchmarks",[208],{"path":209,"label":145,"kind":146},"\u002Fdocs\u002Fbenchmarks\u002Freadme",{"id":211,"label":212,"icon":31,"blurb":213,"groups":214},"apps","Apps","Each app's own reference, colocated with its code so it changes in the same diff.",[215,220,233,240,245,250],{"key":36,"label":216,"entries":217},"Developer Portal",[218],{"path":219,"label":145,"kind":130},"\u002Fapps\u002Fdeveloper-portal\u002Freadme",{"key":41,"label":101,"entries":221},[222,224,227,230],{"path":223,"label":145,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Freadme",{"path":225,"label":226,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Fdesign","Huella Legal design",{"path":228,"label":229,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Finterest\u002Freadme","layers\u002Finterest",{"path":231,"label":232,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Flegacy\u002Freadme","layers\u002Flegacy",{"key":46,"label":104,"entries":234},[235,237],{"path":236,"label":145,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Freadme",{"path":238,"label":239,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Fdesign","Marina Roustan design",{"key":51,"label":241,"entries":242},"Portfolio",[243],{"path":244,"label":145,"kind":130},"\u002Fapps\u002Fportfolio\u002Freadme",{"key":130,"label":246,"entries":247},"Readme",[248],{"path":249,"label":212,"kind":130},"\u002Fapps\u002Freadme",{"key":56,"label":251,"entries":252},"Wp Editor",[253],{"path":254,"label":145,"kind":130},"\u002Fapps\u002Fwp-editor\u002Freadme",{"id":256,"label":257,"icon":62,"blurb":258,"groups":259},"packages","Packages","Each package's own reference, colocated with its code so it changes in the same diff.",[260,268,276,282,287],{"key":67,"label":261,"entries":262},"Configs",[263,265],{"path":264,"label":145,"kind":130},"\u002Fpackages\u002Fconfigs\u002Freadme",{"path":266,"label":267,"kind":130},"\u002Fpackages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Freadme","eslint\u002Flib",{"key":72,"label":269,"entries":270},"Content",[271,273],{"path":272,"label":145,"kind":130},"\u002Fpackages\u002Fcontent\u002Freadme",{"path":274,"label":275,"kind":130},"\u002Fpackages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Freadme","nuxt",{"key":76,"label":76,"entries":277},[278,280],{"path":279,"label":145,"kind":130},"\u002Fpackages\u002Fi18n\u002Freadme",{"path":281,"label":275,"kind":130},"\u002Fpackages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Freadme",{"key":81,"label":283,"entries":284},"Observability",[285],{"path":286,"label":145,"kind":130},"\u002Fpackages\u002Fobservability\u002Freadme",{"key":130,"label":246,"entries":288},[289],{"path":290,"label":257,"kind":130},"\u002Fpackages\u002Freadme",{"id":292,"label":293,"icon":85,"blurb":294,"groups":295},"infrastructure","Infrastructure","Each service's own reference, colocated with its code so it changes in the same diff.",[296,300,347],{"key":130,"label":246,"entries":297},[298],{"path":299,"label":293,"kind":130},"\u002Finfrastructure\u002Freadme",{"key":90,"label":301,"entries":302},"Scripts",[303,305,308,311,314,317,320,323,326,329,332,335,338,341,344],{"path":304,"label":145,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Freadme",{"path":306,"label":307,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fbrand\u002Freadme","brand",{"path":309,"label":310,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fci-failures\u002Freadme","ci-failures",{"path":312,"label":313,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fcoverage-report\u002Freadme","coverage-report",{"path":315,"label":316,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Freadme","dev",{"path":318,"label":319,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Freadme","drift",{"path":321,"label":322,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fenv-sync\u002Freadme","env-sync",{"path":324,"label":325,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Finvariants\u002Freadme","invariants",{"path":327,"label":328,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme","issue",{"path":330,"label":331,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme","map",{"path":333,"label":334,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Freadme","shared",{"path":336,"label":337,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fship\u002Freadme","ship",{"path":339,"label":340,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fusage\u002Freadme","usage",{"path":342,"label":343,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworkflow\u002Freadme","workflow",{"path":345,"label":346,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworktree\u002Freadme","worktree",{"key":95,"label":348,"entries":349},"Translations",[350],{"path":351,"label":145,"kind":130},"\u002Finfrastructure\u002Ftranslations\u002Freadme",{"id":353,"label":354,"icon":355,"blurb":356,"groups":357},"agents","Agent setup","i-lucide-bot","The skills and subagents an agent working in this repo loads.",[358,373],{"key":353,"label":359,"entries":360},"Subagents",[361,364,367,370],{"path":362,"label":363,"kind":130},"\u002F.claude\u002Fagents\u002Freview-architecture","Review Architecture",{"path":365,"label":366,"kind":130},"\u002F.claude\u002Fagents\u002Freview-correctness","Review Correctness",{"path":368,"label":369,"kind":130},"\u002F.claude\u002Fagents\u002Freview-tests","Review Tests",{"path":371,"label":372,"kind":130},"\u002F.claude\u002Fagents\u002Fticket-planner","Ticket Planner",{"key":374,"label":375,"entries":376},"skills","Skills",[377,381,384,387,390,393,396,399,402,405,408,411,414,417,420,423,426],{"path":378,"label":379,"kind":380},"\u002F.claude\u002Fskills\u002Fcontent-new-vendor\u002Fskill","Adding a content vendor","skill",{"path":382,"label":383,"kind":380},"\u002F.claude\u002Fskills\u002Fconfigs-new-rule\u002Fskill","Adding a lint rule",{"path":385,"label":386,"kind":380},"\u002F.claude\u002Fskills\u002Fscripts-new-script\u002Fskill","Adding a script",{"path":388,"label":389,"kind":380},"\u002F.claude\u002Fskills\u002Fi18n-new-vendor\u002Fskill","Adding a translations vendor",{"path":391,"label":392,"kind":380},"\u002F.claude\u002Fskills\u002Fnuxt-module-route\u002Fskill","Adding to a package's Nuxt module",{"path":394,"label":395,"kind":380},"\u002F.claude\u002Fskills\u002Fbenchmark\u002Fskill","Benchmarking a design",{"path":397,"label":398,"kind":380},"\u002F.claude\u002Fskills\u002Fwp-bulk-edit\u002Fskill","Bulk-editing WordPress through the editor",{"path":400,"label":401,"kind":380},"\u002F.claude\u002Fskills\u002Fdoc-drift-check\u002Fskill","Checking docs against code",{"path":403,"label":404,"kind":380},"\u002F.claude\u002Fskills\u002Fcomment-cleanup\u002Fskill","Comment cleanup",{"path":406,"label":407,"kind":380},"\u002F.claude\u002Fskills\u002Fgithub-issue\u002Fskill","Creating a GitHub issue",{"path":409,"label":410,"kind":380},"\u002F.claude\u002Fskills\u002Fproject-workflow\u002Fskill","Running a project through a workflow",{"path":412,"label":413,"kind":380},"\u002F.claude\u002Fskills\u002Fnew-package\u002Fskill","Scaffolding a workspace project",{"path":415,"label":416,"kind":380},"\u002F.claude\u002Fskills\u002Fstart-issue\u002Fskill","Starting work on a GitHub issue",{"path":418,"label":419,"kind":380},"\u002F.claude\u002Fskills\u002Fdecision-report\u002Fskill","Writing a decision report",{"path":421,"label":422,"kind":380},"\u002F.claude\u002Fskills\u002Faudit-report\u002Fskill","Writing an audit",{"path":424,"label":425,"kind":380},"\u002F.claude\u002Fskills\u002Fhouse-docs\u002Fskill","Writing docs here",{"path":427,"label":428,"kind":380},"\u002F.claude\u002Fskills\u002Fwriting-tests\u002Fskill","Writing specs here",{"id":430,"title":431,"body":432,"description":442,"extension":1321,"kind":1322,"meta":1323,"navigation":616,"path":264,"seo":1324,"stem":1325,"url":1322,"verdict":1322,"__hash__":1326},"docs\u002Fpackages\u002Fconfigs\u002FREADME.md","📦 @joinery\u002Fconfigs",{"type":433,"value":434,"toc":1312},"minimark",[435,439,443,455,460,467,530,557,560,666,699,712,716,800,805,814,905,979,983,1028,1122,1126,1175,1182,1298,1308],[436,437,431],"h1",{"id":438},"joineryconfigs",[440,441,442],"p",{},"Shared ESLint, Vitest, Playwright and TypeScript presets. Every project's config file is a thin\nwrapper over one of these, so a change here lands everywhere at once.",[440,444,445,446,450,451,454],{},"Raw TypeScript, tagged ",[447,448,449],"code",{},"type:config",": it depends on nothing in the workspace. ",[447,452,453],{},"apps\u002Fhuella-legal","\nextends no tsconfig preset (it references Nuxt's generated ones), so a compiler option added here\ndoesn't reach it.",[456,457,459],"h2",{"id":458},"layout","Layout",[440,461,462,463,466],{},"One folder per tool under ",[447,464,465],{},"src\u002F",", each sorted the same way:",[468,469,470,486],"table",{},[471,472,473],"thead",{},[474,475,476,480,483],"tr",{},[477,478,479],"th",{},"Where",[477,481,482],{},"What it is",[477,484,485],{},"Who imports it",[487,488,489,501,514],"tbody",{},[474,490,491,495,498],{},[492,493,494],"td",{},"Tool folder root",[492,496,497],{},"A preset",[492,499,500],{},"A project's config file",[474,502,503,508,511],{},[492,504,505],{},[447,506,507],{},"setup\u002F",[492,509,510],{},"Wiring the preset hooks in itself",[492,512,513],{},"Nobody directly",[474,515,516,521,524],{},[492,517,518],{},[447,519,520],{},"utils\u002F",[492,522,523],{},"A test helper",[492,525,526,527],{},"Specs, as ",[447,528,529],{},"@joinery\u002Fconfigs\u002F\u003Ctool>\u002Futils\u002F\u003Cname>",[440,531,532,533,536,537,544,545,548,549,552,553,556],{},"ESLint has ",[447,534,535],{},"lib\u002F"," (one file per concern, mapped in ",[538,539,541],"a",{"href":540},"\u002Fwiki\u002Fpackages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Freadme",[447,542,543],{},"lib\u002FREADME.md",")\nand ",[447,546,547],{},"rules\u002F"," (in-house ",[447,550,551],{},"joinery\u002F*"," rules, each with a ",[447,554,555],{},"RuleTester"," spec).",[456,558,559],{"id":340},"Usage",[561,562,567],"pre",{"className":563,"code":564,"language":565,"meta":566,"style":566},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { eslint, vitest } from \"@joinery\u002Fconfigs\";\n\nexport default eslint.createNodeConfig(); \u002F\u002F or createVueConfig() \u002F createNuxtConfig()\nexport default vitest.createNodeConfig(); \u002F\u002F or createVueConfig(viteConfig) \u002F createNuxtConfig({ root })\n","ts","",[447,568,569,611,618,646],{"__ignoreMap":566},[570,571,574,578,582,586,589,592,595,598,601,605,608],"span",{"class":572,"line":573},"line",1,[570,575,577],{"class":576},"s7zQu","import",[570,579,581],{"class":580},"sMK4o"," {",[570,583,585],{"class":584},"sTEyZ"," eslint",[570,587,588],{"class":580},",",[570,590,591],{"class":584}," vitest",[570,593,594],{"class":580}," }",[570,596,597],{"class":576}," from",[570,599,600],{"class":580}," \"",[570,602,604],{"class":603},"sfazB","@joinery\u002Fconfigs",[570,606,607],{"class":580},"\"",[570,609,610],{"class":580},";\n",[570,612,614],{"class":572,"line":613},2,[570,615,617],{"emptyLinePlaceholder":616},true,"\n",[570,619,621,624,627,629,632,636,639,642],{"class":572,"line":620},3,[570,622,623],{"class":576},"export",[570,625,626],{"class":576}," default",[570,628,585],{"class":584},[570,630,631],{"class":580},".",[570,633,635],{"class":634},"s2Zo4","createNodeConfig",[570,637,638],{"class":584},"()",[570,640,641],{"class":580},";",[570,643,645],{"class":644},"sHwdD"," \u002F\u002F or createVueConfig() \u002F createNuxtConfig()\n",[570,647,649,651,653,655,657,659,661,663],{"class":572,"line":648},4,[570,650,623],{"class":576},[570,652,626],{"class":576},[570,654,591],{"class":584},[570,656,631],{"class":580},[570,658,635],{"class":634},[570,660,638],{"class":584},[570,662,641],{"class":580},[570,664,665],{"class":644}," \u002F\u002F or createVueConfig(viteConfig) \u002F createNuxtConfig({ root })\n",[561,667,671],{"className":668,"code":669,"language":670,"meta":566,"style":566},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ \"extends\": \"@joinery\u002Fconfigs\u002Ftsconfig\u002Fnode.json\" }\n","json",[447,672,673],{"__ignoreMap":566},[570,674,675,678,680,684,686,689,691,694,696],{"class":572,"line":573},[570,676,677],{"class":580},"{",[570,679,600],{"class":580},[570,681,683],{"class":682},"spNyl","extends",[570,685,607],{"class":580},[570,687,688],{"class":580},":",[570,690,600],{"class":580},[570,692,693],{"class":603},"@joinery\u002Fconfigs\u002Ftsconfig\u002Fnode.json",[570,695,607],{"class":580},[570,697,698],{"class":580}," }\n",[440,700,701,704,705,708,709,631],{},[447,702,703],{},"tsconfig\u002Fbase.json"," is strict plus ",[447,706,707],{},"noUncheckedIndexedAccess","; every consumer extends ",[447,710,711],{},"node.json",[456,713,715],{"id":714},"vitest","Vitest",[717,718,719,743,766,783],"ul",{},[720,721,722,723,726,727,730,731,734,735,738,739,742],"li",{},"Coverage runs on ",[447,724,725],{},"test:coverage",", never ",[447,728,729],{},"test",". A project needs ",[447,732,733],{},"@vitest\u002Fcoverage-v8"," in its own\n",[447,736,737],{},"devDependencies",". ",[447,740,741],{},"COVERAGE_THRESHOLDS=off"," disables thresholds (the portal deploy sets it).",[720,744,745,749,750,756,757,761,762,765],{},[746,747,748],"strong",{},"Any console output fails the test"," (",[538,751,753],{"href":752},"repo:packages\u002Fconfigs\u002Fsrc\u002Fvitest\u002Fsetup\u002FconsoleGuard.ts",[447,754,755],{},"consoleGuard.ts",",\n",[538,758,760],{"href":759},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0032-console-output-policy","0032","). Stub it with\n",[447,763,764],{},"vi.spyOn(console, \"warn\").mockImplementation(() => {})"," and assert on the spy.",[720,767,768,774,775,778,779,782],{},[538,769,771],{"href":770},"repo:packages\u002Fconfigs\u002Fsrc\u002Fvitest\u002Fsetup\u002FprepareNuxt.mjs",[447,772,773],{},"prepareNuxt.mjs"," runs ",[447,776,777],{},"nuxi prepare"," when a Nuxt project\nhas no ",[447,780,781],{},".nuxt"," yet.",[720,784,785,786,789,790,793,794,796,797,799],{},"This package's own ",[447,787,788],{},"test:e2e"," runs its ",[447,791,792],{},"browser"," Vitest project, the specs that launch\nPlaywright; ",[447,795,729],{}," and ",[447,798,725],{}," leave them out.",[801,802,804],"h3",{"id":803},"nuxt-apps","Nuxt apps",[440,806,807,810,811,688],{},[447,808,809],{},"createNuxtConfig({ root, nodeSpecs?, setupFiles?, coverageExclude?, thresholds? })"," builds three\nprojects, each covering the app root and every ",[447,812,813],{},"layers\u002F*",[468,815,816,829],{},[471,817,818],{},[474,819,820,823,826],{},[477,821,822],{},"Project",[477,824,825],{},"Specs",[477,827,828],{},"Environment",[487,830,831,866,880],{},[474,832,833,838,857],{},[492,834,835],{},[447,836,837],{},"node",[492,839,840,843,844,843,847,843,850,853,854],{},[447,841,842],{},"server\u002F",", ",[447,845,846],{},"shared\u002F",[447,848,849],{},"modules\u002F",[447,851,852],{},"tools\u002F",", plus ",[447,855,856],{},"nodeSpecs",[492,858,859,860],{},"Node, Nitro globals stubbed by ",[538,861,863],{"href":862},"repo:packages\u002Fconfigs\u002Fsrc\u002Fvitest\u002Fsetup\u002Fstubs.ts",[447,864,865],{},"stubs.ts",[474,867,868,872,877],{},[492,869,870],{},[447,871,275],{},[492,873,874],{},[447,875,876],{},"app\u002F",[492,878,879],{},"One shared Nuxt environment, one file at a time",[474,881,882,887,902],{},[492,883,884],{},[447,885,886],{},"nuxt-isolated",[492,888,889,891,892,843,895,898,899],{},[447,890,876],{}," specs that call ",[447,893,894],{},"vi.mock",[447,896,897],{},"mockNuxtImport"," or ",[447,900,901],{},"mockComponent",[492,903,904],{},"Isolated, files in parallel. Sorted automatically",[717,906,907,917,950,962],{},[720,908,909,910,912,913,916],{},"In the shared ",[447,911,275],{}," project, a spec must restore anything global it changes (fake timers, stubbed\nglobals, the DOM) in ",[447,914,915],{},"afterEach",", or the next file breaks without naming the cause.",[720,918,919,920,749,926,843,929,756,932,935,936,749,942,945,946,949],{},"Helpers: ",[538,921,923],{"href":922},"repo:packages\u002Fconfigs\u002Fsrc\u002Fvitest\u002Futils\u002Fnuxt.ts",[447,924,925],{},"vitest\u002Futils\u002Fnuxt",[447,927,928],{},"withSetup",[447,930,931],{},"serveEndpoint",[447,933,934],{},"slotStub",") and ",[538,937,939],{"href":938},"repo:packages\u002Fconfigs\u002Fsrc\u002Fvitest\u002Futils\u002Fnitro.ts",[447,940,941],{},"vitest\u002Futils\u002Fnitro",[447,943,944],{},"stubNitro()"," before the\ndynamic ",[447,947,948],{},"import()"," of a server file).",[720,951,952,955,956,796,959,631],{},[447,953,954],{},"@nuxt\u002Ftest-utils"," is resolved from the app, not this package; the app installs it with\n",[447,957,958],{},"@vue\u002Ftest-utils",[447,960,961],{},"happy-dom",[720,963,964,965,726,968,970,971,974,975,978],{},"The test boot builds into ",[447,966,967],{},"node_modules\u002F.cache\u002Fnuxt-vitest",[447,969,781],{},", and runs with\n",[447,972,973],{},"JITI_MODULE_CACHE=0",". Both prevent failures that take down every ",[447,976,977],{},"nx"," command.",[456,980,982],{"id":981},"playwright","Playwright",[561,984,986],{"className":563,"code":985,"language":565,"meta":566,"style":566},"export default playwright.createConfig({ port, command, env });\n",[447,987,988],{"__ignoreMap":566},[570,989,990,992,994,997,999,1002,1005,1007,1010,1012,1015,1017,1020,1023,1026],{"class":572,"line":573},[570,991,623],{"class":576},[570,993,626],{"class":576},[570,995,996],{"class":584}," playwright",[570,998,631],{"class":580},[570,1000,1001],{"class":634},"createConfig",[570,1003,1004],{"class":584},"(",[570,1006,677],{"class":580},[570,1008,1009],{"class":584}," port",[570,1011,588],{"class":580},[570,1013,1014],{"class":584}," command",[570,1016,588],{"class":580},[570,1018,1019],{"class":584}," env ",[570,1021,1022],{"class":580},"}",[570,1024,1025],{"class":584},")",[570,1027,610],{"class":580},[717,1029,1030,1053,1074,1084,1113],{},[720,1031,1032,1033,1036,1037,1040,1041,1044,1045,1048,1049,1052],{},"Chromium at 390, 768 and 1280 px. Tag a test ",[447,1034,1035],{},"@desktop"," (≥ 1024 px), ",[447,1038,1039],{},"@mobile"," (below) or\n",[447,1042,1043],{},"@any-width"," (first width only, for ",[447,1046,1047],{},"request","\u002F",[447,1050,1051],{},"\u003Chead>","-only tests). Tests run fully parallel, on\ntwo workers locally and Playwright's default in CI.",[720,1054,1055,1056,1058,1059,726,1062,1065,1066,1069,1070,1073],{},"Specs import ",[447,1057,729],{}," from ",[447,1060,1061],{},"@joinery\u002Fconfigs\u002Fplaywright\u002Futils\u002Ftest",[447,1063,1064],{},"@playwright\u002Ftest","\n(lint enforces it). Any browser console output fails the test unless ",[447,1067,1068],{},"allowedConsole"," matches it;\n",[447,1071,1072],{},"page.goto"," waits for hydration.",[720,1075,1076,1077,1058,1080,1083],{},"The server preload calls ",[447,1078,1079],{},"recordServerConsole()",[447,1081,1082],{},"@joinery\u002Fconfigs\u002Fplaywright\u002Fsetup\u002Fserver",",\nand teardown fails the run on anything the server logged.",[720,1085,919,1086,749,1092,1095,1096,1099,1100,749,1106,843,1109,1112],{},[538,1087,1089],{"href":1088},"repo:packages\u002Fconfigs\u002Fsrc\u002Fplaywright\u002Futils\u002Fa11y.ts",[447,1090,1091],{},"utils\u002Fa11y",[447,1093,1094],{},"axeViolations",", asserted with ",[447,1097,1098],{},"toEqual([])",") and\n",[538,1101,1103],{"href":1102},"repo:packages\u002Fconfigs\u002Fsrc\u002Fplaywright\u002Futils\u002Fi18n.ts",[447,1104,1105],{},"utils\u002Fi18n",[447,1107,1108],{},"createT",[447,1110,1111],{},"rawKeysIn",").",[720,1114,1115,1117,1118,1121],{},[447,1116,1064],{}," must stay a ",[447,1119,1120],{},"catalog:"," entry; a second resolved copy fails every spec.",[456,1123,1125],{"id":1124},"what-the-eslint-factories-bundle","What the ESLint factories bundle",[440,1127,1128,1129,1132,1133,1136,1137,1140,1141,1144,1145,1148,1149,1152,1153,1156,1157,1160,1161,1164,1165,1167,1168,1171,1172,631],{},"Every factory includes Prettier as a lint rule (100 columns, 4 spaces, double quotes), type-checked\n",[447,1130,1131],{},"typescript-eslint"," (not for Nuxt ",[447,1134,1135],{},".vue"," files), ",[447,1138,1139],{},"@nx\u002Fenforce-module-boundaries",", SonarJS, regexp\nsafety, and the house style rules: arrow functions, destructuring, ",[447,1142,1143],{},"interface"," over ",[447,1146,1147],{},"type",",\nhelpers declared above use, no nested ternaries, no ",[447,1150,1151],{},"await"," in loops, sorted-with-comparator arrays,\nno ",[447,1154,1155],{},"console",", no raw-HTML sinks, and ",[447,1158,1159],{},"eslint-disable"," must give a reason. Vue configs add\n",[447,1162,1163],{},"eslint-plugin-vue"," and the ",[447,1166,551],{}," template rules. Specs get ",[447,1169,1170],{},"@vitest\u002Feslint-plugin"," and must\nassert behaviour, not call order or ",[447,1173,1174],{},"wrapper.vm",[440,1176,1177,1181],{},[538,1178,1179],{"href":540},[447,1180,543],{}," has the file for each. Opt-in pieces a project appends\nafter its factory:",[468,1183,1184,1197],{},[471,1185,1186],{},[474,1187,1188,1191,1194],{},[477,1189,1190],{},"Export",[477,1192,1193],{},"Does",[477,1195,1196],{},"Used by",[487,1198,1199,1215,1239,1257,1273],{},[474,1200,1201,1206,1209],{},[492,1202,1203],{},[447,1204,1205],{},"eslint.layerBoundaries({ cores, kit })",[492,1207,1208],{},"Enforces Nuxt layer directions, auto-imports included",[492,1210,1211,843,1213],{},[447,1212,41],{},[447,1214,36],{},[474,1216,1217,1222,1235],{},[492,1218,1219],{},[447,1220,1221],{},"eslint.routeMeta",[492,1223,1224,1225,1228,1229,796,1232],{},"Every Nitro route has ",[447,1226,1227],{},"defineRouteMeta"," with ",[447,1230,1231],{},"tags",[447,1233,1234],{},"summary",[492,1236,1237],{},[447,1238,41],{},[474,1240,1241,1246,1253],{},[492,1242,1243],{},[447,1244,1245],{},"eslint.i18nKeys(localeGlob)",[492,1247,1248,1249,1252],{},"Every static ",[447,1250,1251],{},"t()"," key exists",[492,1254,1255],{},[447,1256,41],{},[474,1258,1259,1264,1270],{},[492,1260,1261],{},[447,1262,1263],{},"eslint.tailwind(entryPoint)",[492,1265,1266,1269],{},[447,1267,1268],{},"better-tailwindcss"," rules",[492,1271,1272],{},"Every app",[474,1274,1275,1280,1293],{},[492,1276,1277],{},[447,1278,1279],{},"eslint.pureDomain",[492,1281,1282,1283,898,1286,1289,1290],{},"No I\u002FO, ",[447,1284,1285],{},"process",[447,1287,1288],{},"adapters\u002F"," in ",[447,1291,1292],{},"domain\u002F",[492,1294,1295],{},[447,1296,1297],{},"infrastructure\u002Fscripts",[440,1299,1300,1301,1303,1304,1307],{},"A rule for everyone goes in ",[447,1302,535],{},"; a rule for one flavour goes in its factory. The\n",[447,1305,1306],{},"configs-new-rule"," skill has the steps.",[1309,1310,1311],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":566,"searchDepth":613,"depth":613,"links":1313},[1314,1315,1316,1319,1320],{"id":458,"depth":613,"text":459},{"id":340,"depth":613,"text":559},{"id":714,"depth":613,"text":715,"children":1317},[1318],{"id":803,"depth":620,"text":804},{"id":981,"depth":613,"text":982},{"id":1124,"depth":613,"text":1125},"md",null,{},{"title":431,"description":442},"packages\u002Fconfigs\u002FREADME","jbH3WT_Rt6J_yihKJu58prnwSTSbiWD1aJMNfPq1nQs",1795478400069]