feat(web): checkpoint web app init
- frontend (Vite/React) + server (Hono/Drizzle) scaffold under web/ - eeschema WASM embind kicadOpenFile hook + programmatic open-flow - skip KiCad first-run setup wizard by seeding default config in preRun - dev: auto-sync output/ WASM artifacts into tests/apps/kicad via link-wasm Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e28f473040
commit
735e5aa8e9
70 changed files with 7775 additions and 13 deletions
|
|
@ -79,9 +79,11 @@ case "$APP_NAME" in
|
|||
;;
|
||||
esac
|
||||
|
||||
# Use branch name as Docker Compose project name for isolated containers/volumes
|
||||
# Use branch name as Docker Compose project name for isolated containers/volumes.
|
||||
# Honor a pre-set COMPOSE_PROJECT_NAME so a build can target an existing volume
|
||||
# (e.g. reuse another branch's already-provisioned deps).
|
||||
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD | tr '/' '-' | tr '[:upper:]' '[:lower:]')
|
||||
export COMPOSE_PROJECT_NAME="kicad-wasm-${BRANCH_NAME}"
|
||||
export COMPOSE_PROJECT_NAME="${COMPOSE_PROJECT_NAME:-kicad-wasm-${BRANCH_NAME}}"
|
||||
echo "Using Docker project: ${COMPOSE_PROJECT_NAME}"
|
||||
echo "Building app: ${APP_NAME}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue