From 74be9da200a461bc4532333dabfc49682abc8630 Mon Sep 17 00:00:00 2001 From: Mikel Larreategi Date: Fri, 22 Nov 2024 09:26:42 +0100 Subject: [PATCH] support addons generated with cookieplone. See #109 --- .../{{ cookiecutter.__folder_name }}/pnpm-workspace.yaml | 1 + .../{{ cookiecutter.__folder_name }}/frontend/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend_addon/{{ cookiecutter.__folder_name }}/pnpm-workspace.yaml b/frontend_addon/{{ cookiecutter.__folder_name }}/pnpm-workspace.yaml index f9c0485..7dcfc08 100644 --- a/frontend_addon/{{ cookiecutter.__folder_name }}/pnpm-workspace.yaml +++ b/frontend_addon/{{ cookiecutter.__folder_name }}/pnpm-workspace.yaml @@ -2,3 +2,4 @@ packages: # all packages in direct subdirs of packages/ - 'core/packages/*' - 'packages/*' + - 'packages/*/packages/*' diff --git a/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/Dockerfile b/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/Dockerfile index 800dd90..4e295ae 100644 --- a/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/Dockerfile +++ b/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/Dockerfile @@ -6,6 +6,7 @@ COPY --chown=node packages/{{cookiecutter.frontend_addon_name}} /app/packages/{{ COPY --chown=node volto.config.js /app/ COPY --chown=node package.json /app/package.json.temp COPY --chown=node mrs.developer.json /app/ +COPY --chown=node pnpm-workspace.yaml /app/ RUN --mount=type=cache,id=pnpm,target=/app/.pnpm-store,uid=1000 <