Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
There was a problem hiding this comment.
Pull Request Overview
Converts the npm/runtime package from CommonJS to ES modules by updating the module type configuration in package.json.
- Change package type from "commonjs" to "module"
- Move type declaration to standard location after homepage field
- Remove redundant type specification at end of file
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@Dunqing do you think we should remove cjs files from the helpers? |
Yes! |
|
If we definitely never intend to support ESM to CommonJS transform (#4050). If we might in future, I think we should probably keep the CJS versions. |
Merge activity
|
Change package.json type from "commonjs" to "module" to enable ES module support. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
74a57d6 to
b592ba5
Compare
|
It seems this PR broke the transformer conformance tests. |
Summary
"type": "module"in package.jsonTest plan
🤖 Generated with Claude Code