Commit Graph
7 Commits
Author SHA1 Message Date
James Ward 5b3a8aa719 ci: switch to git-cliff for changelog generation (#2802) 2026-09-28 15:45:09 -04:00
Alex e83a143c36 chore(repo): migrate from yarn to pnpm (#1598) 2026-06-05 08:32:57 +01:00
brios 09b7aa2dc0 chore(justfile): add dev-rebuild command to force Docker container rebuild (#1349) 2026-05-16 11:34:39 +02:00
James Ward 1a664dda14 chore: rename springboot app folder to backend (#752) 2026-04-22 17:27:44 -04:00
James Cox 4855f36d46 build(yarn): migrate frontend and release tooling to yarn 4
- Frontend package management:
  - add a repo-root `.yarnrc.yml` that pins Yarn to the `node-modules` linker with a local cache
  - add the modern Yarn package manager declaration to `frontend/package.json`
  - replace the frontend npm lockfile with `frontend/yarn.lock`
  - move the frontend Just recipes to Corepack-managed Yarn commands for install, audit, build, test, and lint
  - run the production build in CI-style mode so non-interactive Yarn builds behave consistently
- Release automation:
  - add the modern Yarn package manager declaration to `tools/release/package.json`
  - replace the release tooling npm lockfile with `tools/release/yarn.lock`
  - switch the release Just recipes from `npm` and `npx` to Corepack-managed Yarn scripts
- CI and local runtime wiring:
  - switch the frontend and release GitHub Actions caches from npm lockfiles to Yarn lockfiles
  - update the root `doctor` output and contributor prerequisites to report Yarn and Corepack instead of npm
  - update the dev compose UI container to Node 24 with immutable Yarn installs
  - restore the Docker frontend build stage to install and build through Yarn, including the shared cache path
- Repository hygiene:
  - ignore the repo-local Yarn cache and per-project Yarn state directories created by modern Yarn installs

- Validation:
  - `just ui install-ci`
  - `just release install`
  - `just ui build`
  - `just image-build linux/amd64 codex-yarn-port-test` was not runnable because the local Docker daemon was unavailable
2026-04-22 17:26:40 -04:00
James Cox 42d9dcb4d3 refactor(frontend): repoint repo tooling to the frontend path
- Tooling and automation:
  - update Dependabot and the frontend test workflow to read frontend-owned paths
  - keep published frontend test reports aligned with the renamed project directory
  - extend ignore rules for frontend-generated test output and local dependencies
- Local developer entrypoints:
  - repoint the root Justfile ui module at frontend/Justfile
  - update the dev compose bind mount to use ./frontend
  - update the Weblate setup script to source translations from frontend/src/i18n
- Build integration:
  - repoint the Docker frontend build stage to /workspace/frontend and the renamed source paths
  - update the backend Gradle fallback dist location to ../frontend/dist/grimmory/browser
- Repository guidance:
  - rewrite root docs and AGENTS references that still pointed at booklore-ui so contributor guidance matches the new directory name

- Validation:
  - not run; this commit is scoped to staged path rewrites only
2026-04-22 17:26:39 -04:00
James Cox 69d50d4fb5 feat(devex): add a unified just command surface
- Command surface:
  - add a root `Justfile` with namespaced `api`, `ui`, and `release` modules so humans and agents can use the same entrypoints from the repo root
  - add project-local Justfiles for `booklore-api`, `booklore-ui`, and `tools/release` so each area remains self-contained and can still be driven from inside its own directory
  - standardize local developer workflows around `just check`, `just test`, `just api run`, `just ui dev`, `just db-up`, and `just image-build`

- Workflow integration:
  - update the reusable test suite workflow to install `just` and run backend and frontend CI steps through the Justfiles instead of hardcoded shell commands
  - update the semantic-release workflows to install `just` and invoke release tooling via `just release install`, `just release preview`, and `just release run`
  - keep the Docker image publication workflows on the native Docker actions while moving the project-command logic into the canonical command surface

- Documentation:
  - split backend and frontend implementation guidance into `booklore-api/README.md`, `booklore-api/CONTRIBUTING.md`, `booklore-ui/README.md`, and `booklore-ui/CONTRIBUTING.md`
  - simplify the top-level `README.md` and `CONTRIBUTING.md` so they stay focused on overview, policy, and navigation while pointing to component-specific guides for deeper detail
  - align contributor-facing examples on the `just` interface instead of mixing ad hoc Gradle, npm, Docker, and Compose commands

- Developer environment:
  - add `mise.toml` to pin the expected Java and Node toolchain versions for local work
  - switch the development Compose defaults from the old Booklore database values to Grimmory-oriented defaults
  - keep the command layout ready for a future API/UI split without forcing that packaging change yet
2026-04-22 17:26:35 -04:00