diff --git a/apps/mnswpr/.env.development b/.env.development similarity index 100% rename from apps/mnswpr/.env.development rename to .env.development diff --git a/apps/mnswpr/.env.example b/.env.example similarity index 100% rename from apps/mnswpr/.env.example rename to .env.example diff --git a/apps/mnswpr/.firebaserc b/.firebaserc similarity index 100% rename from apps/mnswpr/.firebaserc rename to .firebaserc diff --git a/.gitignore b/.gitignore index eada6b8..de22aa3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,18 @@ node_modules/ dist/ -# generated at publish time from apps/mnswpr/README.md (see scripts/publish-lib.js) -packages/mnswpr/README.md - .claude # Production / local Firebase config values are not committed — set them as # Netlify env vars, or keep them in a local, gitignored env file. Dev values -# live in the committed apps/mnswpr/.env.development (public, non-secret keys). +# live in the committed .env.development (public, non-secret keys). .env.production .env.local .env.*.local +# Netlify CLI site link (written by `netlify link`) +.netlify/ + # Firebase emulator artifacts firebase-debug.log firestore-debug.log @@ -22,6 +22,3 @@ ui-debug.log *~ *swo *swp - -# TEMPORARY - or unnecesary if done -apps/mnswpr/MIGRATION.md diff --git a/AGENTS.md b/AGENTS.md index 377762b..cc9f52f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,27 +6,27 @@ Guidance for AI coding agents working in this repository. Classic Minesweeper as a vanilla web game — no framework, no TypeScript (JSDoc + `// @ts-check` only). Deployed at [mnswpr.com](https://mnswpr.com) (Netlify), with a Firestore-backed leaderboard. -**This repo is only the app.** The engine, leaderboard, and shared services (`@cozy-games/mnswpr`, `@cozy-games/leaderboard`, `@cozy-games/utils`) live in [ayo-run/cozy-games](https://github.com/ayo-run/cozy-games) and are consumed here **from npm** — there is no local `packages/` to edit. A change to game mechanics, leaderboard internals, or the shared services belongs in that repo and arrives here as a version bump in `apps/mnswpr/package.json`. +**This repo is only the app.** The engine, leaderboard, and shared services (`@cozy-games/mnswpr`, `@cozy-games/leaderboard`, `@cozy-games/utils`) live in [ayo-run/cozy-games](https://github.com/ayo-run/cozy-games) and are consumed here **from npm** — there is no local `packages/` to edit. A change to game mechanics, leaderboard internals, or the shared services belongs in that repo and arrives here as a version bump in `package.json`. -Structurally it is still a pnpm workspace (`pnpm-workspace.yaml` → `apps/*`) with a single member, `apps/mnswpr`, so app scripts are addressed with pnpm's `-F` filter. +Structurally it is a single package at the repo root — no workspace, no `apps/` nesting. Every script runs from the root with plain `pnpm run