21 lines
1.0 KiB
Markdown
21 lines
1.0 KiB
Markdown
---
|
|
title: Nest framework packages under modules/ — same beach names
|
|
date: 2026-09-28
|
|
priority: high
|
|
area: summercms.go
|
|
---
|
|
|
|
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.
|