[{"data":1,"prerenderedAt":1846},["ShallowReactive",2],{"navigation_docs":3,"-contribute-tooling-cli":587,"-contribute-tooling-cli-surround":1841},[4,50,155,441,504],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":49},"Get Started","i-lucide-rocket","\u002Fget-started","1.get-started",[10,15,20,25,30,35,40,45],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fget-started\u002Fintroduction","1.get-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F3.project-structure","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F4.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authentication","\u002Fget-started\u002Fauthentication","1.get-started\u002F5.authentication","i-lucide-lock",{"title":36,"path":37,"stem":38,"icon":39},"Adding modules","\u002Fget-started\u002Fadding-modules","1.get-started\u002F6.adding-modules","i-lucide-puzzle",{"title":41,"path":42,"stem":43,"icon":44},"Database","\u002Fget-started\u002Fdatabase","1.get-started\u002F7.database","i-lucide-database",{"title":46,"path":47,"stem":48,"icon":6},"Deployment","\u002Fget-started\u002Fdeployment","1.get-started\u002F8.deployment",false,{"title":51,"icon":52,"path":53,"stem":54,"children":55,"page":49},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[56,90,115,125],{"title":57,"icon":49,"path":58,"stem":59,"children":60,"page":49},"Concepts","\u002Fguide\u002Fconcepts","2.guide\u002F1.concepts",[61,66,71,76,80,85],{"title":62,"path":63,"stem":64,"icon":65},"Architecture","\u002Fguide\u002Fconcepts\u002Farchitecture","2.guide\u002F1.concepts\u002F1.architecture","i-lucide-blocks",{"title":67,"path":68,"stem":69,"icon":70},"Access control","\u002Fguide\u002Fconcepts\u002Fauth-and-scopes","2.guide\u002F1.concepts\u002F2.auth-and-scopes","i-lucide-shield-check",{"title":72,"path":73,"stem":74,"icon":75},"Extension points","\u002Fguide\u002Fconcepts\u002Fextension-points","2.guide\u002F1.concepts\u002F3.extension-points","i-lucide-plug",{"title":77,"path":78,"stem":79,"icon":44},"Database extensions","\u002Fguide\u002Fconcepts\u002Fdatabase-extensions","2.guide\u002F1.concepts\u002F4.database-extensions",{"title":81,"path":82,"stem":83,"icon":84},"Identity","\u002Fguide\u002Fconcepts\u002Fidentity","2.guide\u002F1.concepts\u002F5.identity","i-lucide-fingerprint",{"title":86,"path":87,"stem":88,"icon":89},"Glossary","\u002Fguide\u002Fconcepts\u002Fglossary","2.guide\u002F1.concepts\u002F6.glossary","i-lucide-book-a",{"title":91,"icon":49,"path":92,"stem":93,"children":94,"page":49},"UX patterns","\u002Fguide\u002Fux-patterns","2.guide\u002F2.ux-patterns",[95,100,105,110],{"title":96,"path":97,"stem":98,"icon":99},"Layouts and navigation","\u002Fguide\u002Fux-patterns\u002Flayouts-and-navigation","2.guide\u002F2.ux-patterns\u002F1.layouts-and-navigation","i-lucide-layout-template",{"title":101,"path":102,"stem":103,"icon":104},"Pages","\u002Fguide\u002Fux-patterns\u002Fpages","2.guide\u002F2.ux-patterns\u002F2.pages","i-lucide-table",{"title":106,"path":107,"stem":108,"icon":109},"Forms and actions","\u002Fguide\u002Fux-patterns\u002Fforms-and-actions","2.guide\u002F2.ux-patterns\u002F3.forms-and-actions","i-lucide-square-pen",{"title":111,"path":112,"stem":113,"icon":114},"Text and formatting","\u002Fguide\u002Fux-patterns\u002Ftext-and-formatting","2.guide\u002F2.ux-patterns\u002F4.text-and-formatting","i-lucide-type",{"title":116,"icon":49,"path":117,"stem":118,"children":119,"page":49},"Best practices","\u002Fguide\u002Fbest-practices","2.guide\u002F3.best-practices",[120],{"title":121,"path":122,"stem":123,"icon":124},"HTTP routes","\u002Fguide\u002Fbest-practices\u002Fhttp-routes","2.guide\u002F3.best-practices\u002F1.http-routes","i-lucide-route",{"title":126,"icon":49,"path":127,"stem":128,"children":129,"page":49},"Going further","\u002Fguide\u002Fgoing-further","2.guide\u002F4.going-further",[130,135,140,145,150],{"title":131,"path":132,"stem":133,"icon":134},"Use your own OAuth server","\u002Fguide\u002Fgoing-further\u002Fown-oauth-server","2.guide\u002F4.going-further\u002F1.own-oauth-server","i-lucide-key-round",{"title":136,"path":137,"stem":138,"icon":139},"Create an OAuth application","\u002Fguide\u002Fgoing-further\u002Foauth-application","2.guide\u002F4.going-further\u002F2.oauth-application","i-lucide-app-window",{"title":141,"path":142,"stem":143,"icon":144},"Signing keys","\u002Fguide\u002Fgoing-further\u002Fsigning-keys","2.guide\u002F4.going-further\u002F3.signing-keys","i-lucide-key-square",{"title":146,"path":147,"stem":148,"icon":149},"Stripe setup","\u002Fguide\u002Fgoing-further\u002Fstripe-setup","2.guide\u002F4.going-further\u002F4.stripe-setup","i-lucide-credit-card",{"title":151,"path":152,"stem":153,"icon":154},"Migrate to the permission model","\u002Fguide\u002Fgoing-further\u002Fmigrate-access-control","2.guide\u002F4.going-further\u002F5.migrate-access-control","i-lucide-arrow-right-left",{"title":156,"icon":157,"path":158,"stem":159,"children":160},"Modules","i-lucide-boxes","\u002Fmodules","3.modules",[161,163,244,273,320,375],{"title":156,"path":158,"stem":162},"3.modules\u002Findex",{"title":81,"icon":49,"path":164,"stem":165,"children":166,"page":49},"\u002Fmodules\u002Fidentity","3.modules\u002F1.identity",[167,190,194,198,220,224,240],{"title":168,"path":169,"stem":170,"children":171},"Auth","\u002Fmodules\u002Fidentity\u002Fauth","3.modules\u002F1.identity\u002F1.auth\u002Findex",[172,174,178,182,186],{"title":173,"path":169,"stem":170},"Overview",{"title":175,"path":176,"stem":177},"Server API","\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver","3.modules\u002F1.identity\u002F1.auth\u002F2.server",{"title":179,"path":180,"stem":181},"Reference","\u002Fmodules\u002Fidentity\u002Fauth\u002Freference","3.modules\u002F1.identity\u002F1.auth\u002F3.reference",{"title":183,"path":184,"stem":185},"Client mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode","3.modules\u002F1.identity\u002F1.auth\u002F4.client-mode",{"title":187,"path":188,"stem":189},"OAuth providers","\u002Fmodules\u002Fidentity\u002Fauth\u002Foauth-providers","3.modules\u002F1.identity\u002F1.auth\u002F5.oauth-providers",{"title":191,"path":192,"stem":193},"Users","\u002Fmodules\u002Fidentity\u002Fusers","3.modules\u002F1.identity\u002F2.users",{"title":195,"path":196,"stem":197},"Account","\u002Fmodules\u002Fidentity\u002Faccount","3.modules\u002F1.identity\u002F3.account",{"title":199,"path":200,"stem":201,"children":202},"Authorization","\u002Fmodules\u002Fidentity\u002Fauthorization","3.modules\u002F1.identity\u002F4.authorization\u002Findex",[203,204,208,212,216],{"title":173,"path":200,"stem":201},{"title":205,"path":206,"stem":207},"Roles and requirements","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Froles-and-requirements","3.modules\u002F1.identity\u002F4.authorization\u002F2.roles-and-requirements",{"title":209,"path":210,"stem":211},"Policies","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies","3.modules\u002F1.identity\u002F4.authorization\u002F3.policies",{"title":213,"path":214,"stem":215},"Client","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fclient","3.modules\u002F1.identity\u002F4.authorization\u002F4.client",{"title":217,"path":218,"stem":219},"Admin","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fadmin","3.modules\u002F1.identity\u002F4.authorization\u002F5.admin",{"title":221,"path":222,"stem":223},"Preferences","\u002Fmodules\u002Fidentity\u002Fpreferences","3.modules\u002F1.identity\u002F5.preferences",{"title":225,"path":226,"stem":227,"children":228},"OAuth Server","\u002Fmodules\u002Fidentity\u002Foauth-server","3.modules\u002F1.identity\u002F6.oauth-server\u002Findex",[229,230,233,237],{"title":173,"path":226,"stem":227},{"title":175,"path":231,"stem":232},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fserver","3.modules\u002F1.identity\u002F6.oauth-server\u002F2.server",{"title":234,"path":235,"stem":236},"Hooks","\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fhooks","3.modules\u002F1.identity\u002F6.oauth-server\u002F3.hooks",{"title":179,"path":238,"stem":239},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients","3.modules\u002F1.identity\u002F6.oauth-server\u002F4.routes-and-clients",{"title":241,"path":242,"stem":243},"OAuth Resource","\u002Fmodules\u002Fidentity\u002Foauth-resource","3.modules\u002F1.identity\u002F8.oauth-resource",{"title":245,"icon":49,"path":246,"stem":247,"children":248,"page":49},"Commerce","\u002Fmodules\u002Fcommerce","3.modules\u002F2.commerce",[249,253,257],{"title":250,"path":251,"stem":252},"Stripe","\u002Fmodules\u002Fcommerce\u002Fstripe","3.modules\u002F2.commerce\u002F1.stripe",{"title":254,"path":255,"stem":256},"Payments","\u002Fmodules\u002Fcommerce\u002Fpayments","3.modules\u002F2.commerce\u002F2.payments",{"title":258,"path":259,"stem":260,"children":261},"Subscriptions","\u002Fmodules\u002Fcommerce\u002Fsubscriptions","3.modules\u002F2.commerce\u002F3.subscriptions\u002Findex",[262,263,266,270],{"title":173,"path":259,"stem":260},{"title":175,"path":264,"stem":265},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fserver","3.modules\u002F2.commerce\u002F3.subscriptions\u002F2.server",{"title":267,"path":268,"stem":269},"App","\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fapp","3.modules\u002F2.commerce\u002F3.subscriptions\u002F3.app",{"title":179,"path":271,"stem":272},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Freference","3.modules\u002F2.commerce\u002F3.subscriptions\u002F4.reference",{"title":274,"icon":49,"path":275,"stem":276,"children":277,"page":49},"Features","\u002Fmodules\u002Ffeatures","3.modules\u002F3.features",[278,293,312,316],{"title":279,"path":280,"stem":281,"children":282},"Events","\u002Fmodules\u002Ffeatures\u002Fevents","3.modules\u002F3.features\u002F1.events\u002Findex",[283,284,287,290],{"title":173,"path":280,"stem":281},{"title":175,"path":285,"stem":286},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fserver","3.modules\u002F3.features\u002F1.events\u002F2.server",{"title":267,"path":288,"stem":289},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fapp","3.modules\u002F3.features\u002F1.events\u002F3.app",{"title":179,"path":291,"stem":292},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Freference","3.modules\u002F3.features\u002F1.events\u002F4.reference",{"title":294,"path":295,"stem":296,"children":297},"Forms","\u002Fmodules\u002Ffeatures\u002Fforms","3.modules\u002F3.features\u002F2.forms\u002Findex",[298,299,303,306,309],{"title":173,"path":295,"stem":296},{"title":300,"path":301,"stem":302},"Definition","\u002Fmodules\u002Ffeatures\u002Fforms\u002Fdefinition","3.modules\u002F3.features\u002F2.forms\u002F2.definition",{"title":175,"path":304,"stem":305},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fserver","3.modules\u002F3.features\u002F2.forms\u002F3.server",{"title":267,"path":307,"stem":308},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fapp","3.modules\u002F3.features\u002F2.forms\u002F4.app",{"title":179,"path":310,"stem":311},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Freference","3.modules\u002F3.features\u002F2.forms\u002F5.reference",{"title":313,"path":314,"stem":315},"Cookie Consent","\u002Fmodules\u002Ffeatures\u002Fcookie-consent","3.modules\u002F3.features\u002F3.cookie-consent",{"title":317,"path":318,"stem":319},"MCP","\u002Fmodules\u002Ffeatures\u002Fmcp","3.modules\u002F3.features\u002F4.mcp",{"title":321,"icon":49,"path":322,"stem":323,"children":324,"page":49},"Interface","\u002Fmodules\u002Finterface","3.modules\u002F4.interface",[325,350,353,357,361],{"title":326,"path":327,"stem":328,"children":329},"UI","\u002Fmodules\u002Finterface\u002Fui","3.modules\u002F4.interface\u002F1.ui\u002Findex",[330,331,335,339,343,347],{"title":173,"path":327,"stem":328},{"title":332,"path":333,"stem":334},"Page components","\u002Fmodules\u002Finterface\u002Fui\u002Fpage-components","3.modules\u002F4.interface\u002F1.ui\u002F2.page-components",{"title":336,"path":337,"stem":338},"App shell","\u002Fmodules\u002Finterface\u002Fui\u002Fapp-shell","3.modules\u002F4.interface\u002F1.ui\u002F3.app-shell",{"title":340,"path":341,"stem":342},"Form inputs","\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs","3.modules\u002F4.interface\u002F1.ui\u002F4.form-inputs",{"title":344,"path":345,"stem":346},"Composables and helpers","\u002Fmodules\u002Finterface\u002Fui\u002Fcomposables","3.modules\u002F4.interface\u002F1.ui\u002F5.composables",{"title":179,"path":348,"stem":349},"\u002Fmodules\u002Finterface\u002Fui\u002Freference","3.modules\u002F4.interface\u002F1.ui\u002F6.reference",{"title":217,"path":351,"stem":352},"\u002Fmodules\u002Finterface\u002Fadmin","3.modules\u002F4.interface\u002F2.admin",{"title":354,"path":355,"stem":356},"Menu","\u002Fmodules\u002Finterface\u002Fmenu","3.modules\u002F4.interface\u002F3.menu",{"title":358,"path":359,"stem":360},"Widget","\u002Fmodules\u002Finterface\u002Fwidget","3.modules\u002F4.interface\u002F4.widget",{"title":362,"path":363,"stem":364,"children":365},"Mobile","\u002Fmodules\u002Finterface\u002Fmobile","3.modules\u002F4.interface\u002F5.mobile\u002Findex",[366,367,371],{"title":173,"path":363,"stem":364},{"title":368,"path":369,"stem":370},"CLI and devices","\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices","3.modules\u002F4.interface\u002F5.mobile\u002F2.cli-and-devices",{"title":372,"path":373,"stem":374},"Splash screen","\u002Fmodules\u002Finterface\u002Fmobile\u002Fsplash-screen","3.modules\u002F4.interface\u002F5.mobile\u002F3.splash-screen",{"title":376,"icon":49,"path":377,"stem":378,"children":379,"page":49},"Platform","\u002Fmodules\u002Fplatform","3.modules\u002F5.platform",[380,402,406,423],{"title":381,"path":382,"stem":383,"children":384},"Module Kit","\u002Fmodules\u002Fplatform\u002Fmodule-kit","3.modules\u002F5.platform\u002F1.module-kit\u002Findex",[385,386,390,394,398],{"title":173,"path":382,"stem":383},{"title":387,"path":388,"stem":389},"Server toolkit","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fserver-toolkit","3.modules\u002F5.platform\u002F1.module-kit\u002F2.server-toolkit",{"title":391,"path":392,"stem":393},"Registries and menus","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fregistries-and-menus","3.modules\u002F5.platform\u002F1.module-kit\u002F3.registries-and-menus",{"title":395,"path":396,"stem":397},"Translations","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n","3.modules\u002F5.platform\u002F1.module-kit\u002F4.i18n",{"title":399,"path":400,"stem":401},"Database helpers","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fdatabase","3.modules\u002F5.platform\u002F1.module-kit\u002F5.database",{"title":403,"path":404,"stem":405},"Notify","\u002Fmodules\u002Fplatform\u002Fnotify","3.modules\u002F5.platform\u002F2.notify",{"title":407,"path":408,"stem":409,"children":410},"Email Templates","\u002Fmodules\u002Fplatform\u002Femail-templates","3.modules\u002F5.platform\u002F3.email-templates\u002Findex",[411,412,416,419],{"title":173,"path":408,"stem":409},{"title":413,"path":414,"stem":415},"Email components","\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fcomponents","3.modules\u002F5.platform\u002F3.email-templates\u002F2.components",{"title":175,"path":417,"stem":418},"\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fserver","3.modules\u002F5.platform\u002F3.email-templates\u002F3.server",{"title":420,"path":421,"stem":422},"Module emails","\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fmodule-emails","3.modules\u002F5.platform\u002F3.email-templates\u002F4.module-emails",{"title":424,"path":425,"stem":426,"children":427},"Base Layer","\u002Fmodules\u002Fplatform\u002Fbase-layer","3.modules\u002F5.platform\u002F4.base-layer\u002Findex",[428,429,433,437],{"title":173,"path":425,"stem":426},{"title":430,"path":431,"stem":432},"Content collections","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections","3.modules\u002F5.platform\u002F4.base-layer\u002F2.content-collections",{"title":434,"path":435,"stem":436},"Layouts and routing","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing","3.modules\u002F5.platform\u002F4.base-layer\u002F3.layouts-and-routing",{"title":438,"path":439,"stem":440},"Composables and utils","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcomposables-and-utils","3.modules\u002F5.platform\u002F4.base-layer\u002F4.composables-and-utils",{"title":442,"icon":443,"path":444,"stem":445,"children":446,"page":49},"Examples","i-lucide-code-xml","\u002Fexamples","4.examples",[447,466,476],{"title":448,"icon":49,"path":449,"stem":450,"children":451,"page":49},"Starters","\u002Fexamples\u002Fstarters","4.examples\u002F1.starters",[452,456,461],{"title":453,"path":454,"stem":455,"icon":6},"Workspace starter","\u002Fexamples\u002Fstarters\u002Fworkspace","4.examples\u002F1.starters\u002F1.workspace",{"title":457,"path":458,"stem":459,"icon":460},"Mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile","4.examples\u002F1.starters\u002F2.mobile","i-lucide-smartphone",{"title":462,"path":463,"stem":464,"icon":465},"Standalone mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile-standalone","4.examples\u002F1.starters\u002F3.mobile-standalone","i-lucide-tablet-smartphone",{"title":467,"icon":49,"path":468,"stem":469,"children":470,"page":49},"Apps","\u002Fexamples\u002Fapps","4.examples\u002F2.apps",[471],{"title":472,"path":473,"stem":474,"icon":475},"Frigear website app","\u002Fexamples\u002Fapps\u002Ffrigear-nu-website","4.examples\u002F2.apps\u002F1.frigear-nu-website","i-lucide-layout-dashboard",{"title":477,"icon":49,"path":478,"stem":479,"children":480,"page":49},"Tasks","\u002Fexamples\u002Ftasks","4.examples\u002F3.tasks",[481,485,489,494,499],{"title":482,"path":483,"stem":484,"icon":70},"Protect a route","\u002Fexamples\u002Ftasks\u002Fprotect-a-route","4.examples\u002F3.tasks\u002F1.protect-a-route",{"title":486,"path":487,"stem":488,"icon":475},"Add an admin page","\u002Fexamples\u002Ftasks\u002Fadd-an-admin-page","4.examples\u002F3.tasks\u002F2.add-an-admin-page",{"title":490,"path":491,"stem":492,"icon":493},"Sell event tickets","\u002Fexamples\u002Ftasks\u002Fsell-event-tickets","4.examples\u002F3.tasks\u002F3.sell-event-tickets","i-lucide-ticket",{"title":495,"path":496,"stem":497,"icon":498},"Build a form","\u002Fexamples\u002Ftasks\u002Fbuild-a-form","4.examples\u002F3.tasks\u002F4.build-a-form","i-lucide-clipboard-list",{"title":500,"path":501,"stem":502,"icon":503},"Send an email","\u002Fexamples\u002Ftasks\u002Fsend-an-email","4.examples\u002F3.tasks\u002F5.send-an-email","i-lucide-mail",{"title":505,"icon":506,"path":507,"stem":508,"children":509,"page":49},"Contribute","i-lucide-git-pull-request","\u002Fcontribute","5.contribute",[510,513,518,544,549,552,556,571],{"title":173,"path":511,"stem":512,"icon":506},"\u002Fcontribute\u002Foverview","5.contribute\u002F1.overview",{"title":514,"path":515,"stem":516,"icon":517},"Local development","\u002Fcontribute\u002Flocal-development","5.contribute\u002F2.local-development","i-lucide-terminal",{"title":519,"icon":49,"path":520,"stem":521,"children":522,"page":49},"Writing a module","\u002Fcontribute\u002Fwriting-a-module","5.contribute\u002F3.writing-a-module",[523,527,532,536,541],{"title":524,"path":525,"stem":526,"icon":39},"Scaffold a module","\u002Fcontribute\u002Fwriting-a-module\u002Fscaffold","5.contribute\u002F3.writing-a-module\u002F1.scaffold",{"title":528,"path":529,"stem":530,"icon":531},"Setup checklist","\u002Fcontribute\u002Fwriting-a-module\u002Fsetup-checklist","5.contribute\u002F3.writing-a-module\u002F2.setup-checklist","i-lucide-list-checks",{"title":533,"path":534,"stem":535,"icon":44},"Database tables","\u002Fcontribute\u002Fwriting-a-module\u002Fdatabase-tables","5.contribute\u002F3.writing-a-module\u002F3.database-tables",{"title":537,"path":538,"stem":539,"icon":540},"Testing","\u002Fcontribute\u002Fwriting-a-module\u002Ftesting","5.contribute\u002F3.writing-a-module\u002F4.testing","i-lucide-flask-conical",{"title":67,"path":542,"stem":543,"icon":70},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control","5.contribute\u002F3.writing-a-module\u002F5.access-control",{"title":545,"path":546,"stem":547,"icon":548},"Publishing","\u002Fcontribute\u002Fpublishing","5.contribute\u002F4.publishing","i-lucide-package-check",{"title":448,"path":550,"stem":551,"icon":6},"\u002Fcontribute\u002Fstarters","5.contribute\u002F5.starters",{"title":553,"path":554,"stem":555,"icon":52},"Documentation","\u002Fcontribute\u002Fdocumentation","5.contribute\u002F6.documentation",{"title":557,"icon":49,"path":558,"stem":559,"children":560,"page":49},"Tooling","\u002Fcontribute\u002Ftooling","5.contribute\u002F7.tooling",[561,566],{"title":562,"path":563,"stem":564,"icon":565},"CLI","\u002Fcontribute\u002Ftooling\u002Fcli","5.contribute\u002F7.tooling\u002F1.cli","i-lucide-square-terminal",{"title":567,"path":568,"stem":569,"icon":570},"ESLint config","\u002Fcontribute\u002Ftooling\u002Feslint-config","5.contribute\u002F7.tooling\u002F2.eslint-config","i-lucide-spell-check",{"title":572,"icon":49,"path":573,"stem":574,"children":575},"Decisions","\u002Fcontribute\u002Fdecisions","5.contribute\u002F8.decisions\u002Findex",[576,578,583],{"title":572,"path":573,"stem":574,"icon":577},"i-lucide-scale",{"title":579,"path":580,"stem":581,"icon":582},"Session lifetimes per OAuth client","\u002Fcontribute\u002Fdecisions\u002Foauth-token-lifetimes","5.contribute\u002F8.decisions\u002F1.oauth-token-lifetimes","i-lucide-timer",{"title":584,"path":585,"stem":586,"icon":70},"One permission model","\u002Fcontribute\u002Fdecisions\u002Fpermission-model","5.contribute\u002F8.decisions\u002F2.permission-model",{"id":588,"title":562,"body":589,"description":1834,"extension":1835,"links":1836,"meta":1837,"navigation":1838,"path":563,"seo":1839,"stem":564,"__hash__":1840},"docs\u002F5.contribute\u002F7.tooling\u002F1.cli.md",{"type":590,"value":591,"toc":1819},"minimark",[592,617,622,625,673,687,698,713,735,739,808,819,824,897,1038,1106,1118,1123,1179,1235,1266,1271,1334,1423,1438,1442,1481,1543,1563,1574,1579,1661,1714,1721,1731,1735,1750,1767,1786,1790,1815],[593,594,595,596,600,601,604,605,609,610,616],"p",{},"The Frigear CLI saves you from copying and renaming starters by hand. It creates a project from a\n",[597,598,599],"a",{"href":87},"starter",", adds an app or a module to a pnpm workspace, and installs Frigear modules in an\napp. It works in any pnpm workspace, not only in the ",[597,602,603],{"href":87},"Frigear repository",". Its package is\n",[606,607,608],"code",{},"@frigear-nu\u002Fcli",", a ",[597,611,615],{"href":612,"rel":613},"https:\u002F\u002Fgithub.com\u002Funjs\u002Fcitty",[614],"nofollow","citty"," CLI published to npm.",[618,619,621],"h2",{"id":620},"run-it","Run it",[593,623,624],{},"Run it without installing it:",[626,627,632],"pre",{"className":628,"code":629,"language":630,"meta":631,"style":631},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpx @frigear-nu\u002Fcli --help\npnpx @frigear-nu\u002Fcli \u003Ccommand> --help\n","bash","",[606,633,634,650],{"__ignoreMap":631},[635,636,639,643,647],"span",{"class":637,"line":638},"line",1,[635,640,642],{"class":641},"sBMFI","pnpx",[635,644,646],{"class":645},"sfazB"," @frigear-nu\u002Fcli",[635,648,649],{"class":645}," --help\n",[635,651,653,655,657,661,664,668,671],{"class":637,"line":652},2,[635,654,642],{"class":641},[635,656,646],{"class":645},[635,658,660],{"class":659},"sMK4o"," \u003C",[635,662,663],{"class":645},"comman",[635,665,667],{"class":666},"sTEyZ","d",[635,669,670],{"class":659},">",[635,672,649],{"class":645},[593,674,675,678,679,682,683,686],{},[606,676,677],{},"pnpm create frigear-app"," (or ",[606,680,681],{},"npm create frigear-app@latest",") does the same as ",[606,684,685],{},"init"," below.",[593,688,689,690,693,694,697],{},"Inside the Frigear repository, use the root ",[606,691,692],{},"cli"," script. It runs ",[606,695,696],{},"packages\u002Fcli\u002Fbin\u002Fcli.mjs",", which loads the\nTypeScript source with jiti, so there is no build step:",[626,699,701],{"className":628,"code":700,"language":630,"meta":631,"style":631},"pnpm cli --help\n",[606,702,703],{"__ignoreMap":631},[635,704,705,708,711],{"class":637,"line":638},[635,706,707],{"class":641},"pnpm",[635,709,710],{"class":645}," cli",[635,712,649],{"class":645},[714,715,716,717,720,721,726,727,730,731,734],"note",{},"The starters and app templates are downloaded from the ",[606,718,719],{},"Frigear-nu\u002Ffrigear-nu"," GitHub repository with\n",[597,722,725],{"href":723,"rel":724},"https:\u002F\u002Fgithub.com\u002Funjs\u002Fgiget",[614],"giget",". While that repository is not public, set ",[606,728,729],{},"GIGET_AUTH"," to a GitHub token that can\nread it, for example ",[606,732,733],{},"GIGET_AUTH=$(gh auth token)",".",[618,736,738],{"id":737},"commands","Commands",[740,741,742,755],"table",{},[743,744,745],"thead",{},[746,747,748,752],"tr",{},[749,750,751],"th",{},"Command",[749,753,754],{},"Purpose",[756,757,758,768,782,795],"tbody",{},[746,759,760,765],{},[761,762,763],"td",{},[606,764,685],{},[761,766,767],{},"Creates a new project from a starter.",[746,769,770,775],{},[761,771,772],{},[606,773,774],{},"app:create",[761,776,777,778,781],{},"Adds an app from a starter to ",[606,779,780],{},"apps\u002F\u003Cname>"," of a workspace.",[746,783,784,789],{},[761,785,786],{},[606,787,788],{},"module:create",[761,790,791,792,734],{},"Scaffolds a new Nuxt module under ",[606,793,794],{},"packages\u002F",[746,796,797,802],{},[761,798,799],{},[606,800,801],{},"add",[761,803,804,805,734],{},"Installs Frigear modules in a Nuxt app and adds them to its ",[606,806,807],{},"nuxt.config",[593,809,810,811,814,815,818],{},"Every command takes ",[606,812,813],{},"--cwd \u003Cdir>"," (default: ",[606,816,817],{},"INIT_CWD",", else the current directory).",[820,821,822],"h3",{"id":685},[606,823,685],{},[626,825,827],{"className":628,"code":826,"language":630,"meta":631,"style":631},"pnpx @frigear-nu\u002Fcli init [dir] [--platform \u003Cplatform>] [-t \u003Ctemplate>] [--ref \u003Cref>] [--force] [--no-install]\n",[606,828,829],{"__ignoreMap":631},[635,830,831,833,835,838,841,844,847,850,853,856,859,862,864,867,869,871,874,876,879,881,883,886,889,891,894],{"class":637,"line":638},[635,832,642],{"class":641},[635,834,646],{"class":645},[635,836,837],{"class":645}," init",[635,839,840],{"class":666}," [dir] ",[635,842,843],{"class":659},"[",[635,845,846],{"class":666},"--platform ",[635,848,849],{"class":659},"\u003C",[635,851,852],{"class":666},"platform",[635,854,855],{"class":659},">]",[635,857,858],{"class":659}," [",[635,860,861],{"class":666},"-t ",[635,863,849],{"class":659},[635,865,866],{"class":666},"template",[635,868,855],{"class":659},[635,870,858],{"class":659},[635,872,873],{"class":666},"--ref ",[635,875,849],{"class":659},[635,877,878],{"class":666},"ref",[635,880,855],{"class":659},[635,882,858],{"class":659},[635,884,885],{"class":666},"--force",[635,887,888],{"class":659},"]",[635,890,858],{"class":659},[635,892,893],{"class":666},"--no-install",[635,895,896],{"class":659},"]\n",[740,898,899,911],{},[743,900,901],{},[746,902,903,906,909],{},[749,904,905],{},"Argument",[749,907,908],{},"Default",[749,910,754],{},[756,912,913,935,966,991,1006,1020],{},[746,914,915,920,925],{},[761,916,917],{},[606,918,919],{},"dir",[761,921,922],{},[606,923,924],{},"frigear-app",[761,926,927,928,931,932,734],{},"Directory to create. Its name becomes the root ",[606,929,930],{},"package.json"," ",[606,933,934],{},"name",[746,936,937,946,953],{},[761,938,939,942,943],{},[606,940,941],{},"--platform",", ",[606,944,945],{},"--starter",[761,947,948,949,952],{},"asked, ",[606,950,951],{},"web"," when not interactive",[761,954,955,956,942,958,961,962,965],{},"What to build: ",[606,957,951],{},[606,959,960],{},"mobile"," or ",[606,963,964],{},"web,mobile",", or the starter's name. See the table below.",[746,967,968,976,978],{},[761,969,970,942,973],{},[606,971,972],{},"-t",[606,974,975],{},"--template",[761,977],{},[761,979,980,981,984,985,988,989,734],{},"Any ",[597,982,725],{"href":723,"rel":983},[614]," source to copy instead of a starter, for example ",[606,986,987],{},"gh:org\u002Frepo\u002Fpath#ref",". Not together with ",[606,990,941],{},[746,992,993,998,1003],{},[761,994,995],{},[606,996,997],{},"--ref",[761,999,1000],{},[606,1001,1002],{},"main",[761,1004,1005],{},"Branch or tag of the repository to copy the starter from.",[746,1007,1008,1012,1017],{},[761,1009,1010],{},[606,1011,885],{},[761,1013,1014],{},[606,1015,1016],{},"false",[761,1018,1019],{},"Write into a directory that is not empty.",[746,1021,1022,1026,1028],{},[761,1023,1024],{},[606,1025,893],{},[761,1027],{},[761,1029,1030,1031,1034,1035,734],{},"Skip ",[606,1032,1033],{},"pnpm install"," and ",[606,1036,1037],{},"pnpm prepare:env",[740,1039,1040,1054],{},[743,1041,1042],{},[746,1043,1044,1048,1051],{},[749,1045,1046],{},[606,1047,941],{},[749,1049,1050],{},"Starter (also accepted as the value)",[749,1052,1053],{},"What you get",[756,1055,1056,1073,1089],{},[746,1057,1058,1062,1067],{},[761,1059,1060],{},[606,1061,951],{},[761,1063,1064],{},[606,1065,1066],{},"workspace",[761,1068,1069,1072],{},[606,1070,1071],{},"apps\u002Fweb"," with sign-in, account pages and user management in the admin area",[746,1074,1075,1079,1083],{},[761,1076,1077],{},[606,1078,960],{},[761,1080,1081],{},[606,1082,960],{},[761,1084,1085,1088],{},[606,1086,1087],{},"apps\u002Fmobile",", a Capacitor app that signs in at an existing issuer",[746,1090,1091,1095,1100],{},[761,1092,1093],{},[606,1094,964],{},[761,1096,1097],{},[606,1098,1099],{},"mobile-standalone",[761,1101,1102,1103,1105],{},"both, with ",[606,1104,1071],{}," as the app's OAuth server and API",[593,1107,1108,1109,1111,1112,1114,1115,1117],{},"With ",[606,1110,972],{},", the root ",[606,1113,930],{}," is still renamed (when there is one), and ",[606,1116,1037],{}," only runs when the\ntemplate has that script.",[820,1119,1121],{"id":1120},"appcreate",[606,1122,774],{},[626,1124,1126],{"className":628,"code":1125,"language":630,"meta":631,"style":631},"pnpx @frigear-nu\u002Fcli app:create \u003Cname> [--template \u003Ctemplate>] [--ref \u003Cref>] [--no-install]\n",[606,1127,1128],{"__ignoreMap":631},[635,1129,1130,1132,1134,1137,1139,1142,1145,1147,1150,1152,1155,1157,1159,1161,1164,1166,1169,1172,1174,1176],{"class":637,"line":638},[635,1131,642],{"class":641},[635,1133,646],{"class":645},[635,1135,1136],{"class":645}," app:create",[635,1138,660],{"class":659},[635,1140,1141],{"class":645},"nam",[635,1143,1144],{"class":666},"e",[635,1146,670],{"class":659},[635,1148,1149],{"class":666}," [--template ",[635,1151,849],{"class":659},[635,1153,1154],{"class":645},"templat",[635,1156,1144],{"class":666},[635,1158,670],{"class":659},[635,1160,888],{"class":645},[635,1162,1163],{"class":666}," [--ref ",[635,1165,849],{"class":659},[635,1167,1168],{"class":645},"re",[635,1170,1171],{"class":666},"f",[635,1173,670],{"class":659},[635,1175,888],{"class":645},[635,1177,1178],{"class":666}," [--no-install]\n",[740,1180,1181,1191],{},[743,1182,1183],{},[746,1184,1185,1187,1189],{},[749,1186,905],{},[749,1188,908],{},[749,1190,754],{},[756,1192,1193,1209],{},[746,1194,1195,1199,1202],{},[761,1196,1197],{},[606,1198,934],{},[761,1200,1201],{},"required",[761,1203,1204,1205,1208],{},"Folder under ",[606,1206,1207],{},"apps\u002F",", kebab-cased.",[746,1210,1211,1215,1219],{},[761,1212,1213],{},[606,1214,975],{},[761,1216,1217],{},[606,1218,951],{},[761,1220,1221,1223,1224,1226,1227,1223,1230,1232,1233,734],{},[606,1222,951],{}," (the ",[606,1225,1066],{}," starter's app), ",[606,1228,1229],{},"web-standalone",[606,1231,1099],{}," starter's OAuth server app) or ",[606,1234,960],{},[593,1236,1237,1238,1241,1242,1245,1246,1249,1250,1253,1254,1256,1257,1259,1260,1262,1263,1265],{},"It needs a ",[606,1239,1240],{},"pnpm-workspace.yaml"," above ",[606,1243,1244],{},"--cwd",". The package is named ",[606,1247,1248],{},"\u003Cscope>\u002F\u003Cname>",", with the scope of the existing\napps (",[606,1251,1252],{},"@workspace"," in the starters), else of the root package. It fails when ",[606,1255,780],{}," already has a\n",[606,1258,930],{},", and runs ",[606,1261,1033],{}," at the root unless ",[606,1264,893],{}," is passed.",[820,1267,1269],{"id":1268},"modulecreate",[606,1270,788],{},[626,1272,1274],{"className":628,"code":1273,"language":630,"meta":631,"style":631},"pnpx @frigear-nu\u002Fcli module:create \u003Cname> [--template \u003Ctemplate>] [--scope \u003Cscope>] [--dir \u003Cdir>]\n",[606,1275,1276],{"__ignoreMap":631},[635,1277,1278,1280,1282,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1308,1310,1313,1315,1317,1319,1322,1324,1327,1330,1332],{"class":637,"line":638},[635,1279,642],{"class":641},[635,1281,646],{"class":645},[635,1283,1284],{"class":645}," module:create",[635,1286,660],{"class":659},[635,1288,1141],{"class":645},[635,1290,1144],{"class":666},[635,1292,670],{"class":659},[635,1294,1149],{"class":666},[635,1296,849],{"class":659},[635,1298,1154],{"class":645},[635,1300,1144],{"class":666},[635,1302,670],{"class":659},[635,1304,888],{"class":645},[635,1306,1307],{"class":666}," [--scope ",[635,1309,849],{"class":659},[635,1311,1312],{"class":645},"scop",[635,1314,1144],{"class":666},[635,1316,670],{"class":659},[635,1318,888],{"class":645},[635,1320,1321],{"class":666}," [--dir ",[635,1323,849],{"class":659},[635,1325,1326],{"class":645},"di",[635,1328,1329],{"class":666},"r",[635,1331,670],{"class":659},[635,1333,896],{"class":645},[740,1335,1336,1346],{},[743,1337,1338],{},[746,1339,1340,1342,1344],{},[749,1341,905],{},[749,1343,908],{},[749,1345,754],{},[756,1347,1348,1363,1380,1408],{},[746,1349,1350,1354,1356],{},[761,1351,1352],{},[606,1353,934],{},[761,1355,1201],{},[761,1357,1358,1359,1362],{},"Name of the module, for example ",[606,1360,1361],{},"my-module",". It is kebab-cased.",[746,1364,1365,1369,1374],{},[761,1366,1367],{},[606,1368,975],{},[761,1370,1371],{},[606,1372,1373],{},"gh:nuxt\u002Fstarter#module",[761,1375,1376,1377,734],{},"A giget template source, for example ",[606,1378,1379],{},"gh:github.com\u002Fmy\u002Fpackage",[746,1381,1382,1387,1390],{},[761,1383,1384],{},[606,1385,1386],{},"--scope",[761,1388,1389],{},"the root package's scope",[761,1391,1392,1393,1396,1397,1400,1401,1404,1405,734],{},"npm scope, for example ",[606,1394,1395],{},"@acme",". ",[606,1398,1399],{},"--scope \"\""," leaves the name unscoped. In this repository the root is ",[606,1402,1403],{},"@frigear-nu\u002Froot",", so modules are ",[606,1406,1407],{},"@frigear-nu\u002F\u003Cname>",[746,1409,1410,1415,1420],{},[761,1411,1412],{},[606,1413,1414],{},"--dir",[761,1416,1417],{},[606,1418,1419],{},"packages",[761,1421,1422],{},"Workspace folder to create the module in.",[593,1424,1425,1426,1429,1430,1432,1433,1435,1436,734],{},"It downloads the template into ",[606,1427,1428],{},"\u003Cworkspace root>\u002F\u003Cdir>\u002F\u003Cname>"," and sets the ",[606,1431,934],{}," in its ",[606,1434,930],{},". It exits\nwith an error, without changing anything, when that folder already contains a ",[606,1437,930],{},[820,1439,1440],{"id":801},[606,1441,801],{},[626,1443,1445],{"className":628,"code":1444,"language":630,"meta":631,"style":631},"pnpx @frigear-nu\u002Fcli add \u003Cmodule...> [--app \u003Capp>] [--no-install]\n",[606,1446,1447],{"__ignoreMap":631},[635,1448,1449,1451,1453,1456,1458,1461,1463,1465,1468,1470,1473,1475,1477,1479],{"class":637,"line":638},[635,1450,642],{"class":641},[635,1452,646],{"class":645},[635,1454,1455],{"class":645}," add",[635,1457,660],{"class":659},[635,1459,1460],{"class":645},"module..",[635,1462,734],{"class":666},[635,1464,670],{"class":659},[635,1466,1467],{"class":666}," [--app ",[635,1469,849],{"class":659},[635,1471,1472],{"class":645},"ap",[635,1474,593],{"class":666},[635,1476,670],{"class":659},[635,1478,888],{"class":645},[635,1480,1178],{"class":666},[740,1482,1483,1493],{},[743,1484,1485],{},[746,1486,1487,1489,1491],{},[749,1488,905],{},[749,1490,908],{},[749,1492,754],{},[756,1494,1495,1515,1530],{},[746,1496,1497,1502,1504],{},[761,1498,1499],{},[606,1500,1501],{},"module",[761,1503,1201],{},[761,1505,1506,1507,1510,1511,1514],{},"One or more modules: ",[606,1508,1509],{},"forms"," means ",[606,1512,1513],{},"@frigear-nu\u002Fforms","; a scoped name is used as is.",[746,1516,1517,1522,1525],{},[761,1518,1519],{},[606,1520,1521],{},"--app",[761,1523,1524],{},"see below",[761,1526,1527,1528,734],{},"The app: a path, or a folder under ",[606,1529,1207],{},[746,1531,1532,1536,1538],{},[761,1533,1534],{},[606,1535,893],{},[761,1537],{},[761,1539,1540,1541,734],{},"Only edit ",[606,1542,807],{},[593,1544,1545,1546,1548,1549,1551,1552,1554,1555,1558,1559,1562],{},"Without ",[606,1547,1521],{},", the app is the current directory when it has a ",[606,1550,807],{},", else the only app under ",[606,1553,1207],{}," with\none. The command runs ",[606,1556,1557],{},"pnpm add"," in the app and adds each module to ",[606,1560,1561],{},"modules"," once. It prints each module's\ndocumentation link.",[1564,1565,1566,1567,1570,1571,1573],"warning",{},"Module options and the migration are still yours. A module that adds tables needs ",[606,1568,1569],{},"pnpm db:generate",", as\n",[597,1572,36],{"href":37}," describes.",[820,1575,1577],{"id":1576},"create-frigear-app",[606,1578,1576],{},[626,1580,1582],{"className":628,"code":1581,"language":630,"meta":631,"style":631},"pnpm create frigear-app [dir] [--platform \u003Cplatform>] [-t \u003Ctemplate>] [--ref \u003Cref>] [--force] [--no-install]\nnpm create frigear-app@latest [dir] [--platform \u003Cplatform>]\n",[606,1583,1584,1638],{"__ignoreMap":631},[635,1585,1586,1588,1591,1594,1596,1598,1600,1602,1604,1606,1608,1610,1612,1614,1616,1618,1620,1622,1624,1626,1628,1630,1632,1634,1636],{"class":637,"line":638},[635,1587,707],{"class":641},[635,1589,1590],{"class":645}," create",[635,1592,1593],{"class":645}," frigear-app",[635,1595,840],{"class":666},[635,1597,843],{"class":659},[635,1599,846],{"class":666},[635,1601,849],{"class":659},[635,1603,852],{"class":666},[635,1605,855],{"class":659},[635,1607,858],{"class":659},[635,1609,861],{"class":666},[635,1611,849],{"class":659},[635,1613,866],{"class":666},[635,1615,855],{"class":659},[635,1617,858],{"class":659},[635,1619,873],{"class":666},[635,1621,849],{"class":659},[635,1623,878],{"class":666},[635,1625,855],{"class":659},[635,1627,858],{"class":659},[635,1629,885],{"class":666},[635,1631,888],{"class":659},[635,1633,858],{"class":659},[635,1635,893],{"class":666},[635,1637,896],{"class":659},[635,1639,1640,1643,1645,1648,1650,1652,1654,1656,1658],{"class":637,"line":652},[635,1641,1642],{"class":641},"npm",[635,1644,1590],{"class":645},[635,1646,1647],{"class":645}," frigear-app@latest",[635,1649,840],{"class":666},[635,1651,843],{"class":659},[635,1653,846],{"class":666},[635,1655,849],{"class":659},[635,1657,852],{"class":666},[635,1659,1660],{"class":659},">]\n",[593,1662,1663,1666,1667,1034,1670,1673,1674,1676,1677,1680,1681,942,1684,942,1687,961,1690,1693,1694,1696,1697,1699,1700,1702,1703,1705,1706,1709,1710,1713],{},[606,1664,1665],{},"packages\u002Fcreate-frigear-app"," is what ",[606,1668,1669],{},"pnpm create",[606,1671,1672],{},"npm create"," find. It has no dependencies: it runs ",[606,1675,685],{}," of\n",[606,1678,1679],{},"@frigear-nu\u002Fcli@latest"," with the package manager that started it (",[606,1682,1683],{},"pnpm dlx",[606,1685,1686],{},"npx",[606,1688,1689],{},"yarn dlx",[606,1691,1692],{},"bunx","), so it takes\nthe same arguments as ",[606,1695,685],{},", and every CLI release reaches it without releasing ",[606,1698,1576],{},". The starters\ncome from ",[606,1701,1002],{}," unless you pass ",[606,1704,997],{},". Set ",[606,1707,1708],{},"FRIGEAR_CLI"," to run another CLI, such as ",[606,1711,1712],{},"@frigear-nu\u002Fcli@0.1.0"," or a\npacked tarball.",[618,1715,1717,1718,1720],{"id":1716},"after-modulecreate-in-the-frigear-repository","After ",[606,1719,788],{}," in the Frigear repository",[593,1722,1723,1724,1726,1727,1730],{},"The command only creates the package. ",[597,1725,524],{"href":525}," starts the path through\nthe rest: the folder layout, ",[606,1728,1729],{},"setup()",", tests, the release config and the module page.",[618,1732,1734],{"id":1733},"developing-the-cli","Developing the CLI",[593,1736,1737,1738,1741,1742,1745,1746,1749],{},"The source is in ",[606,1739,1740],{},"packages\u002Fcli\u002Fsrc",", with one file per command in ",[606,1743,1744],{},"commands\u002F",". Its tests run against the repository's\nown ",[606,1747,1748],{},".starters\u002F",", with giget mocked, so nothing is downloaded or installed:",[626,1751,1753],{"className":628,"code":1752,"language":630,"meta":631,"style":631},"pnpm --filter @frigear-nu\u002Fcli test\n",[606,1754,1755],{"__ignoreMap":631},[635,1756,1757,1759,1762,1764],{"class":637,"line":638},[635,1758,707],{"class":641},[635,1760,1761],{"class":645}," --filter",[635,1763,646],{"class":645},[635,1765,1766],{"class":645}," test\n",[593,1768,1769,1770,1773,1774,1777,1778,1781,1782,1785],{},"The published package is built with unbuild into ",[606,1771,1772],{},"dist\u002F",", and ",[606,1775,1776],{},"publishConfig"," points ",[606,1779,1780],{},"bin"," at ",[606,1783,1784],{},"dist\u002Fcli.mjs",". It is\nreleased like every other package.",[618,1787,1789],{"id":1788},"next-steps","Next steps",[1791,1792,1793,1802,1810],"ul",{},[1794,1795,1796,1798,1799,1801],"li",{},[597,1797,524],{"href":525}," – turn a new ",[606,1800,788],{}," package into a module.",[1794,1803,1804,1806,1807,1809],{},[597,1805,16],{"href":17}," – create a project with ",[606,1808,685],{}," and run it.",[1794,1811,1812,1814],{},[597,1813,545],{"href":546}," – release a new version of the CLI.",[1816,1817,1818],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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);}",{"title":631,"searchDepth":652,"depth":652,"links":1820},[1821,1822,1830,1832,1833],{"id":620,"depth":652,"text":621},{"id":737,"depth":652,"text":738,"children":1823},[1824,1826,1827,1828,1829],{"id":685,"depth":1825,"text":685},3,{"id":1120,"depth":1825,"text":774},{"id":1268,"depth":1825,"text":788},{"id":801,"depth":1825,"text":801},{"id":1576,"depth":1825,"text":1576},{"id":1716,"depth":652,"text":1831},"After module:create in the Frigear repository",{"id":1733,"depth":652,"text":1734},{"id":1788,"depth":652,"text":1789},"Create projects from the starters, add apps and modules, and install Frigear modules with @frigear-nu\u002Fcli.","md",null,{},{"icon":565},{"title":562,"description":1834},"1jz4EyW7APW_Kam1SgyBhlBgl4HP_sLGPDYBMjcFsFk",[1842,1844],{"title":553,"path":554,"stem":555,"description":1843,"icon":52,"children":-1},"Where a docs page belongs, how to write it so readers know what it is for, and how to check its links.",{"title":567,"path":568,"stem":569,"description":1845,"icon":570,"children":-1},"The shared ESLint flat config for Frigear packages and simple Node or Nuxt projects.",1794503145448]