Files
neuron-web/.gitignore
T
Will Anderson 94f6e749a0 Add El source files for all client-side JS
Recovers original JS from git history and ports it into proper El source
files under src/js/. Each file wraps the original JS in a native_js call
inside a main() function, making it valid El that compiles to a
self-contained IIFE via elc --target=js --bundle.

Files added:
  src/js/account-auth.el       - Supabase OTP magic-link (sendMagicLink)
  src/js/account-dashboard.el  - Account dashboard: session, plan card, family
  src/js/chat-widget.el        - Demo chat widget (neuronDemoToggle/Send/Reset)
  src/js/checkout-auth.el      - Checkout auth: OAuth, email sign-in/up
  src/js/checkout-free.el      - Free plan: auth-badge watch -> payment reveal
  src/js/checkout-stripe.el    - Stripe Payment Element (reads NEURON_CFG)
  src/js/enterprise.el         - Enterprise inquiry form + headcount filter
  src/js/environmental.el      - Efficiency calculator slider
  src/js/gallery.el            - Gallery nav, search/sort, Supabase voting
  src/js/main.el               - Share page voting + copyForPlatform
  src/js/marketplace.el        - Developer interest form
  src/js/nav.el                - Nav hamburger + Mission dropdown
  src/js/styles.el             - Landing: nav scroll, reveal, founding counter
2026-05-04 11:23:21 -05:00

34 lines
1.0 KiB
Plaintext

.env
# Build output dir. Hand-written sources under dist/ are explicitly
# un-ignored at the bottom of this file - those must travel with the
# repo so future builds can re-produce a working image.
dist/*
.el/
src/*.elc
src/*.map.json
src/index.html
src/about.html
src/terms.html
src/enterprise-terms.html
# Compiled client-side JS (generated by elc --target=js at build time).
# The El sources live in src/js/; the compiled output is never committed.
dist/js/
# El JS runtime staged temporarily during build (auto-cleaned by build-stage.sh).
src/js/el_runtime.js
# Old extracted JS assets (replaced by elc-compiled dist/js/).
src/assets/js/
# Track hand-written source under dist/ that is NOT generated by elc.
# These are the C stub shims and entry scripts the Dockerfile.stage COPYs
# into the image; without these the build cannot produce a working
# binary. Generated artifacts (main.c, main-combined.el, binaries) stay
# ignored.
!dist/web_stubs.c
!dist/vessel_stubs.c
!dist/soul-demo.c
!dist/entrypoint.sh
!dist/engram-snapshot.json