This repository includes helper scripts and configuration to simplify Git authentication and local development.
Quick start (Codespaces / Devcontainer):
- Open the repository in Codespaces or run the devcontainer.
- The devcontainer runs
./scripts/setup-git-auth.shandnpm installafter creation.
Local setup:
./scripts/setup-git-auth.sh
# then provide credentials via env vars for the helper:
export GIT_AUTH_USERNAME=your-username
export GIT_AUTH_PASSWORD=your-patApplying patches:
./scripts/apply-patches.shStorybook:
npm run storybook
npm run build-storybookCommitting and pushing changes from Codespaces or locally:
# create a commit and push to the current branch
./scripts/commit-and-push.sh "my changes"
# For non-interactive pushes (CI or automation), set PAT_TOKEN env var
export PAT_TOKEN=ghp_xxx
./scripts/commit-and-push.sh "my changes"CI / Storybook:
- The repository includes a workflow at
.github/workflows/build-storybook.ymlthat builds Storybook and uploadsstorybook-staticas an artifact on push tomain/masteror when manually triggered.
Applying patches (example):
./scripts/apply-patches.sh
git add -A && git commit -m "apply patches" && git push