Fix: a generated monorepo's docker-compose.yml builds apps/client from apps/client/Dockerfile, but the Nuxt overlay only embedded app/ and public/, so the Dockerfile never existed and docker compose build client failed on every fresh project. The client-nuxt sync job now embeds it, and scaffoldClientNuxt rewrites its pnpm pin to the locally detected version (the one that produces the generated lockfile), mirroring the existing packageManager stamp
Submodule bumped to project-template#3, which mounts ~/.npmrc as a build secret so the image can fetch @fernandojvideira/vue-ui-kit from the Gitea registry without baking the token in
MakefileVERSION → v0.2.0 for the release; README notes the Docker secret wiring
Merge project-template#3 first.
Test plan
go run tools/sync_templates.go && go vet ./cmd/... ./tools/... && go build . — assets/embedded/client-nuxt/Dockerfile present, make version prints v0.2.0
docker compose build client in the template succeeds with the token only in ~/.npmrc
draft new monorepo (Nuxt) → docker compose build client succeeds in the generated project
## Summary
- **Fix:** a generated monorepo's `docker-compose.yml` builds `apps/client` from `apps/client/Dockerfile`, but the Nuxt overlay only embedded `app/` and `public/`, so the Dockerfile never existed and `docker compose build client` failed on every fresh project. The `client-nuxt` sync job now embeds it, and `scaffoldClientNuxt` rewrites its pnpm pin to the locally detected version (the one that produces the generated lockfile), mirroring the existing `packageManager` stamp
- Submodule bumped to project-template#3, which mounts `~/.npmrc` as a build secret so the image can fetch `@fernandojvideira/vue-ui-kit` from the Gitea registry without baking the token in
- `Makefile` `VERSION` → v0.2.0 for the release; README notes the Docker secret wiring
Merge project-template#3 first.
## Test plan
- [x] `go run tools/sync_templates.go && go vet ./cmd/... ./tools/... && go build .` — `assets/embedded/client-nuxt/Dockerfile` present, `make version` prints v0.2.0
- [x] `docker compose build client` in the template succeeds with the token only in `~/.npmrc`
- [ ] `draft new monorepo` (Nuxt) → `docker compose build client` succeeds in the generated project
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A generated monorepo's docker-compose.yml already built apps/client from
apps/client/Dockerfile, but the client overlay only embedded app/ and
public/, so the file never existed and `docker compose build client`
failed on every fresh project. The client-nuxt sync job now embeds the
template's Dockerfile too, and the Nuxt scaffold rewrites its pnpm pin to
the locally detected version - the one that produces the generated
project's lockfile - the same way it already stamps packageManager.
Bumps the submodule to the template commit that mounts ~/.npmrc as a
build secret for the registry token, and the Makefile VERSION to v0.2.0
for the release.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
docker-compose.ymlbuildsapps/clientfromapps/client/Dockerfile, but the Nuxt overlay only embeddedapp/andpublic/, so the Dockerfile never existed anddocker compose build clientfailed on every fresh project. Theclient-nuxtsync job now embeds it, andscaffoldClientNuxtrewrites its pnpm pin to the locally detected version (the one that produces the generated lockfile), mirroring the existingpackageManagerstamp~/.npmrcas a build secret so the image can fetch@fernandojvideira/vue-ui-kitfrom the Gitea registry without baking the token inMakefileVERSION→ v0.2.0 for the release; README notes the Docker secret wiringMerge project-template#3 first.
Test plan
go run tools/sync_templates.go && go vet ./cmd/... ./tools/... && go build .—assets/embedded/client-nuxt/Dockerfilepresent,make versionprints v0.2.0docker compose build clientin the template succeeds with the token only in~/.npmrcdraft new monorepo(Nuxt) →docker compose build clientsucceeds in the generated project🤖 Generated with Claude Code