Skip to content

Add CLAUDE.md and refactor jest-esm scripts across packages#1966

Open
curtisman wants to merge 1 commit intomicrosoft:mainfrom
curtisman:curtism/jest-esm-and-claude-md
Open

Add CLAUDE.md and refactor jest-esm scripts across packages#1966
curtisman wants to merge 1 commit intomicrosoft:mainfrom
curtisman:curtism/jest-esm-and-claude-md

Conversation

@curtisman
Copy link
Member

Summary

  • Add CLAUDE.md with AI assistant instructions covering build/test commands, architecture overview, coding conventions, and environment setup
  • Add auto-approve patterns for common pnpm commands in .vscode/settings.json
  • Extract reusable jest-esm script in 21 package.json files to DRY up the repeated node --no-warnings --experimental-vm-modules jest invocation
  • Update test scripts (test:local, test, test:live, test:integration) to use pnpm run jest-esm instead of the full node command

Motivation

The long node --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js invocation was duplicated across every test-related script in every package. Extracting it into a single jest-esm script per package makes the scripts easier to read and maintain, and provides a consistent alias documented in CLAUDE.md for running individual tests.

- Add CLAUDE.md with AI assistant instructions for build/test, architecture,
  conventions, and environment setup
- Add auto-approve patterns for common pnpm commands in .vscode/settings.json
- Extract reusable 'jest-esm' script in 21 package.json files to DRY up the
  repeated 'node --no-warnings --experimental-vm-modules jest' invocation
- Update test:local, test, test:live, and test:integration scripts to use
  'pnpm run jest-esm' instead of the full node command
@curtisman curtisman enabled auto-merge March 2, 2026 05:28
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.

1 participant