tiktok-sparo/assets/js/c377a04b.ba8d8600.js

1 line
7.7 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[742],{4171:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>l,toc:()=>a});var s=r(678),i=r(4738);const o={title:"Overview",hide_title:!0,custom_edit_url:null},t=void 0,l={id:"index",title:"Overview",description:"Clone faster!",source:"@site/docs/index.md",sourceDirName:".",slug:"/",permalink:"/sparo/",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{title:"Overview",hide_title:!0,custom_edit_url:null},sidebar:"docsSidebar",next:{title:"Getting Started",permalink:"/sparo/pages/guide/getting_started"}},c={},a=[{value:"Clone faster!",id:"clone-faster",level:2},{value:"Key features",id:"key-features",level:2},{value:"Quick demo",id:"quick-demo",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,s.jsx)("img",{src:"images/site/sparo-logo.svg",alt:"Sparo",title:"Sparo",style:{width:"380px",paddingTop:"30px"}})}),"\n",(0,s.jsx)(n.h2,{id:"clone-faster",children:"Clone faster!"}),"\n",(0,s.jsx)(n.p,{children:"Sparo optimizes performance of Git operations for your large frontend monorepo."}),"\n",(0,s.jsx)(n.h2,{id:"key-features",children:"Key features"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Familiar interface:"})," The ",(0,s.jsx)(n.code,{children:"sparo"})," command-line interface (CLI) wrapper offers ",(0,s.jsx)(n.strong,{children:"better defaults"})," and ",(0,s.jsx)(n.strong,{children:"performance suggestions"})," without altering the familiar ",(0,s.jsx)(n.code,{children:"git"})," syntax. (The native ",(0,s.jsx)(n.code,{children:"git"})," CLI is also supported.)"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"A proven solution:"})," Git provides ",(0,s.jsx)(n.a,{href:"/sparo/pages/reference/git_optimization",children:"quite a lot of ingredients"})," for optimizing very large repos; Sparo is your recipe for combining these features intelligently."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Simplified sparse checkout:"})," Work with sparse checkout ",(0,s.jsx)(n.a,{href:"/sparo/pages/guide/sparo_profiles",children:"profiles"}),' instead of confusing "cones" and globs']}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Frontend integration:"})," Sparo leverages ",(0,s.jsx)(n.a,{href:"https://rushjs.io/",children:"Rush"})," and ",(0,s.jsx)(n.a,{href:"https://pnpm.io/",children:"PNPM"})," workspace configurations, including the ability to automatically checkout project dependencies"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Dual workflows:"})," The ",(0,s.jsx)(n.code,{children:"sparo-ci"})," tool implements a specialized checkout model optimized for continuous integration (CI) pipelines"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Extra safeguards"}),": Avoid common Git mistakes such as checkouts with staged files outside the active view"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Go beyond Git hooks:"})," Optionally collect anonymized Git timing metrics in your monorepo, enabling your build team to set data-driven goals for ",(0,s.jsx)(n.em,{children:"local"})," developer experience (not just CI!)"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.em,{children:"(Metrics are transmitted to your own service and are not accessible by any other party.)"})}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"quick-demo",children:"Quick demo"}),"\n",(0,s.jsx)(n.p,{children:"Try out Sparo in 5 easy steps:"}),"\n"