Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3dc2f51
refactor(ui-react): share the router-free app components with every r…
entity Nov 26, 2026
14b2ae9
feat(tanstack): add the tanstack start kit with a one-origin proxy to…
entity Nov 26, 2026
3c3b8a2
chore(tanstack): run the kit and laravel headless together with npm r…
entity Nov 26, 2026
ed7d5e2
docs(tanstack): document the kit, its proxy and dev command, and fix …
entity Nov 26, 2026
d2ea873
refactor(ui-react): share the hooks, user info, app frames, factors a…
entity Nov 26, 2026
bd7ae70
chore(deps): keep babel 8 hoisted beside the kit's babel 7 and add ha…
entity Nov 26, 2026
0d9f71f
fix(tanstack): cap chunked bodies, drop underscore headers, pin the f…
entity Nov 26, 2026
8ed7d1d
fix(tanstack): carry notices, holds and errors safely, sign out only …
entity Nov 26, 2026
0d0bf4d
ci: run the tanstack kit's tests, typecheck and build in the monorepo…
entity Nov 26, 2026
e03cb03
docs(tanstack): document the hardened proxy, security headers and sha…
entity Nov 26, 2026
3527716
refactor(ui-react): share the sidebar, layouts and keyring settings c…
entity Nov 26, 2026
00868b6
feat(tanstack): build the profile, security and appearance settings p…
entity Nov 26, 2026
f255e50
feat(tanstack): export the kit with its frontend as a package of its …
entity Nov 26, 2026
df4e5e5
fix(tanstack): run the export's dev tools and installer hook, format …
entity Nov 26, 2026
ee96b76
fix(tanstack): post every form, so one sent before the page hydrates …
entity Nov 26, 2026
9a695bb
chore(tanstack): keep the route generator off the tests beside the ro…
entity Nov 26, 2026
bb7b12b
test(tanstack): read the form check's files with endsWith
entity Nov 26, 2026
405dbb3
test(e2e): run the browser tests against either kit, the tanstack one…
entity Nov 26, 2026
038670e
test(e2e): compare every page of both kits against the same screensho…
entity Nov 26, 2026
b29c27d
docs: describe the shared adapter, the tanstack export and the browse…
entity Nov 26, 2026
dcfa34c
fix(tanstack): send a link's wayfinder method, so log out in the user…
entity Nov 26, 2026
df18be0
test(e2e): cover signing another device out and cancelling an email c…
entity Nov 26, 2026
950ed43
test(e2e): cover deleting the account through step-up in both kits
entity Nov 26, 2026
26e6822
test(e2e): cover adding an authenticator app, renaming it, new recove…
entity Nov 26, 2026
f722493
fix(export): leave the browser tests' screenshot script and ignores o…
entity Nov 26, 2026
b0556bc
fix(tanstack): leave the forms only shown after hydration out of the …
entity Nov 26, 2026
eb7c84d
fix(tanstack): read forwarded addresses with a port, and stop at an e…
entity Nov 27, 2026
f6896ba
fix(tanstack): forget a flash once its page is left, show form failur…
entity Nov 27, 2026
df8a42d
fix(tanstack): fail the install when the frontend's npm ci fails, and…
entity Nov 27, 2026
7aeed8d
fix(export): refuse uncommitted changes unless --allow-dirty, check t…
entity Nov 27, 2026
46e087c
docs: give the inertia kit's path to actions.ts, and keep the monorep…
entity Nov 27, 2026
f19d814
docs(tanstack): add production notes on debug mode, https addresses a…
entity Nov 27, 2026
354836b
ci: pin every action to a commit, with its tag beside it
entity Nov 27, 2026
76463ad
feat(theme): serve inter from the theme's own files in both kits, so …
entity Nov 27, 2026
d23075f
test(e2e): make the screenshots in playwright's image as ci runs them…
entity Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 64 additions & 11 deletions .github/workflows/kits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
outputs:
kits: ${{ steps.list.outputs.kits }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0

# Each kit's repository comes from its kit.json, and the deploy key
# for it from a secret named after the kit:
Expand Down Expand Up @@ -67,14 +67,14 @@ jobs:
DB_CONNECTION: sqlite
CACHE_STORE: array
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0

- uses: shivammathur/setup-php@v2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: '8.5'
coverage: none

- uses: actions/setup-node@v5
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: lts/*
cache: npm
Expand All @@ -86,8 +86,55 @@ jobs:
run: node --test bin/
- run: npm run build
- run: npm test
- name: TanStack Start kit
run: |
npm test -w kits/tanstack-start
npm run types:check -w kits/tanstack-start
npm run build -w kits/tanstack-start
- run: composer ci:check

# The Playwright suite (tests/e2e), screenshots included, against each
# kit: the Inertia app Laravel serves, and the TanStack kit with Laravel
# headless behind its proxy. Both compare against the same screenshots,
# made in this same image (the README's "Screenshots"), so the browser,
# its fonts and its libraries render them pixel for pixel. Its version is
# the @playwright/test in package-lock.json.
browser:
name: Browser tests (${{ matrix.kit }})
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.65.0-noble
strategy:
fail-fast: false
matrix:
kit: [inertia-react, tanstack-start]
env:
E2E_KIT: ${{ matrix.kit }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0

- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: '8.5'
coverage: none

- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: lts/*
cache: npm

- run: composer install --no-interaction --no-progress
- run: npm ci
# The image has the browsers already.
- run: npx playwright test

- if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: browser-${{ matrix.kit }}
path: test-results/
retention-days: 7

kit:
name: Kit (${{ matrix.kit.name }})
needs: list
Expand All @@ -100,14 +147,14 @@ jobs:
KIT: ${{ matrix.kit.name }}
EXPORT: ${{ github.workspace }}/../starter-${{ matrix.kit.name }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0

- uses: shivammathur/setup-php@v2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: '8.5'
coverage: none

- uses: actions/setup-node@v5
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: lts/*
cache: npm
Expand All @@ -120,14 +167,17 @@ jobs:
node bin/export-kit.mjs "$KIT" "$EXPORT"
tar -czf "$RUNNER_TEMP/export.tgz" -C "$EXPORT" .

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: starter-${{ matrix.kit.name }}
path: ${{ runner.temp }}/export.tgz
retention-days: 7

# What `laravel new --using` and `composer create-project` do, then
# the kit's own checks.
# the kit's own checks. A headless kit's frontend is its own npm
# package in frontend/, with its own lockfile: the installer's
# post-create-project hook installs it, and the root's scripts
# (build, test, check, types:check) run its.
- name: Install
working-directory: ${{ env.EXPORT }}
run: |
Expand All @@ -136,6 +186,9 @@ jobs:
composer run post-root-package-install
php artisan key:generate
npm ci
if [ -f frontend/package.json ]; then
npm ci --prefix frontend
fi

- name: Build
working-directory: ${{ env.EXPORT }}
Expand All @@ -149,7 +202,7 @@ jobs:

release:
name: Release (${{ matrix.kit.name }})
needs: [list, monorepo, kit]
needs: [list, monorepo, browser, kit]
if: >-
github.event_name == 'release' &&
github.event.action == 'published' &&
Expand Down Expand Up @@ -194,7 +247,7 @@ jobs:
fi

- if: steps.target.outputs.skip == 'false'
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: starter-${{ matrix.kit.name }}
path: ${{ runner.temp }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ yarn-error.log
/boost.json
/opencode.json
/opencode.jsonc
# @monorepo-only:start (the browser tests')
/test-results
/playwright-report
# @monorepo-only:end

**/caddy
frankenphp
Expand Down
Loading
Loading