diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 8c891987c8..ccb4485152 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -24,6 +24,7 @@ meteor-3/ | Build system | `tools/isobuild/bundler.js` | | Package lookup | `packages//package.js` | | Modern bundler | `packages/rspack/`, `packages/tools-core/` | +| Modern E2E tests | `tools/modern-tests/` | | Authentication | `packages/accounts-base/` | | HTTP server | `packages/webapp/` | | Database | `packages/mongo/`, `packages/minimongo/` | @@ -82,6 +83,7 @@ tools/ ├── runners/ # App execution │ ├── run-app.js # Web app runner │ └── run-mongo.js # MongoDB runner +├── modern-tests/ # E2E tests for modern integrations (Jest + Playwright) ├── fs/ # File operations ├── packaging/ # Package management └── project-context.js # Dependency resolution (72KB) @@ -137,6 +139,18 @@ WebApp.connectHandlers.use('/api', middleware); ./meteor test-packages ./packages/my-pkg # Package tests ``` +### Modern E2E Tests (`tools/modern-tests/`) + +Jest + Playwright suite for verifying modern bundler integrations (rspack). Tests cover framework skeletons and build scenarios. + +```bash +npm run install:modern # Install dependencies +npm run test:modern # Run all E2E tests +npm run test:modern -- -t="React" # Run specific test +``` + +**Test apps:** `apps/{react,vue,svelte,solid,blaze,typescript,babel,coffeescript,monorepo}` + ## Environment Variables | Variable | Purpose | diff --git a/.claude/REPOSITORY_CONTEXT.md b/.claude/REPOSITORY_CONTEXT.md index 648f68325e..69f79b9365 100644 --- a/.claude/REPOSITORY_CONTEXT.md +++ b/.claude/REPOSITORY_CONTEXT.md @@ -1136,13 +1136,6 @@ class MyCompiler extends CachingCompiler { | `METEOR_DEBUG_BUILD` | Verbose build logging | | `METEOR_WATCH_FORCE_POLLING` | Force polling file watcher | -### Modern Bundler Integration - -| Variable | Description | -|----------|-------------| -| `METEOR_MODERN_BUNDLER` | Enable modern bundler (rspack/vite) | -| `METEOR_RSPACK_VERBOSE` | Verbose Rspack output | - ### Testing | Variable | Description |