[{"data":1,"prerenderedAt":744},["ShallowReactive",2],{"docs-page:\u002Fdocs\u002Fcli\u002Fdeploy":3,"docs-pages":398},{"id":4,"title":5,"body":6,"description":365,"extension":391,"meta":392,"navigation":393,"path":394,"seo":395,"stem":396,"__hash__":397},"docs\u002Fdocs\u002Fcli\u002Fdeploy.md","scpm deploy",{"type":7,"value":8,"toc":364},"minimark",[9,16,30,34,39,46,49,52,56,62,69,84,90,95,101,104,107,113,116,131,137,140,147,153,156,162,165,171,174,180,183,189,192,214,220,223,248,254,257,270,276,279,291,297,300,321,327,330,333,339,342,348,354,357],[10,11,13],"h1",{"id":12},"scpm-deploy",[14,15,5],"code",{},[17,18,19],"ul",{},[20,21,22,26,27],"li",{},[23,24,25],"strong",{},"Usage",": ",[14,28,29],{},"scpm deploy [FLAGS] \u003CTARGET>",[31,32,33],"p",{},"Deploy a workspace package into a target directory with deps inlined",[35,36,38],"h2",{"id":37},"arguments","Arguments",[40,41,43],"h3",{"id":42},"target",[14,44,45],{},"\u003CTARGET>",[31,47,48],{},"Target directory to deploy into.",[31,50,51],{},"Must be empty or not yet exist.",[35,53,55],{"id":54},"flags","Flags",[40,57,59],{"id":58},"d-dev",[14,60,61],{},"-D --dev",[31,63,64,65,68],{},"Install only ",[14,66,67],{},"devDependencies",".",[31,70,71,72,75,76,79,80,83],{},"Implemented by stripping ",[14,73,74],{},"dependencies"," and ",[14,77,78],{},"optionalDependencies"," from the deployed ",[14,81,82],{},"package.json"," before install runs.",[40,85,87],{"id":86},"no-optional",[14,88,89],{},"--no-optional",[31,91,92,93],{},"Skip ",[14,94,78],{},[40,96,98],{"id":97},"p-prod",[14,99,100],{},"-P --prod",[31,102,103],{},"Install only production dependencies (default).",[31,105,106],{},"Accepted for pnpm compatibility.",[40,108,110],{"id":109},"no-prod",[14,111,112],{},"--no-prod",[31,114,115],{},"Deploy every dependency kind (production + dev + optional).",[31,117,118,119,122,123,125,126,75,128,68],{},"Opts out of the implicit ",[14,120,121],{},"--prod"," deploy default. Useful when a deployed package needs its devDependencies at runtime (test harnesses, build-step deploys). Combine with ",[14,124,89],{}," to drop optionals while keeping prod + dev. Mutually exclusive with ",[14,127,121],{},[14,129,130],{},"--dev",[40,132,134],{"id":133},"offline",[14,135,136],{},"--offline",[31,138,139],{},"Fail if any metadata or tarball isn't already in the local cache.",[31,141,142,143,146],{},"Never hits the network. Useful in multi-stage Dockerfiles where an earlier ",[14,144,145],{},"scpm install"," already populated the store: deploy then reproduces a prod-only tree without re-fetching anything.",[40,148,150],{"id":149},"prefer-offline",[14,151,152],{},"--prefer-offline",[31,154,155],{},"Prefer cached metadata over revalidation; only hit the network on a miss",[40,157,159],{"id":158},"frozen-lockfile",[14,160,161],{},"--frozen-lockfile",[31,163,164],{},"Error if the lockfile drifts from package.json",[40,166,168],{"id":167},"no-frozen-lockfile",[14,169,170],{},"--no-frozen-lockfile",[31,172,173],{},"Always re-resolve, even if the lockfile is up to date",[40,175,177],{"id":176},"prefer-frozen-lockfile",[14,178,179],{},"--prefer-frozen-lockfile",[31,181,182],{},"Use the lockfile when fresh, re-resolve when stale",[40,184,186],{"id":185},"fetch-retries-n",[14,187,188],{},"--fetch-retries \u003CN>",[31,190,191],{},"Number of retry attempts for failed registry fetches.",[31,193,194,195,198,199,202,203,198,206,209,210,213],{},"Overrides ",[14,196,197],{},"fetchRetries"," \u002F ",[14,200,201],{},"fetch-retries"," from ",[14,204,205],{},".npmrc",[14,207,208],{},"scpm-workspace.yaml"," when set. Pair with ",[14,211,212],{},"--fetch-timeout"," to fail fast in scripted test runs.",[40,215,217],{"id":216},"fetch-retry-factor-n",[14,218,219],{},"--fetch-retry-factor \u003CN>",[31,221,222],{},"Exponential backoff factor between retry attempts.",[31,224,194,225,198,228,202,231,198,233,235,236,239,240,243,244,247],{},[14,226,227],{},"fetchRetryFactor",[14,229,230],{},"fetch-retry-factor",[14,232,205],{},[14,234,208],{}," when set. Integer-only — the underlying ",[14,237,238],{},"FetchPolicy.retry_factor"," is ",[14,241,242],{},"u32",". Fractional values like ",[14,245,246],{},"1.5"," are rejected by clap.",[40,249,251],{"id":250},"fetch-retry-maxtimeout-ms",[14,252,253],{},"--fetch-retry-maxtimeout \u003CMS>",[31,255,256],{},"Upper bound (ms) on the computed retry backoff.",[31,258,194,259,198,262,202,265,198,267,269],{},[14,260,261],{},"fetchRetryMaxtimeout",[14,263,264],{},"fetch-retry-maxtimeout",[14,266,205],{},[14,268,208],{}," when set.",[40,271,273],{"id":272},"fetch-retry-mintimeout-ms",[14,274,275],{},"--fetch-retry-mintimeout \u003CMS>",[31,277,278],{},"Lower bound (ms) on the computed retry backoff.",[31,280,194,281,198,284,202,287,198,289,269],{},[14,282,283],{},"fetchRetryMintimeout",[14,285,286],{},"fetch-retry-mintimeout",[14,288,205],{},[14,290,208],{},[40,292,294],{"id":293},"fetch-timeout-ms",[14,295,296],{},"--fetch-timeout \u003CMS>",[31,298,299],{},"Per-request HTTP timeout in milliseconds.",[31,301,194,302,198,305,202,308,198,310,312,313,316,317,320],{},[14,303,304],{},"fetchTimeout",[14,306,307],{},"fetch-timeout",[14,309,205],{},[14,311,208],{}," when set. Applied via ",[14,314,315],{},"reqwest","'s ",[14,318,319],{},".timeout()"," so it covers headers + body together.",[40,322,324],{"id":323},"registry-url",[14,325,326],{},"--registry \u003CURL>",[31,328,329],{},"Override the default registry URL for this invocation.",[31,331,332],{},"Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.",[40,334,336],{"id":335},"disable-global-virtual-store",[14,337,338],{},"--disable-global-virtual-store",[31,340,341],{},"Force the shared global virtual store off for this invocation.",[31,343,344,345,68],{},"Packages are materialized inside the project's virtual store instead of symlinked from ",[14,346,347],{},"~\u002F.cache\u002Fscpm\u002Fvirtual-store\u002F",[40,349,351],{"id":350},"enable-global-virtual-store",[14,352,353],{},"--enable-global-virtual-store",[31,355,356],{},"Force the shared global virtual store on for this invocation.",[31,358,359,360,363],{},"Overrides CI's default per-project materialization and the ",[14,361,362],{},"disableGlobalVirtualStoreForPackages"," auto-disable heuristic.",{"title":365,"searchDepth":366,"depth":366,"links":367},"",2,[368,372],{"id":37,"depth":366,"text":38,"children":369},[370],{"id":42,"depth":371,"text":45},3,{"id":54,"depth":366,"text":55,"children":373},[374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390],{"id":58,"depth":371,"text":61},{"id":86,"depth":371,"text":89},{"id":97,"depth":371,"text":100},{"id":109,"depth":371,"text":112},{"id":133,"depth":371,"text":136},{"id":149,"depth":371,"text":152},{"id":158,"depth":371,"text":161},{"id":167,"depth":371,"text":170},{"id":176,"depth":371,"text":179},{"id":185,"depth":371,"text":188},{"id":216,"depth":371,"text":219},{"id":250,"depth":371,"text":253},{"id":272,"depth":371,"text":275},{"id":293,"depth":371,"text":296},{"id":323,"depth":371,"text":326},{"id":335,"depth":371,"text":338},{"id":350,"depth":371,"text":353},"md",{},true,"\u002Fdocs\u002Fcli\u002Fdeploy",{"title":5,"description":365},"docs\u002Fcli\u002Fdeploy","UjKj5DudKH7h8-xnT-rwxQcrcyMACpFoHskSC0av8rs",[399,402,405,408,411,414,417,420,423,426,429,432,435,438,441,444,447,450,453,456,459,462,465,468,471,474,477,480,483,484,487,490,493,496,499,502,505,508,511,514,517,520,523,526,529,532,535,538,540,543,546,549,552,555,558,561,564,567,570,573,576,579,582,585,588,591,594,597,600,603,606,609,612,615,618,621,624,627,630,633,636,639,642,645,648,651,654,657,660,663,666,669,672,675,678,681,684,687,690,693,696,699,702,705,708,711,714,717,720,723,726,729,732,735,738,741],{"path":400,"title":401},"\u002Fdocs\u002Fbenchmarks","Benchmarks",{"path":403,"title":404},"\u002Fdocs\u002Fbun-users","For bun users",{"path":406,"title":407},"\u002Fdocs\u002Fcli\u002Fadd","scpm add",{"path":409,"title":410},"\u002Fdocs\u002Fcli\u002Fapprove-builds","scpm approve-builds",{"path":412,"title":413},"\u002Fdocs\u002Fcli\u002Faudit","scpm audit",{"path":415,"title":416},"\u002Fdocs\u002Fcli\u002Fbin","scpm bin",{"path":418,"title":419},"\u002Fdocs\u002Fcli\u002Fcache","scpm cache",{"path":421,"title":422},"\u002Fdocs\u002Fcli\u002Fcache\u002Fdelete","scpm cache delete",{"path":424,"title":425},"\u002Fdocs\u002Fcli\u002Fcache\u002Flist","scpm cache list",{"path":427,"title":428},"\u002Fdocs\u002Fcli\u002Fcache\u002Flist-registries","scpm cache list-registries",{"path":430,"title":431},"\u002Fdocs\u002Fcli\u002Fcache\u002Fprune","scpm cache prune",{"path":433,"title":434},"\u002Fdocs\u002Fcli\u002Fcache\u002Fview","scpm cache view",{"path":436,"title":437},"\u002Fdocs\u002Fcli\u002Fcat-file","scpm cat-file",{"path":439,"title":440},"\u002Fdocs\u002Fcli\u002Fcat-index","scpm cat-index",{"path":442,"title":443},"\u002Fdocs\u002Fcli\u002Fcheck","scpm check",{"path":445,"title":446},"\u002Fdocs\u002Fcli\u002Fci","scpm ci",{"path":448,"title":449},"\u002Fdocs\u002Fcli\u002Fclean","scpm clean",{"path":451,"title":452},"\u002Fdocs\u002Fcli\u002Fcompletion","scpm completion",{"path":454,"title":455},"\u002Fdocs\u002Fcli\u002Fconfig","scpm config",{"path":457,"title":458},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fdelete","scpm config delete",{"path":460,"title":461},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fexplain","scpm config explain",{"path":463,"title":464},"\u002Fdocs\u002Fcli\u002Fconfig\u002Ffind","scpm config find",{"path":466,"title":467},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fget","scpm config get",{"path":469,"title":470},"\u002Fdocs\u002Fcli\u002Fconfig\u002Flist","scpm config list",{"path":472,"title":473},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fset","scpm config set",{"path":475,"title":476},"\u002Fdocs\u002Fcli\u002Fconfig\u002Ftui","scpm config tui",{"path":478,"title":479},"\u002Fdocs\u002Fcli\u002Fcreate","scpm create",{"path":481,"title":482},"\u002Fdocs\u002Fcli\u002Fdedupe","scpm dedupe",{"path":394,"title":5},{"path":485,"title":486},"\u002Fdocs\u002Fcli\u002Fdeprecate","scpm deprecate",{"path":488,"title":489},"\u002Fdocs\u002Fcli\u002Fdeprecations","scpm deprecations",{"path":491,"title":492},"\u002Fdocs\u002Fcli\u002Fdiag","scpm diag",{"path":494,"title":495},"\u002Fdocs\u002Fcli\u002Fdiag\u002Fanalyze","scpm diag analyze",{"path":497,"title":498},"\u002Fdocs\u002Fcli\u002Fdiag\u002Fcompare","scpm diag compare",{"path":500,"title":501},"\u002Fdocs\u002Fcli\u002Fdist-tag","scpm dist-tag",{"path":503,"title":504},"\u002Fdocs\u002Fcli\u002Fdist-tag\u002Fadd","scpm dist-tag add",{"path":506,"title":507},"\u002Fdocs\u002Fcli\u002Fdist-tag\u002Fls","scpm dist-tag ls",{"path":509,"title":510},"\u002Fdocs\u002Fcli\u002Fdist-tag\u002Frm","scpm dist-tag rm",{"path":512,"title":513},"\u002Fdocs\u002Fcli\u002Fdlx","scpm dlx",{"path":515,"title":516},"\u002Fdocs\u002Fcli\u002Fdoctor","scpm doctor",{"path":518,"title":519},"\u002Fdocs\u002Fcli\u002Fexec","scpm exec",{"path":521,"title":522},"\u002Fdocs\u002Fcli\u002Ffetch","scpm fetch",{"path":524,"title":525},"\u002Fdocs\u002Fcli\u002Ffind-hash","scpm find-hash",{"path":527,"title":528},"\u002Fdocs\u002Fcli\u002Fignored-builds","scpm ignored-builds",{"path":530,"title":531},"\u002Fdocs\u002Fcli\u002Fimport","scpm import",{"path":533,"title":534},"\u002Fdocs\u002Fcli","scpm",{"path":536,"title":537},"\u002Fdocs\u002Fcli\u002Finit","scpm init",{"path":539,"title":145},"\u002Fdocs\u002Fcli\u002Finstall",{"path":541,"title":542},"\u002Fdocs\u002Fcli\u002Flicenses","scpm licenses",{"path":544,"title":545},"\u002Fdocs\u002Fcli\u002Flink","scpm link",{"path":547,"title":548},"\u002Fdocs\u002Fcli\u002Flist","scpm list",{"path":550,"title":551},"\u002Fdocs\u002Fcli\u002Flogin","scpm login",{"path":553,"title":554},"\u002Fdocs\u002Fcli\u002Flogout","scpm logout",{"path":556,"title":557},"\u002Fdocs\u002Fcli\u002Foutdated","scpm outdated",{"path":559,"title":560},"\u002Fdocs\u002Fcli\u002Fpack","scpm pack",{"path":562,"title":563},"\u002Fdocs\u002Fcli\u002Fpatch","scpm patch",{"path":565,"title":566},"\u002Fdocs\u002Fcli\u002Fpatch-commit","scpm patch-commit",{"path":568,"title":569},"\u002Fdocs\u002Fcli\u002Fpatch-remove","scpm patch-remove",{"path":571,"title":572},"\u002Fdocs\u002Fcli\u002Fpeers","scpm peers",{"path":574,"title":575},"\u002Fdocs\u002Fcli\u002Fpeers\u002Fcheck","scpm peers check",{"path":577,"title":578},"\u002Fdocs\u002Fcli\u002Fprune","scpm prune",{"path":580,"title":581},"\u002Fdocs\u002Fcli\u002Fpublish","scpm publish",{"path":583,"title":584},"\u002Fdocs\u002Fcli\u002Fpurge","scpm purge",{"path":586,"title":587},"\u002Fdocs\u002Fcli\u002Fquery","scpm query",{"path":589,"title":590},"\u002Fdocs\u002Fcli\u002Frebuild","scpm rebuild",{"path":592,"title":593},"\u002Fdocs\u002Fcli\u002Frecursive","scpm recursive",{"path":595,"title":596},"\u002Fdocs\u002Fcli\u002Fremove","scpm remove",{"path":598,"title":599},"\u002Fdocs\u002Fcli\u002Frestart","scpm restart",{"path":601,"title":602},"\u002Fdocs\u002Fcli\u002Froot","scpm root",{"path":604,"title":605},"\u002Fdocs\u002Fcli\u002Frun","scpm run",{"path":607,"title":608},"\u002Fdocs\u002Fcli\u002Fsbom","scpm sbom",{"path":610,"title":611},"\u002Fdocs\u002Fcli\u002Fsponsors","scpm sponsors",{"path":613,"title":614},"\u002Fdocs\u002Fcli\u002Fstage","scpm stage",{"path":616,"title":617},"\u002Fdocs\u002Fcli\u002Fstart","scpm start",{"path":619,"title":620},"\u002Fdocs\u002Fcli\u002Fstop","scpm stop",{"path":622,"title":623},"\u002Fdocs\u002Fcli\u002Fstore","scpm store",{"path":625,"title":626},"\u002Fdocs\u002Fcli\u002Fstore\u002Fadd","scpm store add",{"path":628,"title":629},"\u002Fdocs\u002Fcli\u002Fstore\u002Fpath","scpm store path",{"path":631,"title":632},"\u002Fdocs\u002Fcli\u002Fstore\u002Fprune","scpm store prune",{"path":634,"title":635},"\u002Fdocs\u002Fcli\u002Fstore\u002Fstatus","scpm store status",{"path":637,"title":638},"\u002Fdocs\u002Fcli\u002Ftest","scpm test",{"path":640,"title":641},"\u002Fdocs\u002Fcli\u002Fundeprecate","scpm undeprecate",{"path":643,"title":644},"\u002Fdocs\u002Fcli\u002Funlink","scpm unlink",{"path":646,"title":647},"\u002Fdocs\u002Fcli\u002Funpublish","scpm unpublish",{"path":649,"title":650},"\u002Fdocs\u002Fcli\u002Fupdate","scpm update",{"path":652,"title":653},"\u002Fdocs\u002Fcli\u002Fversion","scpm version",{"path":655,"title":656},"\u002Fdocs\u002Fcli\u002Fview","scpm view",{"path":658,"title":659},"\u002Fdocs\u002Fcli\u002Fwhy","scpm why",{"path":661,"title":662},"\u002Fdocs\u002Ferror-codes","Error and warning codes",{"path":664,"title":665},"\u002Fdocs\u002Fgetting-started","Getting Started",{"path":667,"title":668},"\u002Fdocs\u002Fguide","Guide",{"path":670,"title":671},"\u002Fdocs","SCPM Documentation",{"path":673,"title":674},"\u002Fdocs\u002Finstallation","Installation",{"path":676,"title":677},"\u002Fdocs\u002Fnpm-users","For npm users",{"path":679,"title":680},"\u002Fdocs\u002Fpackage-manager\u002Fconfiguration","Configuration",{"path":682,"title":683},"\u002Fdocs\u002Fpackage-manager\u002Fdependencies","Manage dependencies",{"path":685,"title":686},"\u002Fdocs\u002Fpackage-manager\u002Fglobal-virtual-store","Global virtual store",{"path":688,"title":689},"\u002Fdocs\u002Fpackage-manager\u002Finstall","Install dependencies",{"path":691,"title":692},"\u002Fdocs\u002Fpackage-manager\u002Fjailed-builds","Jailed dependency builds",{"path":694,"title":695},"\u002Fdocs\u002Fpackage-manager\u002Flifecycle-scripts","Lifecycle scripts",{"path":697,"title":698},"\u002Fdocs\u002Fpackage-manager\u002Flockfiles","Lockfiles",{"path":700,"title":701},"\u002Fdocs\u002Fpackage-manager\u002Fnode-modules","node_modules layout",{"path":703,"title":704},"\u002Fdocs\u002Fpackage-manager\u002Fpublishing","Publishing",{"path":706,"title":707},"\u002Fdocs\u002Fpackage-manager\u002Fregistry-auth","Registry and auth",{"path":709,"title":710},"\u002Fdocs\u002Fpackage-manager\u002Fscripts","Run scripts and binaries",{"path":712,"title":713},"\u002Fdocs\u002Fpackage-manager\u002Fsecurity-scanner","Security scanner",{"path":715,"title":716},"\u002Fdocs\u002Fpackage-manager\u002Fworkspaces","Workspaces",{"path":718,"title":719},"\u002Fdocs\u002Fpnpm-users","For pnpm users",{"path":721,"title":722},"\u002Fdocs\u002Fsecurity","Security",{"path":724,"title":725},"\u002Fdocs\u002Fsettings\u002Fcli","CLI Settings",{"path":727,"title":728},"\u002Fdocs\u002Fsettings\u002Fenv","Environment Settings",{"path":730,"title":731},"\u002Fdocs\u002Fsettings","Settings",{"path":733,"title":734},"\u002Fdocs\u002Fsettings\u002Fnpmrc",".npmrc Settings",{"path":736,"title":737},"\u002Fdocs\u002Fsettings\u002Fworkspace-yaml","Workspace YAML Settings",{"path":739,"title":740},"\u002Fdocs\u002Ftroubleshooting","Troubleshooting",{"path":742,"title":743},"\u002Fdocs\u002Fyarn-users","For yarn users",1780584396934]