Files
summercms/.planning/todos/done/nest-framework-packages-under-modules.md
Jakub Zych 3f9d3b4f11 docs: sync todos with g15office and map phases to milestone tasks
Tag the 17 open todos with their g15office task IDs, close 7 todos that
are already done or promoted to Phase 16.3, and record the sync rules
and the phase-to-task map in .planning/G15OFFICE.md.
2026-10-11 02:01:50 +02:00

27 lines
1.1 KiB
Markdown

---
title: Nest framework packages under modules/ — same beach names
date: 2026-09-28
priority: high
area: summercms.go
status: done
closed: 2026-10-11
---
Mechanical layout change only. Do not rename packages.
Move each framework library from the repo root into `modules/<name>/` so `ls` shows `modules/`, `cmd/`, `admin/`, `examples/`, `internal/` instead of `compass` next to `go.mod`.
In scope (beach-named libs and peers): backpack, boardwalk, bonfire, bouncer, cabana, compass, festival, fetchguard, lagoon, pact, party, phrasebook, postcard, surf, tide, towel, wire, wristband.
Stay at repo root: `admin/`, `cmd/`, `examples/`, `internal/`, `scripts/`, `go.mod`, `README.md`.
Import paths become `git.golem15.com/golem15/summercms/modules/<name>`. Rewrite importers in this repo, `../fonoteka.go` (~124 files), and `examples/`. Then `go test ./...` in both repos.
Do this before Phase 11 adds more root packages. Do not remap onto Winter `system` / `backend` / `cms`.
After the move is green, run the sibling todo that writes a short `README.md` per module.
## Closed 2026-10-11
Done in Phase 10.2: every framework package lives under `modules/<name>/`.