Skip to content

Latest commit

 

History

History
79 lines (64 loc) · 4.16 KB

AGENTS.md

File metadata and controls

79 lines (64 loc) · 4.16 KB

Meteor

Full-stack JavaScript platform for modern web and mobile applications.

Commands

./meteor run                                 # Run from source
./meteor create my-app                       # Create app
./meteor self-test                           # CLI tests
./meteor test-packages ./packages/<name>     # Package tests (browser UI at localhost:3000)
./packages/test-in-console/run.sh "<name>"   # Package tests (terminal output via Puppeteer)
npm run test:unit                            # Unit tests (Jest)
npm run test:e2e                             # E2E tests (Jest + Playwright)
npm run test:e2e:groups                      # List E2E groups
npm run test:e2e:group -- monorepo            # Run the same E2E group as CI
npm run test:native -- --platform=android    # Native mobile smoke tests (Maestro)

Note: ./meteor test-packages starts a web server and waits for a browser — it produces no terminal output. For automated/headless runs, use ./packages/test-in-console/run.sh "<package>" instead, which runs the same tests via Puppeteer and prints pass/fail results to stdout.

Structure

packages/          # Core Meteor packages (~100+)
tools/             # CLI & build system (Isobuild)
npm-packages/      # Published @meteorjs/* packages
scripts/           # Build & release automation

Key Entry Points

Task Location
CLI commands tools/cli/commands.js
Build system tools/isobuild/bundler.js
Package lookup packages/<name>/package.js
Modern bundler packages/rspack/, packages/tools-core/

Skills

Load these for detailed context on specific topics:

Skill When to use
codebase Build system, CLI, isobuild, tools/ directory
conventions Writing packages, CLI commands, code patterns
testing Test value, planning and refinement, change scope, test layers, and focused verification
self-testing CLI contracts, sandboxed tool state, process assertions, and focused self-test execution
package-testing Package runtime contracts, Tinytest, client/server placement, and asynchronous test execution
e2e-testing E2E design, fixtures, assertions, isolation, CI groups, and coverage-report maintenance
ci-runners Creating GitHub Actions jobs, choosing Meteor runners and containers, and cleaning up job files
packages Finding packages by feature, understanding dependencies
modern-tools tools-core utilities, rspack, modern integrations
sync-modern-tool-versions Synchronizing modern-tool npm packages, dependency floors, constants, templates, and fixtures
ai-context Creating, updating, or maintaining AI documentation files
changelog Writing, reviewing, or editing changelog entries for releases
release-roadmap Updating roadmap priorities and the README release table when planning or shipping a release
version-bump Bumping package versions for beta, RC, and official releases
docs-gap Analyzing release changes for missing user-facing documentation

Package Domains

Category Packages
Auth accounts-base, accounts-password, accounts-oauth
Database mongo, minimongo, ddp-server, ddp-client
Build babel-compiler, ecmascript, typescript, rspack
Web webapp, autoupdate, reload
Reactivity tracker, reactive-var, reactive-dict

Notes

  • docs/ and guide/ are the public documentation website, not agent context
  • v3-docs/ contains Meteor 3.x documentation
  • See DEVELOPMENT.md for contributor setup