Docs article
Getting Started
Install the workspace, initialize a contract, and run your first validation + lint flow.
Getting Started#
1. Install#
pnpm install
pnpm build2. Initialize in your app repo#
tastekernel init --yesGenerated files:
tastekernel.contract.yml.tastekernelignore.github/workflows/tastekernel.yml
3. Validate + lint + fix#
tastekernel validate
tastekernel lint --format stylish
tastekernel fix --dry-run4. Cloud login + publish + pull#
tastekernel login --api-url https://tastekernel.com
tastekernel publish --project-id <project-slug>
tastekernel pull-contract --project-id <project-slug>5. CI modes#
- Local mode: repo-local contract is used
- Cloud mode: set
TASTEKERNEL_MODE=cloud,TASTEKERNEL_PROJECT_ID,TASTEKERNEL_API_KEY
6. Verification checklist#
pnpm buildpnpm typecheckpnpm testpnpm --filter @tastekernel/web test:smoke:list