Skip to content

docs(repo): ship per-package AGENTS.md and migrations via npm#2397

Merged
mandarini merged 2 commits into
masterfrom
chore/per-package-migrations-convention
May 25, 2026
Merged

docs(repo): ship per-package AGENTS.md and migrations via npm#2397
mandarini merged 2 commits into
masterfrom
chore/per-package-migrations-convention

Conversation

@mandarini

@mandarini mandarini commented May 25, 2026

Copy link
Copy Markdown
Contributor

Establishes a per-package agent-discoverability layer that ships via npm:

  • Every @supabase/* core package now has AGENTS.md + migrations/ at its root, included in the files array. After npm install @supabase/<package>, agents find a pointer file directing them to the package's TSDoc-annotated src/ (canonical, version-pinned API docs) and migration notes — no duplication of docs-site content.
  • Repo-root AGENTS.md is the vendor-neutral entry point (alongside .claude/CLAUDE.md and .cursor/.cursorrules), explaining the workspace layout and pointing agents at the centralized Supabase agent skills (npx skills add supabase/agent-skills) for higher-level guidance.
  • docs/MIGRATION.md is stripped of ~500 lines of stale 8-month-old monorepo-restructure content; what remains is genuine cross-cutting migration notes (currently just the Node 18 → 20 drop), one H2 per theme. The matching obsolete "Repository Structure Changed" callouts in README.md and CONTRIBUTING.md are removed.

No code changes. Verified via npm pack --dry-run that AGENTS.md and migrations/ ship in all six core package tarballs.

@mandarini mandarini self-assigned this May 25, 2026
@pkg-pr-new

pkg-pr-new Bot commented May 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@supabase/auth-js

npm i https://pkg.pr.new/@supabase/auth-js@2397

@supabase/functions-js

npm i https://pkg.pr.new/@supabase/functions-js@2397

@supabase/postgrest-js

npm i https://pkg.pr.new/@supabase/postgrest-js@2397

@supabase/realtime-js

npm i https://pkg.pr.new/@supabase/realtime-js@2397

@supabase/storage-js

npm i https://pkg.pr.new/@supabase/storage-js@2397

@supabase/supabase-js

npm i https://pkg.pr.new/@supabase/supabase-js@2397

commit: 1ab9534

@mandarini mandarini changed the title docs(repo): add migration notes for agents docs(repo): ship per-package AGENTS.md and migrations via npm May 25, 2026
@mandarini mandarini marked this pull request as ready for review May 25, 2026 13:06
@mandarini mandarini requested review from a team as code owners May 25, 2026 13:06
@mandarini mandarini merged commit 42f12dd into master May 25, 2026
24 of 25 checks passed
@mandarini mandarini deleted the chore/per-package-migrations-convention branch May 25, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants