chore: standardize on Yarn + Node 22.21.1 across CI, Docker, and README#1
Draft
Copilot wants to merge 4 commits into
Draft
chore: standardize on Yarn + Node 22.21.1 across CI, Docker, and README#1Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
…ADME Agent-Logs-Url: https://github.com/Medalcode/Toallaalacarta/sessions/56ef7488-19a2-4708-9dea-acb8914cd5e1 Co-authored-by: Medalcode <152304407+Medalcode@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Medalcode/Toallaalacarta/sessions/56ef7488-19a2-4708-9dea-acb8914cd5e1 Co-authored-by: Medalcode <152304407+Medalcode@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Standardize repository with Yarn as package manager
chore: standardize on Yarn + Node 22.21.1 across CI, Docker, and README
May 2, 2026
Agent-Logs-Url: https://github.com/Medalcode/Toallaalacarta/sessions/9bf2c885-e663-482f-85e2-d7bd5b19c463 Co-authored-by: Medalcode <152304407+Medalcode@users.noreply.github.com>
Medalcode
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
toallaalacarta.netlify.app(antes apuntaba a storeplate).env.exampleyarn previewcomo comando documentadoOriginal prompt
Estandarizar el repositorio en Yarn como único gestor de paquetes y alinear la versión de Node usada en CI/workflows/Docker/Netlify.
Repositorio: Medalcode/Toallaalacarta (default branch: main)
Cambios requeridos:
GitHub Actions CI (
.github/workflows/ci.yml):npm ci, etc.) por Yarn.corepack enableyyarn install --frozen-lockfile.netlify.toml).yarn check(astro check) yyarn test(vitest run).Workflow Validate Checkout (
.github/workflows/validate-checkout.yml):--frozen-lockfile.Dockerfile:
npm install.node ./dist/server/entry.mjs).Verificar que exista
yarn.locky que los workflows usen lo correcto.yarn.lock, generarlo de forma coherente (no modificar dependencias salvo que sea necesario).(Opcional pero recomendable) Actualizar README o docs mínimas si mencionan npm para que indiquen Yarn.
Criterios de aceptación:
yarn install,yarn build).Notas:
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: Give me a high level overview of this repo
Assistant: Toallaalacarta is a public Astro 5 + TypeScript e-commerce storefront (based on the Storeplate template) customized for a towels/textiles shop, integrating Shopify Storefront API for catalog data, Appwrite for authentication/data, and payments via Transbank (Webpay Plus) and PayPal. It’s deployed at https://toallaalacarta.netlify.app/ and licensed under MIT.
What it does (at a glance)
Tech stack & repo shape
netlify.toml)ecommerce,typescript,nextjs(tag),towels,chile,businessHigh-level architecture (from the repo docs)
The repo is organized in a domain/modular style under
src/, roughly:src/infrastructure/– external clients/config (e.g., Appwrite singleton)src/modules/orders/– domain business logic (orders)src/lib/– shared utilities (payments/email/cart/content) +shopify/GraphQL client/queriessrc/layouts/– Astro + React UI components (storefront/admin/cart)src/pages/api/– HTTP/API layer delegating into services/libssrc/pages/– Astro routes/pagessrc/styles/,src/types/– styling and TS typesOps / “agent + skills” concept
The repo includes an “operational agent” concept (
toallaalacarta-ops) with documented runbooks, secrets mapping, and reusable “Super-Skills” underdocs/technical/(plus a scriptscripts/validate_checkout.jsand a workflow.github/workflows/validate-checkout.ymlreferenced in the README).Key entry points if you’re new
README.md(project overview + setup steps)docs/technical/README.md(technical index)src/(implementation).env.example(required environment variables for Shopify/Appwrite/Resend/payments)If you tell me whether you want a product-level overview (features/user flows) or a developer-level overview (packages, env vars, request flow, where to add features), I can tailor the next summary.
User: ves alguna mejora critica posible de realizar
Assistant: Sí: hay una mejora crítica y bastante “obligatoria” a nivel de confiabilidad del repo: están inconsistentes los gestores de paquetes y versiones de Node entre local/CI/Netlify/Docker. Eso suele romper builds “al azar”, bloquear contribuciones y volver el CI poco confiable.
Mejora crítica #1 (recomendada): unificar Node + package manager en todos los entornos
Ahora mismo:
package.jsondeclara **`packageMa...This pull request was created from Copilot chat.