PR #78237 changed the package from exporting transpiled JS to exporting source typescript directly. This presumably works within your monorepo, but in ours it makes our tests fail with errors
Error: Stripping types is currently unsupported for files under node_modules, for "/home/runner/work/jetpack/jetpack/node_modules/.pnpm/@wordpress+e2e-test-utils-playwright@1.48.0_@playwright+test@1.60.0_@types+node@24.12.3/node_modules/@wordpress/e2e-test-utils-playwright/src/index.ts"
Node's documentation on the type stripping feature states:
To discourage package authors from publishing packages written in TypeScript, Node.js refuses to handle TypeScript files inside folders under a node_modules path.
PR #78237 changed the package from exporting transpiled JS to exporting source typescript directly. This presumably works within your monorepo, but in ours it makes our tests fail with errors
Node's documentation on the type stripping feature states: