Virgil
8abd428227
fix(codegen): validate custom element tags
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 54s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 09:49:42 +00:00
Virgil
14c16b5385
feat(codegen): add watch mode for bundle generation
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 58s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:04:21 +00:00
Virgil
a928d01b9e
feat(codegen): add TypeScript CLI output
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 52s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:52:29 +00:00
Virgil
cae46f9c61
chore(codegen): remove panic exits from cli path
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 45s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-29 23:45:41 +00:00
Virgil
3616ad3a76
chore: polish ax v0.8.0 conventions
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 18:12:06 +00:00
Virgil
b8d06460d6
refactor(core): upgrade to v0.8.0-alpha.1
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 15:24:16 +00:00
Virgil
8a3f28aff3
fix(conventions): isolate banned imports and clarify tests
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 11:15:24 +00:00
Snider
c525437ed6
refactor(module): migrate module path from forge.lthn.ai to dappco.re
...
Security Scan / security (pull_request) Successful in 9s
Test / test (pull_request) Failing after 20s
Update module path from forge.lthn.ai/core/go-html to dappco.re/go/core/html.
Migrate all .go import paths, update dependency versions (core v0.5.0,
log v0.1.0, io v0.2.0), and add replace directives for local development.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:28:30 +00:00
Snider
6e59bf8bf8
refactor(conventions): replace os.ReadFile with coreio.Local, fmt.Errorf with log.E
...
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m33s
Replace os.ReadFile in cmd/wasm/size_test.go with coreio.Local.Read().
Replace fmt.Errorf/errors.New with log.E() in codegen, cmd/wasm/register,
and cmd/codegen. Add forge.lthn.ai/core/go-io as a dependency.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:17:34 +00:00
Snider
2d16ce9d69
fix(conventions): alias stdlib io, add interface checks, use go-log
...
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m34s
- Alias stdlib `io` as `goio` in cmd/codegen/main.go to follow project conventions
- Add compile-time Node interface checks for all node types in node.go
and Layout in layout.go
- Replace fmt.Fprintf stderr logging with go-log in cmd/codegen/main.go
- Replace fmt.Println with go-log in cmd/wasm/register.go
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 16:40:39 +00:00
Snider
4c657377c4
fix(wasm): reduce binary from 1.56MB to 830KB gzip
...
Move heavyweight imports out of WASM build via //go:build !js tags:
- register.go: encoding/json + text/template (codegen)
- pipeline.go: go-i18n/reversal (grammar imprint)
- layout.go: replace fmt.Sprintf with string concat
Add cmd/codegen/ CLI as build-time replacement for in-browser
registerComponents(). Reads slot JSON from stdin, writes WC bundle
JS to stdout.
Result: 2.90MB raw / 830KB gzip (was 6.04MB / 1.56MB).
Makefile gate passes (limit 1MB gzip).
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 08:29:54 +00:00