- docs/examples/shop: types.wo model, per-feature view modules
(render() classes), root controller files, layout shell/header/
footer, static assets controller + real style.css, README with
Angular file map + run + DX referendum notes
- buy flow proven by hand: stock check/decrement, 409s, traversal
404, css typed, WAL-durable; builds on the UNPATCHED toolchain
- two language gaps recorded, not fixed (per directive): pub+@table
cannot combine (controllers forced into root module); @view
projection classes absent
- story 37 REDIRECTED per Vue-SFC review: view.html compiled by woc
({{}} auto-escaped, w:if/w:for, typed against view class, no
runtime engine); render()-as-concatenation failed the referendum;
forks revised; shop named the acceptance consumer
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
495 B
TOML
12 lines
495 B
TOML
name = "shop"
|
|
version = "0.1.0"
|
|
description = "The writeonce program template: an MVC-separated shop — @table model, render() view classes, controller handlers, static assets"
|
|
|
|
[runtime]
|
|
wo = ">= 0.1"
|
|
|
|
# Two library dependencies, the site sample's proven shape. The [deps]
|
|
# KEY is the module name `use` imports.
|
|
[deps]
|
|
framework = { git = "https://github.com/shoneyj/writeonce-framework", rev = "v0.1.0" }
|
|
html = { git = "https://github.com/shoneyj/wo-html", rev = "v0.1.0" }
|