tiktok/sparo
소개
Sparo는 대규모 프런트엔드 모노레포에서 Git 작업의 성능을 최적화합니다.
웹 및 앱 개발What you can do
- Familiar interface: The sparo command-line interface (CLI) wrapper offers better defaults and performance suggestions without altering the familiar git syntax. (The native git CLI is also supported.)
- A proven solution: Git provides quite a lot of ingredients for optimizing very large repos; Sparo is your recipe for combining these features intelligently.
- Simplified sparse checkout: Work with sparse checkout profiles instead of confusing "cones" and globs
- Frontend integration: Sparo leverages Rush and PNPM workspace configurations, including the ability to automatically checkout project dependencies
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Monorepo for Sparo toolkit
Sparo optimizes performance of Git operations for your large frontend monorepo.
Key features
Familiar interface: The
sparocommand-line interface (CLI) wrapper offers better defaults and performance suggestions without altering the familiargitsyntax. (The nativegitCLI is also supported.)A proven solution: Git provides quite a lot of ingredients for optimizing very large repos; Sparo is your recipe for combining these features intelligently.
Simplified sparse checkout: Work with sparse checkout profiles instead of confusing "cones" and globs
Frontend integration: Sparo leverages Rush and PNPM workspace configurations, including the ability to automatically checkout project dependencies
Dual workflows: The
sparo-citool implements a specialized checkout model optimized for continuous integration (CI) pipelinesExtra safeguards: Avoid common Git mistakes such as checkouts with staged files outside the active view
Go beyond Git hooks: Optionally collect anonymized Git timing metrics in your monorepo, enabling your build team to set data-driven goals for local developer experience (not just CI!)
(Metrics are transmitted to your own service and are not accessible by any other party.)
For details, consult the Sparo documentation.
Published Packages
| Folder | Version | Changelog | Package |
|---|---|---|---|
| /apps/sparo | changelog | sparo | |
| /apps/sparo-lib | sparo-lib |
Unpublished Local Projects
| Folder | Description |
|---|---|
| /apps/website | The Sparo documentation website |
| /build-tests/sparo-output-test | Building this project tests Sparo command-line outputs |
| /build-tests/sparo-real-repo-test | Building this project tests Sparo by cloning a real repository |
| /build-tests/test-utilities | Code shared between the build test projects in this repository |
Contributing
Building the projects in this monorepo:
Install the RushJS tool:
npm install -g @microsoft/rushClone the repo:
git clone https://github.com/tiktok/sparo.gitInstall the dependencies
cd sparo rush installBuild all projects
rush build
How to invoke your locally built sparo command:
cd apps/sparo
node lib/start.js
관련 프로젝트 살펴보기
불러오는 중…