Fix: Auto-generate docs snippets and examples (#2139)

* fix: gitignore all the generated stuff

* debug: try fixing build

* debug: build error part ii

* debug: move more deps out of dev

* fix: lock

* debug: lockfile

* fix: make dir

* fix: ci

* fix: dir

* debug: sed

* fix: sed

* debug: allow skipping

* Revert "debug: allow skipping"

This reverts commit 88e0ff870d.

* debug: ci

* fix: corepack

* debug: dir

* debug: sed

* debug: path

* fix: rm sync docs for now

* fix: remove more stuff

* fix: rm unused stuff

* fix: rm copy:app

* chore: lint

* fix: rm prettier from boot

* fix: couple missing scripts

* feat: auto-gen examples on push to main

* debug: test on this branch

* fix: install pnpm

* fix: cd

* fix: cmd

* Auto-generate files after merge [skip ci]

* fix: only copy examples

* debug: dummy commit for examples check

* chore: regenerate examples

* fix: naming

* fix: unwind dummy

* fix: only run on main

* fix: pre commit

* fix: naming

* chore: gen, fix task pre

* feat: create pr

* feat: only push examples changes

* fix: don't run from this branch

* fix: regen lockfile

* fix: regen docs lockfile

---------

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
matt
2025-08-14 18:17:29 -05:00
committed by GitHub
parent 266fb077ac
commit 57bb24aef1
981 changed files with 2365 additions and 15287 deletions
+1 -5
View File
@@ -55,11 +55,7 @@ tasks:
EOF
pre:
cmds:
# FIXME: Remove this once we have a better way to handle pre-commit reliably
- cd frontend/snips/ && pnpm i && pnpm generate && pnpm run copy:all
- cd frontend/app/ && pnpm run lint:fix
- pre-commit run --all-files
- pre-commit run --all-files
- cd frontend/app/ && pnpm run prettier:fix
- pre-commit run --all-files
start-db:
cmds: