mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-27 09:36:04 -05:00
1 line
No EOL
2.7 KiB
JavaScript
1 line
No EOL
2.7 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[728],{8998:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>p});var t=s(678),r=s(4738);const i={title:"Contributing"},o=void 0,l={id:"pages/support/contributing",title:"Contributing",description:"Building the projects in this monorepo:",source:"@site/docs/pages/support/contributing.md",sourceDirName:"pages/support",slug:"/pages/support/contributing",permalink:"/sparo/pages/support/contributing",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/support/contributing.md",tags:[],version:"current",frontMatter:{title:"Contributing"},sidebar:"docsSidebar",previous:{title:"What's new",permalink:"/sparo/pages/support/news"}},c={},p=[];function a(e){const n={a:"a",code:"code",li:"li",ol:"ol",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:"Building the projects in this monorepo:"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:["Install the ",(0,t.jsx)(n.a,{href:"https://rushjs.io/",children:"RushJS"})," tool:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"npm install -g @microsoft/rush\n"})}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Clone the repo:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"git clone https://github.com/tiktok/sparo.git\n"})}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Install the dependencies"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"cd sparo\nrush install\n"})}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Build all projects"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"rush build\n"})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["How to invoke your locally build ",(0,t.jsx)(n.code,{children:"sparo"})," command:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"cd apps/sparo\nnode lib/start.js\n"})})]})}function d(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},4738:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>l});var t=s(6166);const r={},i=t.createContext(r);function o(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); |