- docs/examples/writeonce-serve -> docs/examples/porch (git mv, history kept); `[deps]` key and import are now `porch` / `porch/http` / `porch/router` - name history preserved on the library README, not rewritten into dated records: writeonce-framework -> writeonce-serve (08-25) -> porch (08-26). Stories, specs, plans and the audit reports keep the older name by the repo's own convention; only live docs and every path link were rewritten - left alone deliberately: `internal/serve.wo`, `pub fn serve`, `serve_conn`, `app.serve(...)` — those are functions, not the module name - web-app/wo.toml comment corrected: it claimed hyphens are not identifier characters and named a key this file never used. lexer.ml's `is_ident_cont` DOES accept `-` (an internal dash is part of the identifier, which is why binary minus needs spaces), so a hyphenated key would be legal too - site now teaches the name: package card, the two-deps chapter and the handlers-are-classes chapter say `porch`; site-accept asserted the old /packages/serve route and caught the rename, as a gate should - gates: web-app 46/0, site 21/0, deps-accept 8/0, oop-e2e 116/0, linkcheck 0 broken / 0 anchors; porch typechecks entry-less as kind=library Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
24 lines
1.3 KiB
TOML
24 lines
1.3 KiB
TOML
name = "web-app"
|
|
version = "0.1.0"
|
|
description = "Storefront sample: consumes porch 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/porch, so CI never needs the
|
|
# network and this repo never carries .wo-deps/wo.lock artifacts.
|
|
# The [deps] KEY is the module name `use` imports — here `porch`, so the source
|
|
# says `use porch`. The key must be a legal identifier, which per
|
|
# compiler/src/lexer.ml's `is_ident_cont` DOES include `-` (an internal dash is
|
|
# part of the identifier: `a-b` is one name, which is why binary minus needs
|
|
# spaces around it). So a hyphenated key like `wo-serve` would be legal too;
|
|
# `porch` is simply shorter. An earlier version of this comment claimed hyphens
|
|
# were illegal and named a key this file has never used — both wrong.
|
|
[deps]
|
|
porch = { git = "https://github.com/shoneyj/porch", rev = "v0.1.0" }
|