- docs/examples/writeonce-framework: library project (no fn main) — wo.toml, README (what it is + the honest v1 limits + the proxy TLS/h2 story), and http/types.wo: pub Req/Resp records + the response builders (ok_text/ ok_json/created/not_found/bad_request/unauthorized/conflict/server_error/ redirect). Typechecks + emits entry-less via woc --emit (1767-byte image). - docs/examples/web-app: manifest with the real [deps] entry (future GitHub URL as documentation; the gate substitutes a file:// remote) + README (routes table, run instructions, nginx h2-in-front sketch). Code lands with Task 4. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
17 lines
815 B
TOML
17 lines
815 B
TOML
name = "web-app"
|
|
version = "0.1.0"
|
|
description = "Storefront sample: consumes writeonce-framework through [deps]; @table persistence; iteration 16's acceptance workload"
|
|
|
|
[runtime]
|
|
wo = ">= 0.1"
|
|
|
|
# No [build] runtime pinned (portable): an installed woc self-locates wovm;
|
|
# the in-repo gate passes WO_RUNTIME (log-watcher's precedent).
|
|
|
|
# The framework is a real dependency, never a relative path — extraction of
|
|
# the framework to its own repository changes only this URL. The acceptance
|
|
# gate (scripts/web-app-accept.sh) substitutes a run-time file:// remote
|
|
# built from docs/examples/writeonce-framework, so CI never needs the
|
|
# network and this repo never carries .wo-deps/wo.lock artifacts.
|
|
[deps]
|
|
writeonce-framework = { git = "https://github.com/shoneyj/writeonce-framework", rev = "v0.1.0" }
|