[{"data":1,"prerenderedAt":396,"buildId":397},["ShallowReactive",2],{"-en-guides-release-it":3,"-en-guides-release-it-surround":338,"navigation_docs_en":348},{"id":4,"title":5,"body":6,"description":45,"extension":330,"links":331,"meta":332,"navigation":333,"path":334,"seo":335,"stem":336,"__hash__":337},"docs_en\u002Fen\u002Fguides\u002F5.release-it.md","release-it configuration",{"type":7,"value":8,"toc":324},"minimark",[9,14,35,65,69,83,132,146,150,160,180,183,196,202,206,294,305,320],[10,11,13],"h2",{"id":12},"install-release-it-in-your-project","Install release-it in your project",[15,16,17,18,22,23,26,27,30,31,34],"p",{},"Pin ",[19,20,21],"code",{},"release-it"," and the Conventional Changelog plugin. Use Node ",[19,24,25],{},"^22.22.2",", ",[19,28,29],{},"^24.15.0"," or ",[19,32,33],{},">=26.0.0",".",[36,37,38,55],"code-group",{},[39,40,46],"pre",{"className":41,"code":42,"filename":43,"language":44,"meta":45,"style":45},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add --save-dev --save-exact release-it@21.1.3 @release-it\u002Fconventional-changelog@12.0.2\n","pnpm","sh","",[19,47,48],{"__ignoreMap":45},[49,50,53],"span",{"class":51,"line":52},"line",1,[49,54,42],{},[39,56,59],{"className":41,"code":57,"filename":58,"language":44,"meta":45,"style":45},"npm install --save-dev --save-exact release-it@21.1.3 @release-it\u002Fconventional-changelog@12.0.2\n","npm",[19,60,61],{"__ignoreMap":45},[49,62,63],{"class":51,"line":52},[49,64,57],{},[10,66,68],{"id":67},"pin-the-preset","Pin the preset",[15,70,71,72,75,76,79,80,34],{},"In the root ",[19,73,74],{},".release-it.json",", replace ",[19,77,78],{},"XOVA_ACTIONS_SHA"," with the full SHA of a commit that passed CI in ",[19,81,82],{},"xova-dev\u002Factions",[39,84,88],{"className":85,"code":86,"language":87,"meta":45,"style":45},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"extends\": [\"github:xova-dev\u002Factions\u002Fconfig#XOVA_ACTIONS_SHA\"]\n}\n","json",[19,89,90,96,126],{"__ignoreMap":45},[49,91,92],{"class":51,"line":52},[49,93,95],{"class":94},"sMK4o","{\n",[49,97,99,102,106,109,112,115,117,121,123],{"class":51,"line":98},2,[49,100,101],{"class":94},"  \"",[49,103,105],{"class":104},"spNyl","extends",[49,107,108],{"class":94},"\"",[49,110,111],{"class":94},":",[49,113,114],{"class":94}," [",[49,116,108],{"class":94},[49,118,120],{"class":119},"sfazB","github:xova-dev\u002Factions\u002Fconfig#XOVA_ACTIONS_SHA",[49,122,108],{"class":94},[49,124,125],{"class":94},"]\n",[49,127,129],{"class":51,"line":128},3,[49,130,131],{"class":94},"}\n",[15,133,134,135,138,139,142,143,34],{},"For local testing, use the absolute path to this checkout’s ",[19,136,137],{},"config\u002F",". For a subpackage, run the CLI in the package directory and set ",[19,140,141],{},"git.tagName"," if needed, e.g. ",[19,144,145],{},"widget@${version}",[10,147,149],{"id":148},"release-a-version","Release a version",[15,151,152,153,156,157,34],{},"Replace ",[19,154,155],{},"0.4.0"," with the target version and preview the notes with ",[19,158,159],{},"--dry-run",[36,161,162,171],{},[39,163,165],{"className":41,"code":164,"filename":43,"language":44,"meta":45,"style":45},"pnpm exec release-it 0.4.0 --ci --dry-run\n",[19,166,167],{"__ignoreMap":45},[49,168,169],{"class":51,"line":52},[49,170,164],{},[39,172,174],{"className":41,"code":173,"filename":58,"language":44,"meta":45,"style":45},"npm exec -- release-it 0.4.0 --ci --dry-run\n",[19,175,176],{"__ignoreMap":45},[49,177,178],{"class":51,"line":52},[49,179,173],{},[15,181,182],{},"Before pushing, check the following.",[184,185,186,190,193],"ol",{},[187,188,189],"li",{},"The preview shows the intended version and release notes, including any migration instructions.",[187,191,192],{},"The branch is clean, tracks the intended remote and can push commits and tags.",[187,194,195],{},"The consumer publishes on tag push. When upgrading the old preset, remove local GitHub Release overrides and credential hooks.",[15,197,198,199,201],{},"Rerun without ",[19,200,159],{},". release-it runs project hooks, commits the version and changelog, creates the tag and pushes. The Git push needs no GitHub API token.",[10,203,205],{"id":204},"configure-npm-publication-in-ci","Configure npm publication in CI",[207,208,209,222],"table",{},[210,211,212],"thead",{},[213,214,215,219],"tr",{},[216,217,218],"th",{},"Setting",[216,220,221],{},"Publication behavior",[223,224,225,236,259,273],"tbody",{},[213,226,227,233],{},[228,229,230],"td",{},[19,231,232],{},"npm.verify-command",[228,234,235],{},"Check and build the clean candidate. Run required builds explicitly because packing disables lifecycle scripts.",[213,237,238,243],{},[228,239,240],{},[19,241,242],{},"npm.package-manager",[228,244,245,246,248,249,251,252,30,255,258],{},"Defaults to ",[19,247,58],{},". Choose ",[19,250,43],{}," to expand ",[19,253,254],{},"catalog:",[19,256,257],{},"workspace:"," dependencies.",[213,260,261,266],{},[228,262,263],{},[19,264,265],{},"npm.tarball-verify-command",[228,267,268,269,272],{},"Optional. Test the archive at the absolute path in ",[19,270,271],{},"TARBALL",". Omit for identity and consistency checks only.",[213,274,275,280],{},[228,276,277],{},[19,278,279],{},"npm.dist-tag",[228,281,282,283,286,287,290,291,293],{},"Stable versions default to ",[19,284,285],{},"latest",", prereleases to ",[19,288,289],{},"next",". Prereleases cannot use ",[19,292,285],{},". A dist-tag must not parse as a SemVer range.",[15,295,296,297,304],{},"CI uses locked release-it 21.1.3, OIDC-capable npm 11.5.1+ and the ",[298,299,303],"a",{"href":300,"rel":301},"https:\u002F\u002Fgithub.com\u002Fxova-dev\u002Factions\u002Fblob\u002Fmain\u002Fconfig\u002Fnpm-publish.mjs",[302],"nofollow","isolated publication preset",". The built-in npm publisher receives the same file after verification of the archived manifest, final source and SHA-256.",[15,306,307,308,311,312,315,316,34],{},"An active ",[19,309,310],{},"dry-run"," in the environment or ",[19,313,314],{},".npmrc"," blocks publication. After handoff to npm, wait for confirmation. See the ",[298,317,319],{"href":318},"\u002Fen\u002Fguides\u002Fpublication-results","publication receipt",[321,322,323],"style",{},"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":45,"searchDepth":98,"depth":98,"links":325},[326,327,328,329],{"id":12,"depth":98,"text":13},{"id":67,"depth":98,"text":68},{"id":148,"depth":98,"text":149},{"id":204,"depth":98,"text":205},"md",null,{},true,"\u002Fen\u002Fguides\u002Frelease-it",{"title":5,"description":45},"en\u002Fguides\u002F5.release-it","0M0pfUFBAbUZE0zLp55d1T-3FLcY360bbd1ibGsiK_o",[339,344],{"title":340,"path":341,"stem":342,"description":343,"children":-1},"Deploy a site or Worker","\u002Fen\u002Fguides\u002Fdeployment","en\u002Fguides\u002F4.deployment","A site built on main can deploy as soon as its build succeeds. To tie deployment to a stable release, make it depend on both jobs (needs: [build_site, publish] in the monorepo example) and pass the tag as release-tag. Monorepo workflows",{"title":345,"path":318,"stem":346,"description":347,"children":-1},"npm publication results","en\u002Fguides\u002F6.publication-results","Check the package name, version and tarball digest in the publish job summary or the same run’s publication-result.json. The receipt still records npm success if the GitHub Release or docs deployment later fails.",[349,363,387],{"title":350,"path":351,"stem":352,"children":353,"page":362},"Examples","\u002Fen\u002Fexamples","en\u002Fexamples",[354,358],{"title":355,"path":356,"stem":357},"From CI downloads to tagged releases","\u002Fen\u002Fexamples\u002Fdownloads","en\u002Fexamples\u002F1.downloads",{"title":359,"path":360,"stem":361},"Monorepo package and documentation site","\u002Fen\u002Fexamples\u002Fmonorepo","en\u002Fexamples\u002F2.monorepo",false,{"title":364,"path":365,"stem":366,"children":367,"page":362},"Guides","\u002Fen\u002Fguides","en\u002Fguides",[368,372,376,380,381,382,383],{"title":369,"path":370,"stem":371},"Workflow architecture","\u002Fen\u002Fguides\u002Fproject-workflows","en\u002Fguides\u002F1.project-workflows",{"title":373,"path":374,"stem":375},"Adopt the workflows","\u002Fen\u002Fguides\u002Fadoption","en\u002Fguides\u002F2.adoption",{"title":377,"path":378,"stem":379},"Releasing","\u002Fen\u002Fguides\u002Freleasing","en\u002Fguides\u002F3.releasing",{"title":340,"path":341,"stem":342},{"title":5,"path":334,"stem":336},{"title":345,"path":318,"stem":346},{"title":384,"path":385,"stem":386},"Workflow and action interfaces","\u002Fen\u002Fguides\u002Farchitecture","en\u002Fguides\u002F7.architecture",{"title":388,"path":389,"stem":390,"children":391,"page":362},"Maintenance","\u002Fen\u002Fmaintenance","en\u002Fmaintenance",[392],{"title":393,"path":394,"stem":395},"Maintain Xova Actions","\u002Fen\u002Fmaintenance\u002Fverification","en\u002Fmaintenance\u002F1.verification",1796537881648,"2d28474e-0c56-4c42-95a6-d293d7783a6d"]