Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 9 additions & 0 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Pre-push gate (tracked). Enable once per clone: git config core.hooksPath .githooks (or: bun run hooks:install)
# 1. bun run check: xgen check, every group, the rules group included (fast, no build of the hosts)
# 2. packages/tooling/bin/audit.sh: no private/, shots/, .fig, design-kit assets, secrets or server addresses in the pushed commits
# The full gate is bun run check:all; run it before a release.
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"
bun run check
bash packages/tooling/bin/audit.sh
25 changes: 21 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,39 @@
# CI: bun run verify (xgen check + typecheck of the generation layer + tests) with every runtime toolchain present
# (Go for templ, PHP 8.4 + composer for Twig and Latte, Python 3.13 for Jinja2).
# UI8KIT_REQUIRE_ALL_RUNTIMES=1 turns a skipped runtime group into a failure, so the template runtimes always run here.
name: CI

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
verify:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
UI8KIT_REQUIRE_ALL_RUNTIMES: "1"
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.2
- uses: actions/setup-go@v5
with:
go-version: "1.25"
go-version-file: packages/templ/ui/go.mod
cache: false
- uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
tools: composer
php-version: "8.4"
extensions: mbstring
tools: composer:v2
coverage: none
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: toolchains
run: bun --version && go version && php --version && composer --version && python3 --version
- run: bun install --frozen-lockfile
- run: bun run verify
25 changes: 21 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
node_modules/
examples/node_modules/
logs
*.log
node_modules
dist
dist-ssr
*.local
.DS_Store
.dist/
.manual/
.idea
.vscode/*
!.vscode/extensions.json

# never published from this repository
private/
shots/
**/public/p/
*.fig
.env
.env.*
.manual/

# ui8px: generated reports and learn-mode data
.ui8px/telemetry/
.ui8px/reports/
11 changes: 0 additions & 11 deletions .project/README.md

This file was deleted.

103 changes: 0 additions & 103 deletions .project/plan/jinja2-runtime.md

This file was deleted.

135 changes: 0 additions & 135 deletions .project/plan/rails-erb-runtime.md

This file was deleted.

26 changes: 0 additions & 26 deletions .project/progress.md

This file was deleted.

32 changes: 0 additions & 32 deletions .project/roadmap.md

This file was deleted.

Loading
Loading